Flow price: --
426e08a7f447ebd9348674b95871247e6e9999d4bd6fa051e823e033d20939b9

Transaction

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


Hash:
426e08a7f447ebd9348674b95871247e6e9999d4bd6fa051e823e033d20939b9
Status:
ERROR
Block height:
67420373
Block id:
d1654793249aaec9986eaa69468b6e85a76551070677859805827eead2af25b8
Timestamp:
Sunday 10 December 2023 at 03:58:37 UTC
()
Proposer:
Authorizers: