> For the complete documentation index, see [llms.txt](https://docs.sanko.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sanko.xyz/sanko-mainnet/native-dexs/camelot-exchange/camelot-v2.md).

# Camelot V2

Camelot's V2 AMM features dual-liquidity types, meaning that it's able to support both volatile and stable pairs.

Volatile pairs are composed of uncorrelated assets, based on the Uniswap V2 model using the constant product formula (x\*y=k). Stable pairs are used for correlated assets and try to maintain a 1:1 transfer ratio, using a formula based on the Solidly curve (x³y + y³x = k).

Camelot V2 also features dynamic directional fees for trading pairs, allowing different fees to be set for each pool. Camelot pairs can be configured with their own swap fees, and can be set up with different values depending on the swap direction.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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.sanko.xyz/sanko-mainnet/native-dexs/camelot-exchange/camelot-v2.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.
