Flow price: --
c592dfabc36b9dd2dd56518674fc024d64a1740d467b79ab73b1b50eebc5310d

Transaction

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


Hash:
c592dfabc36b9dd2dd56518674fc024d64a1740d467b79ab73b1b50eebc5310d
Status:
ERROR
Block height:
68169484
Block id:
1c4838ada8f484b9d389548042cb2d9c39ed033f2020e86d71dc410f377abba7
Timestamp:
Thursday 21 December 2023 at 00:35:47 UTC
()
Proposer:
Authorizers: