Flow price: --
a0d661b6f4ae2e11258599390633a29dbeda1d5a7b188af46ea9fde046181ada

Transaction

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


Hash:
a0d661b6f4ae2e11258599390633a29dbeda1d5a7b188af46ea9fde046181ada
Status:
ERROR
Block height:
67382009
Block id:
03917eefc5f7707d46ae8e67fe6c2fd135a07faf7efad0c5e794e7efd3912316
Timestamp:
Saturday 9 December 2023 at 14:37:42 UTC
()
Proposer:
Authorizers: