pub trait WeightInfo {
    // Required method
    fn on_initialize(a: u32, b: u32) -> Weight;
}
Expand description

Weight functions needed for price_tools.

Required Methods§

source

fn on_initialize(a: u32, b: u32) -> Weight

Implementations on Foreign Types§

source§

impl WeightInfo for ()

source§

fn on_initialize(a: u32, b: u32) -> Weight

Storage: PriceTools PriceInfos (r:27 w:26) Proof Skipped: PriceTools PriceInfos (max_values: None, max_size: None, mode: Measured) Storage: DEXManager DEXInfos (r:1 w:0) Proof Skipped: DEXManager DEXInfos (max_values: None, max_size: None, mode: Measured) Storage: XSTPool EnabledSynthetics (r:2 w:0) Proof Skipped: XSTPool EnabledSynthetics (max_values: None, max_size: None, mode: Measured) Storage: DEXAPI EnabledSourceTypes (r:1 w:0) Proof Skipped: DEXAPI EnabledSourceTypes (max_values: Some(1), max_size: None, mode: Measured) Storage: PoolXYK Properties (r:16 w:0) Proof Skipped: PoolXYK Properties (max_values: None, max_size: None, mode: Measured) Storage: TradingPair LockedLiquiditySources (r:1 w:0) Proof Skipped: TradingPair LockedLiquiditySources (max_values: Some(1), max_size: None, mode: Measured) Storage: System Account (r:10 w:0) Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) Storage: Tokens Accounts (r:10 w:0) Proof: Tokens Accounts (max_values: None, max_size: Some(136), added: 2611, mode: MaxEncodedLen) The range of component a is [0, 10]. The range of component b is [0, 10].

Implementors§

source§

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