pub type AssetsByLocation<T: Config> = StorageMap<_GeneratedPrefixForStorageAssetsByLocation<T>, Blake2_128Concat, Location, (AssetId, AssetStatus)>;
Expand description

Reverse mapping of AssetsById. Mapping from a foreign asset 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 Location and value type (AssetId, AssetStatus).

Aliased Type§

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