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§

source

fn relay() -> Weight

source

fn force_relay() -> Weight

source

fn add_relayers() -> Weight

source

fn remove_relayers() -> Weight

source

fn set_dynamic_fee_parameters() -> Weight

Implementations on Foreign Types§

source§

impl WeightInfo for ()

source§

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

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

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

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

Storage: Band DynamicFeeParameters (r:0 w:1) Proof Skipped: Band DynamicFeeParameters (max_values: Some(1), max_size: None, mode: Measured)

Implementors§

source§

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