Struct abstract_core::objects::price_source::AssetConversion
source · pub struct AssetConversion { /* private fields */ }
Expand description
represents the conversion of an asset in terms of the provided asset
Example: provided asset is ETH and the price source for ETH is the pair ETH/USD, the price is 100USD/ETH
then AssetConversion { into: USD, ratio: 100}