-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c8dfb2a
commit 1353edc
Showing
5 changed files
with
44 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ import {CustomizedProxyChild} from "../CustomizedProxyChild.sol"; | |
* @dev Referenced from https://github.com/0xsequence/create3/blob/master/contracts/Create3.sol | ||
* Updated PROXY_CHILD_BYTECODE to support customized deployment logic | ||
* @title A library for deploying contracts EIP-3171 style. | ||
* @author Agustin Aguilar <[email protected]> | ||
* @author Agustin Aguilar <[email protected]> | ||
*/ | ||
library Create3 { | ||
error ErrorCreatingProxy(); | ||
|
@@ -31,7 +31,7 @@ library Create3 { | |
|
||
/** | ||
* @notice Creates a new contract with given `_creationCode` and `_salt` | ||
* @param _salt Salt of the contract creation, resulting address will be derivated from this value only | ||
* @param _salt Salt of the contract creation, resulting address will be derived from this value only | ||
* @param _creationCode Creation code (constructor) of the contract to be deployed, this value doesn't affect the resulting address | ||
* @param _creationFund In WEI of ETH to be forwarded to target contract constructor | ||
* @param _afterDeploymentExecutionPayload Payload to be executed after contract creation | ||
|
@@ -69,7 +69,7 @@ library Create3 { | |
|
||
/** | ||
* @notice Computes the resulting address of a contract deployed using address(this) and the given `_salt` | ||
* @param _salt Salt of the contract creation, resulting address will be derivated from this value only | ||
* @param _salt Salt of the contract creation, resulting address will be derived from this value only | ||
* @return addr of the deployed contract, reverts on error | ||
* | ||
* @dev The address creation formula is: keccak256(rlp([keccak256(0xff ++ address(this) ++ _salt ++ keccak256(childBytecode))[12:], 0x01])) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters