subscan
Runtime Modules / Democracy
Spec Version:
Events
Name
Lookup
Attributes
Proposed3d00["PropIndex","BalanceOf"]
Tabled3d01["PropIndex","BalanceOf","Vec<AccountId>"]
ExternalTabled3d02
Started3d03["ReferendumIndex","VoteThreshold"]
Passed3d04["ReferendumIndex"]
NotPassed3d05["ReferendumIndex"]
Cancelled3d06["ReferendumIndex"]
Executed3d07["ReferendumIndex","DispatchResult"]
Delegated3d08["AccountId","AccountId"]
Undelegated3d09["AccountId"]
Vetoed3d0a["AccountId","Hash","BlockNumber"]
PreimageNoted3d0b["Hash","AccountId","BalanceOf"]
PreimageUsed3d0c["Hash","AccountId","BalanceOf"]
PreimageInvalid3d0d["Hash","ReferendumIndex"]
PreimageMissing3d0e["Hash","ReferendumIndex"]
PreimageReaped3d0f["Hash","AccountId","BalanceOf","AccountId"]
Blacklisted3d10["Hash"]
Storage Functions
Name
Type
PublicPropCount{"origin":"PlainType","plain_type":"U32","PlainTypeValue":4}
PublicProps{"origin":"PlainType","plain_type":"Vec<Tuple:U32H256H160>","PlainTypeValue":292}
DepositOf{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"Tuple:Vec<H160>U128","keys_id":4,"value_id":294}}
Preimages{"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["H256"],"value":"pallet_democracy:PreimageStatus","keys_id":9,"value_id":295}}
ReferendumCount{"origin":"PlainType","plain_type":"U32","PlainTypeValue":4}
LowestUnbaked{"origin":"PlainType","plain_type":"U32","PlainTypeValue":4}
ReferendumInfoOf{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"pallet_democracy:types:ReferendumInfo","keys_id":4,"value_id":296}}
VotingOf{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["[U8; 20]"],"value":"pallet_democracy:vote:Voting","keys_id":0,"value_id":299}}
Locks{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["[U8; 20]"],"value":"U32","keys_id":0,"value_id":4}}
LastTabledWasExternal{"origin":"PlainType","plain_type":"Bool","PlainTypeValue":33}
NextExternal{"origin":"PlainType","plain_type":"Tuple:H256pallet_democracy:vote_threshold:VoteThreshold","PlainTypeValue":304}
Blacklist{"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["H256"],"value":"Tuple:U32Vec<H160>","keys_id":9,"value_id":305}}
Cancellations{"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["H256"],"value":"Bool","keys_id":9,"value_id":33}}
StorageVersion{"origin":"PlainType","plain_type":"pallet_democracy:Releases","PlainTypeValue":306}
Constants
Name
Type
Value
EnactmentPeriodU32201c0000
LaunchPeriodU32201c0000
VotingPeriodU32a08c0000
VoteLockingPeriodU32201c0000
MinimumDepositU1280000909dceda82370000000000000000
InstantAllowedBool01
FastTrackVotingPeriodU3284030000
CooloffPeriodU32e0c40000
PreimageByteDepositU12800407a10f35a00000000000000000000
MaxVotesU3264000000
MaxProposalsU3264000000
Error Types
Name
Docs
ValueLowValue too low
ProposalMissingProposal does not exist
AlreadyCanceledCannot cancel the same proposal twice
DuplicateProposalProposal already made
ProposalBlacklistedProposal still blacklisted
NotSimpleMajorityNext external proposal not simple majority
InvalidHashInvalid hash
NoProposalNo external proposal
AlreadyVetoedIdentity may not veto a proposal twice
DuplicatePreimagePreimage already noted
NotImminentNot imminent
TooEarlyToo early
ImminentImminent
PreimageMissingPreimage not found
ReferendumInvalidVote given for invalid referendum
PreimageInvalidInvalid preimage
NoneWaitingNo proposals waiting
NotVoterThe given account did not vote on the referendum.
NoPermissionThe actor has no permission to conduct the action.
AlreadyDelegatingThe account is already delegating.
InsufficientFundsToo high a balance was provided that the account cannot afford.
NotDelegatingThe account is not currently delegating.
VotesExistThe account currently has votes attached to it and the operation cannot succeed untilthese are removed, either through `unvote` or `reap_vote`.
InstantNotAllowedThe instant referendum origin is currently disallowed.
NonsenseDelegation to oneself makes no sense.
WrongUpperBoundInvalid upper bound.
MaxVotesReachedMaximum number of votes reached.
TooManyProposalsMaximum number of proposals reached.