Skip to main content

MaxCommission

Type Alias MaxCommission 

Source
pub type MaxCommission<T: Config> = StorageValue<_GeneratedPrefixForStorageMaxCommission<T>, Perbill, ValueQuery, MaxCommissionDefault>;
Expand description

The maximum commission that validators can set.

If not set, defaults to Perbill::one() (100%), i.e. no upper limit.

Storage type is StorageValue with value type Perbill.

Aliased Typeยง

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