pub trait EnsureTradingPairExists<DEXId, AssetId, Error> {
    // Required method
    fn ensure_trading_pair_exists(
        dex_id: &DEXId,
        base_asset_id: &AssetId,
        target_asset_id: &AssetId
    ) -> Result<(), Error>;
}

Required Methods§

source

fn ensure_trading_pair_exists( dex_id: &DEXId, base_asset_id: &AssetId, target_asset_id: &AssetId ) -> Result<(), Error>

Implementations on Foreign Types§

source§

impl<DEXId, AssetId> EnsureTradingPairExists<DEXId, AssetId, DispatchError> for ()

source§

fn ensure_trading_pair_exists( _dex_id: &DEXId, _base_asset_id: &AssetId, _target_asset_id: &AssetId ) -> Result<(), DispatchError>

Implementors§