Flow price: --
3b56a2fde0b787178da136dc4e6990c8f51c1eb1ee4c795cad6abd6f4b72b3b2

Transaction

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


Hash:
3b56a2fde0b787178da136dc4e6990c8f51c1eb1ee4c795cad6abd6f4b72b3b2
Status:
ERROR
Block height:
67465489
Block id:
3931e3a0ed68506a5d3ec00cd93db5bbc80738dab0b4477f8f197b366dd7a9a8
Timestamp:
Sunday 10 December 2023 at 19:40:28 UTC
()
Proposer:
Authorizers: