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§
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>
sourcetype WeightInfo: WeightInfo
type WeightInfo: WeightInfo
Weight information for extrinsics in this pallet.