pub trait MultiplierUpdate: Convert<Multiplier, Multiplier> {
    // Required methods
    fn min() -> Multiplier;
    fn max() -> Multiplier;
    fn target() -> Perquintill;
    fn variability() -> Multiplier;
}
Expand description

Something that can convert the current multiplier to the next one.

Required Methods§

source

fn min() -> Multiplier

Minimum multiplier. Any outcome of the convert function should be at least this.

source

fn max() -> Multiplier

Maximum multiplier. Any outcome of the convert function should be less or equal this.

source

fn target() -> Perquintill

Target block saturation level

source

fn variability() -> Multiplier

Variability factor

Implementations on Foreign Types§

source§

impl MultiplierUpdate for ()

Implementors§

source§

impl<M: Get<Multiplier>> MultiplierUpdate for ConstFeeMultiplier<M>

source§

impl<T, S, V, M, X> MultiplierUpdate for TargetedFeeAdjustment<T, S, V, M, X>where T: Config, S: Get<Perquintill>, V: Get<Multiplier>, M: Get<Multiplier>, X: Get<Multiplier>,