pub type AssetLocationToId<T: Config> = StorageMap<_GeneratedPrefixForStorageAssetLocationToId<T>, Twox64Concat, VersionedLocation, T::AssetId>;
Expand description

Mapping from an asset type to an asset id. Can be 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 VersionedLocation and value type T :: AssetId.

Aliased Type§

struct AssetLocationToId<T: Config>(/* private fields */);