Trait band::weights::WeightInfo
source · pub trait WeightInfo {
// Required methods
fn relay() -> Weight;
fn force_relay() -> Weight;
fn add_relayers() -> Weight;
fn remove_relayers() -> Weight;
fn set_dynamic_fee_parameters() -> Weight;
}
Expand description
Weight functions needed for band.
Required Methods§
fn relay() -> Weight
fn force_relay() -> Weight
fn add_relayers() -> Weight
fn remove_relayers() -> Weight
fn set_dynamic_fee_parameters() -> Weight
Implementations on Foreign Types§
source§impl WeightInfo for ()
impl WeightInfo for ()
source§fn relay() -> Weight
fn relay() -> Weight
Storage: Band TrustedRelayers (r:1 w:0) Proof Skipped: Band TrustedRelayers (max_values: Some(1), max_size: None, mode: Measured) Storage: Band SymbolRates (r:1 w:1) Proof Skipped: Band SymbolRates (max_values: None, max_size: None, mode: Measured) Storage: OracleProxy SymbolProviders (r:0 w:1) Proof Skipped: OracleProxy SymbolProviders (max_values: None, max_size: None, mode: Measured)
source§fn force_relay() -> Weight
fn force_relay() -> Weight
Storage: Band TrustedRelayers (r:1 w:0) Proof Skipped: Band TrustedRelayers (max_values: Some(1), max_size: None, mode: Measured) Storage: Band SymbolRates (r:1 w:1) Proof Skipped: Band SymbolRates (max_values: None, max_size: None, mode: Measured) Storage: OracleProxy SymbolProviders (r:0 w:1) Proof Skipped: OracleProxy SymbolProviders (max_values: None, max_size: None, mode: Measured)
source§fn add_relayers() -> Weight
fn add_relayers() -> Weight
Storage: Band TrustedRelayers (r:1 w:1) Proof Skipped: Band TrustedRelayers (max_values: Some(1), max_size: None, mode: Measured)
source§fn remove_relayers() -> Weight
fn remove_relayers() -> Weight
Storage: Band TrustedRelayers (r:1 w:1) Proof Skipped: Band TrustedRelayers (max_values: Some(1), max_size: None, mode: Measured)
source§fn set_dynamic_fee_parameters() -> Weight
fn set_dynamic_fee_parameters() -> Weight
Storage: Band DynamicFeeParameters (r:0 w:1) Proof Skipped: Band DynamicFeeParameters (max_values: Some(1), max_size: None, mode: Measured)