Trait xor_fee::pallet::Config

source ·
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§

source

type RuntimeEvent: From<Event<Self>> + IsType<<Self as Config>::RuntimeEvent>

source

type XorCurrency: Currency<Self::AccountId> + Send + Sync

XOR - The native currency of this blockchain.

source

type XorId: Get<Self::AssetId>

source

type ValId: Get<Self::AssetId>

source

type XstId: Get<Self::AssetId>

source

type ReferrerWeight: Get<u32>

source

type XorBurnedWeight: Get<u32>

source

type XorIntoValBurnedWeight: Get<u32>

source

type BuyBackXSTPercent: Get<Percent>

source

type DEXIdValue: Get<Self::DEXId>

source

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

source

type OnValBurned: OnValBurned

source

type CustomFees: ApplyCustomFees<<Self as Config>::RuntimeCall, Self::AccountId>

source

type GetTechnicalAccountId: Get<Self::AccountId>

source

type FullIdentification

source

type SessionManager: SessionManager<Self::AccountId, Self::FullIdentification>

source

type ReferrerAccountProvider: ReferrerAccountProvider<Self::AccountId>

source

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

source

type WeightInfo: WeightInfo

Weight information for extrinsics in this pallet.

source

type WithdrawFee: WithdrawFee<Self>

Implementors§