subscan
Runtime Modules / Democracy
Spec Version:
Events
Name
Lookup
Attributes
Proposed0e00["PropIndex","BalanceOf"]
Tabled0e01["PropIndex","BalanceOf"]
ExternalTabled0e02
Started0e03["ReferendumIndex","VoteThreshold"]
Passed0e04["ReferendumIndex"]
NotPassed0e05["ReferendumIndex"]
Cancelled0e06["ReferendumIndex"]
Delegated0e07["AccountId","AccountId"]
Undelegated0e08["AccountId"]
Vetoed0e09["AccountId","H256","BlockNumber"]
Blacklisted0e0a["H256"]
Voted0e0b["AccountId","ReferendumIndex","AccountVote<BalanceOf>"]
Seconded0e0c["AccountId","PropIndex"]
ProposalCanceled0e0d["PropIndex"]
MetadataSet0e0e["MetadataOwner","PreimageHash"]
MetadataCleared0e0f["MetadataOwner","PreimageHash"]
MetadataTransferred0e10["MetadataOwner","MetadataOwner","PreimageHash"]
Storage Functions
Name
Type
PublicPropCount{"origin":"PlainType","plain_type":"U32","PlainTypeValue":4}
PublicProps{"origin":"PlainType","plain_type":"Vec<Tuple:U32frame_support:traits:preimages:Bounded[U8; 32]>","PlainTypeValue":227}
DepositOf{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"Tuple:bounded_collections:bounded_vec:BoundedVec@349U128","keys_id":4,"value_id":348}}
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":350}}
VotingOf{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["[U8; 32]"],"value":"pallet_democracy:vote:Voting","keys_id":0,"value_id":353}}
LastTabledWasExternal{"origin":"PlainType","plain_type":"Bool","PlainTypeValue":42}
NextExternal{"origin":"PlainType","plain_type":"Tuple:frame_support:traits:preimages:Boundedpallet_democracy:vote_threshold:VoteThreshold","PlainTypeValue":359}
Blacklist{"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["H256"],"value":"Tuple:U32Vec<[U8; 32]>","keys_id":12,"value_id":360}}
Cancellations{"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["H256"],"value":"Bool","keys_id":12,"value_id":42}}
MetadataOf{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["pallet_democracy:types:MetadataOwner"],"value":"H256","keys_id":40,"value_id":12}}
Constants
Name
Type
Value
EnactmentPeriodU32201c0000
LaunchPeriodU32e0c40000
VotingPeriodU32e0c40000
VoteLockingPeriodU32201c0000
MinimumDepositU1280080c6a47e8d03000000000000000000
InstantAllowedBool01
FastTrackVotingPeriodU3284030000
CooloffPeriodU32e0c40000
MaxVotesU3264000000
MaxProposalsU3264000000
MaxDepositsU3264000000
MaxBlacklistedU3264000000
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
ReferendumInvalidVote given for invalid referendum
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.
TooManyMaximum number of items reached.
VotingPeriodLowVoting period too low
PreimageNotExistThe preimage does not exist.