Vote
Vote for a proposal
User goes to a DAO page and clicks the proposals menu.
System opens the proposals page and populates it with all the proposals belonging to the DAO.
User selects a proposal and clicks its Vote Button or opens the proposal page, reads the proposal in more detail and clicks the vote button.
User selects an option and click clicks the Vote Button.
If proposal.Token and proposal.Collection parameters are both null, it is a democracy voting (one wallet => one vote)
If only proposal.Token is not null, it is a weighted voting (one wallet => one weighted vote. One wallet vote = Wallet staked token)
If only proposal.Collection is not null; it is a NFT gated voting. One NFT = total of staked NFT items.
System checks if the wallet has voted before.
If already voted; system returns βError! Already voted! You can only vote once per wallet!β message and exits.
If not voted system adds the vote to the votes table according to voting type (democracy, token weighted, NFT weighted)
At the end date; system counts votes and decides the option with maximum votes.
Last updated