Flow price: --
155915161339c43007f7396e8e08aba1d5951a5f584151ce706bb156eb934db8

Transaction

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


Hash:
155915161339c43007f7396e8e08aba1d5951a5f584151ce706bb156eb934db8
Status:
ERROR
Block height:
67363838
Block id:
95ac314f7430f4c0b37404bdb65e65183c96d9408f64852d999df77da2e29e7b
Timestamp:
Saturday 9 December 2023 at 08:18:28 UTC
()
Proposer:
Authorizers: