# Legacy Liquidity

Legacy pools are the traditional Uniswap V2 and Stableswap pools with some modifications throughout iterations. Legacy pools can either be Volatile or Stable:

**Volatile:** Uniswap V2

**Stable:** Stableswap

## Volatile

Volatile legacy pairs are akin to the typical Uniswap V2 balanced pools that have existed for many years. The swap curve is:

$$
x∗y=k
$$

The balance of TokenA and TokenB in the pool will be of equal value to each other. For example, if there is an ETH-USDC legacy volatile pool, and ETH price is currently 4000 USDC, the pool will have 1 ETH per 4000 USDC.

Volatile pools are recommended for low-maintenance set and forget liquidity providing of non-correlated assets

## Stable

Correlated legacy pairs are akin to Curve's Stableswap pools which provide low slippage for traders. The swap curve is:

$$
xy(x^2+y^2)>=k
$$

The balance of TokenA and TokenB in the pool will vary based on the current place on the price curve. The closer each asset is to each other in pricing, the closer to 50/50 the pool will be.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.machinex.xyz/protocol/legacy-liquidity.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
