pub trait WeightInfo {
Show 36 methods // Required methods fn report_holding() -> Weight; fn buy_execution() -> Weight; fn query_response() -> Weight; fn transact() -> Weight; fn refund_surplus() -> Weight; fn set_error_handler() -> Weight; fn set_appendix() -> Weight; fn clear_error() -> Weight; fn descend_origin() -> Weight; fn clear_origin() -> Weight; fn report_error() -> Weight; fn claim_asset() -> Weight; fn trap() -> Weight; fn subscribe_version() -> Weight; fn unsubscribe_version() -> Weight; fn initiate_reserve_withdraw() -> Weight; fn burn_asset() -> Weight; fn expect_asset() -> Weight; fn expect_origin() -> Weight; fn expect_error() -> Weight; fn expect_transact_status() -> Weight; fn query_pallet() -> Weight; fn expect_pallet() -> Weight; fn report_transact_status() -> Weight; fn clear_transact_status() -> Weight; fn set_topic() -> Weight; fn clear_topic() -> Weight; fn exchange_asset() -> Weight; fn universal_origin() -> Weight; fn export_message() -> Weight; fn set_fees_mode() -> Weight; fn lock_asset() -> Weight; fn unlock_asset() -> Weight; fn note_unlockable() -> Weight; fn request_unlock() -> Weight; fn unpaid_execution() -> Weight;
}
Expand description

Weight functions needed for moonbeam_xcm_benchmarks_generic.

Required Methods§

source

fn report_holding() -> Weight

source

fn buy_execution() -> Weight

source

fn query_response() -> Weight

source

fn transact() -> Weight

source

fn refund_surplus() -> Weight

source

fn set_error_handler() -> Weight

source

fn set_appendix() -> Weight

source

fn clear_error() -> Weight

source

fn descend_origin() -> Weight

source

fn clear_origin() -> Weight

source

fn report_error() -> Weight

source

fn claim_asset() -> Weight

source

fn trap() -> Weight

source

fn subscribe_version() -> Weight

source

fn unsubscribe_version() -> Weight

source

fn initiate_reserve_withdraw() -> Weight

source

fn burn_asset() -> Weight

source

fn expect_asset() -> Weight

source

fn expect_origin() -> Weight

source

fn expect_error() -> Weight

source

fn expect_transact_status() -> Weight

source

fn query_pallet() -> Weight

source

fn expect_pallet() -> Weight

source

fn report_transact_status() -> Weight

source

fn clear_transact_status() -> Weight

source

fn set_topic() -> Weight

source

fn clear_topic() -> Weight

source

fn exchange_asset() -> Weight

source

fn universal_origin() -> Weight

source

fn export_message() -> Weight

source

fn set_fees_mode() -> Weight

source

fn lock_asset() -> Weight

source

fn unlock_asset() -> Weight

source

fn note_unlockable() -> Weight

source

fn request_unlock() -> Weight

source

fn unpaid_execution() -> Weight

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl WeightInfo for ()

source§

fn report_holding() -> Weight

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 buy_execution() -> Weight

Storage: AssetManager SupportedFeePaymentAssets (r:1 w:0) Proof Skipped: AssetManager SupportedFeePaymentAssets (max_values: Some(1), max_size: None, mode: Measured) Storage: AssetManager AssetTypeUnitsPerSecond (r:1 w:0) Proof Skipped: AssetManager AssetTypeUnitsPerSecond (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 query_response() -> Weight

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

source§

fn transact() -> Weight

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

source§

fn report_error() -> Weight

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 claim_asset() -> Weight

Storage: PolkadotXcm AssetTraps (r:1 w:1) Proof Skipped: PolkadotXcm AssetTraps (max_values: None, max_size: None, mode: Measured)

source§

fn subscribe_version() -> Weight

Storage: PolkadotXcm VersionNotifyTargets (r:1 w:1) Proof Skipped: PolkadotXcm VersionNotifyTargets (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 unsubscribe_version() -> Weight

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

source§

fn initiate_reserve_withdraw() -> Weight

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 query_pallet() -> Weight

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 report_transact_status() -> Weight

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 exchange_asset() -> Weight

Storage: Benchmark Override (r:0 w:0) Proof Skipped: Benchmark Override (max_values: None, max_size: None, mode: Measured)

source§

fn universal_origin() -> Weight

Storage: Benchmark Override (r:0 w:0) Proof Skipped: Benchmark Override (max_values: None, max_size: None, mode: Measured)

source§

fn export_message() -> Weight

Storage: Benchmark Override (r:0 w:0) Proof Skipped: Benchmark Override (max_values: None, max_size: None, mode: Measured) The range of component x is [1, 1000].

source§

fn lock_asset() -> Weight

Storage: Benchmark Override (r:0 w:0) Proof Skipped: Benchmark Override (max_values: None, max_size: None, mode: Measured)

source§

fn unlock_asset() -> Weight

Storage: Benchmark Override (r:0 w:0) Proof Skipped: Benchmark Override (max_values: None, max_size: None, mode: Measured)

source§

fn note_unlockable() -> Weight

Storage: Benchmark Override (r:0 w:0) Proof Skipped: Benchmark Override (max_values: None, max_size: None, mode: Measured)

source§

fn request_unlock() -> Weight

Storage: Benchmark Override (r:0 w:0) Proof Skipped: Benchmark Override (max_values: None, max_size: None, mode: Measured)

source§

fn refund_surplus() -> Weight

source§

fn set_error_handler() -> Weight

source§

fn set_appendix() -> Weight

source§

fn clear_error() -> Weight

source§

fn descend_origin() -> Weight

source§

fn clear_origin() -> Weight

source§

fn trap() -> Weight

source§

fn burn_asset() -> Weight

source§

fn expect_asset() -> Weight

source§

fn expect_origin() -> Weight

source§

fn expect_error() -> Weight

source§

fn expect_transact_status() -> Weight

source§

fn expect_pallet() -> Weight

source§

fn clear_transact_status() -> Weight

source§

fn set_topic() -> Weight

source§

fn clear_topic() -> Weight

source§

fn set_fees_mode() -> Weight

source§

fn unpaid_execution() -> Weight

Implementors§

source§

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