pub trait Config: Config {
    type RuntimeEvent: From<Event<Self>> + IsType<<Self as Config>::RuntimeEvent>;
    type RuntimeOrigin: OriginTrait<PalletsOrigin = Self::PalletsOrigin> + From<Self::PalletsOrigin> + IsType<<Self as Config>::RuntimeOrigin>;
    type PalletsOrigin: From<RawOrigin<Self::AccountId>> + CallerTrait<Self::AccountId> + MaxEncodedLen;
    type RuntimeCall: Parameter + Dispatchable<RuntimeOrigin = <Self as Config>::RuntimeOrigin, PostInfo = PostDispatchInfo> + GetDispatchInfo + From<Call<Self>>;
    type MaximumWeight: Get<Weight>;
    type ScheduleOrigin: EnsureOrigin<<Self as Config>::RuntimeOrigin>;
    type OriginPrivilegeCmp: PrivilegeCmp<Self::PalletsOrigin>;
    type MaxScheduledPerBlock: Get<u32>;
    type WeightInfo: WeightInfo;
    type Preimages: QueryPreimage + StorePreimage;
Expand description

system::Config should always be included in our implied traits.

Required Associated Types

The overarching event type.

The aggregated origin which the dispatch will take.

The caller origin, overarching type of all pallets origins.

The aggregated call type.

The maximum weight that may be scheduled per block for any dispatchables.

Required origin to schedule or cancel calls.

Compare the privileges of origins.

This will be used when canceling a task, to ensure that the origin that tries to cancel has greater or equal privileges as the origin that created the scheduled task.

For simplicity the EqualPrivilegeOnly can be used. This will only check if two given origins are equal.

The maximum number of scheduled calls in the queue for a single block.

Weight information for extrinsics in this pallet.

The preimage provider with which we look up call hashes to get the call.