Trait moonbeam_xcm_benchmarks::weights::generic::WeightInfo
source · 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§
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
Object Safety§
Implementations on Foreign Types§
source§impl WeightInfo for ()
impl WeightInfo for ()
source§fn report_holding() -> Weight
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
fn request_unlock() -> Weight
Storage: Benchmark Override (r:0 w:0) Proof Skipped: Benchmark Override (max_values: None, max_size: None, mode: Measured)