Function did::pallet::dispatchables::dispatch_as
source · pub fn dispatch_as<T: Config>(
did_identifier: DidIdentifierOf<T>,
call: Box<DidCallableOf<T>>
)
Expand description
Proxy a dispatchable call of another runtime extrinsic that supports a DID origin.
The referenced DID identifier must be present on chain before the operation is dispatched.
A call submitted through this extrinsic must be signed with the
right DID key, depending on the call. In contrast to the
submit_did_call
extrinsic, this call doesn’t separate the sender
from the DID subject. The key that must be used for this DID call
is required to also be a valid account with enough balance to pay
for fees.
The dispatch origin must be a KILT account with enough funds to execute the extrinsic and must correspond to the required DID Verification Key.
Emits DidCallDispatched
.
Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::dispatch_as
.