Trait pallet_rings::weights::WeightInfo

source ·
pub trait WeightInfo {
    // Required methods
    fn set_maintenance_status() -> Weight;
    fn send_call(c: u32) -> Weight;
    fn transfer_assets() -> Weight;
    fn bridge_assets() -> Weight;
}
Expand description

Weight functions needed for pallet_rings.

Required Methods§

source

fn set_maintenance_status() -> Weight

source

fn send_call(c: u32) -> Weight

source

fn transfer_assets() -> Weight

source

fn bridge_assets() -> Weight

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl WeightInfo for ()

source§

fn set_maintenance_status() -> Weight

Storage: Rings ChainsUnderMaintenance (r:0 w:1) Proof: Rings ChainsUnderMaintenance (max_values: None, max_size: Some(619), added: 3094, mode: MaxEncodedLen)

source§

fn send_call(c: u32) -> Weight

Storage: Rings ChainsUnderMaintenance (r:1 w:0) Proof: Rings ChainsUnderMaintenance (max_values: None, max_size: Some(619), added: 3094, 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: PolkadotXcm SupportedVersion (r:1 w:0) Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured) Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1) Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured) Storage: PolkadotXcm SafeXcmVersion (r:1 w:0) Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured) Storage: ParachainSystem HostConfiguration (r:1 w:0) Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured) Storage: ParachainSystem PendingUpwardMessages (r:1 w:1) Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured) The range of component c is [0, 100000].

source§

fn transfer_assets() -> Weight

Storage: Rings ChainsUnderMaintenance (r:1 w:0) Proof: Rings ChainsUnderMaintenance (max_values: None, max_size: Some(619), added: 3094, 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: PolkadotXcm SupportedVersion (r:1 w:0) Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured) Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1) Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured) Storage: PolkadotXcm SafeXcmVersion (r:1 w:0) Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured) Storage: ParachainSystem HostConfiguration (r:1 w:0) Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured) Storage: ParachainSystem PendingUpwardMessages (r:1 w:1) Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)

source§

fn bridge_assets() -> Weight

Storage: Rings ChainsUnderMaintenance (r:1 w:0) Proof: Rings ChainsUnderMaintenance (max_values: None, max_size: Some(619), added: 3094, 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: PolkadotXcm SupportedVersion (r:1 w:0) Proof Skipped: PolkadotXcm SupportedVersion (max_values: None, max_size: None, mode: Measured) Storage: PolkadotXcm VersionDiscoveryQueue (r:1 w:1) Proof Skipped: PolkadotXcm VersionDiscoveryQueue (max_values: Some(1), max_size: None, mode: Measured) Storage: PolkadotXcm SafeXcmVersion (r:1 w:0) Proof Skipped: PolkadotXcm SafeXcmVersion (max_values: Some(1), max_size: None, mode: Measured) Storage: ParachainSystem HostConfiguration (r:1 w:0) Proof Skipped: ParachainSystem HostConfiguration (max_values: Some(1), max_size: None, mode: Measured) Storage: ParachainSystem PendingUpwardMessages (r:1 w:1) Proof Skipped: ParachainSystem PendingUpwardMessages (max_values: Some(1), max_size: None, mode: Measured)

Implementors§

source§

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