A module for unixtime based scheduling.
This pallet provides capability to dispatch schedules with a starting UTC time, optional ending UTC time, and periods consisting of multiples of year/month/week/day/hour/minute/second/ms. These scheduled dispatches may be named or anonymous and may be canceled.
Scheduling is done via chrono-light library.
NOTE: The scheduled calls will be dispatched with the default filter
for the origin: namely frame_system::Config::BaseCallFilter
for all origin
except root which will get no filter. And not the filter contained in origin
use to call fn schedule
.
If a call is scheduled using proxy or whatever mechanism which adds filter, then those filter will not be used when dispatching the schedule call.
- backfill runs in case of downtime
- fix weights
sync_scheduleds
- recalculate scheduled wake triggers, accounting for potential clock drift.schedule
- schedule a dispatch, which may be periodic, to occur at a specified block and with a specified priority.cancel
- cancel a scheduled dispatch, specified by block number and index.schedule_named
- augments theschedule
interface with an additionalVec<u8>
parameter that can be used for identification.cancel_named
- the named complement to the cancel function.
License: Unlicensed
Runtime utilizing this pallet is exemplified in substrate-node-playground.