Kagome
Polkadot Runtime Engine in C++17
kagome::primitives::events::ExtrinsicLifecycleEvent Struct Reference

#include <event_types.hpp>

Collaboration diagram for kagome::primitives::events::ExtrinsicLifecycleEvent:

Public Types

using Params = boost::variant< std::nullopt_t, BroadcastEventParams, InBlockEventParams, RetractedEventParams, FinalityTimeoutEventParams, FinalizedEventParams, UsurpedEventParams >
 

Static Public Member Functions

static ExtrinsicLifecycleEvent Future (SubscribedExtrinsicId id)
 
static ExtrinsicLifecycleEvent Ready (SubscribedExtrinsicId id)
 
static ExtrinsicLifecycleEvent Broadcast (SubscribedExtrinsicId id, gsl::span< const libp2p::peer::PeerId > peers)
 
static ExtrinsicLifecycleEvent InBlock (SubscribedExtrinsicId id, Hash256Span block)
 
static ExtrinsicLifecycleEvent Retracted (SubscribedExtrinsicId id, Hash256Span retracted_block)
 
static ExtrinsicLifecycleEvent FinalityTimeout (SubscribedExtrinsicId id, Hash256Span block)
 
static ExtrinsicLifecycleEvent Finalized (SubscribedExtrinsicId id, Hash256Span block)
 
static ExtrinsicLifecycleEvent Usurped (SubscribedExtrinsicId id, Hash256Span transaction_hash)
 
static ExtrinsicLifecycleEvent Dropped (SubscribedExtrinsicId id)
 
static ExtrinsicLifecycleEvent Invalid (SubscribedExtrinsicId id)
 

Public Attributes

SubscribedExtrinsicId id
 
ExtrinsicEventType type
 
Params params
 

Private Member Functions

 ExtrinsicLifecycleEvent (SubscribedExtrinsicId id, ExtrinsicEventType type, Params params)
 

Detailed Description

Definition at line 121 of file event_types.hpp.

Member Typedef Documentation

Constructor & Destructor Documentation

kagome::primitives::events::ExtrinsicLifecycleEvent::ExtrinsicLifecycleEvent ( SubscribedExtrinsicId  id,
ExtrinsicEventType  type,
Params  params 
)
inlineprivate

Definition at line 209 of file event_types.hpp.

Member Function Documentation

static ExtrinsicLifecycleEvent kagome::primitives::events::ExtrinsicLifecycleEvent::Broadcast ( SubscribedExtrinsicId  id,
gsl::span< const libp2p::peer::PeerId >  peers 
)
inlinestatic

Definition at line 143 of file event_types.hpp.

static ExtrinsicLifecycleEvent kagome::primitives::events::ExtrinsicLifecycleEvent::Dropped ( SubscribedExtrinsicId  id)
inlinestatic

Definition at line 193 of file event_types.hpp.

static ExtrinsicLifecycleEvent kagome::primitives::events::ExtrinsicLifecycleEvent::FinalityTimeout ( SubscribedExtrinsicId  id,
Hash256Span  block 
)
inlinestatic

Definition at line 168 of file event_types.hpp.

static ExtrinsicLifecycleEvent kagome::primitives::events::ExtrinsicLifecycleEvent::Finalized ( SubscribedExtrinsicId  id,
Hash256Span  block 
)
inlinestatic

Definition at line 176 of file event_types.hpp.

static ExtrinsicLifecycleEvent kagome::primitives::events::ExtrinsicLifecycleEvent::Future ( SubscribedExtrinsicId  id)
inlinestatic

Definition at line 133 of file event_types.hpp.

static ExtrinsicLifecycleEvent kagome::primitives::events::ExtrinsicLifecycleEvent::InBlock ( SubscribedExtrinsicId  id,
Hash256Span  block 
)
inlinestatic

Definition at line 151 of file event_types.hpp.

static ExtrinsicLifecycleEvent kagome::primitives::events::ExtrinsicLifecycleEvent::Invalid ( SubscribedExtrinsicId  id)
inlinestatic

Definition at line 198 of file event_types.hpp.

static ExtrinsicLifecycleEvent kagome::primitives::events::ExtrinsicLifecycleEvent::Ready ( SubscribedExtrinsicId  id)
inlinestatic

Definition at line 138 of file event_types.hpp.

static ExtrinsicLifecycleEvent kagome::primitives::events::ExtrinsicLifecycleEvent::Retracted ( SubscribedExtrinsicId  id,
Hash256Span  retracted_block 
)
inlinestatic

Definition at line 159 of file event_types.hpp.

static ExtrinsicLifecycleEvent kagome::primitives::events::ExtrinsicLifecycleEvent::Usurped ( SubscribedExtrinsicId  id,
Hash256Span  transaction_hash 
)
inlinestatic

Definition at line 184 of file event_types.hpp.

Member Data Documentation

SubscribedExtrinsicId kagome::primitives::events::ExtrinsicLifecycleEvent::id

Definition at line 203 of file event_types.hpp.

Params kagome::primitives::events::ExtrinsicLifecycleEvent::params

Definition at line 206 of file event_types.hpp.

ExtrinsicEventType kagome::primitives::events::ExtrinsicLifecycleEvent::type

Definition at line 204 of file event_types.hpp.


The documentation for this struct was generated from the following file: