Flow price: --
0daa052c76937dbc1dafcf9389c6a3301e34d1dae8225bac1d986ff638923317

Transaction

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


Hash:
0daa052c76937dbc1dafcf9389c6a3301e34d1dae8225bac1d986ff638923317
Status:
ERROR
Block height:
67498266
Block id:
5a8ef11c68e580902e19279e962978a6679b1e43b8a89228dfddfe8bfc61bb88
Timestamp:
Monday 11 December 2023 at 07:04:43 UTC
()
Proposer:
Authorizers: