{"repo":"MANTRA-Chain/mantra-dex","free":true,"listed":false,"github":"https://github.com/MANTRA-Chain/mantra-dex","clone":"git clone https://github.com/MANTRA-Chain/mantra-dex.git","description":"MANTRA DEX is a decentralized AMM (Automated Market Maker) protocol that allows permissionless creation of liquidity pools and farms.","language":"Rust","stars":15,"topics":["amm","cosmos","cosmwasm","dex","farming","smart-contracts","swaps"],"license":"MPL-2.0","category":"blockchain-web3","readme_excerpt":"MANTRA DEX MANTRA DEX is a decentralized exchange (DEX) protocol that allows for permissionless pool and farm creation. The protocol is built around singleton contracts, which makes it easier to manage and integrate with other protocols. Getting started To get started with MANTRA DEX, please go through the contributing guide to see the different ways to contribute to the project. Resources 1. Website 2. Docs Architecture The following is the architecture of MANTRA DEX, and a general description of each contract: The direction of the arrows represents the dependencies between the contracts. Pool Manager The Pool Manager is the contract that manages the pools in the DEX. It is responsible for creating pool and handling swaps. Pool creation is permisionless, meaning anyone can create a pool if the fee is paid. The Pool Manager depends on the Farm Manager and the Fee Collector. Farm Manager The Farm Manager is the contract that manages the farms in the protocol. It is responsible for creating and distributing rewards on pools. Farm creation is permissionless, meaning anyone can create a farm if the fee is paid. The Farm Manager depends on the Epoch Manager, as rewards are distributed based on epochs. Fee Collector The Fee Collector collects the fees accrued by the protocol. Whenever a pool or a farm is created, a fee is sent to the Fee Collector. As of now, the Fee Collector does not have any other function. Epoch Manager The Epoch Manager is the contract that manages the epochs ","default_branch":null,"files":null,"tree":[],"storefront":"/r/MANTRA-Chain","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/MANTRA-Chain/mantra-dex/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}