Trait common::prelude::DexInfoProvider
source · pub trait DexInfoProvider<DEXId: Eq + PartialEq + Copy + Clone + PartialOrd + Ord, DEXInfo: Clone + PartialEq + Eq + Default> {
// Required methods
fn get_dex_info(dex_id: &DEXId) -> Result<DEXInfo, DispatchError>;
fn ensure_dex_exists(dex_id: &DEXId) -> DispatchResult;
fn list_dex_ids() -> Vec<DEXId> ⓘ;
}
Expand description
Trait to provide DEXInfo