pub trait ReferencePriceProvider<AssetId, Balance> {
    // Required method
    fn get_reference_price(asset_id: &AssetId) -> Result<Balance, DispatchError>;
}

Required Methods§

source

fn get_reference_price(asset_id: &AssetId) -> Result<Balance, DispatchError>

Implementors§