Flow price: --
207fbcbf48f035f400317cfac518bebb50e8957b7c5ca0b1facae23bf7628112

Transaction

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


Hash:
207fbcbf48f035f400317cfac518bebb50e8957b7c5ca0b1facae23bf7628112
Status:
ERROR
Block height:
67466214
Block id:
40fe39522f02c461cf896a65b0424a8e33f98a51030126a9399308a32884c843
Timestamp:
Sunday 10 December 2023 at 19:55:35 UTC
()
Proposer:
Authorizers: