Trait pswap_distribution::pallet::Config
source · 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.