Skip to content

CurioTeam/capital-dex-core

Repository files navigation

Capital DEX smart contracts

Capital DEX - a decentralized AMM-based exchange by Curio.

Features overview

  • Liquidity pools and AMM mechanism, the ability to set the withdrawal of a part of the exchange fee to the team's wallet;
  • Liquidity mining mechanism: ERC-20 CGT (Curio Governance Token) tokens will be distributed, which will be issued separately and put on a special reserve contract;
  • Whitelist of DEX users (to ensure that users pass the KYC / AML procedure): check for swap, adding / removing liquidity, liquidity mining;
  • Whitelist for tokens with which you can create trading pairs;
  • Ability to disable user verification by whitelist;
  • The admin and manager roles to manage the whitelist of users;
  • Upgradable functionality for whitelist of users.

Contracts overview

This repository contains contracts:

  • Core Capital DEX contracts - support liquidity pools, token pairs, AMM algorithm, control of user transactions and supported tokens using whitelists;
  • Farming contracts - work with the distribution of rewards (ERC-20 CGT - a token not relevant to this repository) for staking LP tokens of Capital DEX;
  • DexWhitelist.sol - the contract serves whitelists of users and tokens supported in Capital DEX, can work with whitelist of Security Token holders, supports upgradable functionality.

For Developers

See guides for compiling and deploying contracts in the docs directory.

License

GPL-3.0