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§
- The
pallet
module in each FRAME pallet hosts the most important items needed to construct this pallet.
Structs§
- A delayed origin. Can only be dispatched via
dispatch_as
with a delay. - Ensure the origin have a minimum amount of delay.
Traits§
- Represent an origin that can be dispatched by other origins with permission check.
- Config for orml-authority
- Weight functions needed for orml_authority.
Type Aliases§
- The schedule task index type.