directDeployDeterministicPublished
Direct deploy a contract at a deterministic address, using Create2 method Address depends on the Create2 factory address and salt (if provided).
function directDeployDeterministicPublished(
contractName: string,
publisherAddress: string,
contractVersion: string,
constructorArgs: any[],
signer: Signer,
storage: ThirdwebStorage<IpfsUploadBatchOptions>,
clientId?: string,
secretKey?: string,
saltForCreate2?: string,
gasLimit: number,
): Promise<string>;
Parameters
Returns
type ReturnType = Promise<string>;