Name | Lookup | Parameters | |
|---|---|---|---|
| propose | 4200 | 2 | |
| second | 4201 | 2 | |
| vote | 4202 | 2 | |
| emergency_cancel | 4203 | 1 | |
| external_propose | 4204 | 1 | |
| external_propose_majority | 4205 | 1 | |
| external_propose_default | 4206 | 1 | |
| fast_track | 4207 | 3 | |
| veto_external | 4208 | 1 | |
| cancel_referendum | 4209 | 1 | |
| cancel_queued | 420a | 1 | |
| delegate | 420b | 3 | |
| undelegate | 420c | - | |
| clear_public_proposals | 420d | - | |
| note_preimage | 420e | 1 | |
| note_preimage_operational | 420f | 1 | |
| note_imminent_preimage | 4210 | 1 | |
| note_imminent_preimage_operational | 4211 | 1 | |
| reap_preimage | 4212 | 2 | |
| unlock | 4213 | 1 | |
| remove_vote | 4214 | 1 | |
| remove_other_vote | 4215 | 2 | |
| enact_proposal | 4216 | 2 | |
| blacklist | 4217 | 2 | |
| cancel_proposal | 4218 | 1 |
Name | Lookup | Attributes | |
|---|---|---|---|
| Proposed | 4200 | ["PropIndex","BalanceOf"] | |
| Tabled | 4201 | ["PropIndex","BalanceOf","Vec<AccountId>"] | |
| ExternalTabled | 4202 | ||
| Started | 4203 | ["ReferendumIndex","VoteThreshold"] | |
| Passed | 4204 | ["ReferendumIndex"] | |
| NotPassed | 4205 | ["ReferendumIndex"] | |
| Cancelled | 4206 | ["ReferendumIndex"] | |
| Executed | 4207 | ["ReferendumIndex","DispatchResult"] | |
| Delegated | 4208 | ["AccountId","AccountId"] | |
| Undelegated | 4209 | ["AccountId"] | |
| Vetoed | 420a | ["AccountId","Hash","BlockNumber"] | |
| PreimageNoted | 420b | ["Hash","AccountId","BalanceOf"] | |
| PreimageUsed | 420c | ["Hash","AccountId","BalanceOf"] | |
| PreimageInvalid | 420d | ["Hash","ReferendumIndex"] | |
| PreimageMissing | 420e | ["Hash","ReferendumIndex"] | |
| PreimageReaped | 420f | ["Hash","AccountId","BalanceOf","AccountId"] | |
| Blacklisted | 4210 | ["Hash"] | |
| Voted | 4211 | ["AccountId","ReferendumIndex","AccountVote<BalanceOf>"] | |
| Seconded | 4212 | ["AccountId","PropIndex"] |
Name | Type | |
|---|---|---|
| PublicPropCount | {"origin":"PlainType","plain_type":"U32","PlainTypeValue":4} | |
| PublicProps | {"origin":"PlainType","plain_type":"Vec<Tuple:U32H256AccountId>","PlainTypeValue":288} | |
| DepositOf | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"Tuple:Vec<AccountId>U128","keys_id":4,"value_id":290}} | |
| Preimages | {"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["H256"],"value":"pallet_democracy:PreimageStatus","keys_id":9,"value_id":291}} | |
| 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":292}} | |
| VotingOf | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["AccountId"],"value":"pallet_democracy:vote:Voting","keys_id":0,"value_id":295}} | |
| LastTabledWasExternal | {"origin":"PlainType","plain_type":"Bool","PlainTypeValue":45} | |
| NextExternal | {"origin":"PlainType","plain_type":"Tuple:H256pallet_democracy:vote_threshold:VoteThreshold","PlainTypeValue":300} | |
| Blacklist | {"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["H256"],"value":"Tuple:U32Vec<AccountId>","keys_id":9,"value_id":301}} | |
| Cancellations | {"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["H256"],"value":"Bool","keys_id":9,"value_id":45}} | |
| StorageVersion | {"origin":"PlainType","plain_type":"pallet_democracy:Releases","PlainTypeValue":302} |
Name | Type | Value | |
|---|---|---|---|
| EnactmentPeriod | U32 | 00e10000 | |
| LaunchPeriod | U32 | e0c40000 | |
| VotingPeriod | U32 | e0c40000 | |
| VoteLockingPeriod | U32 | 00e10000 | |
| MinimumDeposit | U128 | 000050efe2d6e41a1b00000000000000 | |
| InstantAllowed | Bool | 00 | |
| FastTrackVotingPeriod | U32 | 84030000 | |
| CooloffPeriod | U32 | e0c40000 | |
| PreimageByteDeposit | U128 | 0000869eae29d5000000000000000000 | |
| 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. |