Skip to main content

ContractDeployer class

Handles deploying new contracts

Signature:

export declare class ContractDeployer extends RPCConnectionHandler

Extends: RPCConnectionHandler

Constructors

ConstructorModifiersDescription
(constructor)(network, options, storage)Constructs a new instance of the ContractDeployer class

Methods

MethodModifiersDescription
addDeployListener(listener)Listen to all deploy transactions from this deployer
deployEdition(metadata)Deploys a new Edition contract
deployEditionDrop(metadata)Deploys a new EditionDrop contract
deployMarketplace(metadata)Deploys a new Marketplace contract
deployMarketplaceV3(metadata)Deploys a new Marketplace-V3 contract
deployMultiwrap(metadata)(BETA) Deploys a new Multiwrap contract
deployNFTCollection(metadata)Deploys an NFT Collection contract
deployNFTDrop(metadata)Deploys a new NFTDrop contract
deployPack(metadata)Deploys a new Pack contract
deployProxy(implementationAddress, implementationAbi, initializerFunction, initializerArgs)Deploy a proxy contract of a given implementation directly
deployReleasedContract(releaserAddress, contractName, constructorParams, version)Deploy any released contract by its name
deploySignatureDrop(metadata)Deploys a new SignatureDrop contract
deploySplit(metadata)Deploys a new Split contract
deployToken(metadata)Deploys a new Token contract
deployTokenDrop(metadata)Deploys a new Token Drop contract
deployViaFactory(factoryAddress, implementationAddress, implementationAbi, initializerFunction, initializerArgs)Deploy a proxy contract of a given implementation via the given factory
deployVote(metadata)Deploys a new Vote contract
removeAllDeployListeners()Remove all deploy listeners
removeDeployListener(listener)Remove a deploy listener
updateSignerOrProvider(network)