# Overview

Unlike all other AMMs on Sui, which only allow pools of two assets, Aftermath offers a Constant Function Market Maker with up to 8 assets per pool. Why does this matter? For a nascent ecosystem like Sui, most liquidity will arrive via bridge.

Unfortunately, assets which arrive from different chains and/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.

Our answer to this problem is to pool all of these similar coins together, using a stable swap invariant which pegs their value to be roughly the same, and allows for easy and low slippage trades between coins.

<figure><img src="/files/gMBwBzFsnyH3f82MQIEo" 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. In addition to facilitating efficient swaps between the multiple coins in the pool, these uncorrelated pools also allow for the creation of 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 completely permissionless, providing complete creative freedom to the community to deploy the pools they are most interested in.


---

# 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.aftermath.finance/pools/constant-function-market-maker.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.
