Skip to content

ISPHook

A hook is registered for a specific schema, referred to as "the schema" below.

  • didReceiveAttestation: Called when an attestation is created for the schema. The second definition is for taking payments.
  • didReceiveRevocation: Called when an attestation is revoked for the schema. The second definition is for taking payments.

See Schema Hooks for what hooks are used for.

Functions

didReceiveAttestation

function didReceiveAttestation(address attester, uint64 schemaId, uint64 attestationId, bytes extraData) external payable

didReceiveAttestation

function didReceiveAttestation(address attester, uint64 schemaId, uint64 attestationId, contract IERC20 resolverFeeERC20Token, uint256 resolverFeeERC20Amount, bytes extraData) external

didReceiveRevocation

function didReceiveRevocation(address attester, uint64 schemaId, uint64 attestationId, bytes extraData) external payable

didReceiveRevocation

function didReceiveRevocation(address attester, uint64 schemaId, uint64 attestationId, contract IERC20 resolverFeeERC20Token, uint256 resolverFeeERC20Amount, bytes extraData) external