Trait ceres_launchpad::pallet::Config
source · pub trait Config: Config + Config + Config + Config + Config + Config + Config + Config + Config {
type RuntimeEvent: From<Event<Self>> + IsType<<Self as Config>::RuntimeEvent>;
type WeightInfo: WeightInfo;
const MILLISECONDS_PER_DAY: Self::Moment;
}
Expand description
Configuration trait of this pallet.
Implement this type for a runtime in order to customize this pallet.
Required Associated Types§
sourcetype RuntimeEvent: From<Event<Self>> + IsType<<Self as Config>::RuntimeEvent>
type RuntimeEvent: From<Event<Self>> + IsType<<Self as Config>::RuntimeEvent>
Because this pallet emits events, it depends on the runtime’s definition of an event.
sourcetype WeightInfo: WeightInfo
type WeightInfo: WeightInfo
Weight information for extrinsics in this pallet.
Required Associated Constants§
sourceconst MILLISECONDS_PER_DAY: Self::Moment
const MILLISECONDS_PER_DAY: Self::Moment
One day represented in milliseconds