Introduces a new struct that converts between CurrencyId <> DiaKeys using the metadata in the asset registry. The lookup of DiaKeys -> CurrencyId can be costly because we are potentially iterating over all elements of the StorageMap but since we don't have that many assets in the registry it should be fine.
Introduces a new struct that converts between
CurrencyId
<>DiaKeys
using the metadata in the asset registry. The lookup ofDiaKeys -> CurrencyId
can be costly because we are potentially iterating over all elements of theStorageMap
but since we don't have that many assets in the registry it should be fine.Closes #469.