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

Commit 519f9e2

Browse files
authored
Merge pull request #363 from holographxyz/feature/deploy-template-custom-erc-721-for-verification
Add deployments for custom-erc-721-proxy for verification
2 parents 785d49d + 82c0a05 commit 519f9e2

File tree

14 files changed

+2716
-0
lines changed

14 files changed

+2716
-0
lines changed

deploy/28_factory_deployed_contracts.ts

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,24 @@ const func: DeployFunction = async function (hre1: HardhatRuntimeEnvironment) {
116116
console.log('Deployed a "CountdownERC721Proxy" empty contract for block explorer verification purposes.');
117117
}
118118

119+
const customERC721Proxy: Contract | null = await hre.ethers.getContractOrNull('CustomERC721Proxy', deployerAddress);
120+
if (customERC721Proxy === null) {
121+
await hre.deployments.deploy('CustomERC721Proxy', {
122+
...(await txParams({
123+
hre,
124+
from: deployerAddress,
125+
to: '0x0000000000000000000000000000000000000000',
126+
gasLimit: await hre.ethers.provider.estimateGas(
127+
(await hre.ethers.getContractFactory('CustomERC721Proxy')).getDeployTransaction()
128+
),
129+
})),
130+
args: [],
131+
log: true,
132+
waitConfirmations: 1,
133+
} as any);
134+
console.log('Deployed a "CustomERC721Proxy" empty contract for block explorer verification purposes.');
135+
}
136+
119137
const holographUtilityToken: Contract | null = await hre.ethers.getContractOrNull(
120138
'HolographUtilityToken',
121139
deployerAddress

deploy/30_verify.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@ const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) {
6868
'HolographDropERC721Proxy',
6969
'CountdownERC721',
7070
'CountdownERC721Proxy',
71+
'CustomERC721',
72+
'CustomERC721Proxy',
7173
'HolographFactory',
7274
'HolographFactoryProxy',
7375
'HolographGeneric',

deployments/mainnet/arbitrumOne/CustomERC721Proxy.json

Lines changed: 151 additions & 0 deletions
Large diffs are not rendered by default.

deployments/mainnet/avalanche/CustomERC721Proxy.json

Lines changed: 151 additions & 0 deletions
Large diffs are not rendered by default.

deployments/mainnet/base/CustomERC721Proxy.json

Lines changed: 151 additions & 0 deletions
Large diffs are not rendered by default.

deployments/mainnet/binanceSmartChain/CustomERC721Proxy.json

Lines changed: 151 additions & 0 deletions
Large diffs are not rendered by default.

deployments/mainnet/ethereum/CustomERC721Proxy.json

Lines changed: 151 additions & 0 deletions
Large diffs are not rendered by default.

deployments/mainnet/ethereum/solcInputs/a50feb42106d152b8f5d9342866cf66b.json

Lines changed: 585 additions & 0 deletions
Large diffs are not rendered by default.

deployments/mainnet/linea/CustomERC721Proxy.json

Lines changed: 151 additions & 0 deletions
Large diffs are not rendered by default.

deployments/mainnet/mantle/CustomERC721Proxy.json

Lines changed: 151 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)