pub trait WeightInfo {
    // Required methods
    fn force_set_inflation_params() -> Weight;
    fn force_inflation_recalculation() -> Weight;
    fn recalculation() -> Weight;
    fn hooks_without_recalculation() -> Weight;
}
Expand description

Weight functions needed for pallet_inflation.

Required Methods§

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl WeightInfo for ()

source§

fn force_set_inflation_params() -> Weight

Storage: Inflation InflationParams (r:0 w:1) Proof: Inflation InflationParams (max_values: Some(1), max_size: Some(64), added: 559, mode: MaxEncodedLen)

source§

fn force_inflation_recalculation() -> Weight

Storage: Inflation InflationParams (r:1 w:0) Proof: Inflation InflationParams (max_values: Some(1), max_size: Some(64), added: 559, mode: MaxEncodedLen)

source§

fn recalculation() -> Weight

Storage: Inflation InflationParams (r:1 w:0) Proof: Inflation InflationParams (max_values: Some(1), max_size: Some(64), added: 559, mode: MaxEncodedLen)

source§

fn hooks_without_recalculation() -> Weight

Storage: System Account (r:2 w:1) Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen)

Implementors§

source§

impl<T: Config> WeightInfo for SubstrateWeight<T>