pub trait Config: Config + Config + Config + Config {
    type RuntimeEvent: From<Event<Self>> + IsType<<Self as Config>::RuntimeEvent>;
    type LiquidityRegistry: LiquidityRegistry<Self::DEXId, Self::AccountId, Self::AssetId, LiquiditySourceType, Balance, DispatchError>;
    type GetNumSamples: Get<usize>;
    type GetTechnicalAccountId: Get<Self::AccountId>;
    type PrimaryMarketTBC: GetMarketInfo<Self::AssetId>;
    type PrimaryMarketXST: GetMarketInfo<Self::AssetId>;
    type SecondaryMarket: GetPoolReserves<Self::AssetId>;
    type VestedRewardsPallet: VestedRewardsPallet<Self::AccountId, Self::AssetId>;
    type GetADARAccountId: Get<Self::AccountId>;
    type ADARCommissionRatioUpdateOrigin: EnsureOrigin<Self::RuntimeOrigin>;
    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§

source

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

source

type LiquidityRegistry: LiquidityRegistry<Self::DEXId, Self::AccountId, Self::AssetId, LiquiditySourceType, Balance, DispatchError>

source

type GetNumSamples: Get<usize>

source

type GetTechnicalAccountId: Get<Self::AccountId>

source

type PrimaryMarketTBC: GetMarketInfo<Self::AssetId>

source

type PrimaryMarketXST: GetMarketInfo<Self::AssetId>

source

type SecondaryMarket: GetPoolReserves<Self::AssetId>

source

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

source

type GetADARAccountId: Get<Self::AccountId>

source

type ADARCommissionRatioUpdateOrigin: EnsureOrigin<Self::RuntimeOrigin>

source

type WeightInfo: WeightInfo

Weight information for the extrinsics in this Pallet.

Implementors§