From 4d79b49734821860b6eefc5f804fb7b766e8bc48 Mon Sep 17 00:00:00 2001 From: Dan Oved Date: Wed, 1 Nov 2023 15:34:06 -0600 Subject: [PATCH] Deploy zora sepolia (#307) --- .changeset/khaki-shirts-live.md | 5 +++++ packages/1155-contracts/foundry.toml | 1 + .../protocol-deployments/addresses/999999999.json | 13 +++++++++++++ .../chainConfigs/999999999.json | 5 +++++ .../factoryProxy/signatures.json | 3 ++- .../premintExecutorProxy/signatures.json | 3 ++- .../deterministicConfig/upgradeGate/signatures.json | 3 ++- packages/protocol-deployments/foundry.toml | 1 + packages/protocol-deployments/package.json | 2 +- 9 files changed, 32 insertions(+), 4 deletions(-) create mode 100644 .changeset/khaki-shirts-live.md create mode 100644 packages/protocol-deployments/addresses/999999999.json create mode 100644 packages/protocol-deployments/chainConfigs/999999999.json diff --git a/.changeset/khaki-shirts-live.md b/.changeset/khaki-shirts-live.md new file mode 100644 index 000000000..eaf403240 --- /dev/null +++ b/.changeset/khaki-shirts-live.md @@ -0,0 +1,5 @@ +--- +"@zoralabs/protocol-deployments": patch +--- + +Deployed to zora sepolia diff --git a/packages/1155-contracts/foundry.toml b/packages/1155-contracts/foundry.toml index e7f75fb4f..68bd9ccfe 100644 --- a/packages/1155-contracts/foundry.toml +++ b/packages/1155-contracts/foundry.toml @@ -32,5 +32,6 @@ pgn = "https://rpc.publicgoods.network" pgn_sepolia = "https://sepolia.publicgoods.network" zora = "https://rpc.zora.energy" zora_goerli = "https://testnet.rpc.zora.energy" +zora_sepolia = "https://sepolia.rpc.zora.energy" # See more config options https://github.com/foundry-rs/foundry/tree/master/config diff --git a/packages/protocol-deployments/addresses/999999999.json b/packages/protocol-deployments/addresses/999999999.json new file mode 100644 index 000000000..854d2901e --- /dev/null +++ b/packages/protocol-deployments/addresses/999999999.json @@ -0,0 +1,13 @@ +{ + "CONTRACT_1155_IMPL": "0x8f99FcF39C9f0B967daFcb5f85E182eb6677DdaB", + "CONTRACT_1155_IMPL_VERSION": "2.1.1-premint-api.0", + "FACTORY_IMPL": "0x3D6887CC977cAfBf7A6cCd78f587Fb77B97564E6", + "FACTORY_PROXY": "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021", + "FIXED_PRICE_SALE_STRATEGY": "0x6d28164C3CE04A190D5F9f0f8881fc807EAD975A", + "MERKLE_MINT_SALE_STRATEGY": "0x5e5fD4b758076BAD940db0284b711A67E8a3B88c", + "PREMINTER_IMPL": "0xC2EB55e7FAdC2289CFd063b1ec7c566EC2F0DA63", + "PREMINTER_PROXY": "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340", + "REDEEM_MINTER_FACTORY": "0x25cFb6dd9cDE8425e781d6718a29Ccbca3F038d6", + "timestamp": 1698699941, + "commit": "ad16b9b" +} \ No newline at end of file diff --git a/packages/protocol-deployments/chainConfigs/999999999.json b/packages/protocol-deployments/chainConfigs/999999999.json new file mode 100644 index 000000000..f1a82cf48 --- /dev/null +++ b/packages/protocol-deployments/chainConfigs/999999999.json @@ -0,0 +1,5 @@ +{ + "FACTORY_OWNER": "0xdae22ce69Afcb7f4bc37D32E267645722949DE0E", + "MINT_FEE_RECIPIENT": "0xdae22ce69Afcb7f4bc37D32E267645722949DE0E", + "PROTOCOL_REWARDS": "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B" +} diff --git a/packages/protocol-deployments/deterministicConfig/factoryProxy/signatures.json b/packages/protocol-deployments/deterministicConfig/factoryProxy/signatures.json index 64da0382f..0ed7d89a0 100644 --- a/packages/protocol-deployments/deterministicConfig/factoryProxy/signatures.json +++ b/packages/protocol-deployments/deterministicConfig/factoryProxy/signatures.json @@ -9,5 +9,6 @@ "58008": "0xae84314a335c1faca4472d2fede2a730b3bc444cb371c20e0ccff1507bc6918478ac088668371101a39a2a0ecdf6161c5a2a66eeaa12f32d92ea53ffd25665ad1c", "84531": "0x0575f344bd610c1206335dcb5b5041b84b8f93e5f12b733d9c85a875e037744e751f431fb65e4822af8f6bc4444be6be96ffb16a8d9ab6b196ba1d961e7e75921b", "7777777": "0x8ccdbb2700e9fe53111443c4d2262a2a9ae7edc2e550d270c632bd3516b6c86974d81bb2b6c49d5ee751dbbf6ad0d5296f9a8e8213ff58a9a2cb7e6bb1b3a6f81c", - "11155111": "0x13840cf936c6c07dc185b7f1023072bd91d4494786b2f356b1510e32e4e8b50e5e954c60d895c4be500c071d937a786952a8ed514028dacaf75cdf15222140ca1c" + "11155111": "0x13840cf936c6c07dc185b7f1023072bd91d4494786b2f356b1510e32e4e8b50e5e954c60d895c4be500c071d937a786952a8ed514028dacaf75cdf15222140ca1c", + "999999999": "0xc60415837eb148771241cba7c8a2da8f6724bcadf9fbdf6d3bcfa85fe8dca3837bbb935907b1e56e387eed55541a026a4bfeaed34e1ca0037b317dbb7fa05f1c1c" } \ No newline at end of file diff --git a/packages/protocol-deployments/deterministicConfig/premintExecutorProxy/signatures.json b/packages/protocol-deployments/deterministicConfig/premintExecutorProxy/signatures.json index 6cd0903f0..de479940c 100644 --- a/packages/protocol-deployments/deterministicConfig/premintExecutorProxy/signatures.json +++ b/packages/protocol-deployments/deterministicConfig/premintExecutorProxy/signatures.json @@ -6,5 +6,6 @@ "999": "0x0104248b75845b2f24e7988ace4b7057275a4fbe58781be6080ed59b335c8eb263bac72ecd5d42809641b47c630f42e22f72aa5676337f7959caef122f32f2141b", "8453": "0x6c1ff489ce4abc4ed4e66368b926ed1414a54b6685e483e90e8495895a525c273e7f10342d02fbad07ed59da35366e610917a120562ab36b3eb2dfacecc484eb1c", "84531": "0xb489fca7545641f1066e0f04bebe7cf680f7a45c89ab12911cb2ba411e49e26f00a5c799ca5070c2f059ae46371fe612ff4efc3deaf77fe2793a562ed660af0a1c", - "7777777": "0xbfb5d8fad289d2792f2e9f31fb175029ec257e1705bb1c16db805d3ce391466f62f7b3c40941848451c414aecc6197f455496637bb6c895d086fbbf0b6a5a8071c" + "7777777": "0xbfb5d8fad289d2792f2e9f31fb175029ec257e1705bb1c16db805d3ce391466f62f7b3c40941848451c414aecc6197f455496637bb6c895d086fbbf0b6a5a8071c", + "999999999": "0xfc996601e56f03aaa4d0345ffd4a1aa4539f95bd0170e8910a14f5874803b53f282d626a096e7e8625df92c7bdd9814d82dae79b842450a77cc09575cbe607321b" } \ No newline at end of file diff --git a/packages/protocol-deployments/deterministicConfig/upgradeGate/signatures.json b/packages/protocol-deployments/deterministicConfig/upgradeGate/signatures.json index 19f1e0ce0..5bd3c5390 100644 --- a/packages/protocol-deployments/deterministicConfig/upgradeGate/signatures.json +++ b/packages/protocol-deployments/deterministicConfig/upgradeGate/signatures.json @@ -9,5 +9,6 @@ "58008": "0xd1f1e7dcae636306c3b4d20091b930f67feb0a2f7366d254f919bf262d9a309939648eeb313e35f5b6bff64e3fb13e361d5cbb3cc052c59a911a0b2de1c3f0691b", "84531": "0x31afd94b98e5e9de1e449bf8872209b17132b54d5dbdcf533aab88164044969759f1aa349b4c0184c194c4ddcf62f9e1c740e17016f9da89b89e83d5135b34641b", "7777777": "0x520fe50fcbd9749ae74af7f75e6eb1b825bc1c17a8f50238e7f92d210cc4620422f2aeddb7ead68bcfffba6b16965003371b275c88a15161aa3e59809d7d3f4b1b", - "11155111": "0x81240ffa1480e231635c6cd8e9d5af3e7fe4c069022918ba8d431ddcd7d75ea72e3951d7a3c2f73f1c675105091b12d9350c07518207398b7606bf88a9ee03371c" + "11155111": "0x81240ffa1480e231635c6cd8e9d5af3e7fe4c069022918ba8d431ddcd7d75ea72e3951d7a3c2f73f1c675105091b12d9350c07518207398b7606bf88a9ee03371c", + "999999999": "0xb9dcbf1cd935a79b441da544437ecd323e1fc65753700e0a538466b2d350f65d4f9c7a76f45b00c15147420cb8ce422fa3e20454dbdeb33de311e72fc01d4c601b" } \ No newline at end of file diff --git a/packages/protocol-deployments/foundry.toml b/packages/protocol-deployments/foundry.toml index 744269902..b9dee1925 100644 --- a/packages/protocol-deployments/foundry.toml +++ b/packages/protocol-deployments/foundry.toml @@ -35,5 +35,6 @@ pgn = "https://rpc.publicgoods.network" pgn_sepolia = "https://sepolia.publicgoods.network" zora = "https://rpc.zora.energy" zora_goerli = "https://testnet.rpc.zora.energy" +zora_sepolia = "https://sepolia.rpc.zora.energy" # See more config options https://github.com/foundry-rs/foundry/tree/master/config diff --git a/packages/protocol-deployments/package.json b/packages/protocol-deployments/package.json index 841e92da4..41addebc4 100644 --- a/packages/protocol-deployments/package.json +++ b/packages/protocol-deployments/package.json @@ -8,7 +8,7 @@ "type": "module", "scripts": { "dev": "FOUNDRY_PROFILE=dev forge test --watch -vvv", - "test:fork": "FORK_TEST_CHAINS=mainnet,goerli,optimism,optimism_goerli,zora,zora_goerli,base_goerli,base forge test -vvv", + "test:fork": "FORK_TEST_CHAINS=mainnet,goerli,optimism,optimism_goerli,zora,zora_goerli,base_goerli,base,zora_sepolia forge test -vvv", "test": "forge test -vvv", "build": "yarn wagmi && yarn bundle-configs && tsup", "bundle-configs": "node script/bundle-chainConfigs.mjs && yarn prettier",