pub trait LoansMarketDataProvider<CurrencyId, Balance> {
    // Required methods
    fn get_market_info(
        asset_id: CurrencyId
    ) -> Result<MarketInfo, DispatchError>;
    fn get_market_status(
        asset_id: CurrencyId
    ) -> Result<MarketStatus<Balance>, DispatchError>;
    fn get_full_interest_rate(asset_id: CurrencyId) -> Option<Rate>;
}

Required Methods§

source

fn get_market_info(asset_id: CurrencyId) -> Result<MarketInfo, DispatchError>

source

fn get_market_status( asset_id: CurrencyId ) -> Result<MarketStatus<Balance>, DispatchError>

source

fn get_full_interest_rate(asset_id: CurrencyId) -> Option<Rate>

Implementors§