pub fn revoke_delegation_by_delegator<T: Config>(
provider_msa_id: MessageSourceId,
)
Expand description
Delegator (Origin) MSA terminates a delegation relationship with the Provider
MSA. Deposits eventDelegationRevoked
.
§Events
§Errors
Error::NoKeyExists
- origin does not have an MSAError::DelegationRevoked
- the delegation has already been revoked.Error::DelegationNotFound
- there is not delegation relationship between Origin and Delegator or Origin and Delegator are the same.
§Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::revoke_delegation_by_delegator
.