Flow price: --
e8bfc937f6b7218ef2274570e7ea636e3229ea220ae3ae3b6d5146a40a241ecd

Transaction

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


Hash:
e8bfc937f6b7218ef2274570e7ea636e3229ea220ae3ae3b6d5146a40a241ecd
Status:
ERROR
Block height:
67907847
Block id:
7990375905e70a08d9204b5a7844c3ffe62aed2805117e6a3923ec9625ae991d
Timestamp:
Sunday 17 December 2023 at 05:34:41 UTC
()
Proposer:
Authorizers: