Name | Lookup | Parameters | |
|---|---|---|---|
| propose | 0d00 | 2 | |
| second | 0d01 | 1 | |
| vote | 0d02 | 2 | |
| emergency_cancel | 0d03 | 1 | |
| external_propose | 0d04 | 1 | |
| external_propose_majority | 0d05 | 1 | |
| external_propose_default | 0d06 | 1 | |
| fast_track | 0d07 | 3 | |
| veto_external | 0d08 | 1 | |
| cancel_referendum | 0d09 | 1 | |
| delegate | 0d0a | 3 | |
| undelegate | 0d0b | - | |
| clear_public_proposals | 0d0c | - | |
| unlock | 0d0d | 1 | |
| remove_vote | 0d0e | 1 | |
| remove_other_vote | 0d0f | 2 | |
| blacklist | 0d10 | 2 | |
| cancel_proposal | 0d11 | 1 | |
| set_metadata | 0d12 | 2 |
Name | Lookup | Attributes | |
|---|---|---|---|
| Proposed | 0d00 | ["PropIndex","BalanceOf"] | |
| Tabled | 0d01 | ["PropIndex","BalanceOf"] | |
| ExternalTabled | 0d02 | ||
| Started | 0d03 | ["ReferendumIndex","VoteThreshold"] | |
| Passed | 0d04 | ["ReferendumIndex"] | |
| NotPassed | 0d05 | ["ReferendumIndex"] | |
| Cancelled | 0d06 | ["ReferendumIndex"] | |
| Delegated | 0d07 | ["AccountId","AccountId"] | |
| Undelegated | 0d08 | ["AccountId"] | |
| Vetoed | 0d09 | ["AccountId","Hash","BlockNumberFor"] | |
| Blacklisted | 0d0a | ["Hash"] | |
| Voted | 0d0b | ["AccountId","ReferendumIndex","AccountVote<BalanceOf>"] | |
| Seconded | 0d0c | ["AccountId","PropIndex"] | |
| ProposalCanceled | 0d0d | ["PropIndex"] | |
| MetadataSet | 0d0e | ["MetadataOwner","Hash"] | |
| MetadataCleared | 0d0f | ["MetadataOwner","Hash"] | |
| MetadataTransferred | 0d10 | ["MetadataOwner","MetadataOwner","Hash"] |
Name | Type | |
|---|---|---|
| PublicPropCount | {"origin":"PlainType","plain_type":"U32","PlainTypeValue":4} | |
| PublicProps | {"origin":"PlainType","plain_type":"Vec<Tuple:U32frame_support:traits:preimages:BoundedAccountId>","PlainTypeValue":279} | |
| DepositOf | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"Tuple:bounded_collections:bounded_vec:BoundedVec@434U128","keys_id":4,"value_id":433}} | |
| 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":435}} | |
| VotingOf | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["AccountId"],"value":"pallet_democracy:vote:Voting","keys_id":0,"value_id":438}} | |
| LastTabledWasExternal | {"origin":"PlainType","plain_type":"Bool","PlainTypeValue":30} | |
| NextExternal | {"origin":"PlainType","plain_type":"Tuple:frame_support:traits:preimages:Boundedpallet_democracy:vote_threshold:VoteThreshold","PlainTypeValue":444} | |
| Blacklist | {"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["H256"],"value":"Tuple:U32Vec<AccountId>","keys_id":12,"value_id":445}} | |
| Cancellations | {"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["H256"],"value":"Bool","keys_id":12,"value_id":30}} | |
| MetadataOf | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["pallet_democracy:types:MetadataOwner"],"value":"H256","keys_id":40,"value_id":12}} |
Name | Type | Value | |
|---|---|---|---|
| EnactmentPeriod | U32 | 40380000 | |
| LaunchPeriod | U32 | a08c0000 | |
| VotingPeriod | U32 | a08c0000 | |
| VoteLockingPeriod | U32 | e0c40000 | |
| MinimumDeposit | U128 | 0010a5d4e80000000000000000000000 | |
| InstantAllowed | Bool | 01 | |
| FastTrackVotingPeriod | U32 | 84030000 | |
| CooloffPeriod | U32 | e0c40000 | |
| MaxVotes | U32 | 64000000 | |
| MaxProposals | U32 | 64000000 | |
| MaxDeposits | U32 | 64000000 | |
| MaxBlacklisted | 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 |
| ReferendumInvalid | Vote given for invalid referendum |
| 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. |
| TooMany | Maximum number of items reached. |
| VotingPeriodLow | Voting period too low |
| PreimageNotExist | The preimage does not exist. |