ETH Price: $3,470.83 (+0.62%)
Gas: 6 Gwei

Contract

0x942828ffc53AF82656F519a3a57a444365f8f1f8
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Deploy161681122022-12-12 10:44:59589 days ago1670841899IN
0x942828ff...365f8f1f8
0 ETH0.0023099315.83611829
0x60806040161680522022-12-12 10:32:35589 days ago1670841155IN
 Create: DeterministicDeployFactory
0 ETH0.0037167225.9770697

Latest 1 internal transaction

Advanced mode:
Parent Transaction Hash Block From To
161681122022-12-12 10:44:59589 days ago1670841899
0x942828ff...365f8f1f8
 Contract Creation0 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
DeterministicDeployFactory

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 1 : DeterministicDeployFactory.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.9;

contract DeterministicDeployFactory {
    event Deploy(address addr);

    function deploy(bytes memory bytecode, uint256 _salt) external {
        address addr;
        assembly {
            addr := create2(0, add(bytecode, 0x20), mload(bytecode), _salt)
            if iszero(extcodesize(addr)) {
                revert(0, 0)
            }
        }

        emit Deploy(addr);
    }
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "metadata": {
    "useLiteralContent": true
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"addr","type":"address"}],"name":"Deploy","type":"event"},{"inputs":[{"internalType":"bytes","name":"bytecode","type":"bytes"},{"internalType":"uint256","name":"_salt","type":"uint256"}],"name":"deploy","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b506101a0806100206000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c80639c4ae2d014610030575b600080fd5b61004361003e3660046100b5565b610045565b005b6000818351602085016000f59050803b61005e57600080fd5b6040516001600160a01b03821681527f55ea6c6b31543d8e2ec6a72f71a79c0f4b72ed0d4757172b043d8f4f4cd848489060200160405180910390a1505050565b634e487b7160e01b600052604160045260246000fd5b600080604083850312156100c857600080fd5b823567ffffffffffffffff808211156100e057600080fd5b818501915085601f8301126100f457600080fd5b8135818111156101065761010661009f565b604051601f8201601f19908116603f0116810190838211818310171561012e5761012e61009f565b8160405282815288602084870101111561014757600080fd5b82602086016020830137600060209382018401529896909101359650505050505056fea26469706673582212200402ff15f37d7852eec869fd4647d9c320d3ad37f5b2b0bfed395e123c3704a664736f6c63430008090033

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061002b5760003560e01c80639c4ae2d014610030575b600080fd5b61004361003e3660046100b5565b610045565b005b6000818351602085016000f59050803b61005e57600080fd5b6040516001600160a01b03821681527f55ea6c6b31543d8e2ec6a72f71a79c0f4b72ed0d4757172b043d8f4f4cd848489060200160405180910390a1505050565b634e487b7160e01b600052604160045260246000fd5b600080604083850312156100c857600080fd5b823567ffffffffffffffff808211156100e057600080fd5b818501915085601f8301126100f457600080fd5b8135818111156101065761010661009f565b604051601f8201601f19908116603f0116810190838211818310171561012e5761012e61009f565b8160405282815288602084870101111561014757600080fd5b82602086016020830137600060209382018401529896909101359650505050505056fea26469706673582212200402ff15f37d7852eec869fd4647d9c320d3ad37f5b2b0bfed395e123c3704a664736f6c63430008090033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.