Flow price: --
edb32b18e8a0df3539c1139f6b5393aba79909a8994bdc51be829f417f888335

Transaction

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


Hash:
edb32b18e8a0df3539c1139f6b5393aba79909a8994bdc51be829f417f888335
Status:
ERROR
Block height:
67426521
Block id:
c6bcc05676494df35c9cea99b3cdfced2d141fecb3dcec52d2f731a36b2d9d02
Timestamp:
Sunday 10 December 2023 at 06:07:00 UTC
()
Proposer:
Authorizers: