Skip to content

Use staked governance token balance where necessary. #96

@noahsaso

Description

@noahsaso

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions