Trait SerpTesPriceProvider
serp_traits::stp258
pub trait SerpTesPriceProvider<CurrencyId, Price> { fn get_price(base: CurrencyId, quote: CurrencyId) -> Option<Price>; }
A trait to provide relative price for two currencies
fn get_price(base: CurrencyId, quote: CurrencyId) -> Option<Price>