Flow price: --
d469d14eecbe26a3c62f095c431ff43b112ae5a75ccd985661be2592e7f1e874

Transaction

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


Hash:
d469d14eecbe26a3c62f095c431ff43b112ae5a75ccd985661be2592e7f1e874
Status:
ERROR
Block height:
68085155
Block id:
3cf373ea33dc87f7c2cd3ba77e6726473d2840d40972b90296c2d9e55623972e
Timestamp:
Tuesday 19 December 2023 at 19:15:37 UTC
()
Proposer:
Authorizers: