# Mars DeFi协议

Mars DeFi协议包括**Mars Swap**， **Mars StableSwap**等USDm在实现其交易媒介、价值贮存等稳定币基本功能时所必需的DeFi组件。&#x20;

## Mars Swap

Mars Swap是一个Uniswap类型的AMM DEX。

Mars Swap通过流动性挖矿和交易挖矿等激励手段促进对 <img src="/files/-MaL1rDPyel_LgIs5AT-" alt="" data-size="line"> USDm的流动性提供和交易等需求。

Mars Swap上的交易费用为0.3%，其中**0.25%给LP**，**0.05%给在Mars Swap质押** <img src="/files/-MaL1xmJC9-wKVpArShS" alt="" data-size="line"> **XMS的XMS持有者**。向XMS质押者分发交易费用的具体方式为在市场上用交易费用回购XMS再分发。

XMS质押者可以获得Mars Swap交易费用的设计是Mars Ecosystem对稳定币协议正外部性问题的一个解： <img src="/files/-MaL1rDPyel_LgIs5AT-" alt="" data-size="line"> USDm在DeFi世界中流转产生的价值也可以被Mars Ecosystem的治理币 <img src="/files/-MaL1xmJC9-wKVpArShS" alt="" data-size="line"> XMS所**捕获**。这种设计也为XMS**提供了额外的价值支撑，有利于USDm的稳定性**。


---

# 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.marsecosystem.com/zhong-wen/bai-pi-shu/mars-defi-xie-yi.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.
