Flow price: --
836980d725d92036f8689c0b0d070b048ffd4a97492e101a0b3afa562fb166b3

Transaction

Hash: 836980d725d92036f8689c0b0d070b048ffd4a97492e101a0b3afa562fb166b3
error
Error

Whoops! 😨 Something unexpected happened...

[Error Code: 1101] error caused by: 1 error occurred:
	* transaction preprocess failed: [Error Code: 1101] cadence runtime error: Execution failed:
error: too many arguments
  --> 836980d725d92036f8689c0b0d070b048ffd4a97492e101a0b3afa562fb166b3:28:32
   |
28 |                 let forAmount = SwapConfig.getAmountOut(amountIn: token0Vault.balance, reserveIn: minfo[1], reserveOut: minfo[0], swapFeeRateBps: 30)
   |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected up to 3, got 4

error: too many arguments
  --> 836980d725d92036f8689c0b0d070b048ffd4a97492e101a0b3afa562fb166b3:35:32
   |
35 |                 let forAmount = SwapConfig.getAmountOut(amountIn: cur, reserveIn: minfo[0], reserveOut: minfo[1], swapFeeRateBps: 30)
   |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected up to 3, got 4


Hash:
836980d725d92036f8689c0b0d070b048ffd4a97492e101a0b3afa562fb166b3
Status:
ERROR
Block height:
67428858
Block id:
5a02e51e38fa049d35dbb284514e288398c8e24e7106316e57053fb9447c1d2e
Timestamp:
Sunday 10 December 2023 at 06:55:47 UTC
()
Proposer:
Authorizers: