Skip to content

Commit

Permalink
Merge pull request #1507 from ArtBlocks/04-18-engine-deployments
Browse files Browse the repository at this point in the history
4-18 Engine Deployments
  • Loading branch information
alecdalelio committed Apr 22, 2024
2 parents 9b6e3ca + 14bc700 commit 5051f2c
Show file tree
Hide file tree
Showing 4 changed files with 248 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,81 @@ Date: 2023-04-13T23:33:50.422Z

---


# Deployment

Date: 2024-04-18T20:33:42.130Z

## **Network:** sepolia

## **Environment:** staging

**Deployment Input File:** `deployments/engine/V3/partners/jeff-davis-flex/deployment-config.sepolia-staging.ts`

**GenArt721CoreV3_Engine_Flex:** https://sepolia.etherscan.io/address/0x2eBCd14e4A65e9F1FB4aF06d904A8861891db8B1#code

**AdminACLV1:** https://sepolia.etherscan.io/address/0x4c201F6750BC592BA696F9C0B39B2463b4be0048#code

**Core Registry:** https://sepolia.etherscan.io/address/0xdAe755c2944Ec125a0D8D5CB082c22837593441a#code

**Shared Minter Filter:** https://sepolia.etherscan.io/address/0xa07f47c30C262adcC263A4D44595972c50e04db7#code

**Minters:** All globally allowed minters on the shared minter filter contract may be used to mint tokens on the core contract.

**Metadata**

- **Starting Project Id:** 0
- **Token Name:** Davis Editions
- **Token Ticker:** DE
- **Auto Approve Artist Split Proposals:** false
- **Render Provider Address, Primary Sales:** deployer
- **Platform Provider Address, Primary Sales:** 0x1D627Fe53e605f37ec5F6a58EBcE1f3A39882D68
- **BytecodeStorageReader Library:** 0x7497909537cE00fDda93c12d5083D8647C593c67

**Other**

- **Add initial project?:** false
- **Add initial token?:** false
- **Image Bucket:** davis-editions-sepolia

---


# Deployment

Date: 2024-04-18T20:50:24.323Z

## **Network:** mainnet

## **Environment:** mainnet

**Deployment Input File:** `deployments/engine/V3/partners/jeff-davis-flex/deployment-config.mainnet.ts`

**GenArt721CoreV3_Engine_Flex:** https://etherscan.io/address/0x5306e34B7437200E0189CbC5F80B0990E49DCBE7#code

**AdminACLV1:** https://etherscan.io/address/0x732C060EbF93cfF0314CABCCc1BF04904B53E9fB#code

**Core Registry:** https://etherscan.io/address/0x2eE7B9bB2E038bE7323A119701A191c030A61ec6#code

**Shared Minter Filter:** https://etherscan.io/address/0xa2ccfE293bc2CDD78D8166a82D1e18cD2148122b#code

**Minters:** All globally allowed minters on the shared minter filter contract may be used to mint tokens on the core contract.

**Metadata**

- **Starting Project Id:** 0
- **Token Name:** Davis Editions
- **Token Ticker:** DE
- **Auto Approve Artist Split Proposals:** false
- **Render Provider Address, Primary Sales:** 0x036F3D03C1ccdde1878F01607922EA12110Ee9Bd
- **Platform Provider Address, Primary Sales:** 0x1D627Fe53e605f37ec5F6a58EBcE1f3A39882D68
- **BytecodeStorageReader Library:** 0xf0585dF582A0ad119F1616FB82f3b449a98EeCd5

**Other**

- **Add initial project?:** false
- **Add initial token?:** false
- **Image Bucket:** davis-editions-mainnet

---

Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,99 @@ Contracts metadata upsert input:
Successfully upserted 1 contract
[ACTION] provider primary and secondary sales payment addresses remain as deployer addresses: 0xB8559AF91377e5BaB052A4E9a5088cB65a9a4d63. Update later as needed.
[ACTION] AdminACL's superAdmin address is 0x7d42611012FDbE366Bf4A0481FC0E1aBf15E245A, don't forget to update if requred.
----------------------------------------
[INFO] Datetime of deployment: 2024-04-18T20:31:43.515Z
[INFO] Deployment configuration file: /Users/lindsaygilbert/Documents/Projects/artblocks-contracts/packages/contracts/deployments/engine/V3/partners/jeff-davis-flex/deployment-config.sepolia-staging.ts
[INFO] Deploying to network: sepolia
[INFO] Deploying to environment: staging
[INFO] New Admin ACL AdminACLV1 deployed at address: 0x4c201F6750BC592BA696F9C0B39B2463b4be0048
[INFO] Using shared Randomizer at 0x28f2D3805652FB5d359486dFfb7D08320D403240
[INFO] Core GenArt721CoreV3_Engine_Flex deployed at 0x2eBCd14e4A65e9F1FB4aF06d904A8861891db8B1
[INFO] Registered core contract 0x2eBCd14e4A65e9F1FB4aF06d904A8861891db8B1 on core registry 0xdAe755c2944Ec125a0D8D5CB082c22837593441a
[INFO] Updated the Minter Filter on the Core contract to 0xa07f47c30C262adcC263A4D44595972c50e04db7.
[INFO] Skipping adding placeholder initial project.
[INFO] Skipping update of render provider split percentage primary, since it is already equal to the value of 10.
[INFO] Skipping update of render provider split percentage secondary, since it is already equal to the value of 250.
[INFO] Transferred superAdmin role on adminACL to 0x1D627Fe53e605f37ec5F6a58EBcE1f3A39882D68.
[INFO] Verifying core contract contract deployment...
The contract 0x2eBCd14e4A65e9F1FB4aF06d904A8861891db8B1 has already been verified on Etherscan.
https://sepolia.etherscan.io/address/0x2eBCd14e4A65e9F1FB4aF06d904A8861891db8B1#code
[INFO] Core contract verified on Etherscan at 0x2eBCd14e4A65e9F1FB4aF06d904A8861891db8B1}
[INFO] Verifying AdminACL contract deployment...
Successfully submitted source code for contract
contracts/AdminACLV1.sol:AdminACLV1 at 0x4c201F6750BC592BA696F9C0B39B2463b4be0048
for verification on the block explorer. Waiting for verification result...

Successfully verified contract AdminACLV1 on the block explorer.
https://sepolia.etherscan.io/address/0x4c201F6750BC592BA696F9C0B39B2463b4be0048#code

[INFO] AdminACL contract verified on Etherscan at 0x4c201F6750BC592BA696F9C0B39B2463b4be0048
Created s3 bucket for https://davis-editions-sepolia.s3.amazonaws.com
[INFO] Created image bucket davis-editions-sepolia
[INFO] Deployment details written to /Users/lindsaygilbert/Documents/Projects/artblocks-contracts/packages/contracts/deployments/engine/V3/partners/jeff-davis-flex/DEPLOYMENTS.md
Upserting 1 contract...
Contracts metadata upsert input:
{
"address": "0x2ebcd14e4a65e9f1fb4af06d904a8861891db8b1",
"name": "Davis Editions",
"bucket_name": "davis-editions-sepolia",
"default_vertical_name": "flex"
}
Successfully upserted 1 contract
[ACTION] provider primary and secondary sales payment addresses remain as deployer addresses: 0x00df4E8d293d57718aac0B18cBfBE128c5d484Ef. Update later as needed.
[ACTION] AdminACL's superAdmin address is 0x1D627Fe53e605f37ec5F6a58EBcE1f3A39882D68, don't forget to update if requred.
----------------------------------------
[INFO] Datetime of deployment: 2024-04-18T20:46:51.925Z
[INFO] Deployment configuration file: /Users/lindsaygilbert/Documents/Projects/artblocks-contracts/packages/contracts/deployments/engine/V3/partners/jeff-davis-flex/deployment-config.mainnet.ts
[INFO] Deploying to network: mainnet
[INFO] Deploying to environment: mainnet
[INFO] New Admin ACL AdminACLV1 deployed at address: 0x732C060EbF93cfF0314CABCCc1BF04904B53E9fB
[INFO] Using shared Randomizer at 0x13178A7a8A1A9460dBE39f7eCcEbD91B31752b91
[INFO] Core GenArt721CoreV3_Engine_Flex deployed at 0x5306e34B7437200E0189CbC5F80B0990E49DCBE7
[INFO] Registered core contract 0x5306e34B7437200E0189CbC5F80B0990E49DCBE7 on core registry 0x2eE7B9bB2E038bE7323A119701A191c030A61ec6
[INFO] Updated the Minter Filter on the Core contract to 0xa2ccfE293bc2CDD78D8166a82D1e18cD2148122b.
[INFO] Skipping adding placeholder initial project.
[INFO] Skipping update of render provider split percentage primary, since it is already equal to the value of 10.
[INFO] Skipping update of render provider split percentage secondary, since it is already equal to the value of 250.
[INFO] Transferred superAdmin role on adminACL to 0x1D627Fe53e605f37ec5F6a58EBcE1f3A39882D68.
[INFO] Verifying core contract contract deployment...
Successfully submitted source code for contract
contracts/engine/V3/GenArt721CoreV3_Engine_Flex.sol:GenArt721CoreV3_Engine_Flex at 0x5306e34B7437200E0189CbC5F80B0990E49DCBE7
for verification on the block explorer. Waiting for verification result...

[ACTION] Save the following constructor args config file to a constructor-args.js file, then verify core contract deployment with:
module.exports = [
"Davis Editions", // name
"DE", // ticker
"0x036F3D03C1ccdde1878F01607922EA12110Ee9Bd", // render provider
"0x1D627Fe53e605f37ec5F6a58EBcE1f3A39882D68", // platform provider
"0x13178A7a8A1A9460dBE39f7eCcEbD91B31752b91", // randomizer
"0x732C060EbF93cfF0314CABCCc1BF04904B53E9fB", // admin acl
0, // starting project id
false, // auto approve artist split proposals
];
yarn hardhat verify --network mainnet --constructor-args constructor-args.js 0x5306e34B7437200E0189CbC5F80B0990E49DCBE7
[INFO] Verifying AdminACL contract deployment...
[WARN] Etherscan verification of AdminACL failed: UnexpectedError: An unexpected error occurred during the verification process.
Please report this issue to the Hardhat team.
Error Details: Failed to send contract verification request.
Endpoint URL: https://api.etherscan.io/api
Reason: The Etherscan API responded that the address 0x732C060EbF93cfF0314CABCCc1BF04904B53E9fB does not have bytecode.
This can happen if the contract was recently deployed and this fact hasn't propagated to the backend yet.
Try waiting for a minute before verifying your contract. If you are invoking this from a script,
try to wait for five confirmations of your contract deployment transaction before running the verification subtask.
[ACTION] Verify AdminACL contract deployment with:
yarn hardhat verify --network mainnet 0x732C060EbF93cfF0314CABCCc1BF04904B53E9fB
Created s3 bucket for https://davis-editions-mainnet.s3.amazonaws.com
[INFO] Created image bucket davis-editions-mainnet
[INFO] Deployment details written to /Users/lindsaygilbert/Documents/Projects/artblocks-contracts/packages/contracts/deployments/engine/V3/partners/jeff-davis-flex/DEPLOYMENTS.md
Upserting 1 contract...
Contracts metadata upsert input:
{
"address": "0x5306e34b7437200e0189cbc5f80b0990e49dcbe7",
"name": "Davis Editions",
"bucket_name": "davis-editions-mainnet",
"default_vertical_name": "flex"
}
Successfully upserted 1 contract
[ACTION] AdminACL's superAdmin address is 0x1D627Fe53e605f37ec5F6a58EBcE1f3A39882D68, don't forget to update if requred.
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
// This file is used to configure the deployment of the Engine Partner contracts
// It is intended to be imported by the generic deployer by running `deploy:mainnet:v3-engine`, `deploy:staging:v3-engine` or `deploy:dev:v3-engine`.
export const deployConfigDetailsArray = [
{
network: "mainnet",
// environment is only used for metadata purposes, and is not used in the deployment process
// Please set to "dev", "staging", or "mainnet", as appropriate
environment: "mainnet",
// if you want to use an existing admin ACL, set the address here (otherwise set as undefined to deploy a new one)
existingAdminACL: undefined,
// the following must always be defined and accurate, even if using an existing admin ACL
adminACLContractName: "AdminACLV1",
genArt721CoreContractName: "GenArt721CoreV3_Engine_Flex",
tokenName: "Davis Editions",
tokenTicker: "DE",
startingProjectId: 0,
autoApproveArtistSplitProposals: false,
renderProviderAddress: "0x036F3D03C1ccdde1878F01607922EA12110Ee9Bd", // use either "0x..." or special "deployer" which sets the render provider to the deployer
platformProviderAddress: "0x1D627Fe53e605f37ec5F6a58EBcE1f3A39882D68", // use either "0x..." or special "deployer" which sets the render provider to the deployer
// set to true if you want to add an initial project to the core contract
addInitialProject: false,
// set to true if you want to transfer the superAdmin role to a different address
doTransferSuperAdmin: true,
// set to the address you want to transfer the superAdmin role to
// (this will only work if you have set doTransferSuperAdmin to true, can be undefined if you are not transferring)
newSuperAdminAddress: "0x1D627Fe53e605f37ec5F6a58EBcE1f3A39882D68", // use either "0x..." or undefined if not transferring
// optional overrides for the default split percentages (default is 10% primary, 2.5% secondary)
renderProviderSplitPercentagePrimary: 10, // percent
renderProviderSplitBPSSecondary: 250, // basis points (e.g. 250 = 2.5%)
// optionally define this to set default vertical name for the contract after deployment.
// if not defined, the default vertical name will be "unassigned".
// common values include `fullyonchain`, `flex`, or partnerships like `artblocksxpace`.
// also note that if you desire to create a new veritcal, you will need to add the vertical name to the
// `project_verticals` table in the database before running this deploy script.
defaultVerticalName: "flex",
},
];
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
// This file is used to configure the deployment of the Engine Partner contracts
// It is intended to be imported by the generic deployer by running `deploy:mainnet:v3-engine`, `deploy:staging:v3-engine` or `deploy:dev:v3-engine`.
export const deployConfigDetailsArray = [
{
network: "sepolia",
// environment is only used for metadata purposes, and is not used in the deployment process
// Please set to "dev", "staging", or "mainnet", as appropriate
environment: "staging",
// if you want to use an existing admin ACL, set the address here (otherwise set as undefined to deploy a new one)
existingAdminACL: undefined,
// the following must always be defined and accurate, even if using an existing admin ACL
adminACLContractName: "AdminACLV1",
genArt721CoreContractName: "GenArt721CoreV3_Engine_Flex",
tokenName: "Davis Editions",
tokenTicker: "DE",
startingProjectId: 0,
autoApproveArtistSplitProposals: false,
renderProviderAddress: "deployer", // use either "0x..." or special "deployer" which sets the render provider to the deployer
platformProviderAddress: "0x1D627Fe53e605f37ec5F6a58EBcE1f3A39882D68", // use either "0x..." or special "deployer" which sets the render provider to the deployer
// set to true if you want to add an initial project to the core contract
addInitialProject: false,
// set to true if you want to transfer the superAdmin role to a different address
doTransferSuperAdmin: true,
// set to the address you want to transfer the superAdmin role to
// (this will only work if you have set doTransferSuperAdmin to true, can be undefined if you are not transferring)
newSuperAdminAddress: "0x1D627Fe53e605f37ec5F6a58EBcE1f3A39882D68", // use either "0x..." or undefined if not transferring
// optional overrides for the default split percentages (default is 10% primary, 2.5% secondary)
renderProviderSplitPercentagePrimary: 10, // percent
renderProviderSplitBPSSecondary: 250, // basis points (e.g. 250 = 2.5%)
// optionally define this to set default vertical name for the contract after deployment.
// if not defined, the default vertical name will be "unassigned".
// common values include `fullyonchain`, `flex`, or partnerships like `artblocksxpace`.
// also note that if you desire to create a new veritcal, you will need to add the vertical name to the
// `project_verticals` table in the database before running this deploy script.
defaultVerticalName: "flex",
},
];

0 comments on commit 5051f2c

Please sign in to comment.