referrerpolicy=no-referrer-when-downgrade

Type Alias CancelledSlashes

Source
pub type CancelledSlashes<T: Config> = StorageMap<_GeneratedPrefixForStorageCancelledSlashes<T>, Twox64Concat, EraIndex, BoundedVec<(T::AccountId, Perbill), T::MaxValidatorSet>, ValueQuery>;
Expand description

Cancelled slashes by era and validator with maximum slash fraction to be cancelled.

When slashes are cancelled by governance, this stores the era and the validators whose slashes should be cancelled, along with the maximum slash fraction that should be cancelled for each validator.

Storage type is [StorageMap] with key type EraIndex and value type BoundedVec < (T :: AccountId, Perbill), T :: MaxValidatorSet >.

Aliased Type§

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