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

Voting Power Limits #684

Open
3 tasks
JakeHartnell opened this issue Mar 26, 2023 · 0 comments
Open
3 tasks

Voting Power Limits #684

JakeHartnell opened this issue Mar 26, 2023 · 0 comments
Labels
feature A new exciting feature.
Milestone

Comments

@JakeHartnell
Copy link
Member

JakeHartnell commented Mar 26, 2023

Use case: A SubDAO manages a large portion of the treasury, how to they guarantee that they won't use those tokens to vote and take over the DAO?

Solution would be to have a DAO manage add limits on voting power (potentially setting it to zero in some cases). For example, a Development Foundation could have its voting power limited to give DAO members assurance that they won't use their tokens in governance again.

Need to do it mainly for the Token DAO voting contracts:

  • dao-voting-native-staked
  • dao-voting-token-factory-staked
  • dao-voting-cw721-staked

This is less relevant for membership DAOs IMO.

@JakeHartnell JakeHartnell added the improvement adds a new feature label Aug 18, 2023
@JakeHartnell JakeHartnell changed the title DAO Managed Deny-list for Voting Voting Power Limits Aug 29, 2023
@JakeHartnell JakeHartnell added this to the v3.0 milestone Aug 30, 2023
@JakeHartnell JakeHartnell added feature A new exciting feature. and removed improvement adds a new feature labels Aug 30, 2023
ismellike added a commit to Arena-DAO/dao-contracts that referenced this issue Sep 8, 2023
Added 2 new macros for limitable voting modules
Added an error for LimitExceeded when attempting to stake more than allowed
Added test case for limits
Solution is optimistic hence the map instead of snapshotmap for limits, so reducing limit after a user has already staked will not be affected DA0-DA0#684
Also fixed some clippy errors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature A new exciting feature.
Projects
None yet
Development

No branches or pull requests

1 participant