directDeployDeterministicWithUri

Direct deploy a contract at a deterministic address, using Create2 method Address depends on the Create2 factory address and salt (if provided).

function directDeployDeterministicWithUri(
publishMetadataUri: string,
signer: Signer,
constructorArgs: Array<any>,
saltForCreate2?: string,
gasLimit: number,
): Promise<string>;

Parameters

The metadata uri to use

Type

let publishMetadataUri: string;

The signer to use

Type

let signer: Signer;

The storage to use

Type

The constructor args to use

Type

let constructorArgs: Array<any>;

The salt to use

Type

let saltForCreate2: string;

Type

let gasLimit: number;

Returns

let returnType: Promise<string>;