> For the complete documentation index, see [llms.txt](https://docs.marsecosystem.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.marsecosystem.com/russkii/belaya-kniga/mars-defi-protocols.md).

# Протоколы Mars DeFi

Протоколы Mars DeFi включают платформы DeFi, такие как **Mars Swap** и **Mars StableSwap, которые** необходимы <img src="/files/ATemxHvz2etRtwHGfJtN" alt="" data-size="line">USDm для реализации основных функций стейблкоина - средства обмена и сохранения стоимости.

## Mars Swap <a href="#mars-swap" id="mars-swap"></a>

Mars Swap это AMM DEX типа Uniswap (Автоматическая децентрализованная биржа маркет-мейкеров)

Mars Swap стимулирует предоставление ликвидности и транзакции <img src="/files/ATemxHvz2etRtwHGfJtN" alt="" data-size="line"> USDm через реализации протоколов, такие как программы добычи ликвидности и торгового майнинга.

Комиссия за транзакцию в Mars Swap составляет 0,3%, **0,25% идет непосредственно в LP и 0,05% идет** <img src="/files/CYNRGh1ikzp3pZn751kH" alt="" data-size="line"> **владельцам XMS, которые стейкают XMS на Mars Swap.** Конкретный метод распределения комиссий за транзакции между участниками XMS заключается в том, чтобы выкупить XMS с комиссии за транзакцию напрямую по рыночной стоимости и перераспределить ее.

Дизайн, согласно которому <img src="/files/CYNRGh1ikzp3pZn751kH" alt="" data-size="line"> стейкеры XMS участники могут получить **Mars Swap** комиссии за транзакции - одно из решений Mars Ecosystem для решения проблемы положительных внешних факторов; центральная проблема многих других протоколов стейблкоинов. Ценность, создаваемая <img src="/files/ATemxHvz2etRtwHGfJtN" alt="" data-size="line"> обращением USDm в мире DeFi также может **быть захвачена** токеном управления Mars Ecosystem - <img src="/files/CYNRGh1ikzp3pZn751kH" alt="" data-size="line"> XMS. Эта конструкция также обеспечивает **дополнительную поддержку XMS, которая, в свою очередь, помогает обеспечить стабильность** <img src="/files/ATemxHvz2etRtwHGfJtN" alt="" data-size="line">**USDm**


---

# 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, and the optional `goal` query parameter:

```
GET https://docs.marsecosystem.com/russkii/belaya-kniga/mars-defi-protocols.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
