Flow price: --
9ff90845931799730968e3984f2461749aa1212afbafbe2452a23009cc3db98c

Transaction

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


Hash:
9ff90845931799730968e3984f2461749aa1212afbafbe2452a23009cc3db98c
Status:
ERROR
Block height:
67446027
Block id:
4f886fdfc5caa47659688d4c86ef863d5cfcaac5b8833b0194d4fdf76a5d69b5
Timestamp:
Sunday 10 December 2023 at 12:54:11 UTC
()
Proposer:
Authorizers: