Skip to main content

Calls

cancel

Cancel an anonymously scheduled task. Namespace
Type

cancelNamed

Cancel a named scheduled task. Namespace
Type

schedule

Anonymously schedule a task. Namespace
Type

scheduleAfter

Anonymously schedule a task after a delay. Namespace
Type

scheduleNamed

Schedule a named task. Namespace
Type

scheduleNamedAfter

Schedule a named task after a delay. Namespace
Type

Storage

agenda

Items to be executed, indexed by the block number that they should be executed on. Namespace
Type

lookup

Lookup from identity to the block number and index of the task. Namespace
Type

Events

CallLookupFailed

The call for the provided hash was not found so the task has been aborted. Namespace
Type

Canceled

Canceled some task. Namespace
Type

Dispatched

Dispatched some task. Namespace
Type

Scheduled

Scheduled some task. Namespace
Type

Errors

FailedToSchedule

Failed to schedule a call Namespace

NotFound

Cannot find the scheduled call. Namespace

RescheduleNoChange

Reschedule failed because it does not change scheduled time. Namespace

TargetBlockNumberInPast

Given target block number is in the past. Namespace

Constants

maximumWeight

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

maxScheduledPerBlock

The maximum number of scheduled calls in the queue for a single block. Not strictly enforced, but used for weight estimation. Namespace
Type