pub type PipsEvent = PipsEvent<AccountId, u32>;
Aliased Type§
enum PipsEvent {
Show 20 variants
HistoricalPipsPruned(IdentityId, bool, bool),
ProposalCreated(IdentityId, Proposer<AccountId>, PipId, u128, Option<Url>, Option<PipDescription>, MaybeBlock<u32>, ProposalData),
ProposalStateUpdated(IdentityId, PipId, ProposalState),
Voted(IdentityId, AccountId, PipId, bool, u128),
PipClosed(IdentityId, PipId, bool),
ExecutionScheduled(IdentityId, PipId, u32),
DefaultEnactmentPeriodChanged(IdentityId, u32, u32),
MinimumProposalDepositChanged(IdentityId, u128, u128),
PendingPipExpiryChanged(IdentityId, MaybeBlock<u32>, MaybeBlock<u32>),
MaxPipSkipCountChanged(IdentityId, u8, u8),
ActivePipLimitChanged(IdentityId, u32, u32),
ProposalRefund(IdentityId, PipId, u128),
SnapshotCleared(IdentityId, SnapshotId),
SnapshotTaken(IdentityId, SnapshotId, Vec<SnapshottedPip>),
PipSkipped(IdentityId, PipId, u8),
SnapshotResultsEnacted(IdentityId, Option<SnapshotId>, Vec<(PipId, u8)>, Vec<PipId>, Vec<PipId>),
ExecutionSchedulingFailed(IdentityId, PipId, u32),
ExpiryScheduled(IdentityId, PipId, u32),
ExpirySchedulingFailed(IdentityId, PipId, u32),
ExecutionCancellingFailed(PipId),
}
Variants§
HistoricalPipsPruned(IdentityId, bool, bool)
Pruning Historical PIPs is enabled or disabled (caller DID, old value, new value)
ProposalCreated(IdentityId, Proposer<AccountId>, PipId, u128, Option<Url>, Option<PipDescription>, MaybeBlock<u32>, ProposalData)
A PIP was made with a Balance
stake.
§Parameters:
Caller DID, Proposer, PIP ID, deposit, URL, description, expiry time, proposal data.
ProposalStateUpdated(IdentityId, PipId, ProposalState)
Triggered each time the state of a proposal is amended
Voted(IdentityId, AccountId, PipId, bool, u128)
AccountId
voted bool
on the proposal referenced by PipId
PipClosed(IdentityId, PipId, bool)
Pip has been closed, bool indicates whether data is pruned
ExecutionScheduled(IdentityId, PipId, u32)
Execution of a PIP has been scheduled at specific block.
DefaultEnactmentPeriodChanged(IdentityId, u32, u32)
Default enactment period (in blocks) has been changed. (caller DID, old period, new period)
MinimumProposalDepositChanged(IdentityId, u128, u128)
Minimum deposit amount modified (caller DID, old amount, new amount)
PendingPipExpiryChanged(IdentityId, MaybeBlock<u32>, MaybeBlock<u32>)
Amount of blocks after which a pending PIP expires. (caller DID, old expiry, new expiry)
MaxPipSkipCountChanged(IdentityId, u8, u8)
The maximum times a PIP can be skipped was changed. (caller DID, old value, new value)
ActivePipLimitChanged(IdentityId, u32, u32)
The maximum number of active PIPs was changed. (caller DID, old value, new value)
ProposalRefund(IdentityId, PipId, u128)
Refund proposal (id, total amount)
SnapshotCleared(IdentityId, SnapshotId)
The snapshot was cleared.
SnapshotTaken(IdentityId, SnapshotId, Vec<SnapshottedPip>)
A new snapshot was taken.
PipSkipped(IdentityId, PipId, u8)
A PIP in the snapshot queue was skipped. (gc_did, pip_id, new_skip_count)
SnapshotResultsEnacted(IdentityId, Option<SnapshotId>, Vec<(PipId, u8)>, Vec<PipId>, Vec<PipId>)
Results (e.g., approved, rejected, and skipped), were enacted for some PIPs. (gc_did, snapshot_id_opt, skipped_pips_with_new_count, rejected_pips, approved_pips)
ExecutionSchedulingFailed(IdentityId, PipId, u32)
Scheduling of the PIP for execution failed in the scheduler pallet.
ExpiryScheduled(IdentityId, PipId, u32)
The PIP has been scheduled for expiry.
ExpirySchedulingFailed(IdentityId, PipId, u32)
Scheduling of the PIP for expiry failed in the scheduler pallet.
ExecutionCancellingFailed(PipId)
Cancelling the PIP execution failed in the scheduler pallet.