pub trait Config: Config + Config + Config + Config + Config + Config {
    type RuntimeEvent: From<Event<Self>> + IsType<<Self as Config>::RuntimeEvent>;
    type LiquidityProxy: LiquidityProxyTrait<Self::DEXId, Self::AccountId, Self::AssetId>;
    type EnsureDEXManager: EnsureDEXManager<Self::DEXId, Self::AccountId, DispatchError>;
    type EnsureTradingPairExists: EnsureTradingPairExists<Self::DEXId, Self::AssetId, DispatchError>;
    type PriceToolsPallet: PriceToolsPallet<Self::AssetId>;
    type VestedRewardsPallet: VestedRewardsPallet<Self::AccountId, Self::AssetId>;
    type BuyBackHandler: BuyBackHandler<Self::AccountId, Self::AssetId>;
    type BuyBackXSTPercent: Get<Fixed>;
    type WeightInfo: WeightInfo;
}
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 LiquidityProxy: LiquidityProxyTrait<Self::DEXId, Self::AccountId, Self::AssetId>

source

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

source

type EnsureTradingPairExists: EnsureTradingPairExists<Self::DEXId, Self::AssetId, DispatchError>

source

type PriceToolsPallet: PriceToolsPallet<Self::AssetId>

source

type VestedRewardsPallet: VestedRewardsPallet<Self::AccountId, Self::AssetId>

source

type BuyBackHandler: BuyBackHandler<Self::AccountId, Self::AssetId>

source

type BuyBackXSTPercent: Get<Fixed>

source

type WeightInfo: WeightInfo

Weight information for extrinsics in this pallet.

Implementors§