Function pallet_msa::pallet::dispatchables::revoke_delegation_by_provider
source · pub fn revoke_delegation_by_provider<T: Config>(delegator: MessageSourceId)
Expand description
Provider MSA terminates Delegation with a Delegator MSA by expiring the Delegation at the current block.
Events
Errors
Error::NoKeyExists
-provider_key
does not have an MSA key.Error::DelegationRevoked
- delegation is already revokedError::DelegationNotFound
- no Delegation found between origin MSA and delegator MSA.
Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::revoke_delegation_by_provider
.