Flow price: --
afeb0ee3ffd9213d14f51595bd031b700655fae3b87bc88a9305051e1e78a44e

Transaction

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


Hash:
afeb0ee3ffd9213d14f51595bd031b700655fae3b87bc88a9305051e1e78a44e
Status:
ERROR
Block height:
67802073
Block id:
744a945b165048da1979964687fa2708027285d346212db976c83889104cfd9e
Timestamp:
Friday 15 December 2023 at 16:46:37 UTC
()
Proposer:
Authorizers: