Trait orml_traits::price::PriceProvider
source · pub trait PriceProvider<CurrencyId, Price> {
fn get_price(base: CurrencyId, quote: CurrencyId) -> Option<Price>;
}
Expand description
A trait to provide relative price for two currencies