[][src]Trait pallet_offences::Trait

pub trait Trait: Trait {
    type Event: From<Event> + Into<Self::Event>;
    type IdentificationTuple: Parameter + Ord;
    type OnOffenceHandler: OnOffenceHandler<Self::AccountId, Self::IdentificationTuple>;
}

Offences trait

Associated Types

type Event: From<Event> + Into<Self::Event>

The overarching event type.

type IdentificationTuple: Parameter + Ord

Full identification of the validator.

type OnOffenceHandler: OnOffenceHandler<Self::AccountId, Self::IdentificationTuple>

A handler called for every offence report.

Loading content...

Implementors

Loading content...