This repository holds the contract code for an Initial Coin Offering (ICO) designed for Decentralized Autonomous Organizations (DAOs). It allows DAOs to facilitate the sale of tokens from other protocols after a rigorous proposal review process. It has been carefully architected to incentivize DAOs to accept only top-quality proposals by distributing the fees earned through the ICO contract.
- Proposal Review System: Only protocols that pass through the careful review process by DAO members can sell their tokens using this contract.
- Fee Distribution: The fees generated from the ICO contract are split equally between a stablecoin and the token.
- Token Lock Period: To ensure stability and long-term alignment of interests, the tokens earned as fees are locked for a period of 1 year.
To install this project, clone the repository and install the dependencies.
$ git clone https://github.com/CleanPegasus/DAO-ICO.git
$ cd DAO-ICO
$ npm install
- Compile the contracts.
$ npx hardhat compile
- Run the tests.
$ npx hardhat test
- Deploy the contracts.
$ npx hardhat run scripts/deploy.js --network <network-name>