subscan
Runtime Modules / Democracy
Spec Version:
Events
Name
Lookup
Attributes
Proposed1c00["PropIndex","BalanceOf"]
Tabled1c01["PropIndex","BalanceOf","Vec<AccountId>"]
Started1c02["ReferendumIndex","VoteThreshold"]
FastTrack1c03["ReferendumIndex"]
Passed1c04["ReferendumIndex"]
NotPassed1c05["ReferendumIndex"]
Cancelled1c06["ReferendumIndex"]
Executed1c07["ReferendumIndex","DispatchResult"]
PreimageNoted1c08["Hash","AccountId","BalanceOf"]
PreimageUsed1c09["Hash","AccountId","BalanceOf"]
PreimageInvalid1c0a["Hash","ReferendumIndex"]
PreimageMissing1c0b["Hash","ReferendumIndex"]
PreimageReaped1c0c["Hash","AccountId","BalanceOf","AccountId"]
Storage Functions
Name
Type
PublicPropCount{"origin":"PlainType","plain_type":"U32","PlainTypeValue":4}
PublicProps{"origin":"PlainType","plain_type":"Vec<Tuple:U32H256AccountId>","PlainTypeValue":332}
DepositOf{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"Tuple:Vec<AccountId>U128","keys_id":4,"value_id":334}}
Preimages{"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["H256"],"value":"democracy:PreimageStatus","keys_id":9,"value_id":335}}
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":"democracy:types:ReferendumInfo","keys_id":4,"value_id":336}}
VotingOf{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["AccountId"],"value":"Vec<Tuple:U32democracy:types:Vote>","keys_id":0,"value_id":339}}
StorageVersion{"origin":"PlainType","plain_type":"democracy:Releases","PlainTypeValue":342}
Constants
Name
Type
Value
EnactmentPeriodU32201c0000
LaunchPeriodU32e0c40000
VotingPeriodU32e0c40000
MinimumDepositU128005039278c0400000000000000000000
FastTrackVotingPeriodU3284030000
PreimageByteDepositU12812160500000000000000000000000000
MaxVotesU3264000000
MaxProposalsU3264000000
Error Types
Name
Docs
ValueLowValue too low
ProposalMissingProposal does not exist
DuplicateProposalProposal already made
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.
InsufficientFundsToo high a balance was provided that the account cannot afford.
WrongUpperBoundInvalid upper bound.
MaxVotesReachedMaximum number of votes reached.
TooManyProposalsMaximum number of proposals reached.