Flow price: --
a5a6729d4f5fba72d154d932e26b9b84f3c39430f1039012fef5b58135d9a0ef

Transaction

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


Hash:
a5a6729d4f5fba72d154d932e26b9b84f3c39430f1039012fef5b58135d9a0ef
Status:
ERROR
Block height:
67547567
Block id:
4033b9c62f5b0c39041751b3b87df3bc0dad3d4dfe9b6473cfc3913bff801722
Timestamp:
Tuesday 12 December 2023 at 00:13:57 UTC
()
Proposer:
Authorizers: