Flow price: --
0355886f44aee9be4a9d0b97390d201e5436ec66bfb27e4a215b4efecf6883a3

Transaction

Hash: 0355886f44aee9be4a9d0b97390d201e5436ec66bfb27e4a215b4efecf6883a3
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
  --> 0355886f44aee9be4a9d0b97390d201e5436ec66bfb27e4a215b4efecf6883a3: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
  --> 0355886f44aee9be4a9d0b97390d201e5436ec66bfb27e4a215b4efecf6883a3:35:32
   |
35 |                 let forAmount = SwapConfig.getAmountOut(amountIn: cur, reserveIn: minfo[0], reserveOut: minfo[1], swapFeeRateBps: 30)
   |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected up to 3, got 4


Hash:
0355886f44aee9be4a9d0b97390d201e5436ec66bfb27e4a215b4efecf6883a3
Status:
ERROR
Block height:
67502865
Block id:
e18089ef6e2bc02085632f7e28976bacb643257f653caaef2ecc7250331be022
Timestamp:
Monday 11 December 2023 at 08:40:42 UTC
()
Proposer:
Authorizers: