Flow price: --
234518415cd76c16eef343c7ce23fd18dc40163632157aca740eaab3242a1a70

Transaction

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


Hash:
234518415cd76c16eef343c7ce23fd18dc40163632157aca740eaab3242a1a70
Status:
ERROR
Block height:
67510214
Block id:
93a8194e2262c172743811d1c42e878bcae6bbb7251703fd4b7ca2100cf15bee
Timestamp:
Monday 11 December 2023 at 11:14:05 UTC
()
Proposer:
Authorizers: