Trait liquidity_proxy::pallet::Config
source · 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§
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>
sourcetype WeightInfo: WeightInfo
type WeightInfo: WeightInfo
Weight information for the extrinsics in this Pallet.