pub trait DEXManagerRuntimeAPI<Block, DEXId>: Core<Block>where
Block: Block,
DEXId: Codec,{
// Provided methods
fn list_dex_ids(
&self,
__runtime_api_at_param__: &BlockId<Block>
) -> Result<Vec<DEXId, Global>, ApiError> { ... }
fn list_dex_ids_with_context(
&self,
__runtime_api_at_param__: &BlockId<Block>,
context: ExecutionContext
) -> Result<Vec<DEXId, Global>, ApiError> { ... }
}