Flow price: --
a817913c78443493e04f7ff2b9ffb4784d174123097156a586e854dbc1d4d24d

Transaction

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


Hash:
a817913c78443493e04f7ff2b9ffb4784d174123097156a586e854dbc1d4d24d
Status:
ERROR
Block height:
67352065
Block id:
2752de4dc300df9eb04301a0af31bff869dd2dc2971cf13822abdc5de3b3a904
Timestamp:
Saturday 9 December 2023 at 04:12:48 UTC
()
Proposer:
Authorizers: