Type Alias polymesh_api_tester::UtilityEvent

source ·
pub type UtilityEvent = UtilityEvent;

Aliased Type§

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>,
    },
    BatchInterruptedOld(Vec<u32>, (u32, DispatchError)),
    BatchOptimisticFailed(Vec<u32>, Vec<(u32, DispatchError)>),
    BatchCompletedOld(Vec<u32>),
}

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
§

BatchInterruptedOld(Vec<u32>, (u32, DispatchError))

Batch of dispatches did not complete fully. Includes a vector of event counts for each dispatch and the index of the first failing dispatch as well as the error. POLYMESH: event deprecated.

§

BatchOptimisticFailed(Vec<u32>, Vec<(u32, DispatchError)>)

Batch of dispatches did not complete fully. Includes a vector of event counts for each call and a vector of any failed dispatches with their indices and associated error. POLYMESH: event deprecated.

§

BatchCompletedOld(Vec<u32>)

Batch of dispatches completed fully with no error. Includes a vector of event counts for each dispatch. POLYMESH: event deprecated.