> For the complete documentation index, see [llms.txt](https://docs.blinkswap.xyz/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.blinkswap.xyz/docs/dex/pool-model.md).

# Pool model

<figure><img src="/files/ZtkTo6s2XvPg2MHLiWX5" alt=""><figcaption></figcaption></figure>

The Auto Market Maker (AMM) is the core of pool models and liquidity pools, instead of using the Oracle price, AMMs determine the prices by the algorithm.

Pools are defined as assets that have no direct correlation in price, examples are Bitcoin (BTC) and Ethereum (ETH). The price of ETH has no relation to the price of BTC.

The Pool is built for general-purpose tradings and utilizes the constant product algorithm:

<figure><img src="/files/n6nhDnM4zqkKh96Ebpmb" alt=""><figcaption></figcaption></figure>

and popularized by Uniswap V2 as:

<figure><img src="/files/qOW9XZqVBesrS7Essiqk" alt=""><figcaption></figcaption></figure>

The constant, represented by “k” means there is a constant balance of assets that determines the price of tokens in a liquidity pool.&#x20;

<figure><img src="/files/fSYRKS7UT6eVJe1uKs1d" alt=""><figcaption></figcaption></figure>
