# Mars DeFi protocols

The Mars DeFi protocols include the DeFi platforms such as **Mars Swap** and **Mars StableSwap** that are necessary for <img src="https://4074483544-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MaIhkEITW98LhhGTm9g%2F-MaL0vKpscQD0M-yQqIE%2F-MaL1rDPyel_LgIs5AT-%2FUSD%20Mars%2060.png?alt=media&#x26;token=31999da6-a4df-4b80-ad3f-fd881d836174" alt="" data-size="line"> USDm to realize the basic functions of a stablecoin — being a medium of exchange and store of value.

## Mars Swap

Mars Swap is a Uniswap-type AMM DEX ( Automated Market-Maker Decentralized Exchange)

Mars Swap incentivizes liquidity provision and transactions of <img src="https://4074483544-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MaIhkEITW98LhhGTm9g%2F-MaL0vKpscQD0M-yQqIE%2F-MaL1rDPyel_LgIs5AT-%2FUSD%20Mars%2060.png?alt=media&#x26;token=31999da6-a4df-4b80-ad3f-fd881d836174" alt="" data-size="line"> USDm through protocol implementations such as liquidity mining and trade mining programs.

The transaction fee on Mars Swap is 0.3%, **0.25% goes directly to LP and 0.05% goes to** <img src="https://4074483544-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MaIhkEITW98LhhGTm9g%2F-MaL0vKpscQD0M-yQqIE%2F-MaL1xmJC9-wKVpArShS%2FXMS%2060.png?alt=media&#x26;token=0e8ce66d-f795-40db-92ff-7026be76298b" alt="" data-size="line">**XMS holders who stake XMS at Mars Swap**. The specific method of distributing transaction fees to XMS stakers is to repurchase XMS with transaction fees directly at market value and redistribute them.&#x20;

The design that <img src="https://4074483544-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MaIhkEITW98LhhGTm9g%2F-MaL0vKpscQD0M-yQqIE%2F-MaL1xmJC9-wKVpArShS%2FXMS%2060.png?alt=media&#x26;token=0e8ce66d-f795-40db-92ff-7026be76298b" alt="" data-size="line"> XMS stakers can obtain **Mars Swap** transaction fees is one of Mars Ecosystem's solutions to the positive externality problem; a central issue withing many other stablecoin protocols. The value generated by   <img src="https://4074483544-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MaIhkEITW98LhhGTm9g%2F-MaL0vKpscQD0M-yQqIE%2F-MaL1rDPyel_LgIs5AT-%2FUSD%20Mars%2060.png?alt=media&#x26;token=31999da6-a4df-4b80-ad3f-fd881d836174" alt="" data-size="line"> USDm circulation in the DeFi world can also **be captured** by Mars Ecosystem's governance token <img src="https://4074483544-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MaIhkEITW98LhhGTm9g%2F-MaL0vKpscQD0M-yQqIE%2F-MaL1xmJC9-wKVpArShS%2FXMS%2060.png?alt=media&#x26;token=0e8ce66d-f795-40db-92ff-7026be76298b" alt="" data-size="line"> XMS. This design also provides **additional value support for XMS**, **which in turn helps ensure the stability of** <img src="https://4074483544-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MaIhkEITW98LhhGTm9g%2F-MaL0vKpscQD0M-yQqIE%2F-MaL1rDPyel_LgIs5AT-%2FUSD%20Mars%2060.png?alt=media&#x26;token=31999da6-a4df-4b80-ad3f-fd881d836174" alt="" data-size="line">**USDm**
