ETH Price: $2,916.40 (-1.41%)

Contract

0x8D85e7c9A4e369E53Acc8d5426aE1568198b0112

Overview

ETH Balance

0 ETH

ETH Value

$0.00

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Block
From
To

There are no matching entries

Please try again later

Advanced mode:
Parent Transaction Hash Block From To
View All Internal Transactions

Cross-Chain Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Deployer

Compiler Version
v0.8.18+commit.87f61d96

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
// SPDX-License-Identifier: MIT
pragma solidity 0.8.18;

contract Deployer {
    event Deployed(address addr, uint256 salt);

    function deploy(bytes memory code, uint256 salt) external  returns (address) {
        address addr;
        assembly {
            addr := create2(0, add(code, 0x20), mload(code), salt)
            if iszero(extcodesize(addr)) {
                revert(0, 0)
            }
        }
        emit Deployed(addr, salt);
        return addr;
    }
}

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

Contract Security Audit

Contract ABI

API
[{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"addr","type":"address"},{"indexed":false,"internalType":"uint256","name":"salt","type":"uint256"}],"name":"Deployed","type":"event"},{"inputs":[{"internalType":"bytes","name":"code","type":"bytes"},{"internalType":"uint256","name":"salt","type":"uint256"}],"name":"deploy","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b506101c3806100206000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c80639c4ae2d014610030575b600080fd5b61004361003e3660046100d8565b61005f565b6040516001600160a01b03909116815260200160405180910390f35b600080828451602086016000f59050803b61007957600080fd5b604080516001600160a01b0383168152602081018590527fb03c53b28e78a88e31607a27e1fa48234dce28d5d9d9ec7b295aeb02e674a1e1910160405180910390a19392505050565b634e487b7160e01b600052604160045260246000fd5b600080604083850312156100eb57600080fd5b823567ffffffffffffffff8082111561010357600080fd5b818501915085601f83011261011757600080fd5b813581811115610129576101296100c2565b604051601f8201601f19908116603f01168101908382118183101715610151576101516100c2565b8160405282815288602084870101111561016a57600080fd5b82602086016020830137600060209382018401529896909101359650505050505056fea26469706673582212209bd66b7886a298ff8bba2a100980f7604b4b9869db0d080b9fbbdd359bfc816364736f6c63430008120033

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061002b5760003560e01c80639c4ae2d014610030575b600080fd5b61004361003e3660046100d8565b61005f565b6040516001600160a01b03909116815260200160405180910390f35b600080828451602086016000f59050803b61007957600080fd5b604080516001600160a01b0383168152602081018590527fb03c53b28e78a88e31607a27e1fa48234dce28d5d9d9ec7b295aeb02e674a1e1910160405180910390a19392505050565b634e487b7160e01b600052604160045260246000fd5b600080604083850312156100eb57600080fd5b823567ffffffffffffffff8082111561010357600080fd5b818501915085601f83011261011757600080fd5b813581811115610129576101296100c2565b604051601f8201601f19908116603f01168101908382118183101715610151576101516100c2565b8160405282815288602084870101111561016a57600080fd5b82602086016020830137600060209382018401529896909101359650505050505056fea26469706673582212209bd66b7886a298ff8bba2a100980f7604b4b9869db0d080b9fbbdd359bfc816364736f6c63430008120033

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

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.