Flow price: --
1c09f21da885133fda564b8c792b50e2a9dc3f203c189bb1ef4615d333dad821

Transaction

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


Hash:
1c09f21da885133fda564b8c792b50e2a9dc3f203c189bb1ef4615d333dad821
Status:
ERROR
Block height:
68076328
Block id:
fc47dc622c79f01ac33e5fe7b835f74b98f6ab4f8ebc65f07b976beaae545f09
Timestamp:
Tuesday 19 December 2023 at 16:11:23 UTC
()
Proposer:
Authorizers: