Flow price: --
d34a0df059f202d844b8e9b38fd3c54b2136c3fba0813df9e22b7f672df1aab6

Transaction

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


Hash:
d34a0df059f202d844b8e9b38fd3c54b2136c3fba0813df9e22b7f672df1aab6
Status:
ERROR
Block height:
67423048
Block id:
6db1fc8840d2cea5595242995b13151c8b62710ede007fa75e94950c50976a5a
Timestamp:
Sunday 10 December 2023 at 04:54:31 UTC
()
Proposer:
Authorizers: