Skip to main content

IContractFactory

thirdweb

Methods

deployProxyByImplementation

function deployProxyByImplementation(address implementation, bytes data, bytes32 salt) external nonpayable returns (address)

Deploys a proxy that points to that points to the given implementation.

Parameters

NameTypeDescription
implementationaddressAddress of the implementation to point to.
databytesAdditional data to pass to the proxy constructor or any other data useful during deployment.
saltbytes32Salt to use for the deterministic address generation.

Returns

NameTypeDescription
_0addressundefined