Coder Social home page Coder Social logo

augurdao's Introduction

Augur DAO

Augur DAO is a modified version of Governor Alpha designed to serve as a DAO for the Augur Project. While it is intended to use Augur's Reputation Token as its governance token, any ERC20 token will work equally well.

Contracts

AugurDAO and GuardianDAO

The AugurDAO contract is a modified version of Compound's GovernorAlpha contract. AugurDAO has extra functions to interact with a second "guardian" DAO. The GuardianDAO contract is a GovernorAlpha contract which is unmodified except for changes to constants.

The guardian DAO uses a non-transferable token for voting, which can be minted and burned by the Augur DAO. The guardian DAO "guards" the Augur DAO in the sense that it can:

  1. Vote to cancel proposals on Augur DAO.
  2. Vote to change the governance token of the Augur DAO. This is intended to be used to update the Reputation Token wrapper address in the event of an Augur universe fork.

Note: AugurDAO is intended to receive funds gradually over time, using a mechanism such as OpenZeppelin's VestingWallet.

WrappedReputationToken

Wraps an Augur Reputation Token (or another ERC20 token) so that it has the functionality expected by AugurDAO.

NonTransferableToken

A non-transferable ERC20 token intended for use as a governance token for AugurDAO. The NonTransferableToken contract implements special mint and burn functions that can only be called by the canMintAndBurn address, which is set during initialization. In the context of AugurDAO, canMintAndBurn should be the address of the AugurDAO contract.

Tests

Tests are in the test/ directory and can be run using npm test.

augurdao's People

Contributors

tinybike avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.