πŸͺ
DAOTON
  • πŸ‘‹Welcome to DAOTON.io
  • Overview
    • ▢️Video Demo
  • πŸͺ™Lockable Tokens Standard
  • BUIDL
    • πŸ“ͺUse Cases
      • Create Token
      • Create NFT Collection
      • Create DAO
      • Submit Proposal
      • Vote
    • πŸͺ™Lockable Tokens Standard
      • Introduction
      • Motivation
      • Sample Use Case
      • Code
      • Transactions without consensus
      • Financial Use Case
Powered by GitBook
On this page
  1. BUIDL
  2. Use Cases

Vote

Vote for a proposal

  1. User goes to a DAO page and clicks the proposals menu.

  2. System opens the proposals page and populates it with all the proposals belonging to the DAO.

  3. 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.

  4. User selects an option and click clicks the Vote Button.

    1. If proposal.Token and proposal.Collection parameters are both null, it is a democracy voting (one wallet => one vote)

    2. If only proposal.Token is not null, it is a weighted voting (one wallet => one weighted vote. One wallet vote = Wallet staked token)

    3. If only proposal.Collection is not null; it is a NFT gated voting. One NFT = total of staked NFT items.

  5. System checks if the wallet has voted before.

    1. If already voted; system returns β€œError! Already voted! You can only vote once per wallet!” message and exits.

    2. If not voted system adds the vote to the votes table according to voting type (democracy, token weighted, NFT weighted)

  6. At the end date; system counts votes and decides the option with maximum votes.

PreviousSubmit ProposalNextLockable Tokens Standard

Last updated 2 years ago

πŸ“ͺ