Skip to content
This repository was archived by the owner on Jan 6, 2025. It is now read-only.

Commit 845276a

Browse files
authored
Merge pull request #168 from ourzora/blast
feat: deploy blast
2 parents 3370c1b + a867b16 commit 845276a

File tree

6 files changed

+31
-5
lines changed

6 files changed

+31
-5
lines changed

.changeset/small-years-check.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@zoralabs/zora-721-contracts': patch
3+
---
4+
5+
Deploy to Blast mainnet

addresses/81457.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"DROP_METADATA_RENDERER": "0x3E8524770adD176bE381a0529E09f1c6c3502A5a",
3+
"EDITION_METADATA_RENDERER": "0x805E0a08dE70f85C01F7848370d5e3fc08aAd0ea",
4+
"ERC721DROP_IMPL": "0x8Ca5e648C5dFEfcdDa06d627F4b490B719ccFD98",
5+
"ERC721DROP_IMPL_VERSION": 14,
6+
"FACTORY_UPGRADE_GATE": "0xeB29A4e5b84fef428c072debA2444e93c080CE87",
7+
"ZORA_NFT_CREATOR_PROXY": "0x53a85FbD2955EF713AA489Ae0C48523E727a0c07",
8+
"ZORA_NFT_CREATOR_V1_IMPL": "0x76CC78EF3aafD52e716a8e37F3dBbE0C42c51d54"
9+
}
10+

chainConfigs/81457.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"FACTORY_OWNER": "0x5b297B1b87f8De28C9fA7AFe183Db9F9e6295523",
3+
"FACTORY_UPGRADE_GATE_OWNER": "0x5b297B1b87f8De28C9fA7AFe183Db9F9e6295523",
4+
"MINT_FEE_AMOUNT": 777000000000000,
5+
"MINT_FEE_RECIPIENT": "0x72E6394056f9152D3a41e5A25De383c191D16134",
6+
"SUBSCRIPTION_MARKET_FILTER_ADDRESS": "0x0000000000000000000000000000000000000000",
7+
"ZORA_ERC721_TRANSFER_HELPER": "0x0000000000000000000000000000000000000000",
8+
"PROTOCOL_REWARDS": "0x7777777F279eba3d3Ad8F4E708545291A6fDBA8B"
9+
}

script/Deploy.s.sol

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@ contract Deploy is ZoraDropsDeployBase {
5555
console2.log("Factory: ");
5656
console2.log(address(factory));
5757

58-
deployTestContractForVerification(factory);
58+
deployTestContractForVerification(factory, deployer);
5959

60-
// vm.stopBroadcast();
60+
vm.stopBroadcast();
6161

6262
uint256 dropImplementationVersion = dropImplementation.contractVersion();
6363

script/UpgradeERC721DropFactory.s.sol

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,9 @@ contract UpgradeERC721DropFactory is ZoraDropsDeployBase {
7777
console2.log("Factory/Creator IMPL: ");
7878
console2.log(address(newZoraNFTCreatorImpl));
7979

80-
deployTestContractForVerification(newZoraNFTCreatorImpl);
80+
address deployer = vm.envAddress("DEPLOYER");
81+
82+
deployTestContractForVerification(newZoraNFTCreatorImpl, deployer);
8183

8284
vm.stopBroadcast();
8385

script/ZoraDropsDeployBase.sol

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ abstract contract ZoraDropsDeployBase is ScriptDeploymentConfig {
2828

2929
/// @notice Deploy a test contract for etherscan auto-verification
3030
/// @param factory Factory address to use
31-
function deployTestContractForVerification(ZoraNFTCreatorV1 factory) internal {
31+
function deployTestContractForVerification(ZoraNFTCreatorV1 factory, address deployer) internal {
3232
IERC721Drop.SalesConfiguration memory saleConfig;
3333
address newContract = address(
34-
factory.createEdition(unicode"☾*☽", "~", 0, 0, payable(address(0)), address(0), saleConfig, "", DEMO_IPFS_METADATA_FILE, DEMO_IPFS_METADATA_FILE)
34+
factory.createEditionWithReferral(unicode"☾*☽", "~", 0, 0, payable(address(0)), address(0), saleConfig, "", DEMO_IPFS_METADATA_FILE, DEMO_IPFS_METADATA_FILE, deployer)
3535
);
3636
console2.log("Deployed new contract for verification purposes", newContract);
3737
}

0 commit comments

Comments
 (0)