[][src]Crate orml_authority

Authority

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

Overview

Two functionalities are provided by this module:

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

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.

Module
NextTaskIndex

Track the next task ID.

Enums

Call

Dispatchable calls.

Error
RawEvent

Events for this module.

Traits

AsOriginId

Represent an origin that can be dispatched by other origins with permission check.

AuthorityConfig

Config for orml-authority

Trait

orml-authority configuration trait.

Type Definitions

Event

RawEvent specialized for the configuration Trait

Origin

Origin for the authority module.

ScheduleTaskIndex

The schedule task index type.