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 | ["IdentityId","bool","bool"] | |
ProposalCreated | 2101 | ["IdentityId","Proposer<AccountId>","PipId","Balance","Option<Url>","Option<PipDescription>","MaybeBlock<BlockNumber>","ProposalData"] | |
ProposalStateUpdated | 2102 | ["IdentityId","PipId","ProposalState"] | |
Voted | 2103 | ["IdentityId","AccountId","PipId","bool","Balance"] | |
PipClosed | 2104 | ["IdentityId","PipId","bool"] | |
ExecutionScheduled | 2105 | ["IdentityId","PipId","BlockNumber"] | |
DefaultEnactmentPeriodChanged | 2106 | ["IdentityId","BlockNumber","BlockNumber"] | |
MinimumProposalDepositChanged | 2107 | ["IdentityId","Balance","Balance"] | |
PendingPipExpiryChanged | 2108 | ["IdentityId","MaybeBlock<BlockNumber>","MaybeBlock<BlockNumber>"] | |
MaxPipSkipCountChanged | 2109 | ["IdentityId","SkippedCount","SkippedCount"] | |
ActivePipLimitChanged | 210a | ["IdentityId","u32","u32"] | |
ProposalRefund | 210b | ["IdentityId","PipId","Balance"] | |
SnapshotCleared | 210c | ["IdentityId","SnapshotId"] | |
SnapshotTaken | 210d | ["IdentityId","SnapshotId","Vec<SnapshottedPip>"] | |
PipSkipped | 210e | ["IdentityId","PipId","SkippedCount"] | |
SnapshotResultsEnacted | 210f | ["IdentityId","Option<SnapshotId>","Vec<(PipId, SkippedCount)>","Vec<PipId>","Vec<PipId>"] | |
ExecutionSchedulingFailed | 2110 | ["IdentityId","PipId","BlockNumber"] | |
ExpiryScheduled | 2111 | ["IdentityId","PipId","BlockNumber"] | |
ExpirySchedulingFailed | 2112 | ["IdentityId","PipId","BlockNumber"] | |
ExecutionCancellingFailed | 2113 | ["PipId"] |
Name | Type | |
---|---|---|
PruneHistoricalPips | {"origin":"PlainType","plain_type":"Bool","PlainTypeValue":74} | |
MinimumProposalDeposit | {"origin":"PlainType","plain_type":"U128","PlainTypeValue":6} | |
DefaultEnactmentPeriod | {"origin":"PlainType","plain_type":"U32","PlainTypeValue":4} | |
PendingPipExpiry | {"origin":"PlainType","plain_type":"polymesh_common_utilities:MaybeBlock","PlainTypeValue":82} | |
MaxPipSkipCount | {"origin":"PlainType","plain_type":"U8","PlainTypeValue":2} | |
ActivePipLimit | {"origin":"PlainType","plain_type":"U32","PlainTypeValue":4} | |
PipIdSequence | {"origin":"PlainType","plain_type":"U32","PlainTypeValue":218} | |
SnapshotIdSequence | {"origin":"PlainType","plain_type":"U32","PlainTypeValue":223} | |
ActivePipCount | {"origin":"PlainType","plain_type":"U32","PlainTypeValue":4} | |
ProposalMetadata | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"pallet_pips:PipsMetadata","keys_id":218,"value_id":666}} | |
Deposits | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Twox64Concat"],"key_vec":["U32","AccountId"],"value":"pallet_pips:DepositInfo","keys_id":667,"value_id":668}} | |
Proposals | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"pallet_pips:Pip","keys_id":218,"value_id":669}} | |
ProposalResult | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"pallet_pips:VotingResult","keys_id":218,"value_id":670}} | |
ProposalVotes | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Twox64Concat"],"key_vec":["U32","AccountId"],"value":"pallet_pips:Vote","keys_id":667,"value_id":671}} | |
PipToSchedule | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"U32","keys_id":218,"value_id":4}} | |
LiveQueue | {"origin":"PlainType","plain_type":"Vec<pallet_pips:SnapshottedPip>","PlainTypeValue":224} | |
SnapshotQueue | {"origin":"PlainType","plain_type":"Vec<pallet_pips:SnapshottedPip>","PlainTypeValue":224} | |
SnapshotMeta | {"origin":"PlainType","plain_type":"pallet_pips:SnapshotMetadata","PlainTypeValue":672} | |
PipSkipCount | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"U8","keys_id":218,"value_id":2}} | |
CommitteePips | {"origin":"PlainType","plain_type":"Vec<pallet_pips:PipId>","PlainTypeValue":230} | |
ProposalStates | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"pallet_pips:ProposalState","keys_id":218,"value_id":222}} | |
StorageVersion | {"origin":"PlainType","plain_type":"U8","PlainTypeValue":673} |
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 maximumand 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. |