Verified contractPartial
UniversalDeployer2
Address0x8a5bc19e22d6ad55a2c763b93a75d09f321fe764
- Balance
0 ETH
- Transactions
16
- Compiler
solc 0.7.6
- Same code
Only this contract
Details
- Compiler
- solc 0.7.6+commit.7338295f
- Language
- solidity
- Optimization
- Yes, 100,000 runs
- EVM version
- istanbul
- License
- Not stated
- Match
- Partialcreation code: yes, runtime code: yes
- Verified on Sourcify
- Created in block
- 12,069,345
- Creation transaction
- 0x73b2fcac72…fd3cb9ad4f
UniversalDeployer2.sol
pragma solidity ^0.7.6;
contract UniversalDeployer2 {
event Deploy(address _addr) anonymous;
/**
* @notice will deploy a contract via create2
* @param _creationCode Creation code of contract to deploy
* @param _instance Instance number of contract to deploy
*/
function deploy(bytes memory _creationCode, uint256 _instance) public payable {
address addr;
assembly { addr := create2(callvalue(), add(_creationCode, 32), mload(_creationCode), _instance) }
emit Deploy(addr);
}
}Compiler settingsShow
{
"metadata": {
"bytecodeHash": "ipfs"
},
"libraries": {},
"optimizer": {
"runs": 100000,
"enabled": true
},
"evmVersion": "istanbul",
"remappings": []
}Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.