Trait oracle_proxy::weights::WeightInfo
source · pub trait WeightInfo {
// Required methods
fn enable_oracle() -> Weight;
fn disable_oracle() -> Weight;
}
Expand description
Weight functions needed for oracle_proxy.
Required Methods§
fn enable_oracle() -> Weight
fn disable_oracle() -> Weight
Implementations on Foreign Types§
source§impl WeightInfo for ()
impl WeightInfo for ()
source§fn enable_oracle() -> Weight
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
fn disable_oracle() -> Weight
Storage: OracleProxy EnabledOracles (r:1 w:1) Proof Skipped: OracleProxy EnabledOracles (max_values: Some(1), max_size: None, mode: Measured)