Flow price: --
d93c615c2ad7cc13bfa209b2c2149e3d02e267ce432f00464ff2e2121f234780

Transaction

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


Hash:
d93c615c2ad7cc13bfa209b2c2149e3d02e267ce432f00464ff2e2121f234780
Status:
ERROR
Block height:
67533553
Block id:
45cf3d6217d9cf2049b3cfb05c41cc6db13f343410d2e2fbf51b71d0cb3f4ae6
Timestamp:
Monday 11 December 2023 at 19:21:18 UTC
()
Proposer:
Authorizers: