Skip to content

Voting mechanics #13

@avoloshko

Description

@avoloshko

1. reduce the amount of gas spent by the owner.
get rid of count() and calculate the max while revealing votes
2. take into consideration the voter's balance.
Lock the balance during the voting stage to avoid multiple votes with the same tokens.
Unlock the balance when the voter reveals her vote. This requires an integration with ERC20 smart contract.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions