ink_env::types

Type Alias EventRecord

pub type EventRecord = EventRecordFoo<RuntimeEvent, Hash>;
Expand description

The default event record type.

Aliased Type§

struct EventRecord {
    pub phase: Phase,
    pub event: RuntimeEvent,
    pub topics: Vec<Hash>,
}

Fields§

§phase: Phase

The phase of the block it happened in.

§event: RuntimeEvent

The event itself.

§topics: Vec<Hash>

The list of the topics this event has.