Flow price: --
b492fefc9b86e29b947db2fa219a05fd37ca349e17458ac6c85ab7a9d6f770ad

Transaction

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


Hash:
b492fefc9b86e29b947db2fa219a05fd37ca349e17458ac6c85ab7a9d6f770ad
Status:
ERROR
Block height:
67367019
Block id:
d6533f5b5f7aae159ca457b3b14ed9eabd2299dbf5802dbc763e37341f02472a
Timestamp:
Saturday 9 December 2023 at 09:24:52 UTC
()
Proposer:
Authorizers: