Verified contractPartial
Create2Deployer
Address0x25c8faec38b0923ed1556586348af7e0728d9a3b
- Balance
0 ETH
- Transactions
8
- Compiler
solc 0.5.8
- Same code
1 more contract
Details
- Compiler
- solc 0.5.8+commit.23d335f2
- Language
- solidity
- Optimization
- Yes, 200 runs
- License
- Not stated
- Match
- Partialcreation code: yes, runtime code: yes
- Verified on Sourcify
- Created in block
- 8,043,213
- Creation transaction
- 0xc39f4f269b…8d4b87de2c
fa76e1d4aedf01901d6683c7bd01909187d5805e_Create2Deployer.sol
// Recovered by EthereumHistory (ethereumhistory.com) -sw
/**
*Submitted for verification at Etherscan.io on 2021-11-25
*/
pragma solidity 0.5.8;
contract Create2Deployer {
event Deployed(address addr, uint256 salt);
function deploy(bytes memory code, uint256 salt) public {
address addr;
assembly {
addr := create2(0, add(code, 0x20), mload(code), salt)
if iszero(extcodesize(addr)) {
revert(0, 0)
}
}
emit Deployed(addr, salt);
}
}Compiler settingsShow
{
"optimizer": {
"runs": 200,
"enabled": true
}
}Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.