Name | Lookup | Parameters | |
---|---|---|---|
propose | 2a00 | 2 | |
second | 2a01 | 2 | |
vote | 2a02 | 2 | |
emergency_cancel | 2a03 | 1 | |
external_propose | 2a04 | 1 | |
external_propose_majority | 2a05 | 1 | |
external_propose_default | 2a06 | 1 | |
fast_track | 2a07 | 3 | |
veto_external | 2a08 | 1 | |
cancel_referendum | 2a09 | 1 | |
cancel_queued | 2a0a | 1 | |
delegate | 2a0b | 3 | |
undelegate | 2a0c | - | |
clear_public_proposals | 2a0d | - | |
note_preimage | 2a0e | 1 | |
note_preimage_operational | 2a0f | 1 | |
note_imminent_preimage | 2a10 | 1 | |
note_imminent_preimage_operational | 2a11 | 1 | |
reap_preimage | 2a12 | 2 | |
unlock | 2a13 | 1 | |
remove_vote | 2a14 | 1 | |
remove_other_vote | 2a15 | 2 | |
enact_proposal | 2a16 | 2 | |
blacklist | 2a17 | 2 | |
cancel_proposal | 2a18 | 1 |
Name | Lookup | Attributes | |
---|---|---|---|
Proposed | 2a00 | ["PropIndex","BalanceOf"] | |
Tabled | 2a01 | ["PropIndex","BalanceOf","Vec<AccountId>"] | |
ExternalTabled | 2a02 | ||
Started | 2a03 | ["ReferendumIndex","VoteThreshold"] | |
Passed | 2a04 | ["ReferendumIndex"] | |
NotPassed | 2a05 | ["ReferendumIndex"] | |
Cancelled | 2a06 | ["ReferendumIndex"] | |
Executed | 2a07 | ["ReferendumIndex","DispatchResult"] | |
Delegated | 2a08 | ["AccountId","AccountId"] | |
Undelegated | 2a09 | ["AccountId"] | |
Vetoed | 2a0a | ["AccountId","Hash","BlockNumber"] | |
PreimageNoted | 2a0b | ["Hash","AccountId","BalanceOf"] | |
PreimageUsed | 2a0c | ["Hash","AccountId","BalanceOf"] | |
PreimageInvalid | 2a0d | ["Hash","ReferendumIndex"] | |
PreimageMissing | 2a0e | ["Hash","ReferendumIndex"] | |
PreimageReaped | 2a0f | ["Hash","AccountId","BalanceOf","AccountId"] | |
Blacklisted | 2a10 | ["Hash"] | |
Voted | 2a11 | ["AccountId","ReferendumIndex","AccountVote<BalanceOf>"] | |
Seconded | 2a12 | ["AccountId","PropIndex"] | |
ProposalCanceled | 2a13 | ["PropIndex"] |
Name | Type | |
---|---|---|
PublicPropCount | {"origin":"PlainType","plain_type":"U32","PlainTypeValue":4} | |
PublicProps | {"origin":"PlainType","plain_type":"Vec<Tuple:U32H256AccountId>","PlainTypeValue":388} | |
DepositOf | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"Tuple:Vec<AccountId>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":["AccountId"],"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<AccountId>","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} |
Name | Type | Value | |
---|---|---|---|
EnactmentPeriod | U32 | e0c40000 | |
LaunchPeriod | U32 | e0c40000 | |
VotingPeriod | U32 | e0c40000 | |
VoteLockingPeriod | U32 | e0c40000 | |
MinimumDeposit | U128 | 000040b2bac9e0191e02000000000000 | |
InstantAllowed | Bool | 01 | |
FastTrackVotingPeriod | U32 | 58020000 | |
CooloffPeriod | U32 | 23000000 | |
PreimageByteDeposit | U128 | 00008a5d784563010000000000000000 | |
MaxVotes | U32 | 64000000 | |
MaxProposals | U32 | 32000000 |
Name | Docs |
---|---|
ValueLow | Value too low |
ProposalMissing | Proposal does not exist |
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 |
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 |
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. |
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 untilthese 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. |
TooManyProposals | Maximum number of proposals reached. |
VotingPeriodLow | Voting period too low |