Flow price: --
57d32291914047f942532a359f182a7daea7ff77d069e398b5fc9a350692b181

Transaction

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


Hash:
57d32291914047f942532a359f182a7daea7ff77d069e398b5fc9a350692b181
Status:
ERROR
Block height:
67539207
Block id:
12ea17bee81e6f43216d365e55d68b1492e6f696da1a8c7d2b590ba423575ce2
Timestamp:
Monday 11 December 2023 at 21:19:20 UTC
()
Proposer:
Authorizers: