Polkadot
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
EnactmentPeriodBlockNumber0x00270600
LaunchPeriodBlockNumber0x00270600
VotingPeriodBlockNumber0x00270600
MinimumDepositBalanceOf0x0010a5d4e80000000000000000000000
FastTrackVotingPeriodBlockNumber0x08070000
CooloffPeriodBlockNumber0xc0890100
PreimageByteDepositBalanceOf0x00e1f505000000000000000000000000
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.