◼️
Votex
  • About
  • Protocol
  • Indexers
  • Considerations
Powered by GitBook
On this page
  • Inscription Parameters
  • Conditions

Protocol

Inscription Parameters

The basic operations parameters for creating a proposal, casting a vote, and tallying a vote are as follows:

{ 
  "p": "votex",
  "dao": "runestone",
  "op": "propose",
  "pid": "1",
  "prop": "Exclude QC",
  "sys": "majority"
  "mem": "112,383"
  "quo": "20%"
  "exp": "829466"
  "id": "taproot-wallet-address",
  "cast": "aye"
}
{ 
  "p": "votex",
  "dao": "runestone",
  "op": "vote",
  "pid": "1",
  "id": "taproot-wallet-address",
  "cast": "aye"
}
{ 
  "p": "votex",
  "dao": "runestone",
  "op": "tally",
  "pid": "1",
  "prop": "Exclude QC",
  "sys": "majority"
  "mem": "112,383"
  "quo": "20%"
  "exp": "829466"
  "id": "taproot-wallet-address",
  "res": "pass"
}
Key
Parameter
Condition
Description

p

protocol

Required for all

Provides indexers a way to identify and process votes

dao

DAO

Required for all

The name of the DAO or community

op

operation

Required for all

The details of the operation command

pid

proposal-id

Required for all

The unique number of the proposal

prop

proposal

Optional

The title of the proposal

sys

system

Required for propose, tally

The system of voting

mem

members

Required for propose, tally

Snapshot of the total member count of voter pool

quo

quorum

Required for propose, tally

The minimum participation threshold, represented as a %

exp

expiry

Required for propose, tally

The deadline block at which votes will have to be received to be valid

id

identification

Required for all

The voter ID as taproot wallet address of voter

cast

cast

Required for propose, vote

Either aye or nay

res

result

Tally only

The final outcome of the vote

  • Propose

  • Vote

  • Tally

  • Majority

  • Unanimous

  • Aye

  • Nay

  • Pass

  • Fail

  • Null

Voting Systems Specifics
  • Simple majority more than 50% wins. In the case of a tie, the proposer's vote is the tiebreaker.

  • Unanimous. All members must vote aye for the proposal to pass.

Conditions

  • pid needs to be a sequential number unique to the DAO

  • Either the input or output of the tx has to match the wallet address that holds the votex inscription as well as the wallet address written in the inscription as id

  • Therefore it is advised to use only taproot wallets with a bitcoin balance to ensure vote is valid, and to avoid inscription services that first inscribe to their wallets

  • Only one vote (set of parameters) per inscription

  • The JSON format should be followed

PreviousAboutNextIndexers

Last updated 1 year ago