# Swap

**Swap Engine**

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

Cellana uses a different swap algorithm depending on how assets are correlated to one another. The hybrid swap engine is as following:

vAMM – Cellana follows Curve swap algorithm to provide services for assets with low price correlation. sAMM – Cellana uses the Solidly stable-swap algorithm for highly correlated assets.

## Swap Fees

Cellana introduces a fully adaptive fee structure, where trading fees are dynamically adjusted in response to market volatility with min/max values of 0% and 10%, respectively.&#x20;

By default all V2 volatile pools are set to **0.1%** and stable pools to **0.04%**.

## Volatile Pools

Volatile pools are defined as assets that have no direct correlation in price. For example, CELL/APT is referred as volatile pool since the price of CELL has no relationship to the volatility of APT.

Volatile pairs use the following formula to determine the price:

x × y ≥ k

<figure><img src="/files/IiQh3R7AwGeUjXfkCWNz" alt="" width="188"><figcaption><p>Volatile Pool</p></figcaption></figure>

## Stable Pools

Stable pools are defined as assets that have a direct correlation to each other. Examples are USDC/USDT. The price of the 2 assets will trade very close to each other and thus a different approach can be taken to allow for much higher volume at low slippage.

Stable pairs use the following formula to determine the price:

x³y + y³x ≥ k

<figure><img src="/files/KhwK2oKQodbfGv6OuCwl" alt="" width="188"><figcaption><p>Stable Pool</p></figcaption></figure>


---

# 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.cellana.finance/how-it-works/swap.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.
