Flow price: --
16bd748fd664229781c6ae0fd29942305cb1bb86c907c0ea14ffb9e9ef331854

Transaction

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


Hash:
16bd748fd664229781c6ae0fd29942305cb1bb86c907c0ea14ffb9e9ef331854
Status:
ERROR
Block height:
67478268
Block id:
926f353e32b3664f912208aab9baded56a5bf6b6393b75a4be5fe951d65b90f0
Timestamp:
Monday 11 December 2023 at 00:07:19 UTC
()
Proposer:
Authorizers: