[−][src]Trait orml_authority::AuthorityConfig
Config for orml-authority
Required methods
fn check_schedule_dispatch(origin: Origin, priority: Priority) -> DispatchResult
Check if the origin
is allowed to schedule a dispatchable call with a
given priority
.
fn check_fast_track_schedule(
origin: Origin,
initial_origin: &PalletsOrigin,
new_delay: BlockNumber
) -> DispatchResult
origin: Origin,
initial_origin: &PalletsOrigin,
new_delay: BlockNumber
) -> DispatchResult
Check if the origin
is allow to fast track a scheduled task that
initially created by initial_origin
. new_delay
is number of blocks
this dispatchable will be dispatched from now after fast track.
fn check_delay_schedule(
origin: Origin,
initial_origin: &PalletsOrigin
) -> DispatchResult
origin: Origin,
initial_origin: &PalletsOrigin
) -> DispatchResult
Check if the origin
is allow to delay a scheduled task that initially
created by inital_origin
.
fn check_cancel_schedule(
origin: Origin,
initial_origin: &PalletsOrigin
) -> DispatchResult
origin: Origin,
initial_origin: &PalletsOrigin
) -> DispatchResult
Check if the origin
is allow to cancel a scheduled task that initially
created by inital_origin
.