Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[REG-1333] feat: deploy uns to base sepolia #352

Merged
merged 14 commits into from
Aug 19, 2024
977 changes: 977 additions & 0 deletions .openzeppelin/base-sepolia.json

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## v0.9.25

- Deploy uns to base-sepolia chain
- Add `.udtest` TLD on base chain

## v0.9.24

- Tld config removed from the Minting manager
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,8 @@ Mainnet | MAINNET_INFURA_KEY <br /> MAINNET_UNS_PRIVATE_KEY <br /> ETHERSCAN_API
Sepolia | SEPOLIA_INFURA_KEY <br /> SEPOLIA_UNS_PRIVATE_KEY <br /> ETHERSCAN_API_KEY
Polygon | POLYGON_INFURA_KEY <br /> POLYGON_UNS_PRIVATE_KEY <br /> POLYGONSCAN_API_KEY
Amoy | AMOY_INFURA_KEY <br /> AMOY_UNS_PRIVATE_KEY <br /> POLYGONSCAN_API_KEY
Base | BASE_INFURA_KEY <br /> BASE_UNS_PRIVATE_KEY <br /> BASESCAN_API_KEY
Base sepolia | BASE_INFURA_KEY <br /> BASE_UNS_PRIVATE_KEY <br /> BASESCAN_API_KEY

<div id="backward-incompatibility"></div>

Expand Down
62 changes: 31 additions & 31 deletions dist/ens-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,45 +73,45 @@
"1337": {
"contracts": {
"ENSRegistry": {
"address": "0xc2110388dd54228aE0A834119457edE938BF0B57",
"deploymentBlock": "0x5a",
"legacyAddresses": []
},
"BaseRegistrarImplementation": {
"address": "0x3198fc981626687F4B5BDf0fbEABB0a5E0489C03",
"deploymentBlock": "0x5b",
"legacyAddresses": []
},
"ReverseRegistrar": {
"BaseRegistrarImplementation": {
"address": "0x951c830a0471C04DCB60Ce244DEe38eE4b0609ec",
"deploymentBlock": "0x5c",
"legacyAddresses": []
},
"NameWrapper": {
"address": "0xc86965b7720a64c86263030f7B2902c752084F46",
"deploymentBlock": "0x5f",
"ReverseRegistrar": {
"address": "0x5831f0664Ee58C88DE672946678Fed9a228Eb83B",
"deploymentBlock": "0x5d",
"legacyAddresses": []
},
"DummyOracle": {
"address": "0x4de18142969d365e29189e7093da83ad4FB182df",
"deploymentBlock": "0x61",
"NameWrapper": {
"address": "0xdb787398b6595b4F0a8d6072A8AF69774D967f5F",
"deploymentBlock": "0x60",
"legacyAddresses": []
},
"StablePriceOracle": {
"DummyOracle": {
"address": "0x399Da84d05f49e44338fe949D0eC54dACf7cb7F2",
"deploymentBlock": "0x62",
"legacyAddresses": []
},
"ETHRegistrarController": {
"StablePriceOracle": {
"address": "0xd70Ab4F5767a8fa0e1e261A2f51189316a7C0d86",
"deploymentBlock": "0x63",
"legacyAddresses": []
},
"ETHRegistrarController": {
"address": "0x7a7d9531c7d9D270e7b12e60761546f4e432eEb3",
"deploymentBlock": "0x64",
"legacyAddresses": []
},
"PublicResolver": {
"address": "0x011a1B341147Cc649B17a2B0C5ED06DdE57734A0",
"deploymentBlock": "0x6c",
"address": "0xeA28Fff014B7B8BbB2106E543c38aE089212c0D1",
"deploymentBlock": "0x6d",
"legacyAddresses": [
"0xeA28Fff014B7B8BbB2106E543c38aE089212c0D1"
"0xFC047CFaAb3b3a81D629f5192202756b3103987F"
]
},
"ProxyAdmin": {
Expand All @@ -120,34 +120,34 @@
"legacyAddresses": []
},
"ENSCustody": {
"address": "0xa81BB2e11dB560D9aA3dc00605469B5ca0C19A2d",
"deploymentBlock": "0x83",
"implementation": "0x99127fc7FB6d6ef5eE2d59b9e0F30c8451A0d9ce",
"forwarder": "0xa81BB2e11dB560D9aA3dc00605469B5ca0C19A2d",
"address": "0x6BeD74EA7DfA87F26ad8F64DfCaE0aa46A76Cd1c",
"deploymentBlock": "0x84",
"implementation": "0xa81BB2e11dB560D9aA3dc00605469B5ca0C19A2d",
"forwarder": "0x6BeD74EA7DfA87F26ad8F64DfCaE0aa46A76Cd1c",
"legacyAddresses": []
},
"LegacyENSRegistry": {
"address": "0x5481dDE809984c7F6363269F6AbE54B6F6A47a1c",
"deploymentBlock": "0x6f",
"address": "0xcA8C131DC1f9f62EE54012b10BCA2DA71B8d42e7",
"deploymentBlock": "0x70",
"legacyAddresses": []
},
"LegacyETHRegistrarController": {
"address": "0x7a7d9531c7d9D270e7b12e60761546f4e432eEb3",
"deploymentBlock": "0x64",
"address": "0x6D264795bBa755974bBBB84Ea5E66eA893BbF606",
"deploymentBlock": "0x65",
"legacyAddresses": []
},
"DNSSECImpl": {
"address": "0x05c96e6cb7E29087FD8c42666fBcF6f6ccfa57F1",
"deploymentBlock": "0x76"
"address": "0x05ade0dd3865F9Ee2F74323b19504bd07F39329C",
"deploymentBlock": "0x77"
},
"DNSRegistrar": {
"address": "0x2f8cCe2f451D0F71708dC28ecafb0CFf0C2a8d39",
"deploymentBlock": "0x7d"
},
"Root": {
"address": "0xD16B320155789DB85e80e1ba25bf3123CB9bC8BD",
"deploymentBlock": "0x7e"
},
"Root": {
"address": "0x56e87da626B8D91d93f512064400470C7Eb6f24f",
"deploymentBlock": "0x7f"
},
"LegacyPublicResolver": {
"address": "0x4fbf7B2f171336958BE5D15FF762a5CfF5363568",
"deploymentBlock": "0x3b"
Expand Down
2 changes: 1 addition & 1 deletion dist/hardhat.config.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 24 additions & 0 deletions dist/hardhat.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,18 @@ const config = {
accounts: process.env.POLYGON_UNS_PRIVATE_KEY ? [process.env.POLYGON_UNS_PRIVATE_KEY] : undefined,
loggingEnabled: true,
},
base: {
url: `https://base-mainnet.infura.io/v3/${process.env.BASE_INFURA_KEY}`,
chainId: 8453,
accounts: process.env.BASE_UNS_PRIVATE_KEY ? [process.env.BASE_UNS_PRIVATE_KEY] : undefined,
loggingEnabled: true,
},
baseSepolia: {
url: `https://base-sepolia.infura.io/v3/${process.env.BASE_INFURA_KEY}`,
chainId: 84532,
accounts: process.env.BASE_UNS_PRIVATE_KEY ? [process.env.BASE_UNS_PRIVATE_KEY] : undefined,
loggingEnabled: true,
},
},
typechain: {
outDir: 'types',
Expand All @@ -145,6 +157,8 @@ const config = {
sepolia: process.env.ETHERSCAN_API_KEY,
polygon: process.env.POLYGONSCAN_API_KEY,
polygonAmoy: process.env.POLYGONSCAN_API_KEY,
base: process.env.BASESCAN_API_KEY,
baseSepolia: process.env.BASESCAN_API_KEY,
}),
customChains: [
{
Expand All @@ -155,6 +169,14 @@ const config = {
browserURL: 'https://amoy.polygonscan.com/',
},
},
{
network: 'baseSepolia',
chainId: 84532,
urls: {
apiURL: 'https://api-sepolia.basescan.org/api',
browserURL: 'https://sepolia.basescan.org/',
},
},
],
},
abiExporter: {
Expand All @@ -173,12 +195,14 @@ const config = {
amoy: ['0x31df70766e92c0a69ada7ecb6dc1634d64748be2'],
mainnet: ['0x5465c72ce00196550d6f89c40830f6bc81599f4f'],
polygon: ['0x58cb2542a5b3b0999d41de59ad03331bbfb4dda3'],
baseSepolia: ['0x1eE5eee9D19A8923443FfC57ED2754f02cef5959'],
},
multisig: {
mainnet: '0x6bEca92600be24179ae70A430AEF4aE632fddDc8',
polygon: '0xC8E1B5c41c42ad1cE8336714cA2b2f2588F0a337',
sepolia: '0x1197C09C38d460584473e8837D79c14343f24890',
amoy: '0x458adB6cce7D9984b74bC83c6F71Fbd1fd16085e',
baseSepolia: '0x22fDBFdD0FE93865F0213E5437931223B2E3F198',
},
},
defender: {
Expand Down
2 changes: 1 addition & 1 deletion dist/sandbox/state.json

Large diffs are not rendered by default.

131 changes: 127 additions & 4 deletions dist/uns-config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.9.7",
"version": "0.9.8",
"networks": {
"1": {
"contracts": {
Expand Down Expand Up @@ -359,9 +359,9 @@
"deploymentBlock": "0x0f"
},
"DotCoinBurner": {
"address": "0x01C6B02809c2375B5fcF13c79c4c2De22788953c",
"address": "0xc2110388dd54228aE0A834119457edE938BF0B57",
"legacyAddresses": [],
"deploymentBlock": "0x59"
"deploymentBlock": "0x5a"
},
"ZilliqaRecover": {
"address": "0xf6b7c221342BC966f4396790895530bF4E9799eB",
Expand Down Expand Up @@ -505,7 +505,130 @@
},
"USDC": {
"address": "0x6694CfD96d7fD80041062895B49f768081CA96f2",
"deploymentBlock": "0x7c62a5"
"deploymentBlock": "0x0"
}
}
},
"84532": {
"contracts": {
"CNSRegistry": {
"address": "0x0000000000000000000000000000000000000000",
"legacyAddresses": [],
"deploymentBlock": "0x0",
"forwarder": "0x0000000000000000000000000000000000000000"
},
"SignatureController": {
"address": "0x0000000000000000000000000000000000000000",
"legacyAddresses": [],
"deploymentBlock": "0x0"
},
"MintingController": {
"address": "0x0000000000000000000000000000000000000000",
"legacyAddresses": [],
"deploymentBlock": "0x0",
"deprecated": true
},
"WhitelistedMinter": {
"address": "0x0000000000000000000000000000000000000000",
"legacyAddresses": [],
"deploymentBlock": "0x0",
"deprecated": true
},
"URIPrefixController": {
"address": "0x0000000000000000000000000000000000000000",
"legacyAddresses": [],
"deploymentBlock": "0x0",
"deprecated": true
},
"DomainZoneController": {
"address": "0x0000000000000000000000000000000000000000",
"legacyAddresses": [],
"deploymentBlock": "0x0",
"deprecated": true
},
"Resolver": {
"address": "0x0000000000000000000000000000000000000000",
"legacyAddresses": [],
"deploymentBlock": "0x0",
"forwarder": "0x0000000000000000000000000000000000000000"
},
"TwitterValidationOperator": {
"address": "0x0000000000000000000000000000000000000000",
"legacyAddresses": [],
"deploymentBlock": "0x0"
},
"FreeMinter": {
"address": "0x0000000000000000000000000000000000000000",
"legacyAddresses": [],
"deploymentBlock": "0x0",
"deprecated": true
},
"MintableERC721Predicate": {
"address": "0x0000000000000000000000000000000000000000",
"legacyAddresses": [],
"deploymentBlock": "0x0"
},
"RootChainManager": {
"address": "0x0000000000000000000000000000000000000000",
"legacyAddresses": [],
"deploymentBlock": "0x0"
},
"Seaport": {
"address": "0x0000000000000068F116a894984e2DB1123eB395",
"deploymentBlock": "0x0",
"legacyAddresses": []
},
"ProxyAdmin": {
"address": "0xd57f8F7be4BaE8f2bf24792Fec2Ca06513c83c1D",
"legacyAddresses": [],
"deploymentBlock": "0xcbf182"
},
"UNSRegistry": {
"address": "0xEc353DCE22C2B97814608A6b2e44889506A4Aabf",
"deploymentBlock": "0xcbf184",
"implementation": "0xD0AB7f2490736c60575123aF2Ce0D2D6b13D5490",
"forwarder": "0xEc353DCE22C2B97814608A6b2e44889506A4Aabf",
"legacyAddresses": []
},
"MintingManager": {
"address": "0x050Ceb85167D510558E793a483b479f2917B4b9b",
"deploymentBlock": "0xcbf18d",
"implementation": "0x6B5F9068Aa94eFf728585665244cb5AB8735E71A",
"forwarder": "0xEa5AE30C714ccd63Fca6D791Eea1E26CB1be0c1d",
"legacyAddresses": []
},
"UNSOperator": {
"address": "0x99d55A02f5d9c76d31C6Ff57cc36A7862D5E1029",
"deploymentBlock": "0xcbf193",
"implementation": "0x3a2Ad968667a8214BEAe6AfA45192DD24109a3e7",
"legacyAddresses": []
},
"ProxyReader": {
"address": "0x8Fc4DBA4A6F5AE8992E8f9B64D6d995BD3AfE2c4",
"deploymentBlock": "0xcbf1a9",
"implementation": "0x37e22Fd398B8c95128f5235e991682cF6e9F5d9c",
"legacyAddresses": []
},
"SeaportProxyBuyer": {
"address": "0x78c4B414e1AbdF0dE267deDa01DFFd4cd0817A16",
"deploymentBlock": "0xcbf1b5",
"implementation": "0x6C95A12CcEA79971C51b16f707D8CdDd7d1b5033",
"forwarder": "0x78c4B414e1AbdF0dE267deDa01DFFd4cd0817A16",
"legacyAddresses": []
},
"DotCoinBurner": {
"address": "0x0000000000000000000000000000000000000000",
"legacyAddresses": [],
"deploymentBlock": "0x0"
},
"ZilliqaRecover": {
"address": "0x0000000000000000000000000000000000000000",
"legacyAddresses": [],
"deploymentBlock": "0x0"
},
"USDC": {
"address": "0x5dEaC602762362FE5f135FA5904351916053cF70",
"deploymentBlock": "0x0"
}
}
},
Expand Down
Loading
Loading