The development of a decentralized exchange (DEX) for a financial platform based on Uniswap v2 with Yield farming functionality.
Subsystem | Component | Description |
Core | Factory | A smart contract for creating pairs |
Pair | A smart contract of the pair | |
ERC20 | A smart contract of the token | |
Periphery | Library | A smart contract providing methods for obtaining data and prices |
Router | A smart contract providing methods for calling Public interface from the Subsystem | |
Farm | MasterChef | A smart contract implementing the mechanics of farming pools |
Public interface | A user interface | |
Admin interface | An interface for configuring commission fees and adding pairs |