ETH Price: $3,409.64 (+2.50%)

Contract

0x9079cba77D656aBe5d7b134b2CaCb663b1Cc12A3
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

More Info

Private Name Tags

ContractCreator

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Upgrade_still224180042025-05-05 14:01:47184 days ago1746453707IN
0x9079cba7...3b1Cc12A3
0 ETH0.000245733.37046219
Upgrade_animatio...224001732025-05-03 2:06:59187 days ago1746238019IN
0x9079cba7...3b1Cc12A3
0 ETH0.000220862.45595334
Upgrade_still223747092025-04-29 12:26:59190 days ago1745929619IN
0x9079cba7...3b1Cc12A3
0 ETH0.000344813.63739729
Upgrade_still223473312025-04-25 16:49:11194 days ago1745599751IN
0x9079cba7...3b1Cc12A3
0 ETH0.000482575.36145159
Upgrade_animatio...223419592025-04-24 22:50:11195 days ago1745535011IN
0x9079cba7...3b1Cc12A3
0 ETH0.000288693.20982713
Upgrade_animatio...223397942025-04-24 15:35:35195 days ago1745508935IN
0x9079cba7...3b1Cc12A3
0 ETH0.000745457.86824521
Upgrade_animatio...223327052025-04-23 15:49:35196 days ago1745423375IN
0x9079cba7...3b1Cc12A3
0 ETH0.00042125.78240821
Upgrade_animatio...223289942025-04-23 3:22:47197 days ago1745378567IN
0x9079cba7...3b1Cc12A3
0 ETH0.000301233.18138491
Upgrade_animatio...223287282025-04-23 2:29:11197 days ago1745375351IN
0x9079cba7...3b1Cc12A3
0 ETH0.000318273.75483918
Upgrade_still223121532025-04-20 18:58:35199 days ago1745175515IN
0x9079cba7...3b1Cc12A3
0 ETH0.000255942.84357085
Upgrade_animatio...223095422025-04-20 10:12:59199 days ago1745143979IN
0x9079cba7...3b1Cc12A3
0 ETH0.000267832.82703038
Upgrade_animatio...222965312025-04-18 14:38:23201 days ago1744987103IN
0x9079cba7...3b1Cc12A3
0 ETH0.000232012.98866854
Upgrade_still222944432025-04-18 7:38:11201 days ago1744961891IN
0x9079cba7...3b1Cc12A3
0 ETH0.000256332.84796781
Upgrade_animatio...222943772025-04-18 7:24:59201 days ago1744961099IN
0x9079cba7...3b1Cc12A3
0 ETH0.000027750.34684953
Upgrade_animatio...222937662025-04-18 5:22:23202 days ago1744953743IN
0x9079cba7...3b1Cc12A3
0 ETH0.000204932.8134774
Upgrade_animatio...222900712025-04-17 17:01:11202 days ago1744909271IN
0x9079cba7...3b1Cc12A3
0 ETH0.00046766.41948343
Upgrade_still222842702025-04-16 21:33:59203 days ago1744839239IN
0x9079cba7...3b1Cc12A3
0 ETH0.000077420.86033806
Upgrade_animatio...222842492025-04-16 21:29:47203 days ago1744838987IN
0x9079cba7...3b1Cc12A3
0 ETH0.000036650.45815074
Upgrade_animatio...222830882025-04-16 17:35:59203 days ago1744824959IN
0x9079cba7...3b1Cc12A3
0 ETH0.000209512.87636003
Upgrade_still222824432025-04-16 15:26:23203 days ago1744817183IN
0x9079cba7...3b1Cc12A3
0 ETH0.000293643.17923029
Upgrade_still222795812025-04-16 5:52:11203 days ago1744782731IN
0x9079cba7...3b1Cc12A3
0 ETH0.000257342.85912926
Upgrade_animatio...222776412025-04-15 23:23:11204 days ago1744759391IN
0x9079cba7...3b1Cc12A3
0 ETH0.000254492.82952249
Upgrade_animatio...222772402025-04-15 22:02:35204 days ago1744754555IN
0x9079cba7...3b1Cc12A3
0 ETH0.000283762.85268757
Upgrade_animatio...222772282025-04-15 22:00:11204 days ago1744754411IN
0x9079cba7...3b1Cc12A3
0 ETH0.000291492.86194891
Upgrade_still222767952025-04-15 20:33:35204 days ago1744749215IN
0x9079cba7...3b1Cc12A3
0 ETH0.00006280.69790693
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
ZEN_BLOCKS_S2

Compiler Version
v0.8.20+commit.a1b79de6

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.20;

/// @creator: mhx.eth
/// @author: seesharp.eth

import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol";
import "@openzeppelin/contracts/access/Ownable.sol";

/// __/\\\\\\\\\\\\\\\_________________________________________/\\\\\\\\\\\\\____/\\\\\\___________________________________________________________        
///  _\////////////\\\_________________________________________\/\\\/////////\\\_\////\\\_________________________________/\\\______________________       
///   ___________/\\\/__________________________________________\/\\\_______\/\\\____\/\\\________________________________\/\\\______________________      
///    _________/\\\/_________/\\\\\\\\___/\\/\\\\\\_____________\/\\\\\\\\\\\\\\_____\/\\\________/\\\\\________/\\\\\\\\_\/\\\\\\\\_____/\\\\\\\\\\_     
///     _______/\\\/_________/\\\/////\\\_\/\\\////\\\____________\/\\\/////////\\\____\/\\\______/\\\///\\\____/\\\//////__\/\\\////\\\__\/\\\//////__    
///      _____/\\\/__________/\\\\\\\\\\\__\/\\\__\//\\\___________\/\\\_______\/\\\____\/\\\_____/\\\__\//\\\__/\\\_________\/\\\\\\\\/___\/\\\\\\\\\\_   
///       ___/\\\/___________\//\\///////___\/\\\___\/\\\___________\/\\\_______\/\\\____\/\\\____\//\\\__/\\\__\//\\\________\/\\\///\\\___\////////\\\_  
///        __/\\\\\\\\\\\\\\\__\//\\\\\\\\\\_\/\\\___\/\\\___________\/\\\\\\\\\\\\\/___/\\\\\\\\\__\///\\\\\/____\///\\\\\\\\_\/\\\_\///\\\__/\\\\\\\\\\_ 
///         _\///////////////____\//////////__\///____\///____________\/////////////____\/////////_____\/////________\////////__\///____\///__\//////////__

interface ZEN_BLOCKS {
  function upgrade(uint256 _tokenId) external;
  function ownerOf(uint256 tokenId) external view returns (address);
}

contract ZEN_BLOCKS_S2 is Ownable {
  IERC1155 public dataBlocksContract;
  ZEN_BLOCKS public zenBlocksContract;

  uint256 public upgradeZenBlockActiveTs = 0;

  event Upgrade(uint256 indexed upgrade_type, uint256 indexed tokenId);
  event UpgradeZenBlockWillActivateOn(uint256 timestamp);
  event UpgradeZenBlockDeactivated();

  constructor(address _dataBlocksContract, address _zenBlocksContract) Ownable(msg.sender) {
    dataBlocksContract = IERC1155(_dataBlocksContract);
    zenBlocksContract = ZEN_BLOCKS(_zenBlocksContract);
  }



  /**
   * BURN MECHANICS
   */
  function upgrade_still(uint256 _zenBlockTokenId) external {
    require(upgradeZenBlockActiveTs != 0, "upgrade zen block time is not set");
    require(block.timestamp >= upgradeZenBlockActiveTs, "wait for upgrade zen block time");

    uint256 userDataBlockCount = dataBlocksContract.balanceOf(msg.sender, 1); // token id 1 is data block
    require(userDataBlockCount >= 1, "Not enough data block");
    require(zenBlocksContract.ownerOf(_zenBlockTokenId) == msg.sender, "Not your token");

    dataBlocksContract.safeTransferFrom(msg.sender, address(0xdead), 1, 1, ""); // burn 1 data block
    zenBlocksContract.upgrade(_zenBlockTokenId);

    emit Upgrade(0, _zenBlockTokenId);
  }

  function upgrade_animation(uint256 _zenBlockTokenId) external {
    require(upgradeZenBlockActiveTs != 0, "upgrade zen block time is not set");
    require(block.timestamp >= upgradeZenBlockActiveTs, "wait for upgrade zen block time");

    uint256 userDataBlockCount = dataBlocksContract.balanceOf(msg.sender, 1); // token id 1 is data block
    require(userDataBlockCount >= 2, "Not enough data block");
    require(zenBlocksContract.ownerOf(_zenBlockTokenId) == msg.sender, "Not your token");

    dataBlocksContract.safeTransferFrom(msg.sender, address(0xdead), 1, 2, ""); // burn 2 data blocks
    zenBlocksContract.upgrade(_zenBlockTokenId);

    emit Upgrade(1, _zenBlockTokenId);
  }



  /**
   * ADMIN FUNCTIONS
   */
  function activateZenBlockUpgrade(uint256 _upgradeZenBlockActiveTs) external onlyOwner {
    require(upgradeZenBlockActiveTs == 0, "Already activated");
    upgradeZenBlockActiveTs = _upgradeZenBlockActiveTs;
    emit UpgradeZenBlockWillActivateOn(upgradeZenBlockActiveTs);
  }
  function deactivateZenBlockUpgrade() external onlyOwner {
    upgradeZenBlockActiveTs = 0;
    emit UpgradeZenBlockDeactivated();
  }
  function setZenBlocksContractAddress(address _zenBlocksContract) external onlyOwner {
    zenBlocksContract = ZEN_BLOCKS(_zenBlocksContract);
  }
  function setDataBlocksContractAddress(address _dataBlocksContract) external onlyOwner {
    dataBlocksContract = IERC1155(_dataBlocksContract);
  }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)

pragma solidity ^0.8.20;

import {Context} from "../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.
 *
 * The initial owner is set to the address provided by the deployer. 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;

    /**
     * @dev The caller account is not authorized to perform an operation.
     */
    error OwnableUnauthorizedAccount(address account);

    /**
     * @dev The owner is not a valid owner account. (eg. `address(0)`)
     */
    error OwnableInvalidOwner(address owner);

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

    /**
     * @dev Initializes the contract setting the address provided by the deployer as the initial owner.
     */
    constructor(address initialOwner) {
        if (initialOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(initialOwner);
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        if (owner() != _msgSender()) {
            revert OwnableUnauthorizedAccount(_msgSender());
        }
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby disabling any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(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 {
        if (newOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC1155/IERC1155.sol)

pragma solidity ^0.8.20;

import {IERC165} from "../../utils/introspection/IERC165.sol";

/**
 * @dev Required interface of an ERC-1155 compliant contract, as defined in the
 * https://eips.ethereum.org/EIPS/eip-1155[ERC].
 */
interface IERC1155 is IERC165 {
    /**
     * @dev Emitted when `value` amount of tokens of type `id` are transferred from `from` to `to` by `operator`.
     */
    event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value);

    /**
     * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all
     * transfers.
     */
    event TransferBatch(
        address indexed operator,
        address indexed from,
        address indexed to,
        uint256[] ids,
        uint256[] values
    );

    /**
     * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to
     * `approved`.
     */
    event ApprovalForAll(address indexed account, address indexed operator, bool approved);

    /**
     * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI.
     *
     * If an {URI} event was emitted for `id`, the standard
     * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value
     * returned by {IERC1155MetadataURI-uri}.
     */
    event URI(string value, uint256 indexed id);

    /**
     * @dev Returns the value of tokens of token type `id` owned by `account`.
     */
    function balanceOf(address account, uint256 id) external view returns (uint256);

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(
        address[] calldata accounts,
        uint256[] calldata ids
    ) external view returns (uint256[] memory);

    /**
     * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`,
     *
     * Emits an {ApprovalForAll} event.
     *
     * Requirements:
     *
     * - `operator` cannot be the zero address.
     */
    function setApprovalForAll(address operator, bool approved) external;

    /**
     * @dev Returns true if `operator` is approved to transfer ``account``'s tokens.
     *
     * See {setApprovalForAll}.
     */
    function isApprovedForAll(address account, address operator) external view returns (bool);

    /**
     * @dev Transfers a `value` amount of tokens of type `id` from `from` to `to`.
     *
     * WARNING: This function can potentially allow a reentrancy attack when transferring tokens
     * to an untrusted contract, when invoking {onERC1155Received} on the receiver.
     * Ensure to follow the checks-effects-interactions pattern and consider employing
     * reentrancy guards when interacting with untrusted contracts.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If the caller is not `from`, it must have been approved to spend ``from``'s tokens via {setApprovalForAll}.
     * - `from` must have a balance of tokens of type `id` of at least `value` amount.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function safeTransferFrom(address from, address to, uint256 id, uint256 value, bytes calldata data) external;

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}.
     *
     * WARNING: This function can potentially allow a reentrancy attack when transferring tokens
     * to an untrusted contract, when invoking {onERC1155BatchReceived} on the receiver.
     * Ensure to follow the checks-effects-interactions pattern and consider employing
     * reentrancy guards when interacting with untrusted contracts.
     *
     * Emits either a {TransferSingle} or a {TransferBatch} event, depending on the length of the array arguments.
     *
     * Requirements:
     *
     * - `ids` and `values` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] calldata ids,
        uint256[] calldata values,
        bytes calldata data
    ) external;
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.1.0) (utils/introspection/IERC165.sol)

pragma solidity ^0.8.20;

/**
 * @dev Interface of the ERC-165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[ERC].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[ERC section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)

pragma solidity ^0.8.20;

/**
 * @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;
    }

    function _contextSuffixLength() internal view virtual returns (uint256) {
        return 0;
    }
}

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

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"address","name":"_dataBlocksContract","type":"address"},{"internalType":"address","name":"_zenBlocksContract","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"upgrade_type","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Upgrade","type":"event"},{"anonymous":false,"inputs":[],"name":"UpgradeZenBlockDeactivated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"UpgradeZenBlockWillActivateOn","type":"event"},{"inputs":[{"internalType":"uint256","name":"_upgradeZenBlockActiveTs","type":"uint256"}],"name":"activateZenBlockUpgrade","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"dataBlocksContract","outputs":[{"internalType":"contract IERC1155","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deactivateZenBlockUpgrade","outputs":[],"stateMutability":"nonpayable","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":"_dataBlocksContract","type":"address"}],"name":"setDataBlocksContractAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_zenBlocksContract","type":"address"}],"name":"setZenBlocksContractAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"upgradeZenBlockActiveTs","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_zenBlockTokenId","type":"uint256"}],"name":"upgrade_animation","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_zenBlockTokenId","type":"uint256"}],"name":"upgrade_still","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"zenBlocksContract","outputs":[{"internalType":"contract ZEN_BLOCKS","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

60806040525f60035534801562000014575f80fd5b506040516200165a3803806200165a83398181016040528101906200003a91906200026e565b335f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603620000ae575f6040517f1e4fbdf7000000000000000000000000000000000000000000000000000000008152600401620000a59190620002c4565b60405180910390fd5b620000bf816200014860201b60201c565b508160015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508060025f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050620002df565b5f805f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050815f806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f62000238826200020d565b9050919050565b6200024a816200022c565b811462000255575f80fd5b50565b5f8151905062000268816200023f565b92915050565b5f806040838503121562000287576200028662000209565b5b5f620002968582860162000258565b9250506020620002a98582860162000258565b9150509250929050565b620002be816200022c565b82525050565b5f602082019050620002d95f830184620002b3565b92915050565b61136d80620002ed5f395ff3fe608060405234801561000f575f80fd5b50600436106100b2575f3560e01c806383ee32541161006f57806383ee32541461013c5780638da5cb5b146101585780638e9917aa14610176578063cbafb33d14610194578063d9720750146101b0578063f2fde38b146101ce576100b2565b80630dfa2bed146100b65780631fd8c384146100d45780632ef74ef7146100de578063403c9921146100fa578063691e807c14610116578063715018a614610132575b5f80fd5b6100be6101ea565b6040516100cb9190610d99565b60405180910390f35b6100dc61020f565b005b6100f860048036038101906100f39190610df1565b61024c565b005b610114600480360381019061010f9190610e4f565b610297565b005b610130600480360381019061012b9190610df1565b610651565b005b61013a61069c565b005b61015660048036038101906101519190610e4f565b6106af565b005b610160610a6b565b60405161016d9190610e89565b60405180910390f35b61017e610a92565b60405161018b9190610ec2565b60405180910390f35b6101ae60048036038101906101a99190610e4f565b610ab7565b005b6101b8610b46565b6040516101c59190610eea565b60405180910390f35b6101e860048036038101906101e39190610df1565b610b4c565b005b60025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610217610bd0565b5f6003819055507fa83fecf85e926aa8c067f150071737d9764dd31915c773977437df6af3b8eaff60405160405180910390a1565b610254610bd0565b8060025f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b5f600354036102db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102d290610f83565b60405180910390fd5b600354421015610320576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161031790610feb565b60405180910390fd5b5f60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1662fdd58e3360016040518363ffffffff1660e01b815260040161037d929190611042565b602060405180830381865afa158015610398573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103bc919061107d565b90506001811015610402576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103f9906110f2565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff1660025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e846040518263ffffffff1660e01b81526004016104739190610eea565b602060405180830381865afa15801561048e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104b29190611124565b73ffffffffffffffffffffffffffffffffffffffff1614610508576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104ff90611199565b60405180910390fd5b60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f242432a3361dead6001806040518563ffffffff1660e01b815260040161056b94939291906111ea565b5f604051808303815f87803b158015610582575f80fd5b505af1158015610594573d5f803e3d5ffd5b5050505060025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166345977d03836040518263ffffffff1660e01b81526004016105f29190610eea565b5f604051808303815f87803b158015610609575f80fd5b505af115801561061b573d5f803e3d5ffd5b50505050815f7feb0ebb51128928d7b1a6419c52128a9319bfcb55f0adafea75afbf75f9f2f3e960405160405180910390a35050565b610659610bd0565b8060015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6106a4610bd0565b6106ad5f610c57565b565b5f600354036106f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106ea90610f83565b60405180910390fd5b600354421015610738576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161072f90610feb565b60405180910390fd5b5f60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1662fdd58e3360016040518363ffffffff1660e01b8152600401610795929190611042565b602060405180830381865afa1580156107b0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107d4919061107d565b9050600281101561081a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610811906110f2565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff1660025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e846040518263ffffffff1660e01b815260040161088b9190610eea565b602060405180830381865afa1580156108a6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108ca9190611124565b73ffffffffffffffffffffffffffffffffffffffff1614610920576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161091790611199565b60405180910390fd5b60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f242432a3361dead600160026040518563ffffffff1660e01b81526004016109849493929190611279565b5f604051808303815f87803b15801561099b575f80fd5b505af11580156109ad573d5f803e3d5ffd5b5050505060025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166345977d03836040518263ffffffff1660e01b8152600401610a0b9190610eea565b5f604051808303815f87803b158015610a22575f80fd5b505af1158015610a34573d5f803e3d5ffd5b505050508160017feb0ebb51128928d7b1a6419c52128a9319bfcb55f0adafea75afbf75f9f2f3e960405160405180910390a35050565b5f805f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610abf610bd0565b5f60035414610b03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610afa90611319565b60405180910390fd5b806003819055507f3d7879b85927cc0caa65f24d63749839b47447708de98493354b8b0bcf744e3f600354604051610b3b9190610eea565b60405180910390a150565b60035481565b610b54610bd0565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610bc4575f6040517f1e4fbdf7000000000000000000000000000000000000000000000000000000008152600401610bbb9190610e89565b60405180910390fd5b610bcd81610c57565b50565b610bd8610d18565b73ffffffffffffffffffffffffffffffffffffffff16610bf6610a6b565b73ffffffffffffffffffffffffffffffffffffffff1614610c5557610c19610d18565b6040517f118cdaa7000000000000000000000000000000000000000000000000000000008152600401610c4c9190610e89565b60405180910390fd5b565b5f805f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050815f806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f33905090565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f819050919050565b5f610d61610d5c610d5784610d1f565b610d3e565b610d1f565b9050919050565b5f610d7282610d47565b9050919050565b5f610d8382610d68565b9050919050565b610d9381610d79565b82525050565b5f602082019050610dac5f830184610d8a565b92915050565b5f80fd5b5f610dc082610d1f565b9050919050565b610dd081610db6565b8114610dda575f80fd5b50565b5f81359050610deb81610dc7565b92915050565b5f60208284031215610e0657610e05610db2565b5b5f610e1384828501610ddd565b91505092915050565b5f819050919050565b610e2e81610e1c565b8114610e38575f80fd5b50565b5f81359050610e4981610e25565b92915050565b5f60208284031215610e6457610e63610db2565b5b5f610e7184828501610e3b565b91505092915050565b610e8381610db6565b82525050565b5f602082019050610e9c5f830184610e7a565b92915050565b5f610eac82610d68565b9050919050565b610ebc81610ea2565b82525050565b5f602082019050610ed55f830184610eb3565b92915050565b610ee481610e1c565b82525050565b5f602082019050610efd5f830184610edb565b92915050565b5f82825260208201905092915050565b7f75706772616465207a656e20626c6f636b2074696d65206973206e6f742073655f8201527f7400000000000000000000000000000000000000000000000000000000000000602082015250565b5f610f6d602183610f03565b9150610f7882610f13565b604082019050919050565b5f6020820190508181035f830152610f9a81610f61565b9050919050565b7f7761697420666f722075706772616465207a656e20626c6f636b2074696d65005f82015250565b5f610fd5601f83610f03565b9150610fe082610fa1565b602082019050919050565b5f6020820190508181035f83015261100281610fc9565b9050919050565b5f819050919050565b5f61102c61102761102284611009565b610d3e565b610e1c565b9050919050565b61103c81611012565b82525050565b5f6040820190506110555f830185610e7a565b6110626020830184611033565b9392505050565b5f8151905061107781610e25565b92915050565b5f6020828403121561109257611091610db2565b5b5f61109f84828501611069565b91505092915050565b7f4e6f7420656e6f756768206461746120626c6f636b00000000000000000000005f82015250565b5f6110dc601583610f03565b91506110e7826110a8565b602082019050919050565b5f6020820190508181035f830152611109816110d0565b9050919050565b5f8151905061111e81610dc7565b92915050565b5f6020828403121561113957611138610db2565b5b5f61114684828501611110565b91505092915050565b7f4e6f7420796f757220746f6b656e0000000000000000000000000000000000005f82015250565b5f611183600e83610f03565b915061118e8261114f565b602082019050919050565b5f6020820190508181035f8301526111b081611177565b9050919050565b5f82825260208201905092915050565b50565b5f6111d55f836111b7565b91506111e0826111c7565b5f82019050919050565b5f60a0820190506111fd5f830187610e7a565b61120a6020830186610e7a565b6112176040830185611033565b6112246060830184611033565b8181036080830152611235816111ca565b905095945050505050565b5f819050919050565b5f61126361125e61125984611240565b610d3e565b610e1c565b9050919050565b61127381611249565b82525050565b5f60a08201905061128c5f830187610e7a565b6112996020830186610e7a565b6112a66040830185611033565b6112b3606083018461126a565b81810360808301526112c4816111ca565b905095945050505050565b7f416c7265616479206163746976617465640000000000000000000000000000005f82015250565b5f611303601183610f03565b915061130e826112cf565b602082019050919050565b5f6020820190508181035f830152611330816112f7565b905091905056fea2646970667358221220959ed357623f1d8a8a46c8eaf17e6e4acd15cf65b1ead8f965aea5265cacfc6264736f6c63430008140033000000000000000000000000825b8d4e1432ccbc5ab2bc24c9e65f0434dcaf370000000000000000000000009bf95e31c5b4cceee9d4a9917f4f8704fd730d47

Deployed Bytecode

0x608060405234801561000f575f80fd5b50600436106100b2575f3560e01c806383ee32541161006f57806383ee32541461013c5780638da5cb5b146101585780638e9917aa14610176578063cbafb33d14610194578063d9720750146101b0578063f2fde38b146101ce576100b2565b80630dfa2bed146100b65780631fd8c384146100d45780632ef74ef7146100de578063403c9921146100fa578063691e807c14610116578063715018a614610132575b5f80fd5b6100be6101ea565b6040516100cb9190610d99565b60405180910390f35b6100dc61020f565b005b6100f860048036038101906100f39190610df1565b61024c565b005b610114600480360381019061010f9190610e4f565b610297565b005b610130600480360381019061012b9190610df1565b610651565b005b61013a61069c565b005b61015660048036038101906101519190610e4f565b6106af565b005b610160610a6b565b60405161016d9190610e89565b60405180910390f35b61017e610a92565b60405161018b9190610ec2565b60405180910390f35b6101ae60048036038101906101a99190610e4f565b610ab7565b005b6101b8610b46565b6040516101c59190610eea565b60405180910390f35b6101e860048036038101906101e39190610df1565b610b4c565b005b60025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610217610bd0565b5f6003819055507fa83fecf85e926aa8c067f150071737d9764dd31915c773977437df6af3b8eaff60405160405180910390a1565b610254610bd0565b8060025f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b5f600354036102db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102d290610f83565b60405180910390fd5b600354421015610320576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161031790610feb565b60405180910390fd5b5f60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1662fdd58e3360016040518363ffffffff1660e01b815260040161037d929190611042565b602060405180830381865afa158015610398573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103bc919061107d565b90506001811015610402576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103f9906110f2565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff1660025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e846040518263ffffffff1660e01b81526004016104739190610eea565b602060405180830381865afa15801561048e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104b29190611124565b73ffffffffffffffffffffffffffffffffffffffff1614610508576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104ff90611199565b60405180910390fd5b60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f242432a3361dead6001806040518563ffffffff1660e01b815260040161056b94939291906111ea565b5f604051808303815f87803b158015610582575f80fd5b505af1158015610594573d5f803e3d5ffd5b5050505060025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166345977d03836040518263ffffffff1660e01b81526004016105f29190610eea565b5f604051808303815f87803b158015610609575f80fd5b505af115801561061b573d5f803e3d5ffd5b50505050815f7feb0ebb51128928d7b1a6419c52128a9319bfcb55f0adafea75afbf75f9f2f3e960405160405180910390a35050565b610659610bd0565b8060015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6106a4610bd0565b6106ad5f610c57565b565b5f600354036106f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106ea90610f83565b60405180910390fd5b600354421015610738576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161072f90610feb565b60405180910390fd5b5f60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1662fdd58e3360016040518363ffffffff1660e01b8152600401610795929190611042565b602060405180830381865afa1580156107b0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107d4919061107d565b9050600281101561081a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610811906110f2565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff1660025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e846040518263ffffffff1660e01b815260040161088b9190610eea565b602060405180830381865afa1580156108a6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108ca9190611124565b73ffffffffffffffffffffffffffffffffffffffff1614610920576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161091790611199565b60405180910390fd5b60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f242432a3361dead600160026040518563ffffffff1660e01b81526004016109849493929190611279565b5f604051808303815f87803b15801561099b575f80fd5b505af11580156109ad573d5f803e3d5ffd5b5050505060025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166345977d03836040518263ffffffff1660e01b8152600401610a0b9190610eea565b5f604051808303815f87803b158015610a22575f80fd5b505af1158015610a34573d5f803e3d5ffd5b505050508160017feb0ebb51128928d7b1a6419c52128a9319bfcb55f0adafea75afbf75f9f2f3e960405160405180910390a35050565b5f805f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610abf610bd0565b5f60035414610b03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610afa90611319565b60405180910390fd5b806003819055507f3d7879b85927cc0caa65f24d63749839b47447708de98493354b8b0bcf744e3f600354604051610b3b9190610eea565b60405180910390a150565b60035481565b610b54610bd0565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610bc4575f6040517f1e4fbdf7000000000000000000000000000000000000000000000000000000008152600401610bbb9190610e89565b60405180910390fd5b610bcd81610c57565b50565b610bd8610d18565b73ffffffffffffffffffffffffffffffffffffffff16610bf6610a6b565b73ffffffffffffffffffffffffffffffffffffffff1614610c5557610c19610d18565b6040517f118cdaa7000000000000000000000000000000000000000000000000000000008152600401610c4c9190610e89565b60405180910390fd5b565b5f805f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050815f806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f33905090565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f819050919050565b5f610d61610d5c610d5784610d1f565b610d3e565b610d1f565b9050919050565b5f610d7282610d47565b9050919050565b5f610d8382610d68565b9050919050565b610d9381610d79565b82525050565b5f602082019050610dac5f830184610d8a565b92915050565b5f80fd5b5f610dc082610d1f565b9050919050565b610dd081610db6565b8114610dda575f80fd5b50565b5f81359050610deb81610dc7565b92915050565b5f60208284031215610e0657610e05610db2565b5b5f610e1384828501610ddd565b91505092915050565b5f819050919050565b610e2e81610e1c565b8114610e38575f80fd5b50565b5f81359050610e4981610e25565b92915050565b5f60208284031215610e6457610e63610db2565b5b5f610e7184828501610e3b565b91505092915050565b610e8381610db6565b82525050565b5f602082019050610e9c5f830184610e7a565b92915050565b5f610eac82610d68565b9050919050565b610ebc81610ea2565b82525050565b5f602082019050610ed55f830184610eb3565b92915050565b610ee481610e1c565b82525050565b5f602082019050610efd5f830184610edb565b92915050565b5f82825260208201905092915050565b7f75706772616465207a656e20626c6f636b2074696d65206973206e6f742073655f8201527f7400000000000000000000000000000000000000000000000000000000000000602082015250565b5f610f6d602183610f03565b9150610f7882610f13565b604082019050919050565b5f6020820190508181035f830152610f9a81610f61565b9050919050565b7f7761697420666f722075706772616465207a656e20626c6f636b2074696d65005f82015250565b5f610fd5601f83610f03565b9150610fe082610fa1565b602082019050919050565b5f6020820190508181035f83015261100281610fc9565b9050919050565b5f819050919050565b5f61102c61102761102284611009565b610d3e565b610e1c565b9050919050565b61103c81611012565b82525050565b5f6040820190506110555f830185610e7a565b6110626020830184611033565b9392505050565b5f8151905061107781610e25565b92915050565b5f6020828403121561109257611091610db2565b5b5f61109f84828501611069565b91505092915050565b7f4e6f7420656e6f756768206461746120626c6f636b00000000000000000000005f82015250565b5f6110dc601583610f03565b91506110e7826110a8565b602082019050919050565b5f6020820190508181035f830152611109816110d0565b9050919050565b5f8151905061111e81610dc7565b92915050565b5f6020828403121561113957611138610db2565b5b5f61114684828501611110565b91505092915050565b7f4e6f7420796f757220746f6b656e0000000000000000000000000000000000005f82015250565b5f611183600e83610f03565b915061118e8261114f565b602082019050919050565b5f6020820190508181035f8301526111b081611177565b9050919050565b5f82825260208201905092915050565b50565b5f6111d55f836111b7565b91506111e0826111c7565b5f82019050919050565b5f60a0820190506111fd5f830187610e7a565b61120a6020830186610e7a565b6112176040830185611033565b6112246060830184611033565b8181036080830152611235816111ca565b905095945050505050565b5f819050919050565b5f61126361125e61125984611240565b610d3e565b610e1c565b9050919050565b61127381611249565b82525050565b5f60a08201905061128c5f830187610e7a565b6112996020830186610e7a565b6112a66040830185611033565b6112b3606083018461126a565b81810360808301526112c4816111ca565b905095945050505050565b7f416c7265616479206163746976617465640000000000000000000000000000005f82015250565b5f611303601183610f03565b915061130e826112cf565b602082019050919050565b5f6020820190508181035f830152611330816112f7565b905091905056fea2646970667358221220959ed357623f1d8a8a46c8eaf17e6e4acd15cf65b1ead8f965aea5265cacfc6264736f6c63430008140033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000825b8d4e1432ccbc5ab2bc24c9e65f0434dcaf370000000000000000000000009bf95e31c5b4cceee9d4a9917f4f8704fd730d47

-----Decoded View---------------
Arg [0] : _dataBlocksContract (address): 0x825b8d4e1432CCbC5AB2bC24C9E65F0434dCaF37
Arg [1] : _zenBlocksContract (address): 0x9bf95e31C5b4cceeE9d4A9917F4f8704fD730d47

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000825b8d4e1432ccbc5ab2bc24c9e65f0434dcaf37
Arg [1] : 0000000000000000000000009bf95e31c5b4cceee9d4a9917f4f8704fd730d47


Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ 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.