referrerpolicy=no-referrer-when-downgrade

Function pallet_sudo::pallet::dispatchables::sudo_as

source ·
pub fn sudo_as<T: Config>(
    who: <<T as Config>::Lookup as StaticLookup>::Source,
    call: Box<<T as Config>::RuntimeCall>,
)
Expand description

Authenticates the sudo key and dispatches a function call with Signed origin from a given account.

The dispatch origin for this call must be Signed.

§Warning: Doc-Only

This function is an automatically generated, and is doc-only, uncallable stub. See the real version in Pallet::sudo_as.