Flow price: --
bbe2fb5ec8c3be596f1c63def2a77b4c68a87b4fe6f8f51b44c02be799cb2c04

Transaction

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


Hash:
bbe2fb5ec8c3be596f1c63def2a77b4c68a87b4fe6f8f51b44c02be799cb2c04
Status:
ERROR
Block height:
67845986
Block id:
737e4763b47d504d1a64345ab9073ba9aed30cab29d29c7f6a7221dc9cf25f10
Timestamp:
Saturday 16 December 2023 at 08:03:32 UTC
()
Proposer:
Authorizers: