pub trait Config: Config + Config + Config {
Show 20 associated items
type RuntimeEvent: From<Event<Self>> + IsType<<Self as Config>::RuntimeEvent>;
type XorCurrency: Currency<Self::AccountId> + Send + Sync;
type XorId: Get<Self::AssetId>;
type ValId: Get<Self::AssetId>;
type XstId: Get<Self::AssetId>;
type ReferrerWeight: Get<u32>;
type XorBurnedWeight: Get<u32>;
type XorIntoValBurnedWeight: Get<u32>;
type BuyBackXSTPercent: Get<Percent>;
type DEXIdValue: Get<Self::DEXId>;
type LiquidityProxy: LiquidityProxyTrait<Self::DEXId, Self::AccountId, Self::AssetId>;
type OnValBurned: OnValBurned;
type CustomFees: ApplyCustomFees<<Self as Config>::RuntimeCall, Self::AccountId>;
type GetTechnicalAccountId: Get<Self::AccountId>;
type FullIdentification;
type SessionManager: SessionManager<Self::AccountId, Self::FullIdentification>;
type ReferrerAccountProvider: ReferrerAccountProvider<Self::AccountId>;
type BuyBackHandler: BuyBackHandler<Self::AccountId, Self::AssetId>;
type WeightInfo: WeightInfo;
type WithdrawFee: WithdrawFee<Self>;
}
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>
sourcetype XorCurrency: Currency<Self::AccountId> + Send + Sync
type XorCurrency: Currency<Self::AccountId> + Send + Sync
XOR - The native currency of this blockchain.
type XorId: Get<Self::AssetId>
type ValId: Get<Self::AssetId>
type XstId: Get<Self::AssetId>
type ReferrerWeight: Get<u32>
type XorBurnedWeight: Get<u32>
type XorIntoValBurnedWeight: Get<u32>
type BuyBackXSTPercent: Get<Percent>
type DEXIdValue: Get<Self::DEXId>
type LiquidityProxy: LiquidityProxyTrait<Self::DEXId, Self::AccountId, Self::AssetId>
type OnValBurned: OnValBurned
type CustomFees: ApplyCustomFees<<Self as Config>::RuntimeCall, Self::AccountId>
type GetTechnicalAccountId: Get<Self::AccountId>
type FullIdentification
type SessionManager: SessionManager<Self::AccountId, Self::FullIdentification>
type ReferrerAccountProvider: ReferrerAccountProvider<Self::AccountId>
type BuyBackHandler: BuyBackHandler<Self::AccountId, Self::AssetId>
sourcetype WeightInfo: WeightInfo
type WeightInfo: WeightInfo
Weight information for extrinsics in this pallet.