pub fn grant_delegation<T: Config>(
    delegator_key: T::AccountId,
    proof: MultiSignature,
    add_provider_payload: AddProvider
)
Expand description

Creates a new Delegation for an existing MSA, with origin as the Provider and delegator_key is the delegator. Since it is being sent on the Delegator’s behalf, it requires the Delegator to authorize the new Delegation.

Remarks

  • Origin MUST be the provider
  • Signatures should be over the AddProvider struct

Events

Errors

Warning: Doc-Only

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