Flow price: --
f04833101da5c3fdd594cff64a4494f9a42ac1de2408a712337ab69e00ebe3c0

Transaction

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


Hash:
f04833101da5c3fdd594cff64a4494f9a42ac1de2408a712337ab69e00ebe3c0
Status:
ERROR
Block height:
67362251
Block id:
f1f06ef86a01e79c9d195e4c033bdfec0584667393634328afb22fa32413b4c6
Timestamp:
Saturday 9 December 2023 at 07:45:21 UTC
()
Proposer:
Authorizers: