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§
sourcefn min() -> Multiplier
fn min() -> Multiplier
Minimum multiplier. Any outcome of the convert
function should be at least this.
sourcefn max() -> Multiplier
fn max() -> Multiplier
Maximum multiplier. Any outcome of the convert
function should be less or equal this.
sourcefn variability() -> Multiplier
fn variability() -> Multiplier
Variability factor
Object Safety§
This trait is not object safe.