pub trait WeightInfo {
// Required methods
fn create_foreign_asset() -> Weight;
fn change_xcm_location() -> Weight;
fn freeze_foreign_asset() -> Weight;
fn unfreeze_foreign_asset() -> Weight;
}
Expand description
Weight functions needed for pallet_foreign_asset_creator.
Required Methods§
fn create_foreign_asset() -> Weight
fn change_xcm_location() -> Weight
fn freeze_foreign_asset() -> Weight
fn unfreeze_foreign_asset() -> Weight
Object Safety§
Implementations on Foreign Types§
source§impl WeightInfo for ()
impl WeightInfo for ()
source§fn create_foreign_asset() -> Weight
fn create_foreign_asset() -> Weight
Storage: ForeignAssetsCreator::AssetIdToForeignAsset
(r:1 w:1)
Proof: ForeignAssetsCreator::AssetIdToForeignAsset
(max_values
: None, max_size
: None, mode: Measured
)
Storage: ForeignAssets::Asset
(r:1 w:1)
Proof: ForeignAssets::Asset
(max_values
: None, max_size
: Some(208), added: 2683, mode: MaxEncodedLen
)
Storage: ForeignAssetsCreator::ForeignAssetToAssetId
(r:0 w:1)
Proof: ForeignAssetsCreator::ForeignAssetToAssetId
(max_values
: None, max_size
: None, mode: Measured
)
source§fn change_xcm_location() -> Weight
fn change_xcm_location() -> Weight
Storage: ForeignAssetsCreator::AssetIdToForeignAsset
(r:1 w:1)
Proof: ForeignAssetsCreator::AssetIdToForeignAsset
(max_values
: None, max_size
: None, mode: Measured
)
Storage: ForeignAssetsCreator::ForeignAssetToAssetId
(r:0 w:2)
Proof: ForeignAssetsCreator::ForeignAssetToAssetId
(max_values
: None, max_size
: None, mode: Measured
)
source§fn freeze_foreign_asset() -> Weight
fn freeze_foreign_asset() -> Weight
Storage: ForeignAssetsCreator::AssetIdToForeignAsset
(r:1 w:1)
Proof: ForeignAssetsCreator::AssetIdToForeignAsset
(max_values
: None, max_size
: None, mode: Measured
)
Storage: ForeignAssetsCreator::ForeignAssetToAssetId
(r:0 w:1)
Proof: ForeignAssetsCreator::ForeignAssetToAssetId
(max_values
: None, max_size
: None, mode: Measured
)
source§fn unfreeze_foreign_asset() -> Weight
fn unfreeze_foreign_asset() -> Weight
Storage: ForeignAssetsCreator::AssetIdToForeignAsset
(r:1 w:1)
Proof: ForeignAssetsCreator::AssetIdToForeignAsset
(max_values
: None, max_size
: None, mode: Measured
)
Storage: ForeignAssets::Asset
(r:1 w:1)
Proof: ForeignAssets::Asset
(max_values
: None, max_size
: Some(208), added: 2683, mode: MaxEncodedLen
)
Storage: ForeignAssetsCreator::ForeignAssetToAssetId
(r:0 w:1)
Proof: ForeignAssetsCreator::ForeignAssetToAssetId
(max_values
: None, max_size
: None, mode: Measured
)