Flow price: --
06042cb84c3fe90610b215c5640ffabd25cf2d2a8360cb0a6d0d445062af743f

Transaction

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


Hash:
06042cb84c3fe90610b215c5640ffabd25cf2d2a8360cb0a6d0d445062af743f
Status:
ERROR
Block height:
67525558
Block id:
20618ced8aab5790a8c60f92dea66e473589244aa32f15ce5ea71e34b5661518
Timestamp:
Monday 11 December 2023 at 16:34:24 UTC
()
Proposer:
Authorizers: