Function pallet_sudo_origin::pallet::dispatchables::sudo_as
source · pub fn sudo_as<T: Config>(
who: <T::Lookup as StaticLookup>::Source,
call: Box<<T as Config>::RuntimeCall>
)
Expand description
Authenticates the SudoOrigin and dispatches a function call with Signed
origin from
a given account.
- O(1).
- Limited storage reads.
- One DB write (event).
- Weight of derivative
call
execution + 10,000.
Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::sudo_as
.