pub trait Config: Config + Config + Config + Config {
    type RuntimeEvent: From<Event<Self>> + IsType<<Self as Config>::RuntimeEvent>;
    type GetMarketMakerRewardsAccountId: Get<Self::AccountId>;
    type GetFarmingRewardsAccountId: Get<Self::AccountId>;
    type GetBondingCurveRewardsAccountId: Get<Self::AccountId>;
    type WeightInfo: WeightInfo;

    const BLOCKS_PER_DAY: BlockNumberFor<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 GetMarketMakerRewardsAccountId: Get<Self::AccountId>

Accounts holding PSWAP dedicated for rewards.

source

type GetFarmingRewardsAccountId: Get<Self::AccountId>

source

type GetBondingCurveRewardsAccountId: Get<Self::AccountId>

source

type WeightInfo: WeightInfo

Weight information for extrinsics in this pallet.

Required Associated Constants§

source

const BLOCKS_PER_DAY: BlockNumberFor<Self>

Implementors§