Type Definition pallet_asset_rate::pallet::ConversionRateToNative
source · pub type ConversionRateToNative<T: Config> = StorageMap<_GeneratedPrefixForStorageConversionRateToNative<T>, Blake2_128Concat, T::AssetKind, FixedU128, OptionQuery>;
Expand description
Maps an asset to its fixed point representation in the native balance.
E.g. native_amount = asset_amount * ConversionRateToNative::<T>::get(asset_kind)
Storage type is StorageMap
with key type T :: AssetKind
and value type FixedU128
.