Agreement
Overview
Contract Details
Property
Value
Purpose
Data Structures
RevokeEligibility Enum
Value
Description
AgreementData (IAgreement Interface)
Field
Type
Description
ParsedAgreementData
AgreementInput
State Variables
Variable
Type
Visibility
Description
Functions
Constructor
Name
Type
Description
createAgreement
Name
Type
Description
Name
Type
Description
batchCreateAgreements
Name
Type
Description
Name
Type
Description
isRevokable
Name
Type
Description
Name
Type
Description
getAgreementData
Name
Type
Description
getParsedAgreementData
Name
Type
Description
hashAgreementData
getTypedDataHash
Events
AgreementCreated
Errors
Error
Description
EIP-712 Type Definition
Usage Examples
Creating an Agreement (TypeScript/Viem)
Creating an UnRevokable Agreement
Creating an Agreement with Grace Period
Checking Revocation Eligibility
Batch Creating Agreements
Reading Agreement Data
Security Considerations
Related Contracts
Deployment
Last updated

