pub trait WeightInfo {
    // Required methods
    fn register() -> Weight;
    fn deregister() -> Weight;
    fn set_transact_info() -> Weight;
    fn remove_transact_info() -> Weight;
    fn set_fee_per_second() -> Weight;
    fn transact_through_derivative() -> Weight;
    fn transact_through_sovereign() -> Weight;
    fn transact_through_signed() -> Weight;
    fn hrmp_manage() -> Weight;
}
Expand description

Weight functions needed for xcm_transactor.

Required Methods§

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl WeightInfo for ()

source§

fn register() -> Weight

Storage: XcmTransactor IndexToAccount (r:1 w:1) Proof Skipped: XcmTransactor IndexToAccount (max_values: None, max_size: None, mode: Measured)

source§

fn deregister() -> Weight

Storage: XcmTransactor IndexToAccount (r:0 w:1) Proof Skipped: XcmTransactor IndexToAccount (max_values: None, max_size: None, mode: Measured)

source§

fn set_transact_info() -> Weight

Storage: XcmTransactor TransactInfoWithWeightLimit (r:0 w:1) Proof Skipped: XcmTransactor TransactInfoWithWeightLimit (max_values: None, max_size: None, mode: Measured)

source§

fn remove_transact_info() -> Weight

Storage: XcmTransactor TransactInfoWithWeightLimit (r:0 w:1) Proof Skipped: XcmTransactor TransactInfoWithWeightLimit (max_values: None, max_size: None, mode: Measured)

source§

fn set_fee_per_second() -> Weight

Storage: XcmTransactor DestinationAssetFeePerSecond (r:0 w:1) Proof Skipped: XcmTransactor DestinationAssetFeePerSecond (max_values: None, max_size: None, mode: Measured)

source§

fn transact_through_derivative() -> Weight

Storage: AssetManager AssetIdType (r:1 w:0) Proof Skipped: AssetManager AssetIdType (max_values: None, max_size: None, mode: Measured) Storage: XcmTransactor IndexToAccount (r:1 w:0) Proof Skipped: XcmTransactor IndexToAccount (max_values: None, max_size: None, mode: Measured) Storage: XcmTransactor TransactInfoWithWeightLimit (r:1 w:0) Proof Skipped: XcmTransactor TransactInfoWithWeightLimit (max_values: None, max_size: None, mode: Measured) Storage: XcmTransactor DestinationAssetFeePerSecond (r:1 w:0) Proof Skipped: XcmTransactor DestinationAssetFeePerSecond (max_values: None, max_size: None, mode: Measured) Storage: AssetManager AssetTypeId (r:1 w:0) Proof Skipped: AssetManager AssetTypeId (max_values: None, max_size: None, mode: Measured) Storage: Assets Asset (r:1 w:0) Proof: Assets Asset (max_values: None, max_size: Some(174), added: 2649, mode: MaxEncodedLen)

source§

fn transact_through_sovereign() -> Weight

Storage: AssetManager AssetIdType (r:1 w:0) Proof Skipped: AssetManager AssetIdType (max_values: None, max_size: None, mode: Measured) Storage: XcmTransactor TransactInfoWithWeightLimit (r:1 w:0) Proof Skipped: XcmTransactor TransactInfoWithWeightLimit (max_values: None, max_size: None, mode: Measured) Storage: XcmTransactor DestinationAssetFeePerSecond (r:1 w:0) Proof Skipped: XcmTransactor DestinationAssetFeePerSecond (max_values: None, max_size: None, mode: Measured) Storage: AssetManager AssetTypeId (r:1 w:0) Proof Skipped: AssetManager AssetTypeId (max_values: None, max_size: None, mode: Measured) Storage: Assets Asset (r:1 w:0) Proof: Assets Asset (max_values: None, max_size: Some(174), added: 2649, mode: MaxEncodedLen)

source§

fn transact_through_signed() -> Weight

Storage: AssetManager AssetIdType (r:1 w:0) Proof Skipped: AssetManager AssetIdType (max_values: None, max_size: None, mode: Measured) Storage: XcmTransactor TransactInfoWithWeightLimit (r:1 w:0) Proof Skipped: XcmTransactor TransactInfoWithWeightLimit (max_values: None, max_size: None, mode: Measured) Storage: XcmTransactor DestinationAssetFeePerSecond (r:1 w:0) Proof Skipped: XcmTransactor DestinationAssetFeePerSecond (max_values: None, max_size: None, mode: Measured) 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 hrmp_manage() -> Weight

Storage: AssetManager AssetIdType (r:1 w:0) Proof Skipped: AssetManager AssetIdType (max_values: None, max_size: None, mode: Measured) Storage: XcmTransactor TransactInfoWithWeightLimit (r:1 w:0) Proof Skipped: XcmTransactor TransactInfoWithWeightLimit (max_values: None, max_size: None, mode: Measured) Storage: XcmTransactor DestinationAssetFeePerSecond (r:1 w:0) Proof Skipped: XcmTransactor DestinationAssetFeePerSecond (max_values: None, max_size: None, mode: Measured) 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>