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
LaunchPeriodBlockNumber0x00ca0800
VotingPeriodBlockNumber0x80970600
MinimumDepositBalanceOf0x00ca9a3b00000000
FastTrackVotingPeriodBlockNumber0x100e0000
CooloffPeriodBlockNumber0x004e0c00
PreimageByteDepositBalanceOf0xa086010000000000
MaxVotesu320x64000000
Error Types
Name
Docs
ValueLow Value too low
ProposalMissing Proposal does not exist
BadIndex Unknown index
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
NotDelegated Not delegated
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
NotLocked The target account does not have a lock.
NotExpired The lock on the account to be unlocked has not yet expired.
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.
Overflow An unexpected integer overflow occurred.
Underflow An unexpected integer underflow occurred.
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.
InvalidWitness The provided witness data is wrong.
TooManyProposals Maximum number of proposals reached.