Flow price: --
f7da1407e51ea48f46a2080e411c9a92be107076cdaf37581116bd26ee1e05a0

Transaction

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


Hash:
f7da1407e51ea48f46a2080e411c9a92be107076cdaf37581116bd26ee1e05a0
Status:
ERROR
Block height:
67441746
Block id:
0613719ee34bb58950365e76c5e11751b9a99ce0e8eefbe6b2b61bd7b2e174ba
Timestamp:
Sunday 10 December 2023 at 11:24:50 UTC
()
Proposer:
Authorizers: