Name | Lookup | Parameters | |
|---|---|---|---|
| propose | 5000 | 2 | |
| second | 5001 | 2 | |
| vote | 5002 | 2 | |
| emergency_cancel | 5003 | 1 | |
| external_propose | 5004 | 1 | |
| external_propose_majority | 5005 | 1 | |
| external_propose_default | 5006 | 1 | |
| fast_track | 5007 | 3 | |
| veto_external | 5008 | 1 | |
| cancel_referendum | 5009 | 1 | |
| cancel_queued | 500a | 1 | |
| delegate | 500b | 3 | |
| undelegate | 500c | - | |
| clear_public_proposals | 500d | - | |
| note_preimage | 500e | 1 | |
| note_preimage_operational | 500f | 1 | |
| note_imminent_preimage | 5010 | 1 | |
| note_imminent_preimage_operational | 5011 | 1 | |
| reap_preimage | 5012 | 2 | |
| unlock | 5013 | 1 | |
| remove_vote | 5014 | 1 | |
| remove_other_vote | 5015 | 2 | |
| enact_proposal | 5016 | 2 | |
| blacklist | 5017 | 2 | |
| cancel_proposal | 5018 | 1 |
Name | Lookup | Attributes | |
|---|---|---|---|
| Proposed | 5000 | ["PropIndex","BalanceOf"] | |
| Tabled | 5001 | ["PropIndex","BalanceOf","Vec<AccountId>"] | |
| ExternalTabled | 5002 | ||
| Started | 5003 | ["ReferendumIndex","VoteThreshold"] | |
| Passed | 5004 | ["ReferendumIndex"] | |
| NotPassed | 5005 | ["ReferendumIndex"] | |
| Cancelled | 5006 | ["ReferendumIndex"] | |
| Executed | 5007 | ["ReferendumIndex","DispatchResult"] | |
| Delegated | 5008 | ["AccountId","AccountId"] | |
| Undelegated | 5009 | ["AccountId"] | |
| Vetoed | 500a | ["AccountId","Hash","BlockNumber"] | |
| PreimageNoted | 500b | ["Hash","AccountId","BalanceOf"] | |
| PreimageUsed | 500c | ["Hash","AccountId","BalanceOf"] | |
| PreimageInvalid | 500d | ["Hash","ReferendumIndex"] | |
| PreimageMissing | 500e | ["Hash","ReferendumIndex"] | |
| PreimageReaped | 500f | ["Hash","AccountId","BalanceOf","AccountId"] | |
| Blacklisted | 5010 | ["Hash"] | |
| Voted | 5011 | ["AccountId","ReferendumIndex","AccountVote<BalanceOf>"] | |
| Seconded | 5012 | ["AccountId","PropIndex"] | |
| ProposalCanceled | 5013 | ["PropIndex"] |
Name | Type | |
|---|---|---|
| PublicPropCount | {"origin":"PlainType","plain_type":"U32","PlainTypeValue":4} | |
| PublicProps | {"origin":"PlainType","plain_type":"Vec<Tuple:U32H256AccountId>","PlainTypeValue":473} | |
| DepositOf | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"Tuple:Vec<AccountId>U128","keys_id":4,"value_id":475}} | |
| Preimages | {"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["H256"],"value":"pallet_democracy:PreimageStatus","keys_id":10,"value_id":476}} | |
| 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":477}} | |
| VotingOf | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["AccountId"],"value":"pallet_democracy:vote:Voting","keys_id":0,"value_id":480}} | |
| LastTabledWasExternal | {"origin":"PlainType","plain_type":"Bool","PlainTypeValue":51} | |
| NextExternal | {"origin":"PlainType","plain_type":"Tuple:H256pallet_democracy:vote_threshold:VoteThreshold","PlainTypeValue":485} | |
| Blacklist | {"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["H256"],"value":"Tuple:U32Vec<AccountId>","keys_id":10,"value_id":486}} | |
| Cancellations | {"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["H256"],"value":"Bool","keys_id":10,"value_id":51}} | |
| StorageVersion | {"origin":"PlainType","plain_type":"pallet_democracy:Releases","PlainTypeValue":487} |
Name | Type | Value | |
|---|---|---|---|
| EnactmentPeriod | U32 | 40380000 | |
| LaunchPeriod | U32 | e0c40000 | |
| VotingPeriod | U32 | c0890100 | |
| VoteLockingPeriod | U32 | e0c40000 | |
| MinimumDeposit | U128 | 0000a0dec5adc9353600000000000000 | |
| InstantAllowed | Bool | 01 | |
| FastTrackVotingPeriod | U32 | 201c0000 | |
| CooloffPeriod | U32 | e0c40000 | |
| PreimageByteDeposit | U128 | 00ca9a3b000000000000000000000000 | |
| MaxVotes | U32 | 64000000 | |
| MaxProposals | U32 | 64000000 |
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 |