Flow price: --
5bb0fab121911ae69b43d2bbc4d62df664fdde107eedc54d12b6c7c73f518d7a

Transaction

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


Hash:
5bb0fab121911ae69b43d2bbc4d62df664fdde107eedc54d12b6c7c73f518d7a
Status:
ERROR
Block height:
67465541
Block id:
186c828d2f73305124347b33390573b0e829f03ba445f80629801a34163b74a3
Timestamp:
Sunday 10 December 2023 at 19:41:33 UTC
()
Proposer:
Authorizers: