Trait pallet_offences::pallet::Config [−][src]
pub trait Config: Config { type Event: From<Event> + IsType<<Self as Config>::Event>; type IdentificationTuple: Parameter + Ord; type OnOffenceHandler: OnOffenceHandler<Self::AccountId, Self::IdentificationTuple, Weight>; }
Expand description
The pallet’s config trait.
Associated Types
type IdentificationTuple: Parameter + Ord
type IdentificationTuple: Parameter + Ord
Full identification of the validator.
type OnOffenceHandler: OnOffenceHandler<Self::AccountId, Self::IdentificationTuple, Weight>
type OnOffenceHandler: OnOffenceHandler<Self::AccountId, Self::IdentificationTuple, Weight>
A handler called for every offence report.