pub trait BridgeProxyRuntimeAPI<Block, AssetId>: Core<Block>where
    Block: Block,
    AssetId: Codec,{
    // Provided methods
    fn list_apps(
        &self,
        __runtime_api_at_param__: &BlockId<Block>
    ) -> Result<Vec<BridgeAppInfo, Global>, ApiError> { ... }
    fn list_apps_with_context(
        &self,
        __runtime_api_at_param__: &BlockId<Block>,
        context: ExecutionContext
    ) -> Result<Vec<BridgeAppInfo, Global>, ApiError> { ... }
    fn list_supported_assets(
        &self,
        __runtime_api_at_param__: &BlockId<Block>,
        network_id: GenericNetworkId
    ) -> Result<Vec<BridgeAssetInfo, Global>, ApiError> { ... }
    fn list_supported_assets_with_context(
        &self,
        __runtime_api_at_param__: &BlockId<Block>,
        context: ExecutionContext,
        network_id: GenericNetworkId
    ) -> Result<Vec<BridgeAssetInfo, Global>, ApiError> { ... }
}

Provided Methods§

fn list_apps( &self, __runtime_api_at_param__: &BlockId<Block> ) -> Result<Vec<BridgeAppInfo, Global>, ApiError>

fn list_apps_with_context( &self, __runtime_api_at_param__: &BlockId<Block>, context: ExecutionContext ) -> Result<Vec<BridgeAppInfo, Global>, ApiError>

fn list_supported_assets( &self, __runtime_api_at_param__: &BlockId<Block>, network_id: GenericNetworkId ) -> Result<Vec<BridgeAssetInfo, Global>, ApiError>

fn list_supported_assets_with_context( &self, __runtime_api_at_param__: &BlockId<Block>, context: ExecutionContext, network_id: GenericNetworkId ) -> Result<Vec<BridgeAssetInfo, Global>, ApiError>

Trait Implementations§

§

impl<Block, AssetId> RuntimeApiInfo for dyn BridgeProxyAPI<Block, AssetId> + 'staticwhere Block: Block,

§

const ID: [u8; 8] = [142u8, 104u8, 143u8, 233u8, 69u8, 74u8, 201u8, 112u8]

The identifier of the runtime api.
§

const VERSION: u32 = 1u32

The version of the runtime api.

Implementors§