Trait common::prelude::Config

source ·
pub trait Config: Config + Config {
    type DEXId: Parameter + MaybeSerializeDeserialize + Ord + Copy + Default + From<DEXId> + Clone + Encode + Decode + Eq + PartialEq + MaxEncodedLen;
    type LstId: Clone + Copy + Encode + Decode + Eq + PartialEq + MaxEncodedLen + From<LiquiditySourceType>;
}
Expand description

Common DEX trait. Used for DEX-related pallets.

Required Associated Types§

source

type DEXId: Parameter + MaybeSerializeDeserialize + Ord + Copy + Default + From<DEXId> + Clone + Encode + Decode + Eq + PartialEq + MaxEncodedLen

DEX identifier.

source

type LstId: Clone + Copy + Encode + Decode + Eq + PartialEq + MaxEncodedLen + From<LiquiditySourceType>

Implementors§