Skip to main content

ContractDeployer.deployViaFactory() method

Deploy a proxy contract of a given implementation via the given factory

Signature:

deployViaFactory(factoryAddress: string, implementationAddress: string, implementationAbi: ContractInterface, initializerFunction: string, initializerArgs: any[]): Promise<string>;

Parameters

ParameterTypeDescription
factoryAddressstring
implementationAddressstring
implementationAbiContractInterface
initializerFunctionstring
initializerArgsany[]

Returns:

Promise<string>