pub trait WeightInfo {
Show 40 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;
fn pay_fees() -> Weight;
fn initiate_transfer() -> Weight;
fn execute_with_origin() -> Weight;
fn set_hints() -> 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
fn pay_fees() -> Weight
fn initiate_transfer() -> Weight
fn execute_with_origin() -> Weight
fn set_hints() -> Weight
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
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)