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§
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
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 register() -> Weight
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
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
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
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
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
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
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
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
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)