Trait orml_traits::price::PriceProvider
source · pub trait PriceProvider<CurrencyId, Price> {
// Required method
fn get_price(base: CurrencyId, quote: CurrencyId) -> Option<Price>;
}
Expand description
A trait to provide relative price for two currencies
Required Methods§
Object Safety§
This trait is not object safe.