diff --git a/config/addresses.template.ts b/config/addresses.template.ts index 64185ac7..c336e32c 100644 --- a/config/addresses.template.ts +++ b/config/addresses.template.ts @@ -18,6 +18,7 @@ export class Addresses { subgraphNFT: string l1GraphTokenGateway: string l2GraphTokenGateway: string + ethereumDIDRegistry: string } // AS compiler does not like const @@ -40,4 +41,5 @@ export let addresses: Addresses = { subgraphNFT: '{{subgraphNFT}}', l1GraphTokenGateway: '{{l1GraphTokenGateway}}', l2GraphTokenGateway: '{{l2GraphTokenGateway}}', + ethereumDIDRegistry: '{{ethereumDIDRegistry}}', } diff --git a/config/arbitrumGoerliAddressScript.ts b/config/arbitrumGoerliAddressScript.ts index 38d521bd..e7a74f68 100644 --- a/config/arbitrumGoerliAddressScript.ts +++ b/config/arbitrumGoerliAddressScript.ts @@ -27,6 +27,7 @@ export let addresses: Addresses = { subgraphNFT: '{{arbgor.SubgraphNFT.address}}', l1GraphTokenGateway: '', l2GraphTokenGateway: '{{arbgor.L2GraphTokenGateway.address}}', + ethereumDIDRegistry: '{{arbgor.IEthereumDIDRegistry.address}}', } const main = (): void => { diff --git a/config/goerliAddressScript.ts b/config/goerliAddressScript.ts index c9cbc7dc..7f42f753 100644 --- a/config/goerliAddressScript.ts +++ b/config/goerliAddressScript.ts @@ -27,6 +27,7 @@ export let addresses: Addresses = { subgraphNFT: '{{goerli.SubgraphNFT.address}}', l1GraphTokenGateway: '{{goerli.L1GraphTokenGateway.address}}', l2GraphTokenGateway: '', + ethereumDIDRegistry: '{{goerli.IEthereumDIDRegistry.address}}', } const main = (): void => { diff --git a/config/mainnetAddressScript.ts b/config/mainnetAddressScript.ts index eafc062a..10f88c5c 100644 --- a/config/mainnetAddressScript.ts +++ b/config/mainnetAddressScript.ts @@ -27,6 +27,7 @@ export let addresses: Addresses = { subgraphNFT: '{{mainnet.SubgraphNFT.address}}', l1GraphTokenGateway: '{{mainnet.L1GraphTokenGateway.address}}', l2GraphTokenGateway: '', + ethereumDIDRegistry: '{{mainnet.IEthereumDIDRegistry.address}}', } const main = (): void => { diff --git a/config/mainnetArbitrumAddressScript.ts b/config/mainnetArbitrumAddressScript.ts index 8f4756f8..eb948944 100644 --- a/config/mainnetArbitrumAddressScript.ts +++ b/config/mainnetArbitrumAddressScript.ts @@ -27,6 +27,7 @@ export let addresses: Addresses = { subgraphNFT: '{{arbitrum.SubgraphNFT.address}}', l1GraphTokenGateway: '', l2GraphTokenGateway: '{{arbitrum.L2GraphTokenGateway.address}}', + ethereumDIDRegistry: '{{arbitrum.IEthereumDIDRegistry.address}}', } const main = (): void => { diff --git a/package.json b/package.json index ce789cf9..38d5b2ea 100644 --- a/package.json +++ b/package.json @@ -48,7 +48,7 @@ "test": "graph test -v 0.2.0" }, "devDependencies": { - "@graphprotocol/contracts": "2.1.0", + "@graphprotocol/contracts": "2.2.0", "@graphprotocol/graph-cli": "^0.25.1", "@graphprotocol/graph-ts": "^0.24.1", "@types/node": "^14.0.13", diff --git a/yarn.lock b/yarn.lock index 3b36ee18..d3a5fa1b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -387,10 +387,10 @@ "@ethersproject/properties" "^5.7.0" "@ethersproject/strings" "^5.7.0" -"@graphprotocol/contracts@2.1.0": - version "2.1.0" - resolved "https://registry.yarnpkg.com/@graphprotocol/contracts/-/contracts-2.1.0.tgz#c2e9131973af231e3f6f84ada31baebccc77ed48" - integrity sha512-SeymJCUxBp488K/KNi77EKvrkPT0t/7rERGp8zFkmf5KByerjihhE9Ty9oXJAU9RzbUpxsU0JkPBSmiw9/2DYQ== +"@graphprotocol/contracts@2.2.0": + version "2.2.0" + resolved "https://registry.yarnpkg.com/@graphprotocol/contracts/-/contracts-2.2.0.tgz#19353a59237bd0769b73770da1fe15d4015ba9e3" + integrity sha512-jC//c6fYjKoUzAVsagUnrBe4rWdMv+FSxu0FMoyNB3wPVrI7qzly1LFB785wteEtHQzWnJPE6+EUMOlxXGMgsA== dependencies: console-table-printer "^2.11.1" ethers "^5.6.0"