Skip to content
This repository has been archived by the owner on Sep 6, 2023. It is now read-only.

Commit

Permalink
feat: add ens universal resolver contract (#106)
Browse files Browse the repository at this point in the history
  • Loading branch information
tmm authored Feb 10, 2023
1 parent e586fc2 commit 0682a0e
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/shaggy-planes-train.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@wagmi/chains': patch
---

Added ENS Universal Resolver Contract to Mainnet and Goerli.
4 changes: 4 additions & 0 deletions packages/chains/src/goerli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ export const goerli = {
ensRegistry: {
address: '0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e',
},
ensUniversalResolver: {
address: '0x687c30Cc44bFA39A1449e86E172BF002E7b3f0b0',
blockCreated: 7725078,
},
multicall3: {
address: '0xca11bde05977b3631167028862be2a173976ca11',
blockCreated: 6507670,
Expand Down
4 changes: 4 additions & 0 deletions packages/chains/src/mainnet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ export const mainnet = {
ensRegistry: {
address: '0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e',
},
ensUniversalResolver: {
address: '0x74E20Bd2A1fE0cdbe45b9A1d89cb7e0a45b36376',
blockCreated: 16172161,
},
multicall3: {
address: '0xca11bde05977b3631167028862be2a173976ca11',
blockCreated: 14353601,
Expand Down
1 change: 1 addition & 0 deletions packages/chains/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ export type Chain = {
/** Collection of contracts */
contracts?: {
ensRegistry?: Contract
ensUniversalResolver?: Contract
multicall3?: Contract
}
/** Flag for test networks */
Expand Down

0 comments on commit 0682a0e

Please sign in to comment.