referrerpolicy=no-referrer-when-downgrade
snowbridge_pallet_system_v2::weights

Trait WeightInfo

Source
pub trait WeightInfo {
    // Required methods
    fn register_token() -> Weight;
    fn upgrade() -> Weight;
    fn set_operating_mode() -> Weight;
}
Expand description

Weight functions needed for snowbridge_system.

Required Methods§

Source

fn register_token() -> Weight

Source

fn upgrade() -> Weight

Source

fn set_operating_mode() -> Weight

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl WeightInfo for ()

Source§

fn upgrade() -> Weight

Storage: ParachainInfo ParachainId (r:1 w:0) Proof: ParachainInfo ParachainId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) Storage: EthereumOutboundQueue PalletOperatingMode (r:1 w:0) Proof: EthereumOutboundQueue PalletOperatingMode (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) Storage: MessageQueue BookStateFor (r:1 w:1) Proof: MessageQueue BookStateFor (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) Storage: MessageQueue ServiceHead (r:1 w:1) Proof: MessageQueue ServiceHead (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen) Storage: MessageQueue Pages (r:0 w:1) Proof: MessageQueue Pages (max_values: None, max_size: Some(65585), added: 68060, mode: MaxEncodedLen)

Source§

fn set_operating_mode() -> Weight

Storage: ParachainInfo ParachainId (r:1 w:0) Proof: ParachainInfo ParachainId (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen) Storage: EthereumOutboundQueue PalletOperatingMode (r:1 w:0) Proof: EthereumOutboundQueue PalletOperatingMode (max_values: Some(1), max_size: Some(1), added: 496, mode: MaxEncodedLen) Storage: MessageQueue BookStateFor (r:1 w:1) Proof: MessageQueue BookStateFor (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) Storage: MessageQueue ServiceHead (r:1 w:1) Proof: MessageQueue ServiceHead (max_values: Some(1), max_size: Some(5), added: 500, mode: MaxEncodedLen) Storage: MessageQueue Pages (r:0 w:1) Proof: MessageQueue Pages (max_values: None, max_size: Some(65585), added: 68060, mode: MaxEncodedLen)

Source§

fn register_token() -> Weight

Implementors§