Flow price: --
00088c30ecbad1f0eb5e52820c1d968aaa47a984df5f703202e9fecea3a82722

Transaction

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


Hash:
00088c30ecbad1f0eb5e52820c1d968aaa47a984df5f703202e9fecea3a82722
Status:
ERROR
Block height:
67393041
Block id:
ea0c8cb88b374b03e9b313e0aea157a21d425f78b1dc3f40248ad5f22d299369
Timestamp:
Saturday 9 December 2023 at 18:28:02 UTC
()
Proposer:
Authorizers: