Flow price: --
98409ee663a233c7fbe5994cb10ed6cd654a7f3d481c36244d3ad966064a9d67

Transaction

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


Hash:
98409ee663a233c7fbe5994cb10ed6cd654a7f3d481c36244d3ad966064a9d67
Status:
ERROR
Block height:
67540817
Block id:
a2652c5c9de23449d175ffe0e7aef879c0475cc55dcfb20ae2e2482fcf221da3
Timestamp:
Monday 11 December 2023 at 21:52:57 UTC
()
Proposer:
Authorizers: