Skip to main content

SpanSlash

Type Alias SpanSlash 

Source
pub type SpanSlash<T: Config> = StorageMap<_GeneratedPrefixForStorageSpanSlash<T>, Twox64Concat, (T::AccountId, SpanIndex), SpanRecord<BalanceOf<T>>, ValueQuery>;
Expand description

Records information about the maximum slash of a stash within a slashing span, as well as how much reward has been paid out.

Storage type is StorageMap with key type (T :: AccountId, slashing :: SpanIndex) and value type slashing :: SpanRecord < BalanceOf < T > >.

Aliased Typeยง

pub struct SpanSlash<T: Config>(/* private fields */);