Function attestation::pallet::dispatchables::revoke
source · pub fn revoke<T: Config>(
claim_hash: ClaimHashOf<T>,
authorization: Option<T::AccessControl>
)
Expand description
Revoke an existing attestation.
The revoker must be either the creator of the attestation being revoked or an entity that in the delegation tree is an ancestor of the attester, i.e., it was either the delegator of the attester or an ancestor thereof.
Emits AttestationRevoked
.
Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::revoke
.