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

Use staked governance token balance where necessary. #96

Open
NoahSaso opened this issue Mar 16, 2022 · 0 comments
Open

Use staked governance token balance where necessary. #96

NoahSaso opened this issue Mar 16, 2022 · 0 comments

Comments

@NoahSaso
Copy link
Owner

NoahSaso commented Mar 16, 2022

We check for the presence of governance tokens in a few places, such as displaying the edit campaign form. This should actually be checking for the presence of STAKED governance tokens.

Also, we say "you have voting power in the DAO" when the user has unstaked governance tokens, which is just not true.

Fix stuff like this.

Get staked balance of address:
https://github.com/DA0-DA0/dao-contracts/blob/main/contracts/stake-cw20/src/msg.rs#L40-L42

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant