Trait traits::loans::LoansMarketDataProvider
source · 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>;
}