subscan
Runtime Modules / Democracy
Spec Version:
Storage Functions
Name
Type
PublicPropCount{"origin":"PlainType","plain_type":"PropIndex"}
PublicProps{"origin":"PlainType","plain_type":"Vec<(PropIndex, Hash, AccountId)>"}
DepositOf{"origin":"MapType","map_type":{"key":"PropIndex","hasher":"Twox64Concat","value":"(Vec<AccountId>, BalanceOf)","isLinked":false}}
Preimages{"origin":"MapType","map_type":{"key":"Hash","hasher":"Identity","value":"PreimageStatus<AccountId, BalanceOf, BlockNumber>","isLinked":false}}
ReferendumCount{"origin":"PlainType","plain_type":"ReferendumIndex"}
LowestUnbaked{"origin":"PlainType","plain_type":"ReferendumIndex"}
ReferendumInfoOf{"origin":"MapType","map_type":{"key":"ReferendumIndex","hasher":"Twox64Concat","value":"ReferendumInfo<BlockNumber, Hash, BalanceOf>","isLinked":false}}
VotingOf{"origin":"MapType","map_type":{"key":"AccountId","hasher":"Twox64Concat","value":"Voting<BalanceOf, AccountId, BlockNumber>","isLinked":false}}
Locks{"origin":"MapType","map_type":{"key":"AccountId","hasher":"Twox64Concat","value":"BlockNumber","isLinked":false}}
LastTabledWasExternal{"origin":"PlainType","plain_type":"bool"}
NextExternal{"origin":"PlainType","plain_type":"(Hash, VoteThreshold)"}
Blacklist{"origin":"MapType","map_type":{"key":"Hash","hasher":"Identity","value":"(BlockNumber, Vec<AccountId>)","isLinked":false}}
Cancellations{"origin":"MapType","map_type":{"key":"Hash","hasher":"Identity","value":"bool","isLinked":false}}
StorageVersion{"origin":"PlainType","plain_type":"Releases"}
Constants
Name
Type
Value
EnactmentPeriodBlockNumber0x00e10000
LaunchPeriodBlockNumber0xe0c40000
VotingPeriodBlockNumber0xe0c40000
MinimumDepositBalanceOf0x00a0724e180900000000000000000000
InstantAllowedbool0x01
FastTrackVotingPeriodBlockNumber0x84030000
CooloffPeriodBlockNumber0xe0c40000
PreimageByteDepositBalanceOf0x00e40b54020000000000000000000000
MaxVotesu320x64000000
MaxProposalsu320x64000000
Error Types
Name
Docs
ValueLow Value too low
ProposalMissing Proposal does not exist
AlreadyCanceled Cannot cancel the same proposal twice
DuplicateProposal Proposal already made
ProposalBlacklisted Proposal still blacklisted
NotSimpleMajority Next external proposal not simple majority
InvalidHash Invalid hash
NoProposal No external proposal
AlreadyVetoed Identity may not veto a proposal twice
DuplicatePreimage Preimage already noted
NotImminent Not imminent
TooEarly Too early
Imminent Imminent
PreimageMissing Preimage not found
ReferendumInvalid Vote given for invalid referendum
PreimageInvalid Invalid preimage
NoneWaiting No proposals waiting
NotVoter The given account did not vote on the referendum.
NoPermission The actor has no permission to conduct the action.
AlreadyDelegating The account is already delegating.
InsufficientFunds Too high a balance was provided that the account cannot afford.
NotDelegating The account is not currently delegating.
VotesExist The account currently has votes attached to it and the operation cannot succeed until these are removed, either through `unvote` or `reap_vote`.
InstantNotAllowed The instant referendum origin is currently disallowed.
Nonsense Delegation to oneself makes no sense.
WrongUpperBound Invalid upper bound.
MaxVotesReached Maximum number of votes reached.
TooManyProposals Maximum number of proposals reached.