Trait dex_api::pallet::Config

source ·
pub trait Config: Config + Config + Config + Config {
    type MockLiquiditySource: LiquiditySource<Self::DEXId, Self::AccountId, Self::AssetId, Balance, DispatchError>;
    type MockLiquiditySource2: LiquiditySource<Self::DEXId, Self::AccountId, Self::AssetId, Balance, DispatchError>;
    type MockLiquiditySource3: LiquiditySource<Self::DEXId, Self::AccountId, Self::AssetId, Balance, DispatchError>;
    type MockLiquiditySource4: LiquiditySource<Self::DEXId, Self::AccountId, Self::AssetId, Balance, DispatchError>;
    type MulticollateralBondingCurvePool: LiquiditySource<Self::DEXId, Self::AccountId, Self::AssetId, Balance, DispatchError>;
    type XSTPool: LiquiditySource<Self::DEXId, Self::AccountId, Self::AssetId, Balance, DispatchError>;
    type XYKPool: LiquiditySource<Self::DEXId, Self::AccountId, Self::AssetId, Balance, DispatchError>;
}
Expand description

Configuration trait of this pallet.

Implement this type for a runtime in order to customize this pallet.

Required Associated Types§

source

type MockLiquiditySource: LiquiditySource<Self::DEXId, Self::AccountId, Self::AssetId, Balance, DispatchError>

source

type MockLiquiditySource2: LiquiditySource<Self::DEXId, Self::AccountId, Self::AssetId, Balance, DispatchError>

source

type MockLiquiditySource3: LiquiditySource<Self::DEXId, Self::AccountId, Self::AssetId, Balance, DispatchError>

source

type MockLiquiditySource4: LiquiditySource<Self::DEXId, Self::AccountId, Self::AssetId, Balance, DispatchError>

source

type MulticollateralBondingCurvePool: LiquiditySource<Self::DEXId, Self::AccountId, Self::AssetId, Balance, DispatchError>

source

type XSTPool: LiquiditySource<Self::DEXId, Self::AccountId, Self::AssetId, Balance, DispatchError>

source

type XYKPool: LiquiditySource<Self::DEXId, Self::AccountId, Self::AssetId, Balance, DispatchError>

Implementors§