Skip to content

Commit

Permalink
icreate3 import
Browse files Browse the repository at this point in the history
  • Loading branch information
trajan0x committed Sep 15, 2023
1 parent bb71314 commit bcb2522
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions packages/contracts-core/script/utils/DeployerUtils.sol
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,8 @@ import {Strings} from "@openzeppelin/contracts/utils/Strings.sol";
import {Address} from "@openzeppelin/contracts/utils/Address.sol";
import {CREATE3Factory} from "../../contracts/create3/CREATE3Factory.sol";

interface ICreate3Factory {
function deploy(bytes32 salt, bytes memory creationCode) external payable returns (address deployed);
import {ICREATE3Factory} from "../../contracts/create3/ICREATE3Factory.sol";

function getDeployed(address deployer, bytes32 salt) external view returns (address deployed);
}

// solhint-disable no-console
// solhint-disable no-empty-blocks
Expand Down Expand Up @@ -40,7 +37,7 @@ contract DeployerUtils is Script {
uint256 internal broadcasterPK;
address internal broadcasterAddress;

ICreate3Factory private factory = ICreate3Factory(0x9fBB3DF7C40Da2e5A0dE984fFE2CCB7C47cd0ABf);
ICREATE3Factory private factory = ICreate3Factory(0x9fBB3DF7C40Da2e5A0dE984fFE2CCB7C47cd0ABf);

bytes32 internal deploymentSalt;

Expand Down

0 comments on commit bcb2522

Please sign in to comment.