> For the complete documentation index, see [llms.txt](https://dosui.gitbook.io/dosui/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dosui.gitbook.io/dosui/introduction-to-dosui/dex-functionalities/swaps.md).

# Swaps

Similar to any other DEX, you can swap tokens on DoSui for others. The slippage and price of the trade are determined with direct regard to the amount of total value locked in the liquidity pairs, and whether arbitrage has evened out the pool to its appropriate market rate.

On DoSui 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
$$

* Correlated (Andre-Style): The stable curve used by DoSui 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
$$

##
