Flow price: --
a063b87f2a57c1938be5d0cb72067fe5f30a52652e38fd3c97d314bbabf02820

Transaction

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


Hash:
a063b87f2a57c1938be5d0cb72067fe5f30a52652e38fd3c97d314bbabf02820
Status:
ERROR
Block height:
67950185
Block id:
94e03443eab8f4f30de3bee3ad71d9a745a3171a54bc09ef002813e3b98f0eb4
Timestamp:
Sunday 17 December 2023 at 20:18:15 UTC
()
Proposer:
Authorizers: