subscan
Runtime Modules / Democracy
Spec Version:
Events
Name
Lookup
Attributes
Proposed2a00["PropIndex","BalanceOf"]
Tabled2a01["PropIndex","BalanceOf","Vec<AccountId>"]
ExternalTabled2a02
Started2a03["ReferendumIndex","VoteThreshold"]
Passed2a04["ReferendumIndex"]
NotPassed2a05["ReferendumIndex"]
Cancelled2a06["ReferendumIndex"]
Executed2a07["ReferendumIndex","DispatchResult"]
Delegated2a08["AccountId","AccountId"]
Undelegated2a09["AccountId"]
Vetoed2a0a["AccountId","Hash","BlockNumber"]
PreimageNoted2a0b["Hash","AccountId","BalanceOf"]
PreimageUsed2a0c["Hash","AccountId","BalanceOf"]
PreimageInvalid2a0d["Hash","ReferendumIndex"]
PreimageMissing2a0e["Hash","ReferendumIndex"]
PreimageReaped2a0f["Hash","AccountId","BalanceOf","AccountId"]
Blacklisted2a10["Hash"]
Voted2a11["AccountId","ReferendumIndex","AccountVote<BalanceOf>"]
Seconded2a12["AccountId","PropIndex"]
ProposalCanceled2a13["PropIndex"]
Storage Functions
Name
Type
PublicPropCount{"origin":"PlainType","plain_type":"U32","PlainTypeValue":4}
PublicProps{"origin":"PlainType","plain_type":"Vec<Tuple:U32H256[U8; 32]>","PlainTypeValue":388}
DepositOf{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"Tuple:Vec<[U8; 32]>U128","keys_id":4,"value_id":390}}
Preimages{"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["H256"],"value":"pallet_democracy:PreimageStatus","keys_id":9,"value_id":391}}
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":392}}
VotingOf{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["[U8; 32]"],"value":"pallet_democracy:vote:Voting","keys_id":0,"value_id":395}}
LastTabledWasExternal{"origin":"PlainType","plain_type":"Bool","PlainTypeValue":102}
NextExternal{"origin":"PlainType","plain_type":"Tuple:H256pallet_democracy:vote_threshold:VoteThreshold","PlainTypeValue":400}
Blacklist{"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["H256"],"value":"Tuple:U32Vec<[U8; 32]>","keys_id":9,"value_id":401}}
Cancellations{"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["H256"],"value":"Bool","keys_id":9,"value_id":102}}
StorageVersion{"origin":"PlainType","plain_type":"pallet_democracy:Releases","PlainTypeValue":402}
Constants
Name
Type
Value
EnactmentPeriodU32e0c40000
LaunchPeriodU32e0c40000
VotingPeriodU32e0c40000
VoteLockingPeriodU32e0c40000
MinimumDepositU128000040b2bac9e0191e02000000000000
InstantAllowedBool01
FastTrackVotingPeriodU3258020000
CooloffPeriodU3223000000
PreimageByteDepositU12800008a5d784563010000000000000000
MaxVotesU3264000000
MaxProposalsU3232000000
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.
VotingPeriodLowVoting period too low