Flow price: --
7f3ad6940e681f0ef9fad1cf0ca07d06b85969727452127c0f8e195b9f1a75a5

Transaction

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


Hash:
7f3ad6940e681f0ef9fad1cf0ca07d06b85969727452127c0f8e195b9f1a75a5
Status:
ERROR
Block height:
67517156
Block id:
5a22763ce4dbc56ccffc4ac91e32f58b00eae3c4811246f3731798cad6d21e88
Timestamp:
Monday 11 December 2023 at 13:39:01 UTC
()
Proposer:
Authorizers: