mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 16:57:58 +00:00
2e5522444a
* Use 'Pallet' struct in construct_runtime. * Fix genesis and metadata macro. * Fix 'Pallet' type alias. * Replace 'Module' with 'Pallet' for all construct_runtime use cases. * Replace more deprecated 'Module' struct. * Bring back AllModules and AllPalletsWithSystem type, but deprecate them. * Replace deprecated 'Module' struct from merge master. * Minor fix. * Fix UI tests. * Revert UI override in derive_no_bound. * Fix more deprecated 'Module' use from master branch. * Fix more deprecated 'Module' use from master branch.
Scheduler
A module for scheduling dispatches.
Overview
This module exposes capabilities for scheduling dispatches to occur at a specified block number or at a specified period. These scheduled dispatches may be named or anonymous and may be canceled.
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 mecanism which adds filter, then those filter will not be used when dispatching the schedule call.
Interface
Dispatchable Functions
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 thescheduleinterface with an additionalVec<u8>parameter that can be used for identification.cancel_named- the named complement to the cancel function.
License: Unlicense