ERC20PaymentResolver
Last updated
Was this helpful?
Last updated
Was this helpful?
Resolver contract for EAS attestations that enforces payment in an ERC-20 token.
Parameters
_token
address
The ERC-20 token address used for payment.
_fee
uint256
The fee required per attestation (in token's smallest unit).
_feeRecipient
address
The address that will receive the fees.
Called by the EAS contract when processing an attestation.
This function performs an ERC-20 transferFrom() to collect the fee. The attester must have approved this contract for the required fee amount.
Parameters
attester
address
The address initiating the attestation.
<none>
bytes