Trait frame_support::traits::UnfilteredDispatchable

source ·
pub trait UnfilteredDispatchable {
    type RuntimeOrigin;

    // Required method
    fn dispatch_bypass_filter(
        self,
        origin: Self::RuntimeOrigin,
    ) -> DispatchResultWithPostInfo;
}
Expand description

Type that can be dispatched with an origin but without checking the origin filter.

Implemented for pallet dispatchable type by decl_module and for runtime dispatchable by construct_runtime.

Required Associated Types§

source

type RuntimeOrigin

The origin type of the runtime, (i.e. frame_system::Config::RuntimeOrigin).

Required Methods§

source

fn dispatch_bypass_filter( self, origin: Self::RuntimeOrigin, ) -> DispatchResultWithPostInfo

Dispatch this call but do not check the filter in origin.

Implementors§