pub trait Config: Config + Config + Config + Config {
Show 16 associated items type RuntimeEvent: From<Event<Self>> + IsType<<Self as Config>::RuntimeEvent>; type GetIncentiveAssetId: Get<Self::AssetId>; type GetXSTAssetId: Get<Self::AssetId>; type LiquidityProxy: LiquidityProxyTrait<Self::DEXId, Self::AccountId, Self::AssetId>; type CompatBalance: From<<Self as Config>::Balance> + Into<Balance> + From<Balance> + Clone + Zero; type GetTechnicalAccountId: Get<Self::AccountId>; type GetDefaultSubscriptionFrequency: Get<Self::BlockNumber>; type GetBurnUpdateFrequency: Get<Self::BlockNumber>; type EnsureDEXManager: EnsureDEXManager<Self::DEXId, Self::AccountId, DispatchError>; type OnPswapBurnedAggregator: OnPswapBurned; type WeightInfo: WeightInfo; type GetParliamentAccountId: Get<Self::AccountId>; type PoolXykPallet: PoolXykPallet<Self::AccountId, Self::AssetId>; type BuyBackHandler: BuyBackHandler<Self::AccountId, Self::AssetId>; type DexInfoProvider: DexInfoProvider<Self::DEXId, DEXInfo<Self::AssetId>>; const PSWAP_BURN_PERCENT: Percent;
}
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 GetIncentiveAssetId: Get<Self::AssetId>

source

type GetXSTAssetId: Get<Self::AssetId>

source

type LiquidityProxy: LiquidityProxyTrait<Self::DEXId, Self::AccountId, Self::AssetId>

source

type CompatBalance: From<<Self as Config>::Balance> + Into<Balance> + From<Balance> + Clone + Zero

source

type GetTechnicalAccountId: Get<Self::AccountId>

source

type GetDefaultSubscriptionFrequency: Get<Self::BlockNumber>

source

type GetBurnUpdateFrequency: Get<Self::BlockNumber>

source

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

source

type OnPswapBurnedAggregator: OnPswapBurned

source

type WeightInfo: WeightInfo

source

type GetParliamentAccountId: Get<Self::AccountId>

source

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

source

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

source

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

Required Associated Constants§

Implementors§