Trait orml_authority::AuthorityConfig[][src]

pub trait AuthorityConfig<Origin, PalletsOrigin, BlockNumber> {
    fn check_schedule_dispatch(
        origin: Origin,
        priority: Priority
    ) -> DispatchResult;
fn check_fast_track_schedule(
        origin: Origin,
        initial_origin: &PalletsOrigin,
        new_delay: BlockNumber
    ) -> DispatchResult;
fn check_delay_schedule(
        origin: Origin,
        initial_origin: &PalletsOrigin
    ) -> DispatchResult;
fn check_cancel_schedule(
        origin: Origin,
        initial_origin: &PalletsOrigin
    ) -> DispatchResult; }

Config for orml-authority

Required methods

fn check_schedule_dispatch(origin: Origin, priority: Priority) -> DispatchResult[src]

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
[src]

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
[src]

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
[src]

Check if the origin is allow to cancel a scheduled task that initially created by inital_origin.

Loading content...

Implementors

Loading content...