Flow price: --
40658e39168d7473090d545cc621c0f101a26b001fe693feaba1f099bdade5ee

Transaction

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


Hash:
40658e39168d7473090d545cc621c0f101a26b001fe693feaba1f099bdade5ee
Status:
ERROR
Block height:
68087798
Block id:
f39f54728c8d17a2715a6f4e0bd1f00b2dda1836090f824a53acc72532d16825
Timestamp:
Tuesday 19 December 2023 at 20:10:52 UTC
()
Proposer:
Authorizers: