Flow price: --
ceae30e565b3a53ec57d8a6ad34193a56dfc86c8137cde2bcbf65aade29255f5

Transaction

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


Hash:
ceae30e565b3a53ec57d8a6ad34193a56dfc86c8137cde2bcbf65aade29255f5
Status:
ERROR
Block height:
67434768
Block id:
530deb0b14eacfef057f3b2530332896b4f69bf55937166efbce0aab383a8c19
Timestamp:
Sunday 10 December 2023 at 08:59:07 UTC
()
Proposer:
Authorizers: