Flow price: --
a35f1088e87d95c638f6be8ac5b3c253dabf306fecaff9e5a502cf176c25a31e

Transaction

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


Hash:
a35f1088e87d95c638f6be8ac5b3c253dabf306fecaff9e5a502cf176c25a31e
Status:
ERROR
Block height:
68102189
Block id:
19d48e9ce2a6bd7dc0fbbaf4057098de9a3e0c08181b3569bf02e6bd4ddfdc33
Timestamp:
Wednesday 20 December 2023 at 01:11:15 UTC
()
Proposer:
Authorizers: