Flow price: --
10bd6b5ce2e6177edb890c9257ce46fbf974ac5932d43be0fd558ed92c2582ac

Transaction

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


Hash:
10bd6b5ce2e6177edb890c9257ce46fbf974ac5932d43be0fd558ed92c2582ac
Status:
ERROR
Block height:
67962515
Block id:
fd8574a974ba562f89abc5007a5ead6534769d9b590e4e6eb33b5f1b7e17fa54
Timestamp:
Monday 18 December 2023 at 00:35:38 UTC
()
Proposer:
Authorizers: