Skip to main content
Version: v1.3_alpha

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

NameTypeDescription
_attesteraddressThe address of the attester
_schemabytes32The schema of the attestation
_recipientaddressThe recipient of the attestation

getAttestation

function getAttestation(bytes32 attestationId) external view returns (struct IEAS.Attestation)

Get an attestation by its unique identifier.

Parameters

NameTypeDescription
attestationIdbytes32

Return Values

NameTypeDescription
[0]struct IEAS.Attestationattestation The attestation.