```{eval-rst} .. _explanations-decision-proposals: ``` # Decision Proposals ## Overview Decision proposals let any identity put a question to the masternode network and receive a verifiable answer. A proposal is a document in the decision proposals system data contract, and masternodes and evonodes vote on it using their [masternode identities](../explanations/identity.md#voting). There are two kinds of proposals: * **Yes/no proposals** ask whether something should happen. They pass or fail by a rule the proposer sets when creating the proposal. * **Multiple-choice proposals** ask masternodes to pick one answer from a set of choices that identities enter for it. :::{attention} Proposal results are signaling only. Nothing on Platform acts on a passed or failed proposal, and proposals do not allocate any funds. What a result means is up to the people who read it. ::: ## Details ### Yes/no proposals Any identity can create a yes/no proposal. A proposal holds a title, a description of what a yes and a no mean, an optional URL where the proposal is discussed, and the rule its vote runs by: * **Pass threshold**: the proposal passes only if yes votes are strictly more than this percentage of the yes and no votes combined. The proposer chooses a value from 50% (a simple majority) to 80%. Abstain votes are not counted on either side. * **Minimum turnout**: the yes and no votes together must reach this percentage of the total voting power of the masternode list when voting closes, or the proposal fails. The proposer chooses a value from 0% to 50%. Masternodes banned by Proof of Service (PoSe) are left out of the total. * **End date**: when voting closes, between one and four weeks after the proposal is created. Creating a proposal opens the masternode vote on it. The proposer prefunds the vote with 0.5 DASH from their identity balance to pay for the masternodes' votes. Whatever the votes do not use is released as processing fees when voting closes. A proposal cannot be deleted, and its rule never changes, so masternodes always vote by the rule the proposal opened with. Its owner can edit the title, description, and URL for one day after creating it. Every version of a proposal is kept, so voters can see the text as it was when they voted. ### Multiple-choice proposals A multiple-choice proposal asks a question whose answers are separate choice documents entered for it. The proposer decides when creating the proposal whether it is open. Anyone can enter choices for an open proposal, while only the proposer can enter choices for one that is not open. An identity can enter more than one choice. The choices of one proposal compete in a contested resource vote, the same mechanism that resolves [contested DPNS names](../explanations/dpns.md#conflict-resolution). The difference is that each choice is its own contender, rather than each identity. Masternodes vote for a choice, abstain, or vote to lock, which here means none of the choices. When voting ends, the choice with the most votes is kept and the other choices are removed. If lock votes outnumber the leading choice, no choice is kept. The vote follows the same [timeline](../explanations/dpns.md#timeline) as a contested name. The first choice entered opens the vote, and further choices can be entered during the first part of the voting window. Each choice prefunds the vote the same way a contested name request does, starting at 0.1 DASH. Creating the multiple-choice proposal itself opens no vote. Instead, it pays a flat processing fee of 0.2 DASH on top of its normal fees. A multiple-choice proposal has no pass threshold, minimum turnout, or end date of its own. The contest's windows and its most-votes rule apply instead. #### Proposal descriptions Because a proposal can never be deleted, a multiple-choice proposal holds no description text of its own. Text stored in the proposal could never be taken down. Instead, the proposal points to where the question is described: a URL, a description document in another data contract, or both. A description document must belong to a data contract whose masternode-elected [moderators](../explanations/platform-protocol-data-contract.md#contract-moderation) can remove it at any time. If the moderators remove the description, the proposal and its vote remain, but the text is gone. Nothing on chain checks or moderates what a URL points to. The proposal's owner can edit its title and URL, and point it at a different description document, for two hours after creating it. Every version of the proposal is kept. ### How masternodes vote Masternodes and evonodes vote on proposals the same way they vote on contested names, using the voting key assigned in the provider transaction used to register or update the node. Votes are weighted the same way as well: an evonode's vote counts as four, and a regular masternode's vote counts as one. * On a yes/no proposal, a masternode votes yes, no, or abstain. * On a multiple-choice proposal, a masternode votes for one choice, abstains, or votes to lock. A masternode can change its vote a limited number of times while voting is open. The most recent vote is the one that counts. ### Reading results Proposals are ordinary documents, so they can be [queried](../explanations/query.md) like other documents, for example to list the proposals closing soonest, the newest proposals, or one identity's proposals. The vote on a yes/no proposal has its own endpoints. [`getYesNoVotePollState`](../reference/dapi-endpoints-platform-endpoints.md#getyesnovotepollstate) returns the rule the vote runs by, the votes cast so far, and, once voting has closed, whether the proposal passed. [`getMasternodeYesNoVote`](../reference/dapi-endpoints-platform-endpoints.md#getmasternodeyesnovote) returns how a given masternode voted while the poll is open. Both endpoints identify the vote by an ID derived from the proposal's document ID, which the SDKs compute. The vote on a multiple-choice proposal is read with the contested resource endpoints, which return each choice's tally while voting runs and the outcome afterward. Like other Platform queries, these results can be returned with [proofs](../explanations/proofs.md). See the [Platform endpoints reference](../reference/dapi-endpoints-platform-endpoints.md) for details. ### Implementation Proposals and their constraints are defined in the [decision proposals data contract](https://github.com/dashpay/platform/blob/v5.1.1/packages/decision-proposals-contract/schema/v1/decision-proposals-contract-documents.json). It defines the `proposal` document type for yes/no proposals, and the `multipleChoiceProposal` and `choice` document types for multiple-choice proposals. Note: as a system data contract, the version active on a network is determined by that network's active protocol version.