Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable meta governance for comp-like tokens #2

Merged
merged 6 commits into from
Jan 22, 2021
Merged

Conversation

d1ll0n
Copy link
Contributor

@d1ll0n d1ll0n commented Jan 22, 2021

Resolves #1

This PR:

  • Adds coveralls dependency and a travis.yml config to enable CI
  • Adds a MetaGovernorUNI and a MetaGovernorCOMP contract

This enables the meta-governance feature discussed in the draft for IIP 3.

The new meta governor contracts allow NDX holders to vote by simple majority on how to cast the votes delegated to the meta governor on an external governance contract, which must be based on GovernorAlpha. Each external proposal is referred to as a "meta proposal", which has an endBlock some configurable number of blocks prior to the endBlock for the external proposal. Once the meta proposal reaches the endBlock, the meta governor will cast an affirmative vote for the external proposal if it reaches a simple majority of votes in favor, or a negative vote if it does not.

@d1ll0n d1ll0n added the enhancement New feature or request label Jan 22, 2021
@d1ll0n d1ll0n merged commit b405d86 into master Jan 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create meta governance contract
1 participant