Flow price: --
eec22f37f742a89b9fdf583b97ffcf982c5ab7402e3a6e24d41f2c5cce983551

Transaction

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


Hash:
eec22f37f742a89b9fdf583b97ffcf982c5ab7402e3a6e24d41f2c5cce983551
Status:
ERROR
Block height:
67353069
Block id:
599e5ec4dabb549eeb92a80f81f2da04b49ec21e8a8755a84bec1cc66e0fbcb9
Timestamp:
Saturday 9 December 2023 at 04:33:44 UTC
()
Proposer:
Authorizers: