> For the complete documentation index, see [llms.txt](https://docs.aftermath.finance/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.aftermath.finance/pools/constant-function-market-maker.md).

# Overview

Aftermath offers a Constant Function Market Maker with up to 8 assets per pool. In a young ecosystem like Sui, most liquidity arrives via bridge.

Assets that arrive from different chains or different bridges are not fungible. This means if you bridge a coin like ETH from Arbitrum, you can not trade it in a pool which consists of the same coin but was bridged from Solana. Or which arrived via a different bridge.

Aftermath pools these similar coins together with a stable swap invariant, which pegs their values to be roughly the same and allows low slippage trades between them.

<figure><img src="https://3284144787-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmeKfXaQnIP3bbI1AdlVX%2Fuploads%2Fgit-blob-0b4bd682fbe7db848b61b96a199c92608e4749fb%2Fpools-list.png?alt=media" alt=""><figcaption><p>Aftermath Pools</p></figcaption></figure>

Our CFMM also supports uncorrelated assets, for pools such as ETH, BTC, SUI, USDC, or any other combination at whichever relative weights the user wants. Uncorrelated pools also let you create different types of baskets. For instance, you can create a bluechip index, or a meme coin index, with each individual coin representing any percentage of the total pool so long as they all add up to 100.

Creating pools is permissionless, so anyone can deploy the pools they want.
