Flow price: --
d04221afc95f158477a3331030755567cfa5b26fe056ee1385b343985fb8281f

Transaction

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


Hash:
d04221afc95f158477a3331030755567cfa5b26fe056ee1385b343985fb8281f
Status:
ERROR
Block height:
67357685
Block id:
8cd52d65c9f2f4834e6e1f8d953c041acf971a5661fa4e78e055e318d5b9bbc4
Timestamp:
Saturday 9 December 2023 at 06:10:05 UTC
()
Proposer:
Authorizers: