referrerpolicy=no-referrer-when-downgrade

Module storage_types

Source
Expand description

Auto-generated docs-only module listing all (public and private) defined storage types for this pallet.

§Warning: Doc-Only

Members of this module cannot be used directly and are only provided for documentation purposes.

To see the actual storage type, find a struct with the same name at the root of the pallet, in the list of Type Definitions.

Structs§

Bids
The current bids, stored ordered by the value of the bid.
Candidates
Warning: Doc-Only
ChallengeRoundCount
The number of challenge rounds there have been. Used to identify stale DefenderVotes.
DefenderVotes
Votes for the defender, keyed by challenge round.
Defending
The defending member currently being challenged, along with a running tally of votes.
Founder
The first member.
Head
The most primary from the most recently approved rank 0 members in the society.
MemberByIndex
The current items in Members keyed by their unique index. Keys are densely populated 0..MemberCount (does not include MemberCount).
MemberCount
The number of items in Members currently. (Doesn’t include SuspendedMembers.)
Members
The current members and their rank. Doesn’t include SuspendedMembers.
NextChallengeAt
Next challenge rotation scheduled with Config::BlockNumberProvider.
NextHead
At the end of the claim period, this contains the most recently approved members (along with their bid and round ID) who is from the most recent round with the lowest bid. They will become the new Head.
NextIntakeAt
Next intake rotation scheduled with Config::BlockNumberProvider.
Parameters
The max number of members for the society at one time.
Payouts
Information regarding rank-0 payouts, past and future.
Pot
Amount of our account balance that is specifically for the next round’s bid(s).
RoundCount
The number of rounds which have passed.
Rules
A hash of the rules of this society concerning membership. Can only be set once and only by the founder.
Skeptic
The current skeptic.
SuspendedMembers
The set of suspended members, with their old membership record.
VoteClearCursor
Clear-cursor for Vote, map from Candidate -> (Maybe) Cursor.
Votes
Double map from Candidate -> Voter -> (Maybe) Vote.