[][src]Crate sunshine_vote_yesno

This module allows weighted share groups from shares-atomic to create elections. This module enables us to set the threshold for passage as a percent of the total turnout, which allow us to encode more nuanced threshold requirements (similar to Polkadot's negative turnout bias).

Structs

MintedSignal

Total signal available for each member for the vote in question

Module
OpenVoteCounter

The number of open votes TODO: sync this with create_vote and close_vote TODO2: add same thing to vote-petition

TotalSignalIssuance
VoteIdCounter
VoteLogger

Tracks all votes

VoteStates

The state of a vote (separate from outcome so that this can be purged if Outcome is not Voting)

Enums

Call

Dispatchable calls.

Error
RawEvent

Events for this module.

Traits

Trait

Type Definitions

Event

RawEvent specialized for the configuration Trait

IpfsReference

Reference to generic data stored on IPFS

OrgId

The organization identifier type

ShareId

The share identifier type

SharesOf

The shares type used directly for vote strength in this module

VoteId

The vote identifier type