Flow price: --
522d1a25a1522f5723d311144b72392e65457988d77cab57864ace522672a334

Transaction

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


Hash:
522d1a25a1522f5723d311144b72392e65457988d77cab57864ace522672a334
Status:
ERROR
Block height:
68199376
Block id:
d22f6c9dc828598edf18a3008adabafa4d0a715a31e268157e22dd16271edc0c
Timestamp:
Thursday 21 December 2023 at 10:59:44 UTC
()
Proposer:
Authorizers: