Function pallet_recovery::pallet::dispatchables::as_recovered
source · pub fn as_recovered<T: Config>(
account: <<T as Config>::Lookup as StaticLookup>::Source,
call: Box<<T as Config>::RuntimeCall>,
)
Expand description
Send a call through a recovered account.
The dispatch origin for this call must be Signed and registered to be able to make calls on behalf of the recovered account.
Parameters:
account
: The recovered account you want to make a call on-behalf-of.call
: The call you want to make with the recovered account.
§Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::as_recovered
.