Trait stp258_traits::stp258::SerpTesPriceProvider[][src]

pub trait SerpTesPriceProvider<CurrencyId, Price> {
    fn get_price(base: CurrencyId, quote: CurrencyId) -> Option<Price>;
}

A trait to provide relative price for two currencies

Required methods

fn get_price(base: CurrencyId, quote: CurrencyId) -> Option<Price>[src]

Loading content...

Implementors

Loading content...