Flow price: --
b96d8e142c26b89107cfd4a01b5d463bce53c09b39cff628d91821443bc2326d

Transaction

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


Hash:
b96d8e142c26b89107cfd4a01b5d463bce53c09b39cff628d91821443bc2326d
Status:
ERROR
Block height:
67554488
Block id:
73e59f6445c1b736f3cf16ee245b3a7bc40992bc7faa5f681b6e1c51bbc68344
Timestamp:
Tuesday 12 December 2023 at 02:38:27 UTC
()
Proposer:
Authorizers: