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

Provided Methods§

source

fn list_dex_ids( &self, __runtime_api_at_param__: &BlockId<Block> ) -> Result<Vec<DEXId>, ApiError>

source

fn list_dex_ids_with_context( &self, __runtime_api_at_param__: &BlockId<Block>, context: ExecutionContext ) -> Result<Vec<DEXId>, ApiError>

Trait Implementations§

source§

impl<Block: BlockT, DEXId> RuntimeApiInfo for dyn DEXManagerAPI<Block, DEXId>

source§

const ID: [u8; 8] = _

The identifier of the runtime api.
source§

const VERSION: u32 = 1u32

The version of the runtime api.

Implementors§