referrerpolicy=no-referrer-when-downgrade

Trait WeightInfo

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

Weight functions needed for snowbridge_system.

Required Methods§

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 set_token_transfer_fees() -> 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_pricing_parameters() -> 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§