[][src]Crate sunshine_vote_petition

back to util for all object and trait definitions Simple module for collecting signatures from organizational share groups

  • this is a simple vote machine, similar to vote-yesno but without any share-weighted threshold or counting complexity

Structs

Module
PetitionIdCounter

PetitionId storage helper for unique id generation, see issue #62

PetitionOutcomes

The outcome of a petition

PetitionStates

The current state of a petition

SignatureLogger

The signatures of participants in the petition

VetoPower

Constant-time check to see if a voter can veto in the context of the petition and what the state/nature of the veto is...

Enums

Call

Dispatchable calls.

Error
RawEvent

Events for this module.

Traits

Trait

Type Definitions

Event

RawEvent specialized for the configuration Trait

IpfsReference

Ipfs reference just is a type alias over a vector of bytes

OrgId

The organization identifier

PetitionId

The petition identifier

ShareId

The share group identifier