Flow price: --
12d4319965c57616acec0b800e4f5218daadbffb2b28cdf6c017e867ae71efa7

Transaction

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


Hash:
12d4319965c57616acec0b800e4f5218daadbffb2b28cdf6c017e867ae71efa7
Status:
ERROR
Block height:
68086304
Block id:
1b7491823573e2612065d8f5c9d68a03b0cc86fb2d41017de3f12605abf4a387
Timestamp:
Tuesday 19 December 2023 at 19:39:40 UTC
()
Proposer:
Authorizers: