Flow price: --
b481c1ff66bd51690fea9cf869f25783a4cb1d6652d71cfe13f1252a55902023

Transaction

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


Hash:
b481c1ff66bd51690fea9cf869f25783a4cb1d6652d71cfe13f1252a55902023
Status:
ERROR
Block height:
67424966
Block id:
d9058da8b5ebf2e69905df251f244a1505a54ac9c1657e7edb7e080d6bd6837a
Timestamp:
Sunday 10 December 2023 at 05:34:33 UTC
()
Proposer:
Authorizers: