Trait snowbridge_pallet_system::weights::WeightInfo
source · pub trait WeightInfo {
// Required methods
fn upgrade() -> Weight;
fn create_agent() -> Weight;
fn create_channel() -> Weight;
fn update_channel() -> Weight;
fn force_update_channel() -> Weight;
fn set_operating_mode() -> Weight;
fn transfer_native_from_agent() -> Weight;
fn force_transfer_native_from_agent() -> 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§
fn upgrade() -> Weight
fn create_agent() -> Weight
fn create_channel() -> Weight
fn update_channel() -> Weight
fn force_update_channel() -> Weight
fn set_operating_mode() -> Weight
fn transfer_native_from_agent() -> Weight
fn force_transfer_native_from_agent() -> Weight
fn set_token_transfer_fees() -> Weight
fn set_pricing_parameters() -> Weight
fn register_token() -> Weight
Object Safety§
Implementations on Foreign Types§
source§impl WeightInfo for ()
impl WeightInfo for ()
source§fn upgrade() -> Weight
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 create_agent() -> Weight
fn create_agent() -> Weight
Storage: EthereumSystem Agents (r:1 w:1) Proof: EthereumSystem Agents (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen) Storage: System Account (r:2 w:2) Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) 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 create_channel() -> Weight
fn create_channel() -> Weight
Storage: System Account (r:2 w:2) Proof: System Account (max_values: None, max_size: Some(128), added: 2603, mode: MaxEncodedLen) Storage: EthereumSystem Agents (r:1 w:0) Proof: EthereumSystem Agents (max_values: None, max_size: Some(40), added: 2515, mode: MaxEncodedLen) Storage: EthereumSystem Channels (r:1 w:1) Proof: EthereumSystem Channels (max_values: None, max_size: Some(12), added: 2487, mode: MaxEncodedLen) 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 Pages (r:1 w:1) Proof: MessageQueue Pages (max_values: None, max_size: Some(65585), added: 68060, mode: MaxEncodedLen)
source§fn update_channel() -> Weight
fn update_channel() -> Weight
Storage: EthereumSystem Channels (r:1 w:0) Proof: EthereumSystem Channels (max_values: None, max_size: Some(12), added: 2487, 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:2 w:2) Proof: MessageQueue BookStateFor (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) Storage: MessageQueue ServiceHead (r:1 w:0) 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 force_update_channel() -> Weight
fn force_update_channel() -> Weight
Storage: EthereumSystem Channels (r:1 w:0) Proof: EthereumSystem Channels (max_values: None, max_size: Some(12), added: 2487, 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:2 w:2) Proof: MessageQueue BookStateFor (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) Storage: MessageQueue ServiceHead (r:1 w:0) 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
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 transfer_native_from_agent() -> Weight
fn transfer_native_from_agent() -> Weight
Storage: EthereumSystem Agents (r:1 w:0) Proof: EthereumSystem Agents (max_values: None, max_size: Some(40), added: 2515, 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:2 w:2) Proof: MessageQueue BookStateFor (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) Storage: MessageQueue ServiceHead (r:1 w:0) 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 force_transfer_native_from_agent() -> Weight
fn force_transfer_native_from_agent() -> Weight
Storage: EthereumSystem Agents (r:1 w:0) Proof: EthereumSystem Agents (max_values: None, max_size: Some(40), added: 2515, 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:2 w:2) Proof: MessageQueue BookStateFor (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen) Storage: MessageQueue ServiceHead (r:1 w:0) 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
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
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)