diff --git a/packages/contract-helpers/src/governance-v3/aave-token-v3/index.ts b/packages/contract-helpers/src/governance-v3/aave-token-v3/index.ts index 4d7413f6..49049ad1 100644 --- a/packages/contract-helpers/src/governance-v3/aave-token-v3/index.ts +++ b/packages/contract-helpers/src/governance-v3/aave-token-v3/index.ts @@ -8,6 +8,13 @@ export enum GovernancePowerType { ALL, } +interface Eip712Domain { + name: string; + version: string; + chainId: BigNumber; + verifyingContract: string; +} + export class AaveTokenV3Service { readonly _contract: AaveTokenV3; readonly _contractInterface = AaveTokenV3__factory.createInterface(); @@ -74,4 +81,8 @@ export class AaveTokenV3Service { gasLimit: BigNumber.from('1000000'), }; } + + public async getEip712Domain(): Promise { + return this._contract.functions.eip712Domain(); + } }