Flow price: --
e6a3f35f73b32822fa3a5c2ef60c1aefa40eb11bcb803ff4a9cd2b62ef0d90af

Transaction

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


Hash:
e6a3f35f73b32822fa3a5c2ef60c1aefa40eb11bcb803ff4a9cd2b62ef0d90af
Status:
ERROR
Block height:
68008467
Block id:
f5bd0a73ea592b409d9174ec11d0eec63b72dea0b16732b88150f142c6ec740c
Timestamp:
Monday 18 December 2023 at 16:34:39 UTC
()
Proposer:
Authorizers: