From dbb1d376d6b21191f649a62e9f864712e68c9ca5 Mon Sep 17 00:00:00 2001 From: neokry Date: Mon, 15 Jan 2024 15:50:33 -0800 Subject: [PATCH] Add sepolia deployments --- addresses/11155111.json | 10 ++++++++++ addresses/11155420.json | 10 ++++++++++ addresses/84532.json | 10 ++++++++++ addresses/999999999.json | 10 ++++++++++ deploys/11155111.txt | 7 +++++++ deploys/11155420.txt | 7 +++++++ deploys/84532.txt | 7 +++++++ deploys/999999999.txt | 7 +++++++ package.json | 2 ++ script/DeployContracts.s.sol | 2 +- 10 files changed, 71 insertions(+), 1 deletion(-) create mode 100644 addresses/11155111.json create mode 100644 addresses/11155420.json create mode 100644 addresses/84532.json create mode 100644 addresses/999999999.json create mode 100644 deploys/11155111.txt create mode 100644 deploys/11155420.txt create mode 100644 deploys/84532.txt create mode 100644 deploys/999999999.txt diff --git a/addresses/11155111.json b/addresses/11155111.json new file mode 100644 index 0000000..c70817b --- /dev/null +++ b/addresses/11155111.json @@ -0,0 +1,10 @@ +{ + "Manager": "0x0ca90a96ac58f19b1f69f67103245c9263bc4bfc", + "ManagerImpl": "0x30bc8ae9bfe8a4132e4bb3393e0cbe439557fd68", + "WETH": "0x7b79995e5f793a07bc00c21412e50ecae098e7f9", + "Auction": "0xee970f19ed4960234e75ee8d3a42c98ca65b5c34", + "Token": "0x5652d5fc630d3334a961b0b6be876e9f94899baa", + "MetadataRenderer": "0xec23ce6407ef841adf52e7232d3df5a44cb38041", + "Treasury": "0x5daabe9382158c3f133b360a5f0b46ca5a7f6e86", + "Governor": "0xf896daa9e7cdca767202d2f9699e7a30b22f6087" +} diff --git a/addresses/11155420.json b/addresses/11155420.json new file mode 100644 index 0000000..b2a1c24 --- /dev/null +++ b/addresses/11155420.json @@ -0,0 +1,10 @@ +{ + "Manager": "0x1004e43b540af4dfde2737c29893716817b0a1d7", + "ManagerImpl": "0xf888b57b0cf99052dcd55d021f8bd0c916374a84", + "WETH": "0x7b79995e5f793a07bc00c21412e50ecae098e7f9", + "Auction": "0xd91e5a7f72b41c1eb443110299c4961795b6c69c", + "Token": "0x424f1c2b85bcec187fc22fba2b307e31950992bc", + "MetadataRenderer": "0x5652d5fc630d3334a961b0b6be876e9f94899baa", + "Treasury": "0x7abe363c6dd3a4dec6a3311681723f35740f69e7", + "Governor": "0x1e57cad7c22042bd765011d0f2eb36606fe12c3f" +} diff --git a/addresses/84532.json b/addresses/84532.json new file mode 100644 index 0000000..bfd15b5 --- /dev/null +++ b/addresses/84532.json @@ -0,0 +1,10 @@ +{ + "Manager": "0x550c326d688fd51ae65ac6a2d48749e631023a03", + "ManagerImpl": "0xa644ba2dd0740acd6fe6f9a031c6b7b2ce466299", + "WETH": "0x7b79995e5f793a07bc00c21412e50ecae098e7f9", + "Auction": "0x3fb5d8e80835d07056c12757a183ab659b1a44bf", + "Token": "0x3cc6ba057f394b00ac1ff48707d5c04de29504c6", + "MetadataRenderer": "0x0b3a22e5c5824d9d227986f76190f504c0906ad6", + "Treasury": "0x047b1e00eb4726afc57d559f851146e84e31d1dc", + "Governor": "0x2eff3083bff979c349c59c14ce3945afea023927" +} diff --git a/addresses/999999999.json b/addresses/999999999.json new file mode 100644 index 0000000..bfd15b5 --- /dev/null +++ b/addresses/999999999.json @@ -0,0 +1,10 @@ +{ + "Manager": "0x550c326d688fd51ae65ac6a2d48749e631023a03", + "ManagerImpl": "0xa644ba2dd0740acd6fe6f9a031c6b7b2ce466299", + "WETH": "0x7b79995e5f793a07bc00c21412e50ecae098e7f9", + "Auction": "0x3fb5d8e80835d07056c12757a183ab659b1a44bf", + "Token": "0x3cc6ba057f394b00ac1ff48707d5c04de29504c6", + "MetadataRenderer": "0x0b3a22e5c5824d9d227986f76190f504c0906ad6", + "Treasury": "0x047b1e00eb4726afc57d559f851146e84e31d1dc", + "Governor": "0x2eff3083bff979c349c59c14ce3945afea023927" +} diff --git a/deploys/11155111.txt b/deploys/11155111.txt new file mode 100644 index 0000000..3860b15 --- /dev/null +++ b/deploys/11155111.txt @@ -0,0 +1,7 @@ +Manager: 0x0ca90a96ac58f19b1f69f67103245c9263bc4bfc +Token implementation: 0x5652d5fc630d3334a961b0b6be876e9f94899baa +Metadata Renderer implementation: 0xec23ce6407ef841adf52e7232d3df5a44cb38041 +Auction implementation: 0xee970f19ed4960234e75ee8d3a42c98ca65b5c34 +Treasury implementation: 0x5daabe9382158c3f133b360a5f0b46ca5a7f6e86 +Governor implementation: 0xf896daa9e7cdca767202d2f9699e7a30b22f6087 +Manager implementation: 0x30bc8ae9bfe8a4132e4bb3393e0cbe439557fd68 diff --git a/deploys/11155420.txt b/deploys/11155420.txt new file mode 100644 index 0000000..ec09bb8 --- /dev/null +++ b/deploys/11155420.txt @@ -0,0 +1,7 @@ +Manager: 0x1004e43b540af4dfde2737c29893716817b0a1d7 +Token implementation: 0x424f1c2b85bcec187fc22fba2b307e31950992bc +Metadata Renderer implementation: 0xda804d6e0da967e2a7359dd0777898f577a0b995 +Auction implementation: 0xd91e5a7f72b41c1eb443110299c4961795b6c69c +Treasury implementation: 0x7abe363c6dd3a4dec6a3311681723f35740f69e7 +Governor implementation: 0x1e57cad7c22042bd765011d0f2eb36606fe12c3f +Manager implementation: 0xf888b57b0cf99052dcd55d021f8bd0c916374a84 diff --git a/deploys/84532.txt b/deploys/84532.txt new file mode 100644 index 0000000..ac2ba90 --- /dev/null +++ b/deploys/84532.txt @@ -0,0 +1,7 @@ +Manager: 0x550c326d688fd51ae65ac6a2d48749e631023a03 +Token implementation: 0x3cc6ba057f394b00ac1ff48707d5c04de29504c6 +Metadata Renderer implementation: 0x0b3a22e5c5824d9d227986f76190f504c0906ad6 +Auction implementation: 0x3fb5d8e80835d07056c12757a183ab659b1a44bf +Treasury implementation: 0x047b1e00eb4726afc57d559f851146e84e31d1dc +Governor implementation: 0x2eff3083bff979c349c59c14ce3945afea023927 +Manager implementation: 0xa644ba2dd0740acd6fe6f9a031c6b7b2ce466299 diff --git a/deploys/999999999.txt b/deploys/999999999.txt new file mode 100644 index 0000000..ac2ba90 --- /dev/null +++ b/deploys/999999999.txt @@ -0,0 +1,7 @@ +Manager: 0x550c326d688fd51ae65ac6a2d48749e631023a03 +Token implementation: 0x3cc6ba057f394b00ac1ff48707d5c04de29504c6 +Metadata Renderer implementation: 0x0b3a22e5c5824d9d227986f76190f504c0906ad6 +Auction implementation: 0x3fb5d8e80835d07056c12757a183ab659b1a44bf +Treasury implementation: 0x047b1e00eb4726afc57d559f851146e84e31d1dc +Governor implementation: 0x2eff3083bff979c349c59c14ce3945afea023927 +Manager implementation: 0xa644ba2dd0740acd6fe6f9a031c6b7b2ce466299 diff --git a/package.json b/package.json index ce69744..b50dffd 100644 --- a/package.json +++ b/package.json @@ -35,6 +35,8 @@ "scripts": { "build": "forge build && rm -rf ./dist/artifacts/*/*.metadata.json", "clean": "forge clean && rm -rf ./dist", + "deploy": "source .env && forge script script/DeployContracts.s.sol:DeployContracts --private-key $PRIVATE_KEY --rpc-url $RPC_URL --broadcast --verify --etherscan-api-key $ETHERSCAN_API_KEY", + "deploy:zora": "source .env && forge script script/DeployContracts.s.sol:DeployContracts --private-key $PRIVATE_KEY --rpc-url $RPC_URL --broadcast --verify --verifier blockscout --verifier-url https://sepolia.explorer.zora.energy/api? -vvvv", "prepublishOnly": "rm -rf ./dist && forge clean && mkdir -p ./dist/artifacts && yarn build && cp -R src dist && cp -R addresses dist", "test": "echo 'temporarily skipping metadata tests, remove this when fixed' && forge test --no-match-test 'WithAddress' -vvv", "typechain": "typechain --target=ethers-v5 'dist/artifacts/*/*.json' --out-dir dist/typechain", diff --git a/script/DeployContracts.s.sol b/script/DeployContracts.s.sol index bfedeed..64118d6 100644 --- a/script/DeployContracts.s.sol +++ b/script/DeployContracts.s.sol @@ -60,7 +60,7 @@ contract DeployContracts is Script { address managerImpl = address(new Manager(tokenImpl, metadataRendererImpl, auctionImpl, treasuryImpl, governorImpl)); // vm.prank(owner); - // manager.upgradeTo(managerImpl); + manager.upgradeTo(managerImpl); vm.stopBroadcast();