Type Alias UtilityEvent

Source
pub type UtilityEvent = UtilityEvent;

Aliased Type§

pub enum UtilityEvent {
    BatchInterrupted {
        index: u32,
        error: DispatchError,
    },
    BatchCompleted,
    BatchCompletedWithErrors,
    ItemCompleted,
    ItemFailed {
        error: DispatchError,
    },
    DispatchedAs {
        result: Result<(), DispatchError>,
    },
    RelayedTx {
        caller_did: IdentityId,
        target: AccountId,
        result: Result<(), DispatchError>,
    },
}

Variants§

§

BatchInterrupted

Batch of dispatches did not complete fully. Index of first failing dispatch given, as well as the error.

Fields

§index: u32
§

BatchCompleted

Batch of dispatches completed fully with no error.

§

BatchCompletedWithErrors

Batch of dispatches completed but has errors.

§

ItemCompleted

A single item within a Batch of dispatches has completed with no error.

§

ItemFailed

A single item within a Batch of dispatches has completed with error.

Fields

§

DispatchedAs

A call was dispatched.

Fields

§

RelayedTx

Relayed transaction. POLYMESH: event.

Fields

§caller_did: IdentityId
§target: AccountId