Trait pallet_scheduler::pallet::Config [−][src]
pub trait Config: Config { type Event: From<Event<Self>> + IsType<<Self as Config>::Event>; type Origin: OriginTrait<PalletsOrigin = Self::PalletsOrigin> + From<Self::PalletsOrigin> + IsType<<Self as Config>::Origin>; type PalletsOrigin: From<RawOrigin<Self::AccountId>> + Codec + Clone + Eq; type Call: Parameter + Dispatchable<Origin = <Self as Config>::Origin> + GetDispatchInfo + From<Call<Self>>; type MaximumWeight: Get<Weight>; type ScheduleOrigin: EnsureOrigin<<Self as Config>::Origin>; type MaxScheduledPerBlock: Get<u32>; type WeightInfo: WeightInfo; }
Expand description
system::Config
should always be included in our implied traits.
Associated Types
type Origin: OriginTrait<PalletsOrigin = Self::PalletsOrigin> + From<Self::PalletsOrigin> + IsType<<Self as Config>::Origin>
type Origin: OriginTrait<PalletsOrigin = Self::PalletsOrigin> + From<Self::PalletsOrigin> + IsType<<Self as Config>::Origin>
The aggregated origin which the dispatch will take.
The caller origin, overarching type of all pallets origins.
type Call: Parameter + Dispatchable<Origin = <Self as Config>::Origin> + GetDispatchInfo + From<Call<Self>>
type Call: Parameter + Dispatchable<Origin = <Self as Config>::Origin> + GetDispatchInfo + From<Call<Self>>
The aggregated call type.
type MaximumWeight: Get<Weight>
type MaximumWeight: Get<Weight>
The maximum weight that may be scheduled per block for any dispatchables of less priority
than schedule::HARD_DEADLINE
.
type ScheduleOrigin: EnsureOrigin<<Self as Config>::Origin>
type ScheduleOrigin: EnsureOrigin<<Self as Config>::Origin>
Required origin to schedule or cancel calls.
type MaxScheduledPerBlock: Get<u32>
type MaxScheduledPerBlock: Get<u32>
The maximum number of scheduled calls in the queue for a single block. Not strictly enforced, but used for weight estimation.
type WeightInfo: WeightInfo
type WeightInfo: WeightInfo
Weight information for extrinsics in this pallet.