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

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl MultiplierUpdate for ()

Implementors§