Skip to content

Commit

Permalink
style: delete script directory and reorder functions in ICreate2Factory
Browse files Browse the repository at this point in the history
  • Loading branch information
0xernesto committed Nov 2, 2023
1 parent 012e025 commit c41b056
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 26 deletions.
12 changes: 0 additions & 12 deletions script/Create2Factory.s.sol

This file was deleted.

12 changes: 0 additions & 12 deletions script/Create3Factory.s.sol

This file was deleted.

4 changes: 2 additions & 2 deletions src/create2/interfaces/ICreate2Factory.sol
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ pragma solidity ^0.8.21;

interface ICreate2Factory {
function userNonces(address _principal, bytes32 _hashedBytecode) external returns (uint256);
function getDeploymentHistory(address _principal) external returns (address[] memory);
function getTransactionHash(address _principal, bytes memory _bytecode, uint256 _nonce)
external
returns (bytes32);
function getBytecodeHash(bytes memory _bytecode) external pure returns (bytes32);
function getAddress(address _principal, bytes memory _bytecode) external returns (address);
function getBytecodeHash(bytes memory _bytecode) external pure returns (bytes32);
function getDeploymentHistory(address _principal) external returns (address[] memory);
function deploy(address _principal, bytes memory _signature, bytes memory _bytecode) external returns (address);
}

0 comments on commit c41b056

Please sign in to comment.