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
setRecipient
function setRecipient(address _recipient) public
Set the attestation recipient (mock)
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. |