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.
Complexity
- O(1).
NOTE: This function is an automatically generated, doc only, uncallable stub.
designed to document the sudo_as
variant of
the pallet Call
enum. You should not attempt to call this function
directly.