Flow price: --
af4af9e02c4025fe17d84379667859a3b7cb9fd19bb4feaac1e6c605fa461e3b

Transaction

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


Hash:
af4af9e02c4025fe17d84379667859a3b7cb9fd19bb4feaac1e6c605fa461e3b
Status:
ERROR
Block height:
67393703
Block id:
2f121075f7a90c02cb913213d675a1d05a7f5f77bc8aaff9315fc2a304a9c090
Timestamp:
Saturday 9 December 2023 at 18:41:50 UTC
()
Proposer:
Authorizers: