# DEX

The Kodiak DEX is a decentralized exchange native to Berachain. The DEX is powered by its V2 (full-range) and V3 (concentrated) AMMs, both of which are based on their respective Uniswap AMM designs.

* Traders: enjoy seamless, low-slippage token swaps when liquidity for both tokens are sufficient.
* Liquidity Providers: flexibility to choose from various liquidity provision methods, some of which optimize fee efficiency.

{% hint style="info" %}
Kodiak's V2 AMM is based on Uniswap V2, which is powered by the constant product formula (𝑥 · 𝑦 = 𝑘). For technical documentation, please refer to [Uniswap's V2 Protocol documentation](https://docs.uniswap.org/contracts/v2/overview).\
\
Kodiak's V3 AMM is based on Uniswap V3, which introduced the concept of deploying liquidity at a specific price range. For technical documentation, please refer to [Uniswap's V3 Protocol documentation](https://docs.uniswap.org/contracts/v2/overview). \
\
However, unlike Uniswap, Kodiak has the fee switch turned on from the start.
{% endhint %}


---

# 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://documentation.kodiak.finance/protocol/dex.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.
