polymesh_api_tester

Type Alias OffencesEvent

Source
pub type OffencesEvent = OffencesEvent;

Aliased Type§

enum OffencesEvent {
    Offence {
        kind: [u8; 16],
        timeslot: Vec<u8>,
    },
}

Variants§

§

Offence

There is an offence reported of the given kind happened at the session_index and (kind-specific) time slot. This event is not deposited for duplicate slashes. [kind, timeslot].

Fields

§kind: [u8; 16]
§timeslot: Vec<u8>