subscan
Runtime Modules / Pips
Spec Version:
Storage Functions
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>"}
Error Types
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.