Skip to content

Commit

Permalink
Merge pull request #146 from ensdomains/chore/sepolia-addresses
Browse files Browse the repository at this point in the history
chore: sepolia addresses + subgraph
  • Loading branch information
TateB authored Aug 9, 2023
2 parents c93759f + a751272 commit d7a3d9e
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
8 changes: 8 additions & 0 deletions packages/ensjs/src/contracts/getContractAddress.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ const addresses: Record<
BaseRegistrarImplementation: {
'1': '0x57f1887a8bf19b14fc0df6fd9b2acc9af147ea85',
'5': '0x57f1887a8bf19b14fc0df6fd9b2acc9af147ea85',
'11155111': '0x57f1887a8bf19b14fc0df6fd9b2acc9af147ea85',
},
DNSRegistrar: {
'1': '0x58774Bb8acD458A640aF0B88238369A167546ef2',
Expand All @@ -16,31 +17,38 @@ const addresses: Record<
ETHRegistrarController: {
'1': '0x253553366Da8546fC250F225fe3d25d0C782303b',
'5': '0xCc5e7dB10E65EED1BBD105359e7268aa660f6734',
'11155111': '0xFED6a969AaA60E4961FCD3EBF1A2e8913ac65B72',
},
Multicall: '0xcA11bde05977b3631167028862bE2a173976CA11',
NameWrapper: {
'1': '0xD4416b13d2b3a9aBae7AcD5D6C2BbDBE25686401',
'5': '0x114D4603199df73e7D157787f8778E21fCd13066',
'11155111': '0x0635513f179D50A207757E05759CbD106d7dFcE8',
},
PublicResolver: {
'1': '0x231b0Ee14048e9dCcD1d247744d114a4EB5E8E63',
'5': '0xd7a4F6473f32aC2Af804B3686AE8F1932bC35750',
'11155111': '0x8FADE66B79cC9f707aB26799354482EB93a5B7dD',
},
ENSRegistry: {
'1': '0x00000000000c2e074ec69a0dfb2997ba6c7d2e1e',
'5': '0x00000000000c2e074ec69a0dfb2997ba6c7d2e1e',
'11155111': '0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e',
},
ReverseRegistrar: {
'1': '0xa58E81fe9b61B5c3fE2AFD33CF304c454AbFc7Cb',
'5': '0x4f7A657451358a22dc397d5eE7981FfC526cd856',
'11155111': '0xA0a1AbcDAe1a2a4A2EF8e9113Ff0e02DD81DC0C6',
},
UniversalResolver: {
'1': '0xc0497e381f536be9ce14b0dd3817cbcae57d2f62',
'5': '0x56522d00c410a43bffdf00a9a569489297385790',
'11155111': '0x21B000Fd62a880b2125A61e36a284BB757b76025',
},
BulkRenewal: {
'1': '0xa12159e5131b1eEf6B4857EEE3e1954744b5033A',
'5': '0xeA64C81d0d718620daBC02D61f3B255C641f475F',
'11155111': '0x4EF77b90762Eddb33C8Eba5B5a19558DaE53D7a1',
},
/* eslint-enable @typescript-eslint/naming-convention */
}
Expand Down
2 changes: 1 addition & 1 deletion packages/ensjs/src/contracts/types.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export type SupportedNetworkId = '1' | '3' | '4' | '5' | '1337'
export type SupportedNetworkId = '1' | '5' | '11155111' | '1337'

export type ContractName =
| 'BaseRegistrarImplementation'
Expand Down
4 changes: 2 additions & 2 deletions packages/ensjs/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,9 @@ interface WriteFunction<F extends (...args: any) => any> extends Function {
/* eslint-disable @typescript-eslint/naming-convention */
export const graphURIEndpoints: Record<string, string> = {
1: 'https://api.thegraph.com/subgraphs/name/ensdomains/ens',
3: 'https://api.thegraph.com/subgraphs/name/ensdomains/ensropsten',
4: 'https://api.thegraph.com/subgraphs/name/ensdomains/ensrinkeby',
5: 'https://api.thegraph.com/subgraphs/name/ensdomains/ensgoerli',
11155111:
'https://api.studio.thegraph.com/query/49574/enssepolia/version/latest',
}
/* eslint-enable @typescript-eslint/naming-convention */

Expand Down

0 comments on commit d7a3d9e

Please sign in to comment.