ETH Price: $3,179.06 (+3.44%)

Contract

0xC51Cc05a5610ca2dFDF3a68Bf57392D51A170d95
 

Overview

ETH Balance

0.06 ETH

Eth Value

$190.74 (@ $3,179.06/ETH)

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Mint147916432022-05-17 9:06:12916 days ago1652778372IN
0xC51Cc05a...51A170d95
0.06 ETH0.0019379823.39351451
Withdraw143615392022-03-10 21:26:20983 days ago1646947580IN
0xC51Cc05a...51A170d95
0 ETH0.001053932.14992079
Mint142661782022-02-24 2:40:49998 days ago1645670449IN
0xC51Cc05a...51A170d95
0.06 ETH0.0038263746.18832144
Mint141983762022-02-13 14:43:591009 days ago1644763439IN
0xC51Cc05a...51A170d95
0.06 ETH0.0044469953.67979203
Mint141646642022-02-08 9:38:051014 days ago1644313085IN
0xC51Cc05a...51A170d95
0.06 ETH0.001714764.33434573
Mint141375912022-02-04 5:23:581018 days ago1643952238IN
0xC51Cc05a...51A170d95
0.06 ETH0.00317512119.12806497
Mint141191952022-02-01 8:52:091021 days ago1643705529IN
0xC51Cc05a...51A170d95
0.06 ETH0.0066981880.85392659
Mint141164082022-01-31 22:41:031021 days ago1643668863IN
0xC51Cc05a...51A170d95
0.06 ETH0.01633569197.18857509
Mint140764732022-01-25 18:56:001028 days ago1643136960IN
0xC51Cc05a...51A170d95
0.06 ETH0.0113106136.53061327
Mint140734112022-01-25 7:29:411028 days ago1643095781IN
0xC51Cc05a...51A170d95
0.06 ETH0.0018024967.62829375
Mint140733992022-01-25 7:28:001028 days ago1643095680IN
0xC51Cc05a...51A170d95
0.06 ETH0.00267397100.32557176
Mint140733962022-01-25 7:27:181028 days ago1643095638IN
0xC51Cc05a...51A170d95
0.06 ETH0.007541191.02891715
Mint139445582022-01-05 9:08:491048 days ago1641373729IN
0xC51Cc05a...51A170d95
0.06 ETH0.0063903577.13809949
Mint139073462021-12-30 15:00:591054 days ago1640876459IN
0xC51Cc05a...51A170d95
0.06 ETH0.01025645123.80592613
Mint138731402021-12-25 8:11:131059 days ago1640419873IN
0xC51Cc05a...51A170d95
0.06 ETH0.005953571.86492423
Mint138412802021-12-20 9:40:391064 days ago1639993239IN
0xC51Cc05a...51A170d95
0.06 ETH0.0032226538.90069551
Mint138374032021-12-19 19:09:521065 days ago1639940992IN
0xC51Cc05a...51A170d95
0.06 ETH0.0039251347.38035339
Mint137994172021-12-13 21:54:411070 days ago1639432481IN
0xC51Cc05a...51A170d95
0.06 ETH0.00946921114.30318233
Mint137908402021-12-12 14:25:131072 days ago1639319113IN
0xC51Cc05a...51A170d95
0.06 ETH0.0028224534.06989048
Mint137802182021-12-10 22:56:071073 days ago1639176967IN
0xC51Cc05a...51A170d95
0.06 ETH0.0065938279.59423928
Mint137654992021-12-08 15:12:531076 days ago1638976373IN
0xC51Cc05a...51A170d95
0.06 ETH0.0071576186.39976647
Mint137463552021-12-05 13:34:171079 days ago1638711257IN
0xC51Cc05a...51A170d95
0.06 ETH0.0061074673.72335852
Withdraw137235742021-12-01 22:04:351082 days ago1638396275IN
0xC51Cc05a...51A170d95
0 ETH0.00534376163.01416288
Mint137027862021-11-28 14:00:461086 days ago1638108046IN
0xC51Cc05a...51A170d95
0.06 ETH0.0060072472.51365249
Mint136898342021-11-26 12:52:031088 days ago1637931123IN
0xC51Cc05a...51A170d95
0.06 ETH0.0067924581.9919591
View all transactions

Latest 2 internal transactions

Advanced mode:
Parent Transaction Hash Block From To
143615392022-03-10 21:26:20983 days ago1646947580
0xC51Cc05a...51A170d95
0.96 ETH
137235742021-12-01 22:04:351082 days ago1638396275
0xC51Cc05a...51A170d95
57.24 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
HalloweenMinter

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 5 : HalloweenMinter.sol
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/utils/Strings.sol";

contract HalloweenMinter is Ownable {
    using Strings for string;
    using SafeMath for uint256;

    uint256 public MAX_SUPPLY;
    uint256 public mintPrice;


    mapping(address => uint256) public addressAmountMapping;

    address[] public minters;
    uint256 mintCount = 0;

    event MintHalloween(address indexed _from, uint256 _value);

    constructor() {
        mintPrice = 60000000000000000; // 0.06 ETH
        MAX_SUPPLY = 1500;
    }

    function mint(uint256 amount, address _toAddress) external payable {
        require(amount <= 1, "Max two mints");
        require(
            mintPrice.mul(amount) <= msg.value,
            "Ether value sent is not correct"
        );
        require(
            addressAmountMapping[_toAddress] + amount <= 1,
            "Amount would exceed address allowance!"
        );
        require(mintCount+1 <= MAX_SUPPLY, "minting would exceed current max supply");
        

        addressAmountMapping[_toAddress] += amount;
        minters.push(_toAddress);
        mintCount += 1;

        emit MintHalloween(msg.sender, msg.value);
    }

    function getAddressAmount(address _address) public view returns(uint256) {
        return addressAmountMapping[_address];
    } 

    function getMinters() external view returns (address[] memory) {
        return minters;
    }

    function increaseMaxSupply(uint256 amount) external onlyOwner {
        MAX_SUPPLY = amount;
    }

    function withdraw() external onlyOwner {
        uint256 balance = address(this).balance;
        address wallet = 0xb17C22EBb95Ad6150Ca649597Ee4C607319648F8;
        payable(wallet).transfer(balance);
    }
}


//  Deploying 'HalloweenMinter'
//    ---------------------------
//    > transaction hash:    0xd03c01414970a3a2029b4a5b1a85d8172b7cffddecded5299d9b7ce805ca988d
//    > Blocks: 14           Seconds: 218
//    > contract address:    0xC51Cc05a5610ca2dFDF3a68Bf57392D51A170d95
//    > block number:        13552331
//    > block timestamp:     1636057598
//    > account:             0xCd1B5613E06A6d66F5106cF13E103C9B98253B0c
//    > balance:             0.41891187270528375
//    > gas used:            598261 (0x920f5)
//    > gas price:           130 gwei
//    > value sent:          0 ETH
//    > total cost:          0.07777393 ETH

File 2 of 5 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../utils/Context.sol";

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _setOwner(_msgSender());
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _setOwner(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 3 of 5 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

File 4 of 5 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = _HEX_SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }
}

File 5 of 5 : SafeMath.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_from","type":"address"},{"indexed":false,"internalType":"uint256","name":"_value","type":"uint256"}],"name":"MintHalloween","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"addressAmountMapping","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"getAddressAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMinters","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"increaseMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"_toAddress","type":"address"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"minters","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052600060055534801561001557600080fd5b5061001f33610035565b66d529ae9e8600006002556105dc600155610085565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b61088f806100946000396000f3fe6080604052600436106100a75760003560e01c80638623ec7b116100645780638623ec7b146101665780638da5cb5b1461019e57806390edbfee146101bc57806394bf804d146101dc578063f2fde38b146101ef578063f9a20fe31461020f57600080fd5b806332cb6b0c146100ac5780633ccfd60b146100d557806345d257ec146100ec5780636817c76c146101195780636b32810b1461012f578063715018a614610151575b600080fd5b3480156100b857600080fd5b506100c260015481565b6040519081526020015b60405180910390f35b3480156100e157600080fd5b506100ea610245565b005b3480156100f857600080fd5b506100c261010736600461072a565b60036020526000908152604090205481565b34801561012557600080fd5b506100c260025481565b34801561013b57600080fd5b506101446102c2565b6040516100cc9190610745565b34801561015d57600080fd5b506100ea610324565b34801561017257600080fd5b50610186610181366004610792565b61035a565b6040516001600160a01b0390911681526020016100cc565b3480156101aa57600080fd5b506000546001600160a01b0316610186565b3480156101c857600080fd5b506100ea6101d7366004610792565b610384565b6100ea6101ea3660046107ab565b6103b3565b3480156101fb57600080fd5b506100ea61020a36600461072a565b610610565b34801561021b57600080fd5b506100c261022a36600461072a565b6001600160a01b031660009081526003602052604090205490565b6000546001600160a01b031633146102785760405162461bcd60e51b815260040161026f906107d7565b60405180910390fd5b604051479073b17c22ebb95ad6150ca649597ee4c607319648f890819083156108fc029084906000818181858888f193505050501580156102bd573d6000803e3d6000fd5b505050565b6060600480548060200260200160405190810160405280929190818152602001828054801561031a57602002820191906000526020600020905b81546001600160a01b031681526001909101906020018083116102fc575b5050505050905090565b6000546001600160a01b0316331461034e5760405162461bcd60e51b815260040161026f906107d7565b61035860006106ab565b565b6004818154811061036a57600080fd5b6000918252602090912001546001600160a01b0316905081565b6000546001600160a01b031633146103ae5760405162461bcd60e51b815260040161026f906107d7565b600155565b60018211156103f45760405162461bcd60e51b815260206004820152600d60248201526c4d61782074776f206d696e747360981b604482015260640161026f565b600254349061040390846106fb565b11156104515760405162461bcd60e51b815260206004820152601f60248201527f45746865722076616c75652073656e74206973206e6f7420636f727265637400604482015260640161026f565b6001600160a01b038116600090815260036020526040902054600190610478908490610822565b11156104d55760405162461bcd60e51b815260206004820152602660248201527f416d6f756e7420776f756c6420657863656564206164647265737320616c6c6f60448201526577616e63652160d01b606482015260840161026f565b60015460055460016104e79190610822565b11156105455760405162461bcd60e51b815260206004820152602760248201527f6d696e74696e6720776f756c64206578636565642063757272656e74206d617860448201526620737570706c7960c81b606482015260840161026f565b6001600160a01b0381166000908152600360205260408120805484929061056d908490610822565b9091555050600480546001808201835560009283527f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b90910180546001600160a01b0319166001600160a01b03851617905560058054919290916105d2908490610822565b909155505060405134815233907f05a43e1dec319da8031b5c856e81b83d97c49f6c4a1423d632638efd65210f999060200160405180910390a25050565b6000546001600160a01b0316331461063a5760405162461bcd60e51b815260040161026f906107d7565b6001600160a01b03811661069f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161026f565b6106a8816106ab565b50565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000610707828461083a565b9392505050565b80356001600160a01b038116811461072557600080fd5b919050565b60006020828403121561073c57600080fd5b6107078261070e565b6020808252825182820181905260009190848201906040850190845b818110156107865783516001600160a01b031683529284019291840191600101610761565b50909695505050505050565b6000602082840312156107a457600080fd5b5035919050565b600080604083850312156107be57600080fd5b823591506107ce6020840161070e565b90509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600082198211156108355761083561080c565b500190565b60008160001904831182151516156108545761085461080c565b50029056fea26469706673582212205c495ca91f4f14656fdffef7c512e184ccac82bc26e8e6ac0fad8e9525f369c364736f6c63430008090033

Deployed Bytecode

0x6080604052600436106100a75760003560e01c80638623ec7b116100645780638623ec7b146101665780638da5cb5b1461019e57806390edbfee146101bc57806394bf804d146101dc578063f2fde38b146101ef578063f9a20fe31461020f57600080fd5b806332cb6b0c146100ac5780633ccfd60b146100d557806345d257ec146100ec5780636817c76c146101195780636b32810b1461012f578063715018a614610151575b600080fd5b3480156100b857600080fd5b506100c260015481565b6040519081526020015b60405180910390f35b3480156100e157600080fd5b506100ea610245565b005b3480156100f857600080fd5b506100c261010736600461072a565b60036020526000908152604090205481565b34801561012557600080fd5b506100c260025481565b34801561013b57600080fd5b506101446102c2565b6040516100cc9190610745565b34801561015d57600080fd5b506100ea610324565b34801561017257600080fd5b50610186610181366004610792565b61035a565b6040516001600160a01b0390911681526020016100cc565b3480156101aa57600080fd5b506000546001600160a01b0316610186565b3480156101c857600080fd5b506100ea6101d7366004610792565b610384565b6100ea6101ea3660046107ab565b6103b3565b3480156101fb57600080fd5b506100ea61020a36600461072a565b610610565b34801561021b57600080fd5b506100c261022a36600461072a565b6001600160a01b031660009081526003602052604090205490565b6000546001600160a01b031633146102785760405162461bcd60e51b815260040161026f906107d7565b60405180910390fd5b604051479073b17c22ebb95ad6150ca649597ee4c607319648f890819083156108fc029084906000818181858888f193505050501580156102bd573d6000803e3d6000fd5b505050565b6060600480548060200260200160405190810160405280929190818152602001828054801561031a57602002820191906000526020600020905b81546001600160a01b031681526001909101906020018083116102fc575b5050505050905090565b6000546001600160a01b0316331461034e5760405162461bcd60e51b815260040161026f906107d7565b61035860006106ab565b565b6004818154811061036a57600080fd5b6000918252602090912001546001600160a01b0316905081565b6000546001600160a01b031633146103ae5760405162461bcd60e51b815260040161026f906107d7565b600155565b60018211156103f45760405162461bcd60e51b815260206004820152600d60248201526c4d61782074776f206d696e747360981b604482015260640161026f565b600254349061040390846106fb565b11156104515760405162461bcd60e51b815260206004820152601f60248201527f45746865722076616c75652073656e74206973206e6f7420636f727265637400604482015260640161026f565b6001600160a01b038116600090815260036020526040902054600190610478908490610822565b11156104d55760405162461bcd60e51b815260206004820152602660248201527f416d6f756e7420776f756c6420657863656564206164647265737320616c6c6f60448201526577616e63652160d01b606482015260840161026f565b60015460055460016104e79190610822565b11156105455760405162461bcd60e51b815260206004820152602760248201527f6d696e74696e6720776f756c64206578636565642063757272656e74206d617860448201526620737570706c7960c81b606482015260840161026f565b6001600160a01b0381166000908152600360205260408120805484929061056d908490610822565b9091555050600480546001808201835560009283527f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b90910180546001600160a01b0319166001600160a01b03851617905560058054919290916105d2908490610822565b909155505060405134815233907f05a43e1dec319da8031b5c856e81b83d97c49f6c4a1423d632638efd65210f999060200160405180910390a25050565b6000546001600160a01b0316331461063a5760405162461bcd60e51b815260040161026f906107d7565b6001600160a01b03811661069f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161026f565b6106a8816106ab565b50565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000610707828461083a565b9392505050565b80356001600160a01b038116811461072557600080fd5b919050565b60006020828403121561073c57600080fd5b6107078261070e565b6020808252825182820181905260009190848201906040850190845b818110156107865783516001600160a01b031683529284019291840191600101610761565b50909695505050505050565b6000602082840312156107a457600080fd5b5035919050565b600080604083850312156107be57600080fd5b823591506107ce6020840161070e565b90509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600082198211156108355761083561080c565b500190565b60008160001904831182151516156108545761085461080c565b50029056fea26469706673582212205c495ca91f4f14656fdffef7c512e184ccac82bc26e8e6ac0fad8e9525f369c364736f6c63430008090033

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.