Skip to content
This repository has been archived by the owner on Dec 18, 2023. It is now read-only.

mobiusAMM/mobi-dao-contracts

 
 

Repository files navigation

curve-dao-contracts

Vyper contracts used in the [Mobius] governance and staking system.

Overview

Mobius DAO consists of a modified instance of Compound's Governor Bravo. The Comp token is replaced with a locked voting token (veMOBI) for votes. These contracts handle the contracts for the liquid token MOBI, as well as the system of locking MOBI (veMOBI). veMOBI can then be used to direct future MOBI allocation amongst the various staking contracts, all which is handled in a decentralized manner by the token holders.

Testing and Development

Dependencies

Setup

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/curvefi/curve-dao-contracts.git
cd curve-dao-contracts
pip install -r requirements.txt

Running the Tests

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

Deployment

See the deployment documentation for detailed information on how to deploy Mobius DAO.

Audits and Security

Curve DAO contracts have been audited by Trail of Bits and Quantstamp. These audit reports are made available on the Curve website.

There is also an active bug bounty for issues which can lead to substantial loss of money, critical bugs such as a broken live-ness condition, or irreversible loss of funds.

Resources

You may find the following guides useful:

  1. Curve and Curve DAO Resources
  2. How to earn and claim MOBI
  3. Voting and vote locking on Curve DAO

License

This project is licensed under the MIT license.

About

Vyper contracts to be used by Curve DAO

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 95.8%
  • Solidity 4.1%
  • JavaScript 0.1%