Flow price: --
ad91a3ebfd6253e3d9a8da5844c0398ec0116cbc7cedcc03bf7fd755b728f8a2

Transaction

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


Hash:
ad91a3ebfd6253e3d9a8da5844c0398ec0116cbc7cedcc03bf7fd755b728f8a2
Status:
ERROR
Block height:
67513555
Block id:
6292e70525089aee2e1ace286a81548b2395f295449b75844f43eb594edd9256
Timestamp:
Monday 11 December 2023 at 12:23:51 UTC
()
Proposer:
Authorizers: