Flow price: --
bd848d60687bc51c1727b481d332b3c6f5697b9ede007f96c7a3839ce2197467

Transaction

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


Hash:
bd848d60687bc51c1727b481d332b3c6f5697b9ede007f96c7a3839ce2197467
Status:
ERROR
Block height:
67554965
Block id:
05e3bf2101034c62725188c0842eb126bbeee327c8ec7bd99a7d2a3195c99060
Timestamp:
Tuesday 12 December 2023 at 02:48:23 UTC
()
Proposer:
Authorizers: