pub trait Config: Config + Config + Config {
    type RuntimeEvent: From<Event<Self>> + IsType<<Self as Config>::RuntimeEvent>;
    type EnsureDEXManager: EnsureDEXManager<Self::DEXId, Self::AccountId, DispatchError>;
    type WeightInfo: WeightInfo;
    type DexInfoProvider: DexInfoProvider<Self::DEXId, DEXInfo<Self::AssetId>>;
}
Expand description

Configuration trait of this pallet.

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

Required Associated Types§

source

type RuntimeEvent: From<Event<Self>> + IsType<<Self as Config>::RuntimeEvent>

source

type EnsureDEXManager: EnsureDEXManager<Self::DEXId, Self::AccountId, DispatchError>

source

type WeightInfo: WeightInfo

Weight information for extrinsics in this pallet.

source

type DexInfoProvider: DexInfoProvider<Self::DEXId, DEXInfo<Self::AssetId>>

Implementors§