Flow price: --
4c481d3c7a31a4ea1e683f339f72675f033a8e86c2c8495ce948bf79df2752da

Transaction

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


Hash:
4c481d3c7a31a4ea1e683f339f72675f033a8e86c2c8495ce948bf79df2752da
Status:
ERROR
Block height:
67523848
Block id:
332ff09cea66d977df546aadeb9a6be7801e22d6ffa9c7375b4f09ffba553896
Timestamp:
Monday 11 December 2023 at 15:58:43 UTC
()
Proposer:
Authorizers: