Skip to content

Commit

Permalink
Merge pull request #363 from holographxyz/feature/deploy-template-cus…
Browse files Browse the repository at this point in the history
…tom-erc-721-for-verification

Add deployments for custom-erc-721-proxy for verification
  • Loading branch information
sogoiii authored Aug 28, 2024
2 parents 785d49d + 82c0a05 commit 519f9e2
Show file tree
Hide file tree
Showing 14 changed files with 2,716 additions and 0 deletions.
18 changes: 18 additions & 0 deletions deploy/28_factory_deployed_contracts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,24 @@ const func: DeployFunction = async function (hre1: HardhatRuntimeEnvironment) {
console.log('Deployed a "CountdownERC721Proxy" empty contract for block explorer verification purposes.');
}

const customERC721Proxy: Contract | null = await hre.ethers.getContractOrNull('CustomERC721Proxy', deployerAddress);
if (customERC721Proxy === null) {
await hre.deployments.deploy('CustomERC721Proxy', {
...(await txParams({
hre,
from: deployerAddress,
to: '0x0000000000000000000000000000000000000000',
gasLimit: await hre.ethers.provider.estimateGas(
(await hre.ethers.getContractFactory('CustomERC721Proxy')).getDeployTransaction()
),
})),
args: [],
log: true,
waitConfirmations: 1,
} as any);
console.log('Deployed a "CustomERC721Proxy" empty contract for block explorer verification purposes.');
}

const holographUtilityToken: Contract | null = await hre.ethers.getContractOrNull(
'HolographUtilityToken',
deployerAddress
Expand Down
2 changes: 2 additions & 0 deletions deploy/30_verify.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) {
'HolographDropERC721Proxy',
'CountdownERC721',
'CountdownERC721Proxy',
'CustomERC721',
'CustomERC721Proxy',
'HolographFactory',
'HolographFactoryProxy',
'HolographGeneric',
Expand Down
151 changes: 151 additions & 0 deletions deployments/mainnet/arbitrumOne/CustomERC721Proxy.json

Large diffs are not rendered by default.

151 changes: 151 additions & 0 deletions deployments/mainnet/avalanche/CustomERC721Proxy.json

Large diffs are not rendered by default.

151 changes: 151 additions & 0 deletions deployments/mainnet/base/CustomERC721Proxy.json

Large diffs are not rendered by default.

151 changes: 151 additions & 0 deletions deployments/mainnet/binanceSmartChain/CustomERC721Proxy.json

Large diffs are not rendered by default.

151 changes: 151 additions & 0 deletions deployments/mainnet/ethereum/CustomERC721Proxy.json

Large diffs are not rendered by default.

Large diffs are not rendered by default.

151 changes: 151 additions & 0 deletions deployments/mainnet/linea/CustomERC721Proxy.json

Large diffs are not rendered by default.

151 changes: 151 additions & 0 deletions deployments/mainnet/mantle/CustomERC721Proxy.json

Large diffs are not rendered by default.

151 changes: 151 additions & 0 deletions deployments/mainnet/optimism/CustomERC721Proxy.json

Large diffs are not rendered by default.

167 changes: 167 additions & 0 deletions deployments/mainnet/polygon/CustomERC721Proxy.json

Large diffs are not rendered by default.

Large diffs are not rendered by default.

151 changes: 151 additions & 0 deletions deployments/mainnet/zora/CustomERC721Proxy.json

Large diffs are not rendered by default.

0 comments on commit 519f9e2

Please sign in to comment.