Flow price: --
70f470359d7a1605699b0ef761dabf0542c8965d574e4a68ed329279a4ca082c

Transaction

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


Hash:
70f470359d7a1605699b0ef761dabf0542c8965d574e4a68ed329279a4ca082c
Status:
ERROR
Block height:
67586623
Block id:
ad188989127c83d047cdc9f6be6c01f9708b55711da62944ab8a368a594c4def
Timestamp:
Tuesday 12 December 2023 at 13:49:14 UTC
()
Proposer:
Authorizers: