Flow price: --
5435cd84428d5eb5946c744eeb7926d18487dd081f693b7722873895daa1d491

Transaction

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


Hash:
5435cd84428d5eb5946c744eeb7926d18487dd081f693b7722873895daa1d491
Status:
ERROR
Block height:
68129199
Block id:
49565ad2302dec66d9e02881b81d9a0ff967453d0318f1595197b81b5d849b56
Timestamp:
Wednesday 20 December 2023 at 10:35:00 UTC
()
Proposer:
Authorizers: