pub trait EventSource: Copy + Into<AccountId> {
    type Event: Decode;
}
Expand description

A trait that allows to decode events emitted by a specific contract.

Required Associated Types§

source

type Event: Decode

The type to decode the emitted events into.

Object Safety§

This trait is not object safe.

Implementors§