Flow price: --
480b63420a221692341285dea307861cf09b0cb2918cebe1475c7722a6b102bf

Transaction

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


Hash:
480b63420a221692341285dea307861cf09b0cb2918cebe1475c7722a6b102bf
Status:
ERROR
Block height:
67778506
Block id:
3278c33660df4ae30dbf872359d464e04cf0bbfd5337c534633ad43d628d3abc
Timestamp:
Friday 15 December 2023 at 08:34:42 UTC
()
Proposer:
Authorizers: