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":78} | |
| MinimumProposalDeposit | {"origin":"PlainType","plain_type":"U128","PlainTypeValue":6} | |
| DefaultEnactmentPeriod | {"origin":"PlainType","plain_type":"U32","PlainTypeValue":4} | |
| PendingPipExpiry | {"origin":"PlainType","plain_type":"polymesh_primitives:MaybeBlock","PlainTypeValue":84} | |
| MaxPipSkipCount | {"origin":"PlainType","plain_type":"U8","PlainTypeValue":2} | |
| ActivePipLimit | {"origin":"PlainType","plain_type":"U32","PlainTypeValue":4} | |
| PipIdSequence | {"origin":"PlainType","plain_type":"U32","PlainTypeValue":211} | |
| SnapshotIdSequence | {"origin":"PlainType","plain_type":"U32","PlainTypeValue":216} | |
| ActivePipCount | {"origin":"PlainType","plain_type":"U32","PlainTypeValue":4} | |
| ProposalMetadata | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"pallet_pips:types:PipsMetadata","keys_id":211,"value_id":652}} | |
| Deposits | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Twox64Concat"],"key_vec":["U32","AccountId"],"value":"pallet_pips:types:DepositInfo","keys_id":653,"value_id":654}} | |
| Proposals | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"pallet_pips:types:Pip","keys_id":211,"value_id":655}} | |
| ProposalResult | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"pallet_pips:types:VotingResult","keys_id":211,"value_id":656}} | |
| ProposalVotes | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat","Twox64Concat"],"key_vec":["U32","AccountId"],"value":"pallet_pips:types:Vote","keys_id":653,"value_id":657}} | |
| PipToSchedule | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"U32","keys_id":211,"value_id":4}} | |
| LiveQueue | {"origin":"PlainType","plain_type":"Vec<pallet_pips:types:SnapshottedPip>","PlainTypeValue":217} | |
| SnapshotQueue | {"origin":"PlainType","plain_type":"Vec<pallet_pips:types:SnapshottedPip>","PlainTypeValue":217} | |
| SnapshotMeta | {"origin":"PlainType","plain_type":"pallet_pips:types:SnapshotMetadata","PlainTypeValue":658} | |
| PipSkipCount | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"U8","keys_id":211,"value_id":2}} | |
| CommitteePips | {"origin":"PlainType","plain_type":"Vec<U32>","PlainTypeValue":223} | |
| ProposalStates | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"pallet_pips:types:ProposalState","keys_id":211,"value_id":215}} | |
| PendingRefunds | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"Bool","keys_id":211,"value_id":78}} | |
| VotesToBePruned | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U32"],"value":"Bool","keys_id":211,"value_id":78}} | |
| StorageVersion | {"origin":"PlainType","plain_type":"U8","PlainTypeValue":659} |
Name | Type | Value | |
|---|---|---|---|
| MaxRefundsAndVotesPruned | U32 | 80000000 |
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 from a committee, but isn't. |
| TooManyActivePips | The current number of active (pending or scheduled) PIPs exceeds the maximumand the proposal is not by a committee. |
| IncorrectDeposit | Proposer specifies an incorrect deposit amount. |
| InsufficientDeposit | Proposer cannot afford to lock the minimum deposit. |
| NoSuchProposal | The proposal does not exist. |
| NotACommitteeMember | The caller is not a member of the governance committee. |
| InvalidFutureBlockNumber | The specified block number is less than the current block number. |
| NumberOfVotesExceeded | The number of votes exceeds the allowed limit. |
| StakeAmountOfVotesExceeded | The stake amount of a vote exceeds the allowed limit. |
| MissingCurrentIdentity | The current DID is missing. |
| IncorrectProposalState | The proposal is not in the correct state for the requested operation. |
| 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 an 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. |
| InvalidPipId | Invalid PIP ID. Pip id was not expected to be in the live queue. |