Crate orml_authority

Source
Expand description

§Authority

A module to provide features for governance including dispatch method on behalf of other accounts and schedule dispatchables.

§Overview

Two functionalities are provided by this module:

  • schedule a dispatchable
  • dispatch method with on behalf of other origins

NOTE:

In order to derive a feasible max encoded len for DelayedOrigin, it is assumed that there are no nested DelayedOrigin in OriginCaller. In practice, this means there should not be nested schedule_dispatch. Otherwise the proof size estimation may not be accurate.

Re-exports§

pub use module::*;

Modules§

module
The pallet module in each FRAME pallet hosts the most important items needed to construct this pallet.

Structs§

DelayedOrigin
A delayed origin. Can only be dispatched via dispatch_as with a delay.
EnsureDelayed
Ensure the origin have a minimum amount of delay.

Traits§

AsOriginId
Represent an origin that can be dispatched by other origins with permission check.
AuthorityConfig
Config for orml-authority
WeightInfo
Weight functions needed for orml_authority.

Type Aliases§

ScheduleTaskIndex
The schedule task index type.