Type Alias pallet_asset_manager::pallet::AssetTypeId
source · pub type AssetTypeId<T: Config> = StorageMap<_GeneratedPrefixForStorageAssetTypeId<T>, Blake2_128Concat, T::ForeignAssetType, T::AssetId>;
Expand description
Reverse mapping of AssetIdType. Mapping from an asset type to an asset id. This is mostly used when receiving a multilocation XCM message to retrieve the corresponding asset in which tokens should me minted.
Storage type is [StorageMap
] with key type T :: ForeignAssetType
and value type T :: AssetId
.
Aliased Type§
struct AssetTypeId<T: Config>(/* private fields */);