Skip to content

Voting mechanics #13

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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