Name | Lookup | Parameters | |
---|---|---|---|
set_prune_historical_pips | 2100 | 1 | |
set_min_proposal_deposit | 2101 | 1 | |
set_default_enactment_period | 2102 | 1 | |
set_pending_pip_expiry | 2103 | 1 | |
set_max_pip_skip_count | 2104 | 1 | |
set_active_pip_limit | 2105 | 1 | |
propose | 2106 | 4 | |
vote | 2107 | 3 | |
approve_committee_proposal | 2108 | 1 | |
reject_proposal | 2109 | 1 | |
prune_proposal | 210a | 1 | |
reschedule_execution | 210b | 2 | |
clear_snapshot | 210c | - | |
snapshot | 210d | - | |
enact_snapshot_results | 210e | 1 | |
execute_scheduled_pip | 210f | 1 | |
expire_scheduled_pip | 2110 | 2 |
Name | Lookup | Attributes | |
---|---|---|---|
HistoricalPipsPruned | 2100 | ||
ProposalCreated | 2101 | ||
ProposalStateUpdated | 2102 | ||
Voted | 2103 | ||
PipClosed | 2104 | ||
ExecutionScheduled | 2105 | ||
DefaultEnactmentPeriodChanged | 2106 | ||
MinimumProposalDepositChanged | 2107 | ||
PendingPipExpiryChanged | 2108 | ||
MaxPipSkipCountChanged | 2109 | ||
ActivePipLimitChanged | 210a | ||
ProposalRefund | 210b | ||
SnapshotCleared | 210c | ||
SnapshotTaken | 210d | ||
PipSkipped | 210e | ||
SnapshotResultsEnacted | 210f | ||
ExecutionSchedulingFailed | 2110 | ||
ExpiryScheduled | 2111 | ||
ExpirySchedulingFailed | 2112 | ||
ExecutionCancellingFailed | 2113 |
Name | Type | |
---|---|---|
PruneHistoricalPips | {"origin":"PlainType","plain_type":"bool"} | |
MinimumProposalDeposit | {"origin":"PlainType","plain_type":"Balance"} | |
DefaultEnactmentPeriod | {"origin":"PlainType","plain_type":"BlockNumber"} | |
PendingPipExpiry | {"origin":"PlainType","plain_type":"MaybeBlock<BlockNumber>"} | |
MaxPipSkipCount | {"origin":"PlainType","plain_type":"SkippedCount"} | |
ActivePipLimit | {"origin":"PlainType","plain_type":"u32"} | |
PipIdSequence | {"origin":"PlainType","plain_type":"u32"} | |
SnapshotIdSequence | {"origin":"PlainType","plain_type":"u32"} | |
ActivePipCount | {"origin":"PlainType","plain_type":"u32"} | |
ProposalMetadata | {"origin":"MapType","map_type":{"key":"PipId","hasher":"Twox64Concat","value":"PipsMetadata","isLinked":false}} | |
Deposits | {"origin":"DoubleMapType","double_map_type":{"key":"PipId","key2":"AccountId","hasher":"Twox64Concat","key2Hasher":"Twox64Concat","value":"DepositInfo<AccountId>","isLinked":false}} | |
Proposals | {"origin":"MapType","map_type":{"key":"PipId","hasher":"Twox64Concat","value":"Pip","isLinked":false}} | |
ProposalResult | {"origin":"MapType","map_type":{"key":"PipId","hasher":"Twox64Concat","value":"VotingResult","isLinked":false}} | |
ProposalVotes | {"origin":"DoubleMapType","double_map_type":{"key":"PipId","key2":"AccountId","hasher":"Twox64Concat","key2Hasher":"Twox64Concat","value":"Vote","isLinked":false}} | |
PipToSchedule | {"origin":"MapType","map_type":{"key":"PipId","hasher":"Twox64Concat","value":"BlockNumber","isLinked":false}} | |
LiveQueue | {"origin":"PlainType","plain_type":"Vec<SnapshottedPip>"} | |
SnapshotQueue | {"origin":"PlainType","plain_type":"Vec<SnapshottedPip>"} | |
SnapshotMeta | {"origin":"PlainType","plain_type":"SnapshotMetadata"} | |
PipSkipCount | {"origin":"MapType","map_type":{"key":"PipId","hasher":"Twox64Concat","value":"SkippedCount","isLinked":false}} | |
CommitteePips | {"origin":"PlainType","plain_type":"Vec<PipId>"} |
Name | Docs |
---|---|
RescheduleNotByReleaseCoordinator | Only the GC release coordinator is allowed to reschedule proposal execution. |
NotFromCommunity | The given dispatchable call is not valid for this proposal. The proposal must be from the community, but isn't. |
NotByCommittee | The given dispatchable call is not valid for this proposal. The proposal must be by community, but isn't. |
TooManyActivePips | The current number of active (pending | scheduled) PIPs exceed the maximum and the proposal is not by a committee. |
IncorrectDeposit | Proposer specifies an incorrect deposit |
InsufficientDeposit | Proposer can't afford to lock minimum deposit |
NoSuchProposal | The proposal does not exist. |
NotACommitteeMember | Not part of governance committee. |
InvalidFutureBlockNumber | When a block number is less than current block number. |
NumberOfVotesExceeded | When number of votes overflows. |
StakeAmountOfVotesExceeded | When stake amount of a vote overflows. |
MissingCurrentIdentity | Missing current DID |
IncorrectProposalState | Proposal is not in the correct state |
CannotSkipPip | When enacting snapshot results, an unskippable PIP was skipped. |
SnapshotResultTooLarge | Tried to enact results for the snapshot queue overflowing its length. |
SnapshotIdMismatch | Tried to enact result for PIP with id different from that at the position in the queue. |
ScheduledProposalDoesntExist | Execution of a scheduled proposal failed because it is missing. |
ProposalNotInScheduledState | A proposal that is not in a scheduled state cannot be executed. |