referrerpolicy=no-referrer-when-downgrade

Type Alias OffenceDetailsOf

Source
pub type OffenceDetailsOf<T> = OffenceDetails<<T as Config>::AccountId, (<T as Config>::AccountId, Exposure<<T as Config>::AccountId, BalanceOf<T>>)>;
Expand description

Type alias for offence details

Aliased Type§

struct OffenceDetailsOf<T> {
    pub offender: (<T as Config>::AccountId, Exposure<<T as Config>::AccountId, <T as Config>::CurrencyBalance>),
    pub reporters: Vec<<T as Config>::AccountId>,
}

Fields§

§offender: (<T as Config>::AccountId, Exposure<<T as Config>::AccountId, <T as Config>::CurrencyBalance>)

The offending authority id

§reporters: Vec<<T as Config>::AccountId>

A list of reporters of offences of this authority ID. Possibly empty where there are no particular reporters.