Skip to content

computeCreate2Address

function computeCreate2Address(
bytes32 salt,
bytes32 initCodeHash,
address deployer
) external pure returns (address);
function computeCreate2Address(
bytes32 salt,
bytes32 initCodeHash
) external pure returns (address);

Compute the address of a contract created with CREATE2. If deployer is not specified, the default CREATE2 deployer is used.