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
Parameter | Type | Description |
---|---|---|
factoryAddress | string | |
implementationAddress | string | |
implementationAbi | ContractInterface | |
initializerFunction | string | |
initializerArgs | any[] |
Returns:
Promise<string>