[][src]Trait pallet_scheduler::Trait

pub trait Trait: Trait {
    type Event: From<Event<Self>> + Into<Self::Event>;
    type Origin: From<RawOrigin<Self::AccountId>>;
    type Call: Parameter + Dispatchable<Origin = Self::Origin> + GetDispatchInfo;
    type MaximumWeight: Get<Weight>;
}

Our pallet's configuration trait. All our types and constants go in here. If the pallet is dependent on specific other pallets, then their configuration traits should be added to our implied traits list.

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

Associated Types

type Event: From<Event<Self>> + Into<Self::Event>

The overarching event type.

type Origin: From<RawOrigin<Self::AccountId>>

The aggregated origin which the dispatch will take.

type Call: Parameter + Dispatchable<Origin = Self::Origin> + GetDispatchInfo

The aggregated call type.

type MaximumWeight: Get<Weight>

The maximum weight that may be scheduled per block for any dispatchables of less priority than schedule::HARD_DEADLINE.

Loading content...

Implementors

Loading content...