Flow price: --
8b461c4c7a45066ba06381065fabc2891b7b4a96bf73a278a5b7b640bddefdea

Transaction

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


Hash:
8b461c4c7a45066ba06381065fabc2891b7b4a96bf73a278a5b7b640bddefdea
Status:
ERROR
Block height:
67533070
Block id:
778bded69226fe3e19af8b79c7cc33636d5ff4cb28e011ee2beade3c547e915e
Timestamp:
Monday 11 December 2023 at 19:11:13 UTC
()
Proposer:
Authorizers: