Flow price: --
b28a5ec0125c8eb8102cb1232e10e7696e4ba8a3cee42b00c4d1553f4b60b65b

Transaction

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


Hash:
b28a5ec0125c8eb8102cb1232e10e7696e4ba8a3cee42b00c4d1553f4b60b65b
Status:
ERROR
Block height:
67429322
Block id:
4807ccf463c2da54b9535c583927c6703366c28f4863f24f4f85393ff16d9a5a
Timestamp:
Sunday 10 December 2023 at 07:05:28 UTC
()
Proposer:
Authorizers: