Flow price: --
88bd65a3d84ed4a7b28b2566a8afa19ececc6ab8314c4103f85132de1434cc1b

Transaction

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


Hash:
88bd65a3d84ed4a7b28b2566a8afa19ececc6ab8314c4103f85132de1434cc1b
Status:
ERROR
Block height:
67460123
Block id:
cc20c2c0115635e67c1cd27c0d4d0151b913ad3e166d9b3d78bbec4ad470838e
Timestamp:
Sunday 10 December 2023 at 17:48:27 UTC
()
Proposer:
Authorizers: