Flow price: --
2a533c5af13c14aad0ec8d198256409095c7c0b55b0a653baa54b7ec779cb75f

Transaction

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


Hash:
2a533c5af13c14aad0ec8d198256409095c7c0b55b0a653baa54b7ec779cb75f
Status:
ERROR
Block height:
67592716
Block id:
ce4531e46af9d075f098eb34b6a6189ab8add177591e5b24f4407acd7c28a2ea
Timestamp:
Tuesday 12 December 2023 at 15:56:24 UTC
()
Proposer:
Authorizers: