pub trait Config: Config + Config + Config {
    type RuntimeEvent: From<Event<Self>> + IsType<<Self as Config>::RuntimeEvent>;
    type CeresPerDay: Get<Balance>;
    type CeresAssetId: Get<AssetId32<PredefinedAssetId>>;
    type MaximumCeresInStakingPool: Get<Balance>;
    type WeightInfo: WeightInfo;

    const BLOCKS_PER_ONE_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 CeresPerDay: Get<Balance>

Number of Ceres distributed per day

source

type CeresAssetId: Get<AssetId32<PredefinedAssetId>>

Ceres asset id

source

type MaximumCeresInStakingPool: Get<Balance>

Maximum Ceres in staking pool

source

type WeightInfo: WeightInfo

Weight information for extrinsics in this pallet.

Required Associated Constants§

source

const BLOCKS_PER_ONE_DAY: BlockNumberFor<Self>

One day represented in block number

Implementors§