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

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

Required Methods§

fn min() -> FixedU128

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

fn max() -> FixedU128

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

fn target() -> Perquintill

Target block saturation level

fn variability() -> FixedU128

Variability factor

Implementations on Foreign Types§

§

impl MultiplierUpdate for ()

§

fn min() -> FixedU128

§

fn max() -> FixedU128

§

fn target() -> Perquintill

§

fn variability() -> FixedU128

Implementors§

source§

impl MultiplierUpdate for ConstantFeeMultiplier

§

impl<M> MultiplierUpdate for ConstFeeMultiplier<M>where M: Get<FixedU128>,

§

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