Flow price: --
7eb9adacb3a130749fa1db29bb15dd86b2224ace0092b6ee7b43a5d698515b90

Transaction

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


Hash:
7eb9adacb3a130749fa1db29bb15dd86b2224ace0092b6ee7b43a5d698515b90
Status:
ERROR
Block height:
67385219
Block id:
f84831d1ff0bf22156d481987ca11f42232408b69806b73d33616bee093afb00
Timestamp:
Saturday 9 December 2023 at 15:44:43 UTC
()
Proposer:
Authorizers: