# Swap

Just like any other decentralized exchange, Solid Sync allows users to exchange tokens for others. The price and slippage of a trade are calculated based on the total value locked in the liquidity pairs and whether arbitrage has balanced out the pool to reflect the appropriate market rate. This means that users can trade tokens with the confidence that the price is fair and accurately reflects market conditions.\
\
On Solid Sync there are two types of Liquidity Pools, which have two types of swap curves:

* Volatile (UniV2-Style): The most basic of them all is the volatile 50/50 liquidity pool. This means that each volatile pool will have an equal weight (in dollar value) of each token paired with one another.&#x20;
  * The volatile swap curve used is:

$$
x\*y=k
$$

* Stable : The stable curve used by Solid Sync is a more efficient implementation of stable swaps than other Dexes. The original Solidly stable swap curve was well thought out by Andre, and we want to honor that innovation by maintaining it as much as possible. Near-zero slippage is achieved with the innovative swap model.
  * The stable swap curve used is:

$$
x^{3}y \ +y^{3}x \geq k
$$

##


---

# 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://solid-sync-organization.gitbook.io/solid-sync/dex-functions/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.
