Flow price: --
3ab52ce91c9820d8f2510095db881bb400e8ccfe9522489a551b75b3cadfbe80

Transaction

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


Hash:
3ab52ce91c9820d8f2510095db881bb400e8ccfe9522489a551b75b3cadfbe80
Status:
ERROR
Block height:
68185909
Block id:
15a181a8859600a36b24db256e992f817a785f882415e29560faa9b01d19f5bc
Timestamp:
Thursday 21 December 2023 at 06:18:41 UTC
()
Proposer:
Authorizers: