MockEAS
A mock contract to test the EASGatekeeper
attester
address attester
schema
bytes32 schema
recipient
address recipient
constructor
constructor(address _attester, bytes32 _schema, address _recipient) public
Parameters
Name | Type | Description |
---|---|---|
_attester | address | The address of the attester |
_schema | bytes32 | The schema of the attestation |
_recipient | address | The recipient of the attestation |
getAttestation
function getAttestation(bytes32 attestationId) external view returns (struct IEAS.Attestation)
Get an attestation by its unique identifier.
Parameters
Name | Type | Description |
---|---|---|
attestationId | bytes32 |
Return Values
Name | Type | Description |
---|---|---|
[0] | struct IEAS.Attestation | attestation The attestation. |