Flow price: --
8721b72bf10874e3abfc1a9c9446d6a04643764519d5fd4db01ca0d3d2b77b25

Transaction

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


Hash:
8721b72bf10874e3abfc1a9c9446d6a04643764519d5fd4db01ca0d3d2b77b25
Status:
ERROR
Block height:
67534396
Block id:
ccce3d7cdd156ad2a7c19876fed813645db6adfaf8dc2f5c49f54fdc846a8559
Timestamp:
Monday 11 December 2023 at 19:38:54 UTC
()
Proposer:
Authorizers: