pub fn emit_event<T, Event>(event: Event)
where
    T: EnvTypes,
    Event: Topics<T> + scale::Encode,
{
    <EnvInstance as OnInstance>::on_instance(|instance| {
        TypedEnv::emit_event::<T, Event>(instance, event)
    })
}
/// Emits an event with the given event data.
Emits an event with the given event data.
Emits an event with the given event data .
pub fn emit_event<T, Event>(event: Event)
where
    T: EnvTypes,
    Event: Topics<T> + scale::Encode,
{
    <EnvInstance as OnInstance>::on_instance(|instance| {
        TypedEnv::emit_event::<T, Event>(instance, event)
    })
}
pub fn emit_event < T , Event > ( event : Event ) where T : EnvTypes , Event : Topics < T > + scale :: Encode , { < EnvInstance as OnInstance > :: on_instance ( | instance | { TypedEnv :: emit_event :: < T , Event > ( instance , event ) } ) }
Emits an event with the given event data.
Emits an event with the given event data .
event
Event
event
Event