Name | Lookup | Parameters | |
---|---|---|---|
propose | 1400 | 2 | |
second | 1401 | 1 | |
vote | 1402 | 2 | |
emergency_cancel | 1403 | 1 | |
external_propose | 1404 | 1 | |
external_propose_majority | 1405 | 1 | |
external_propose_default | 1406 | 1 | |
fast_track | 1407 | 3 | |
veto_external | 1408 | 1 | |
cancel_referendum | 1409 | 1 | |
delegate | 140a | 3 | |
undelegate | 140b | - | |
clear_public_proposals | 140c | - | |
unlock | 140d | 1 | |
remove_vote | 140e | 1 | |
remove_other_vote | 140f | 2 | |
blacklist | 1410 | 2 | |
cancel_proposal | 1411 | 1 | |
set_metadata | 1412 | 2 |
Name | Lookup | Attributes | |
---|---|---|---|
Proposed | 1400 | ["PropIndex","BalanceOf"] | |
Tabled | 1401 | ["PropIndex","BalanceOf"] | |
ExternalTabled | 1402 | ||
Started | 1403 | ["ReferendumIndex","VoteThreshold"] | |
Passed | 1404 | ["ReferendumIndex"] | |
NotPassed | 1405 | ["ReferendumIndex"] | |
Cancelled | 1406 | ["ReferendumIndex"] | |
Delegated | 1407 | ["AccountId","AccountId"] | |
Undelegated | 1408 | ["AccountId"] | |
Vetoed | 1409 | ["AccountId","H256","BlockNumberFor"] | |
Blacklisted | 140a | ["H256"] | |
Voted | 140b | ["AccountId","ReferendumIndex","AccountVote<BalanceOf>"] | |
Seconded | 140c | ["AccountId","PropIndex"] | |
ProposalCanceled | 140d | ["PropIndex"] | |
MetadataSet | 140e | ["MetadataOwner","PreimageHash"] | |
MetadataCleared | 140f | ["MetadataOwner","PreimageHash"] | |
MetadataTransferred | 1410 | ["MetadataOwner","MetadataOwner","PreimageHash"] |
Name | Type | |
---|---|---|
PublicPropCount | {"origin":"PlainType","plain_type":"U32","PlainTypeValue":8} | |
PublicProps | {"origin":"PlainType","plain_type":"Vec<Tuple:U32frame_support:traits:preimages:BoundedAccountId>","PlainTypeValue":425} | |
DepositOf | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"Tuple:Vec<AccountId>U128","keys_id":8,"value_id":428}} | |
ReferendumCount | {"origin":"PlainType","plain_type":"U32","PlainTypeValue":8} | |
LowestUnbaked | {"origin":"PlainType","plain_type":"U32","PlainTypeValue":8} | |
ReferendumInfoOf | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"pallet_democracy:types:ReferendumInfo","keys_id":8,"value_id":429}} | |
VotingOf | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["AccountId"],"value":"pallet_democracy:vote:Voting","keys_id":0,"value_id":432}} | |
LastTabledWasExternal | {"origin":"PlainType","plain_type":"Bool","PlainTypeValue":52} | |
NextExternal | {"origin":"PlainType","plain_type":"Tuple:frame_support:traits:preimages:Boundedpallet_democracy:vote_threshold:VoteThreshold","PlainTypeValue":438} | |
Blacklist | {"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["H256"],"value":"Tuple:U64Vec<AccountId>","keys_id":12,"value_id":439}} | |
Cancellations | {"origin":"Map","n_map_type":{"hashers":["Identity"],"key_vec":["H256"],"value":"Bool","keys_id":12,"value_id":52}} | |
MetadataOf | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["pallet_democracy:types:MetadataOwner"],"value":"H256","keys_id":50,"value_id":12}} |
Name | Type | Value | |
---|---|---|---|
EnactmentPeriod | U64 | 4038000000000000 | |
LaunchPeriod | U64 | a08c000000000000 | |
VotingPeriod | U64 | a08c000000000000 | |
VoteLockingPeriod | U64 | 4038000000000000 | |
MinimumDeposit | U128 | 0010a5d4e80000000000000000000000 | |
InstantAllowed | Bool | 01 | |
FastTrackVotingPeriod | U64 | 201c000000000000 | |
CooloffPeriod | U64 | e0c4000000000000 | |
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. |