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

Required Methods§

Implementors§