Flow price: --
b6e7cee81d60e4f5fcaa0292b1c64165c1b036fc505eb8226dfae93e88d2888e

Transaction

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


Hash:
b6e7cee81d60e4f5fcaa0292b1c64165c1b036fc505eb8226dfae93e88d2888e
Status:
ERROR
Block height:
67826247
Block id:
c99046c77c4526158ca070d74ec3ad64f05340cd88ab297024d4ec1661aeb916
Timestamp:
Saturday 16 December 2023 at 01:11:21 UTC
()
Proposer:
Authorizers: