File tree Expand file tree Collapse file tree 3 files changed +2
-6
lines changed
Expand file tree Collapse file tree 3 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,6 @@ import {
1818 getImplId ,
1919 getRegistryAddress ,
2020 getStandardId ,
21- getUseERC721C ,
2221 promptForConfirmation ,
2322} from './getters' ;
2423import { ContractManager } from './ContractManager' ;
@@ -61,6 +60,7 @@ export const deployContract = async ({
6160 mintCurrency,
6261 contractManager : cm ,
6362 totalTokens,
63+ useERC721C,
6464} : DeployContractConfig ) => {
6565 showText ( 'Deploying a new collection...' ) ;
6666
@@ -69,7 +69,6 @@ export const deployContract = async ({
6969 const factoryAddress = getFactoryAddress ( cm . chainId ) ;
7070 const registryAddress = getRegistryAddress ( cm . chainId ) ;
7171 const standardId = getStandardId ( tokenStandard ) ;
72- const useERC721C = getUseERC721C ( ) ;
7372 const implId = getImplId ( cm . chainId , tokenStandard , useERC721C ) ;
7473
7574 const deploymentFee = await cm . getDeploymentFee (
Original file line number Diff line number Diff line change @@ -298,10 +298,6 @@ export const getStandardId = (tokenStandard: TOKEN_STANDARD): string => {
298298 }
299299} ;
300300
301- export const getUseERC721C = ( ) : boolean => {
302- return process . env . USE_ERC721C === 'true' ? true : false ;
303- } ;
304-
305301export const promptForConfirmation = async (
306302 message ?: string ,
307303 defaultValue ?: boolean ,
Original file line number Diff line number Diff line change @@ -74,6 +74,7 @@ export type DeployContractConfig = Collection & {
7474 contractManager : ContractManager ;
7575 totalTokens ?: number ;
7676 stagesFile ?: string ;
77+ useERC721C ?: boolean ;
7778} ;
7879
7980export interface Log {
You can’t perform that action at this time.
0 commit comments