pub trait WeightInfo {
    // Required methods
    fn enable_oracle() -> Weight;
    fn disable_oracle() -> Weight;
}
Expand description

Weight functions needed for oracle_proxy.

Required Methods§

source

fn enable_oracle() -> Weight

source

fn disable_oracle() -> Weight

Implementations on Foreign Types§

source§

impl WeightInfo for ()

source§

fn enable_oracle() -> Weight

Storage: OracleProxy EnabledOracles (r:1 w:1) Proof Skipped: OracleProxy EnabledOracles (max_values: Some(1), max_size: None, mode: Measured)

source§

fn disable_oracle() -> Weight

Storage: OracleProxy EnabledOracles (r:1 w:1) Proof Skipped: OracleProxy EnabledOracles (max_values: Some(1), max_size: None, mode: Measured)

Implementors§

source§

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