Skip to main content

ContractDeployer.deployReleasedContract() method

Deploy any released contract by its name

Signature:

deployReleasedContract(releaserAddress: string, contractName: string, constructorParams: any[], version?: string): Promise<string>;

Parameters

ParameterTypeDescription
releaserAddressstringthe address of the releaser
contractNamestringthe name of the contract to deploy
constructorParamsany[]the constructor params to pass to the contract
versionstring(Optional)

Returns:

Promise<string>