Flow price: --
c9c35d163187c6113f28ad4c1ea44cf696a97dd0ce4f48c95e8cac6276f2944e

Transaction

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


Hash:
c9c35d163187c6113f28ad4c1ea44cf696a97dd0ce4f48c95e8cac6276f2944e
Status:
ERROR
Block height:
67392705
Block id:
efaf3f20a3238ea99a63d9561b682b591982a6d49a56620f30af3ee9a69c221a
Timestamp:
Saturday 9 December 2023 at 18:21:00 UTC
()
Proposer:
Authorizers: