Trait vested_rewards::pallet::Config
source · 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§
type RuntimeEvent: From<Event<Self>> + IsType<<Self as Config>::RuntimeEvent>
sourcetype GetMarketMakerRewardsAccountId: Get<Self::AccountId>
type GetMarketMakerRewardsAccountId: Get<Self::AccountId>
Accounts holding PSWAP dedicated for rewards.
type GetFarmingRewardsAccountId: Get<Self::AccountId>
type GetBondingCurveRewardsAccountId: Get<Self::AccountId>
sourcetype WeightInfo: WeightInfo
type WeightInfo: WeightInfo
Weight information for extrinsics in this pallet.