Trait pallet_checked_inflation::weights::WeightInfo

source ·
pub trait WeightInfo {
    // Required methods
    fn set_first_year_supply() -> Weight;
    fn halt_unhalt_pallet() -> Weight;
}
Expand description

Weight functions needed for pallet_checked_inflation.

Required Methods§

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl WeightInfo for ()

source§

fn set_first_year_supply() -> Weight

Storage: CheckedInflation::YearStartIssuance (r:0 w:1) Proof: CheckedInflation::YearStartIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)

source§

fn halt_unhalt_pallet() -> Weight

Storage: CheckedInflation::Halted (r:1 w:1) Proof: CheckedInflation::Halted (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen)

Implementors§

source§

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