Flow price: --
e8016def18a539c84bf6dcd5f991e7ca674c816a37f319a1bb3b566d9f0e360e

Transaction

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


Hash:
e8016def18a539c84bf6dcd5f991e7ca674c816a37f319a1bb3b566d9f0e360e
Status:
ERROR
Block height:
67535383
Block id:
9c1962cf196c53e63b27d594ae1bb8d51f03b09e2cc844b5f59b02e42c8c57e6
Timestamp:
Monday 11 December 2023 at 19:59:30 UTC
()
Proposer:
Authorizers: