Flow price: --
7210fb40398e44fbdf97f888feecce1bb4337600471a08ed22e59ea1bacab0f4

Transaction

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


Hash:
7210fb40398e44fbdf97f888feecce1bb4337600471a08ed22e59ea1bacab0f4
Status:
ERROR
Block height:
67519154
Block id:
d1302f3c2222b6b1739987e94e085da1b25d940ddcd56a29c4ad792290b70d8d
Timestamp:
Monday 11 December 2023 at 14:20:42 UTC
()
Proposer:
Authorizers: