IRevocationList
Asset Tokenization Studio Team
IRevocationList
Minimal interface for querying whether a verifiable credential issued to a subject has been revoked by its issuer.
Methods
revoked
function revoked(address _subject, string _vcId) external view returns (bool)
Checks if the VC granted by an issuer to a subject has been revoked.
Parameters
| Name | Type | Description |
|---|---|---|
| _subject | address | The address of the subject whose credential is being queried. |
| _vcId | string | The identifier of the verifiable credential to check. |
Returns
| Name | Type | Description |
|---|---|---|
| _0 | bool | True if the credential has been revoked, false otherwise. |