Smart contracts used in the MIMO Governance DAO.
It is a vyper implementaion based on Curve DAO contracts.
- python3 version 3.6 or greater, python3-dev
- vyper version 0.2.12
- brownie - tested with version 1.14.6
- brownie-token-tester - tested with version 0.2.2
- ganache-cli - tested with version 6.12.1
To get started, first create and initialize a Python virtual environment. Next, clone the repo and install the developer dependencies:
git clone https://github.com/mimoprotocol/mimo-dao-contracts.git
cd mimo-dao-contracts
pip install -r requirements.txt
The test suite is split between unit and integration tests. To run the entire suite:
brownie test
To run only the unit tests or integration tests:
brownie test tests/unitary
brownie test tests/integration
See the deployment documentation for detailed information on how to deploy Mimo DAO.
This project is licensed under the MIT license.