> For the complete documentation index, see [llms.txt](https://garbi-protocol.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://garbi-protocol.gitbook.io/docs/product/garbi-swap/dual-liquidity-type.md).

# Dual-liquidity type

Each Garbi LP can have its own type, depending on the expected price correlation level between the two tokens of the pair.

### Volatile pairs

Volatile pairs are composed of uncorrelated assets, based on the usual UniV2 model, using the standard constant product formula:

$$
x \* y = k
$$

### Garbi stable pairs

The contract uses Chainlink as the Oracle and gets the price from other dexs to maintain the rate of all stablecoins

<figure><img src="https://436847052-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2BQmpCdlJFGgfYtLD5A9%2Fuploads%2FyaRxANBB5mFtFgbes82l%2Fc0c32bf05cc2849cddd3.jpg?alt=media&amp;token=29a3eb3b-928d-4bce-a63d-ea38dcae2d64" alt=""><figcaption></figcaption></figure>
