ETH Price: $2,279.40 (+2.64%)

Token

BLOCK JOY (JOY)
 

Overview

Max Total Supply

49,501 JOY

Holders

26

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
250 JOY

Value
$0.00
0x8b9cc3b15fe072a306b16dedaf10a0af3885b95b
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:
JOYToken

Compiler Version
v0.4.19+commit.c4cbbb05

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2018-03-24
*/

pragma solidity ^0.4.19;

/**
 * @title SafeMath
 * @dev Math operations with safety checks that throw on error
 */
library SafeMath {

  /**
  * @dev Multiplies two numbers, throws on overflow.
  */
  function mul(uint256 a, uint256 b) internal pure returns (uint256) {
    if (a == 0) {
      return 0;
    }
    uint256 c = a * b;
    assert(c / a == b);
    return c;
  }

  /**
  * @dev Integer division of two numbers, truncating the quotient.
  */
  function div(uint256 a, uint256 b) internal pure returns (uint256) {
    // assert(b > 0); // Solidity automatically throws when dividing by 0
    uint256 c = a / b;
    // assert(a == b * c + a % b); // There is no case in which this doesn't hold
    return c;
  }

  /**
  * @dev Substracts two numbers, throws on overflow (i.e. if subtrahend is greater than minuend).
  */
  function sub(uint256 a, uint256 b) internal pure returns (uint256) {
    assert(b <= a);
    return a - b;
  }

  /**
  * @dev Adds two numbers, throws on overflow.
  */
  function add(uint256 a, uint256 b) internal pure returns (uint256) {
    uint256 c = a + b;
    assert(c >= a);
    return c;
  }
}

/**
 * @title Ownable
 * @dev The Ownable contract has an owner address, and provides basic authorization control
 * functions, this simplifies the implementation of "user permissions".
 */
contract Ownable {
  address public owner;


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


  /**
   * @dev The Ownable constructor sets the original `owner` of the contract to the sender
   * account.
   */
  function Ownable() public {
    owner = msg.sender;
  }

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

  /**
   * @dev Allows the current owner to transfer control of the contract to a newOwner.
   * @param newOwner The address to transfer ownership to.
   */
  function transferOwnership(address newOwner) public onlyOwner {
    require(newOwner != address(0));
    OwnershipTransferred(owner, newOwner);
    owner = newOwner;
  }

}

/**
 * @title Pausable
 * @dev Base contract which allows children to implement an emergency stop mechanism.
 */
contract Pausable is Ownable {
  event Pause();
  event Unpause();

  bool public paused = false;


  /**
   * @dev Modifier to make a function callable only when the contract is not paused.
   */
  modifier whenNotPaused() {
    require(!paused);
    _;
  }

  /**
   * @dev Modifier to make a function callable only when the contract is paused.
   */
  modifier whenPaused() {
    require(paused);
    _;
  }

  /**
   * @dev called by the owner to pause, triggers stopped state
   */
  function pause() onlyOwner whenNotPaused public {
    paused = true;
    Pause();
  }

  /**
   * @dev called by the owner to unpause, returns to normal state
   */
  function unpause() onlyOwner whenPaused public {
    paused = false;
    Unpause();
  }
}

/**
 * @title ERC20Basic
 * @dev Simpler version of ERC20 interface
 * @dev see https://github.com/ethereum/EIPs/issues/179
 */
contract ERC20Basic {
  function totalSupply() public view returns (uint256);
  function balanceOf(address who) public view returns (uint256);
  function transfer(address to, uint256 value) public returns (bool);
  event Transfer(address indexed from, address indexed to, uint256 value);
}

/**
 * @title ERC20 interface
 * @dev see https://github.com/ethereum/EIPs/issues/20
 */
contract ERC20 is ERC20Basic {
  function allowance(address owner, address spender) public view returns (uint256);
  function transferFrom(address from, address to, uint256 value) public returns (bool);
  function approve(address spender, uint256 value) public returns (bool);
  event Approval(address indexed owner, address indexed spender, uint256 value);
}

/**
   @title ERC827 interface, an extension of ERC20 token standard

   Interface of a ERC827 token, following the ERC20 standard with extra
   methods to transfer value and data and execute calls in transfers and
   approvals.
 */
contract ERC827 is ERC20 {

  function approve( address _spender, uint256 _value, bytes _data ) public returns (bool);
  function transfer( address _to, uint256 _value, bytes _data ) public returns (bool);
  function transferFrom( address _from, address _to, uint256 _value, bytes _data ) public returns (bool);

}

/**
 * @title Basic token
 * @dev Basic version of StandardToken, with no allowances.
 */
contract BasicToken is ERC20Basic {
  using SafeMath for uint256;

  mapping(address => uint256) balances;

  uint256 totalSupply_;

  /**
  * @dev total number of tokens in existence
  */
  function totalSupply() public view returns (uint256) {
    return totalSupply_;
  }

  /**
  * @dev transfer token for a specified address
  * @param _to The address to transfer to.
  * @param _value The amount to be transferred.
  */
  function transfer(address _to, uint256 _value) public returns (bool) {
    require(_to != address(0));
    require(_value <= balances[msg.sender]);

    // SafeMath.sub will throw if there is not enough balance.
    balances[msg.sender] = balances[msg.sender].sub(_value);
    balances[_to] = balances[_to].add(_value);
    Transfer(msg.sender, _to, _value);
    return true;
  }

  /**
  * @dev Gets the balance of the specified address.
  * @param _owner The address to query the the balance of.
  * @return An uint256 representing the amount owned by the passed address.
  */
  function balanceOf(address _owner) public view returns (uint256 balance) {
    return balances[_owner];
  }

}

/**
 * @title Standard ERC20 token
 *
 * @dev Implementation of the basic standard token.
 * @dev https://github.com/ethereum/EIPs/issues/20
 * @dev Based on code by FirstBlood: https://github.com/Firstbloodio/token/blob/master/smart_contract/FirstBloodToken.sol
 */
contract StandardToken is ERC20, BasicToken {

  mapping (address => mapping (address => uint256)) internal allowed;


  /**
   * @dev Transfer tokens from one address to another
   * @param _from address The address which you want to send tokens from
   * @param _to address The address which you want to transfer to
   * @param _value uint256 the amount of tokens to be transferred
   */
  function transferFrom(address _from, address _to, uint256 _value) public returns (bool) {
    require(_to != address(0));
    require(_value <= balances[_from]);
    require(_value <= allowed[_from][msg.sender]);

    balances[_from] = balances[_from].sub(_value);
    balances[_to] = balances[_to].add(_value);
    allowed[_from][msg.sender] = allowed[_from][msg.sender].sub(_value);
    Transfer(_from, _to, _value);
    return true;
  }

  /**
   * @dev Approve the passed address to spend the specified amount of tokens on behalf of msg.sender.
   *
   * 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
   * @param _spender The address which will spend the funds.
   * @param _value The amount of tokens to be spent.
   */
  function approve(address _spender, uint256 _value) public returns (bool) {
    allowed[msg.sender][_spender] = _value;
    Approval(msg.sender, _spender, _value);
    return true;
  }

  /**
   * @dev Function to check the amount of tokens that an owner allowed to a spender.
   * @param _owner address The address which owns the funds.
   * @param _spender address The address which will spend the funds.
   * @return A uint256 specifying the amount of tokens still available for the spender.
   */
  function allowance(address _owner, address _spender) public view returns (uint256) {
    return allowed[_owner][_spender];
  }

  /**
   * @dev Increase the amount of tokens that an owner allowed to a spender.
   *
   * approve should be called when allowed[_spender] == 0. To increment
   * allowed value is better to use this function to avoid 2 calls (and wait until
   * the first transaction is mined)
   * From MonolithDAO Token.sol
   * @param _spender The address which will spend the funds.
   * @param _addedValue The amount of tokens to increase the allowance by.
   */
  function increaseApproval(address _spender, uint _addedValue) public returns (bool) {
    allowed[msg.sender][_spender] = allowed[msg.sender][_spender].add(_addedValue);
    Approval(msg.sender, _spender, allowed[msg.sender][_spender]);
    return true;
  }

  /**
   * @dev Decrease the amount of tokens that an owner allowed to a spender.
   *
   * approve should be called when allowed[_spender] == 0. To decrement
   * allowed value is better to use this function to avoid 2 calls (and wait until
   * the first transaction is mined)
   * From MonolithDAO Token.sol
   * @param _spender The address which will spend the funds.
   * @param _subtractedValue The amount of tokens to decrease the allowance by.
   */
  function decreaseApproval(address _spender, uint _subtractedValue) public returns (bool) {
    uint oldValue = allowed[msg.sender][_spender];
    if (_subtractedValue > oldValue) {
      allowed[msg.sender][_spender] = 0;
    } else {
      allowed[msg.sender][_spender] = oldValue.sub(_subtractedValue);
    }
    Approval(msg.sender, _spender, allowed[msg.sender][_spender]);
    return true;
  }

}

/**
   @title ERC827, an extension of ERC20 token standard

   Implementation the ERC827, following the ERC20 standard with extra
   methods to transfer value and data and execute calls in transfers and
   approvals.
   Uses OpenZeppelin StandardToken.
 */
contract ERC827Token is ERC827, StandardToken {

  /**
     @dev Addition to ERC20 token methods. It allows to
     approve the transfer of value and execute a call with the sent data.

     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

     @param _spender The address that will spend the funds.
     @param _value The amount of tokens to be spent.
     @param _data ABI-encoded contract call to call `_to` address.

     @return true if the call function was executed successfully
   */
  function approve(address _spender, uint256 _value, bytes _data) public returns (bool) {
    require(_spender != address(this));

    super.approve(_spender, _value);

    require(_spender.call(_data));

    return true;
  }

  /**
     @dev Addition to ERC20 token methods. Transfer tokens to a specified
     address and execute a call with the sent data on the same transaction

     @param _to address The address which you want to transfer to
     @param _value uint256 the amout of tokens to be transfered
     @param _data ABI-encoded contract call to call `_to` address.

     @return true if the call function was executed successfully
   */
  function transfer(address _to, uint256 _value, bytes _data) public returns (bool) {
    require(_to != address(this));

    super.transfer(_to, _value);

    require(_to.call(_data));
    return true;
  }

  /**
     @dev Addition to ERC20 token methods. Transfer tokens from one address to
     another and make a contract call on the same transaction

     @param _from The address which you want to send tokens from
     @param _to The address which you want to transfer to
     @param _value The amout of tokens to be transferred
     @param _data ABI-encoded contract call to call `_to` address.

     @return true if the call function was executed successfully
   */
  function transferFrom(address _from, address _to, uint256 _value, bytes _data) public returns (bool) {
    require(_to != address(this));

    super.transferFrom(_from, _to, _value);

    require(_to.call(_data));
    return true;
  }

  /**
   * @dev Addition to StandardToken methods. Increase the amount of tokens that
   * an owner allowed to a spender and execute a call with the sent data.
   *
   * approve should be called when allowed[_spender] == 0. To increment
   * allowed value is better to use this function to avoid 2 calls (and wait until
   * the first transaction is mined)
   * From MonolithDAO Token.sol
   * @param _spender The address which will spend the funds.
   * @param _addedValue The amount of tokens to increase the allowance by.
   * @param _data ABI-encoded contract call to call `_spender` address.
   */
  function increaseApproval(address _spender, uint _addedValue, bytes _data) public returns (bool) {
    require(_spender != address(this));

    super.increaseApproval(_spender, _addedValue);

    require(_spender.call(_data));

    return true;
  }

  /**
   * @dev Addition to StandardToken methods. Decrease the amount of tokens that
   * an owner allowed to a spender and execute a call with the sent data.
   *
   * approve should be called when allowed[_spender] == 0. To decrement
   * allowed value is better to use this function to avoid 2 calls (and wait until
   * the first transaction is mined)
   * From MonolithDAO Token.sol
   * @param _spender The address which will spend the funds.
   * @param _subtractedValue The amount of tokens to decrease the allowance by.
   * @param _data ABI-encoded contract call to call `_spender` address.
   */
  function decreaseApproval(address _spender, uint _subtractedValue, bytes _data) public returns (bool) {
    require(_spender != address(this));

    super.decreaseApproval(_spender, _subtractedValue);

    require(_spender.call(_data));

    return true;
  }

}

/**
 * @title JOYToken
 * @dev Very simple ERC20 Token example, where all tokens are pre-assigned to the creator.
 * Note they can later distribute these tokens as they wish using `transfer` and other
 * `StandardToken` functions.
 */
contract JOYToken is Pausable, ERC827Token {

    string public constant name = "BLOCK JOY";
    string public constant symbol = "JOY";
    uint256 public constant decimals = 18;

    uint256 public constant exchangeRatio = 10000;
    uint256 public constant sellCut = 1000;

    uint256 public incomeFees;
    address public cfoAddress;

    event Buy(address indexed buyer, uint256 ethAmount, uint256 tokenAmount);
    event Sell(address indexed seller, uint256 tokenAmount, uint256 ethAmount);

    function JOYToken() public {
        cfoAddress = msg.sender;
    }

    // @dev sell token
    function sell(uint256 _tokenCount) external {
        require(_tokenCount > 0);
        require(_tokenCount <= balances[msg.sender]);
        balances[msg.sender] = balances[msg.sender].sub(_tokenCount);
        totalSupply_ = totalSupply_.sub(_tokenCount);
        Transfer(msg.sender, 0x0, _tokenCount);
        uint256 value = _tokenCount.div(exchangeRatio);
        uint256 cut = value.div(sellCut);
        value = value.sub(cut);
        Sell(msg.sender, _tokenCount, value);
        if (cut > 0) {
            incomeFees = incomeFees.add(cut);
        }
        if (value > 0) {
            msg.sender.transfer(value);
        }
    }

    function setCFO(address _newCFO) external onlyOwner {
        require(_newCFO != address(0));

        cfoAddress = _newCFO;
    }

    modifier onlyCFO() {
        require(msg.sender == cfoAddress);
        _;
    }

    /// @dev Remove all fees from the contract
    function withdrawFees(uint256 _value) external onlyCFO {

        // We are using this boolean method to make sure that even if one fails it will still work
        require(_value <= incomeFees);
        incomeFees = incomeFees.sub(_value);
        cfoAddress.transfer(_value);
    }

    // @dev buy token
    function() external payable whenNotPaused {
        require(msg.value > 0);
        uint256 _count = msg.value;
        uint256 tokenCount = _count.mul(exchangeRatio);
        
        totalSupply_ = totalSupply_.add(tokenCount);
        balances[msg.sender] = balances[msg.sender].add(tokenCount);
        Buy(msg.sender, _count, tokenCount);
        Transfer(0x0, msg.sender, tokenCount);
    }
}

Contract Security Audit

Contract ABI

[{"constant":true,"inputs":[],"name":"cfoAddress","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"}],"name":"approve","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_addedValue","type":"uint256"},{"name":"_data","type":"bytes"}],"name":"increaseApproval","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"incomeFees","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"unpause","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"exchangeRatio","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_newCFO","type":"address"}],"name":"setCFO","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"},{"name":"_data","type":"bytes"}],"name":"approve","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"paused","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_value","type":"uint256"}],"name":"withdrawFees","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_subtractedValue","type":"uint256"}],"name":"decreaseApproval","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"sellCut","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"balance","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_subtractedValue","type":"uint256"},{"name":"_data","type":"bytes"}],"name":"decreaseApproval","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"pause","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_value","type":"uint256"},{"name":"_data","type":"bytes"}],"name":"transferFrom","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"},{"name":"_data","type":"bytes"}],"name":"transfer","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_addedValue","type":"uint256"}],"name":"increaseApproval","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"},{"name":"_spender","type":"address"}],"name":"allowance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_tokenCount","type":"uint256"}],"name":"sell","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":true,"name":"buyer","type":"address"},{"indexed":false,"name":"ethAmount","type":"uint256"},{"indexed":false,"name":"tokenAmount","type":"uint256"}],"name":"Buy","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"seller","type":"address"},{"indexed":false,"name":"tokenAmount","type":"uint256"},{"indexed":false,"name":"ethAmount","type":"uint256"}],"name":"Sell","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"owner","type":"address"},{"indexed":true,"name":"spender","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[],"name":"Pause","type":"event"},{"anonymous":false,"inputs":[],"name":"Unpause","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"},{"indexed":true,"name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"}]

60606040526000805460a060020a60ff0219169055341561001f57600080fd5b60008054600160a060020a033316600160a060020a03199182168117909255600580549091169091179055611399806100596000396000f3006060604052600436106101695763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416630519ce79811461027257806306fdde03146102a1578063095ea7b31461032b57806316ca3b631461036157806318160ddd146103c657806323b872dd146103eb578063313ce567146104135780633318d4a5146104265780633f4ba83a146104395780634006ccc51461044e5780634e0a3379146104615780635c17f9f4146104805780635c975abb146104e55780635e318e07146104f8578063661884631461050e57806368f169e11461053057806370a08231146105435780637272ad49146105625780638456cb59146105c75780638da5cb5b146105da57806395d89b41146105ed578063a9059cbb14610600578063ab67aa5814610622578063be45fd621461068e578063d73dd623146106f3578063dd62ed3e14610715578063e4849b321461073a578063f2fde38b14610750575b60008054819060a060020a900460ff161561018357600080fd5b6000341161019057600080fd5b3491506101a58261271063ffffffff61076f16565b6002549091506101bb908263ffffffff6107a516565b600255600160a060020a0333166000908152600160205260409020546101e7908263ffffffff6107a516565b600160a060020a0333166000818152600160205260409081902092909255907f1cbc5ab135991bd2b6a4b034a04aa2aa086dac1371cb9b16b8b5e2ed6b036bed90849084905191825260208201526040908101905180910390a233600160a060020a0316600060008051602061134e8339815191528360405190815260200160405180910390a35050005b341561027d57600080fd5b6102856107b4565b604051600160a060020a03909116815260200160405180910390f35b34156102ac57600080fd5b6102b46107c3565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156102f05780820151838201526020016102d8565b50505050905090810190601f16801561031d5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561033657600080fd5b61034d600160a060020a03600435166024356107fa565b604051901515815260200160405180910390f35b341561036c57600080fd5b61034d60048035600160a060020a03169060248035919060649060443590810190830135806020601f8201819004810201604051908101604052818152929190602084018383808284375094965061086695505050505050565b34156103d157600080fd5b6103d9610924565b60405190815260200160405180910390f35b34156103f657600080fd5b61034d600160a060020a036004358116906024351660443561092a565b341561041e57600080fd5b6103d9610a9a565b341561043157600080fd5b6103d9610a9f565b341561044457600080fd5b61044c610aa5565b005b341561045957600080fd5b6103d9610b24565b341561046c57600080fd5b61044c600160a060020a0360043516610b2a565b341561048b57600080fd5b61034d60048035600160a060020a03169060248035919060649060443590810190830135806020601f82018190048102016040519081016040528181529291906020840183838082843750949650610b8995505050505050565b34156104f057600080fd5b61034d610bb6565b341561050357600080fd5b61044c600435610bc6565b341561051957600080fd5b61034d600160a060020a0360043516602435610c3c565b341561053b57600080fd5b6103d9610d36565b341561054e57600080fd5b6103d9600160a060020a0360043516610d3c565b341561056d57600080fd5b61034d60048035600160a060020a03169060248035919060649060443590810190830135806020601f82018190048102016040519081016040528181529291906020840183838082843750949650610d5795505050505050565b34156105d257600080fd5b61044c610d84565b34156105e557600080fd5b610285610e08565b34156105f857600080fd5b6102b4610e17565b341561060b57600080fd5b61034d600160a060020a0360043516602435610e4e565b341561062d57600080fd5b61034d600160a060020a036004803582169160248035909116916044359160849060643590810190830135806020601f82018190048102016040519081016040528181529291906020840183838082843750949650610f3795505050505050565b341561069957600080fd5b61034d60048035600160a060020a03169060248035919060649060443590810190830135806020601f82018190048102016040519081016040528181529291906020840183838082843750949650610ff795505050505050565b34156106fe57600080fd5b61034d600160a060020a0360043516602435611024565b341561072057600080fd5b6103d9600160a060020a03600435811690602435166110c8565b341561074557600080fd5b61044c6004356110f3565b341561075b57600080fd5b61044c600160a060020a0360043516611289565b600080831515610782576000915061079e565b5082820282848281151561079257fe5b041461079a57fe5b8091505b5092915050565b60008282018381101561079a57fe5b600554600160a060020a031681565b60408051908101604052600981527f424c4f434b204a4f590000000000000000000000000000000000000000000000602082015281565b600160a060020a03338116600081815260036020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a350600192915050565b600030600160a060020a031684600160a060020a03161415151561088957600080fd5b6108938484611024565b5083600160a060020a03168260405180828051906020019080838360005b838110156108c95780820151838201526020016108b1565b50505050905090810190601f1680156108f65780820380516001836020036101000a031916815260200191505b5091505060006040518083038160008661646e5a03f1915050151561091a57600080fd5b5060019392505050565b60025490565b6000600160a060020a038316151561094157600080fd5b600160a060020a03841660009081526001602052604090205482111561096657600080fd5b600160a060020a038085166000908152600360209081526040808320339094168352929052205482111561099957600080fd5b600160a060020a0384166000908152600160205260409020546109c2908363ffffffff61132416565b600160a060020a0380861660009081526001602052604080822093909355908516815220546109f7908363ffffffff6107a516565b600160a060020a03808516600090815260016020908152604080832094909455878316825260038152838220339093168252919091522054610a3f908363ffffffff61132416565b600160a060020a038086166000818152600360209081526040808320338616845290915290819020939093559085169160008051602061134e8339815191529085905190815260200160405180910390a35060019392505050565b601281565b60045481565b60005433600160a060020a03908116911614610ac057600080fd5b60005460a060020a900460ff161515610ad857600080fd5b6000805474ff0000000000000000000000000000000000000000191690557f7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b3360405160405180910390a1565b61271081565b60005433600160a060020a03908116911614610b4557600080fd5b600160a060020a0381161515610b5a57600080fd5b6005805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600030600160a060020a031684600160a060020a031614151515610bac57600080fd5b61089384846107fa565b60005460a060020a900460ff1681565b60055433600160a060020a03908116911614610be157600080fd5b600454811115610bf057600080fd5b600454610c03908263ffffffff61132416565b600455600554600160a060020a031681156108fc0282604051600060405180830381858888f193505050501515610c3957600080fd5b50565b600160a060020a03338116600090815260036020908152604080832093861683529290529081205480831115610c9957600160a060020a033381166000908152600360209081526040808320938816835292905290812055610cd0565b610ca9818463ffffffff61132416565b600160a060020a033381166000908152600360209081526040808320938916835292905220555b600160a060020a0333811660008181526003602090815260408083209489168084529490915290819020547f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925915190815260200160405180910390a35060019392505050565b6103e881565b600160a060020a031660009081526001602052604090205490565b600030600160a060020a031684600160a060020a031614151515610d7a57600080fd5b6108938484610c3c565b60005433600160a060020a03908116911614610d9f57600080fd5b60005460a060020a900460ff1615610db657600080fd5b6000805474ff0000000000000000000000000000000000000000191660a060020a1790557f6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff62560405160405180910390a1565b600054600160a060020a031681565b60408051908101604052600381527f4a4f590000000000000000000000000000000000000000000000000000000000602082015281565b6000600160a060020a0383161515610e6557600080fd5b600160a060020a033316600090815260016020526040902054821115610e8a57600080fd5b600160a060020a033316600090815260016020526040902054610eb3908363ffffffff61132416565b600160a060020a033381166000908152600160205260408082209390935590851681522054610ee8908363ffffffff6107a516565b600160a060020a03808516600081815260016020526040908190209390935591339091169060008051602061134e8339815191529085905190815260200160405180910390a350600192915050565b600030600160a060020a031684600160a060020a031614151515610f5a57600080fd5b610f6585858561092a565b5083600160a060020a03168260405180828051906020019080838360005b83811015610f9b578082015183820152602001610f83565b50505050905090810190601f168015610fc85780820380516001836020036101000a031916815260200191505b5091505060006040518083038160008661646e5a03f19150501515610fec57600080fd5b506001949350505050565b600030600160a060020a031684600160a060020a03161415151561101a57600080fd5b6108938484610e4e565b600160a060020a03338116600090815260036020908152604080832093861683529290529081205461105c908363ffffffff6107a516565b600160a060020a0333811660008181526003602090815260408083209489168084529490915290819020849055919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591905190815260200160405180910390a350600192915050565b600160a060020a03918216600090815260036020908152604080832093909416825291909152205490565b60008080831161110257600080fd5b600160a060020a03331660009081526001602052604090205483111561112757600080fd5b600160a060020a033316600090815260016020526040902054611150908463ffffffff61132416565b600160a060020a03331660009081526001602052604090205560025461117c908463ffffffff61132416565b6002556000600160a060020a03331660008051602061134e8339815191528560405190815260200160405180910390a36111be8361271063ffffffff61133616565b91506111d2826103e863ffffffff61133616565b90506111e4828263ffffffff61132416565b915033600160a060020a03167fed7a144fad14804d5c249145e3e0e2b63a9eb455b76aee5bc92d711e9bba3e4a848460405191825260208201526040908101905180910390a2600081111561124a57600454611246908263ffffffff6107a516565b6004555b600082111561128457600160a060020a03331682156108fc0283604051600060405180830381858888f19350505050151561128457600080fd5b505050565b60005433600160a060020a039081169116146112a457600080fd5b600160a060020a03811615156112b957600080fd5b600054600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60008282111561133057fe5b50900390565b600080828481151561134457fe5b049493505050505600ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa165627a7a72305820cb292040eb7c0cb1dc088fbd0e078358520c846aba19380814dce861e13ddb730029

Deployed Bytecode

0x6060604052600436106101695763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416630519ce79811461027257806306fdde03146102a1578063095ea7b31461032b57806316ca3b631461036157806318160ddd146103c657806323b872dd146103eb578063313ce567146104135780633318d4a5146104265780633f4ba83a146104395780634006ccc51461044e5780634e0a3379146104615780635c17f9f4146104805780635c975abb146104e55780635e318e07146104f8578063661884631461050e57806368f169e11461053057806370a08231146105435780637272ad49146105625780638456cb59146105c75780638da5cb5b146105da57806395d89b41146105ed578063a9059cbb14610600578063ab67aa5814610622578063be45fd621461068e578063d73dd623146106f3578063dd62ed3e14610715578063e4849b321461073a578063f2fde38b14610750575b60008054819060a060020a900460ff161561018357600080fd5b6000341161019057600080fd5b3491506101a58261271063ffffffff61076f16565b6002549091506101bb908263ffffffff6107a516565b600255600160a060020a0333166000908152600160205260409020546101e7908263ffffffff6107a516565b600160a060020a0333166000818152600160205260409081902092909255907f1cbc5ab135991bd2b6a4b034a04aa2aa086dac1371cb9b16b8b5e2ed6b036bed90849084905191825260208201526040908101905180910390a233600160a060020a0316600060008051602061134e8339815191528360405190815260200160405180910390a35050005b341561027d57600080fd5b6102856107b4565b604051600160a060020a03909116815260200160405180910390f35b34156102ac57600080fd5b6102b46107c3565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156102f05780820151838201526020016102d8565b50505050905090810190601f16801561031d5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561033657600080fd5b61034d600160a060020a03600435166024356107fa565b604051901515815260200160405180910390f35b341561036c57600080fd5b61034d60048035600160a060020a03169060248035919060649060443590810190830135806020601f8201819004810201604051908101604052818152929190602084018383808284375094965061086695505050505050565b34156103d157600080fd5b6103d9610924565b60405190815260200160405180910390f35b34156103f657600080fd5b61034d600160a060020a036004358116906024351660443561092a565b341561041e57600080fd5b6103d9610a9a565b341561043157600080fd5b6103d9610a9f565b341561044457600080fd5b61044c610aa5565b005b341561045957600080fd5b6103d9610b24565b341561046c57600080fd5b61044c600160a060020a0360043516610b2a565b341561048b57600080fd5b61034d60048035600160a060020a03169060248035919060649060443590810190830135806020601f82018190048102016040519081016040528181529291906020840183838082843750949650610b8995505050505050565b34156104f057600080fd5b61034d610bb6565b341561050357600080fd5b61044c600435610bc6565b341561051957600080fd5b61034d600160a060020a0360043516602435610c3c565b341561053b57600080fd5b6103d9610d36565b341561054e57600080fd5b6103d9600160a060020a0360043516610d3c565b341561056d57600080fd5b61034d60048035600160a060020a03169060248035919060649060443590810190830135806020601f82018190048102016040519081016040528181529291906020840183838082843750949650610d5795505050505050565b34156105d257600080fd5b61044c610d84565b34156105e557600080fd5b610285610e08565b34156105f857600080fd5b6102b4610e17565b341561060b57600080fd5b61034d600160a060020a0360043516602435610e4e565b341561062d57600080fd5b61034d600160a060020a036004803582169160248035909116916044359160849060643590810190830135806020601f82018190048102016040519081016040528181529291906020840183838082843750949650610f3795505050505050565b341561069957600080fd5b61034d60048035600160a060020a03169060248035919060649060443590810190830135806020601f82018190048102016040519081016040528181529291906020840183838082843750949650610ff795505050505050565b34156106fe57600080fd5b61034d600160a060020a0360043516602435611024565b341561072057600080fd5b6103d9600160a060020a03600435811690602435166110c8565b341561074557600080fd5b61044c6004356110f3565b341561075b57600080fd5b61044c600160a060020a0360043516611289565b600080831515610782576000915061079e565b5082820282848281151561079257fe5b041461079a57fe5b8091505b5092915050565b60008282018381101561079a57fe5b600554600160a060020a031681565b60408051908101604052600981527f424c4f434b204a4f590000000000000000000000000000000000000000000000602082015281565b600160a060020a03338116600081815260036020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a350600192915050565b600030600160a060020a031684600160a060020a03161415151561088957600080fd5b6108938484611024565b5083600160a060020a03168260405180828051906020019080838360005b838110156108c95780820151838201526020016108b1565b50505050905090810190601f1680156108f65780820380516001836020036101000a031916815260200191505b5091505060006040518083038160008661646e5a03f1915050151561091a57600080fd5b5060019392505050565b60025490565b6000600160a060020a038316151561094157600080fd5b600160a060020a03841660009081526001602052604090205482111561096657600080fd5b600160a060020a038085166000908152600360209081526040808320339094168352929052205482111561099957600080fd5b600160a060020a0384166000908152600160205260409020546109c2908363ffffffff61132416565b600160a060020a0380861660009081526001602052604080822093909355908516815220546109f7908363ffffffff6107a516565b600160a060020a03808516600090815260016020908152604080832094909455878316825260038152838220339093168252919091522054610a3f908363ffffffff61132416565b600160a060020a038086166000818152600360209081526040808320338616845290915290819020939093559085169160008051602061134e8339815191529085905190815260200160405180910390a35060019392505050565b601281565b60045481565b60005433600160a060020a03908116911614610ac057600080fd5b60005460a060020a900460ff161515610ad857600080fd5b6000805474ff0000000000000000000000000000000000000000191690557f7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b3360405160405180910390a1565b61271081565b60005433600160a060020a03908116911614610b4557600080fd5b600160a060020a0381161515610b5a57600080fd5b6005805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600030600160a060020a031684600160a060020a031614151515610bac57600080fd5b61089384846107fa565b60005460a060020a900460ff1681565b60055433600160a060020a03908116911614610be157600080fd5b600454811115610bf057600080fd5b600454610c03908263ffffffff61132416565b600455600554600160a060020a031681156108fc0282604051600060405180830381858888f193505050501515610c3957600080fd5b50565b600160a060020a03338116600090815260036020908152604080832093861683529290529081205480831115610c9957600160a060020a033381166000908152600360209081526040808320938816835292905290812055610cd0565b610ca9818463ffffffff61132416565b600160a060020a033381166000908152600360209081526040808320938916835292905220555b600160a060020a0333811660008181526003602090815260408083209489168084529490915290819020547f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925915190815260200160405180910390a35060019392505050565b6103e881565b600160a060020a031660009081526001602052604090205490565b600030600160a060020a031684600160a060020a031614151515610d7a57600080fd5b6108938484610c3c565b60005433600160a060020a03908116911614610d9f57600080fd5b60005460a060020a900460ff1615610db657600080fd5b6000805474ff0000000000000000000000000000000000000000191660a060020a1790557f6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff62560405160405180910390a1565b600054600160a060020a031681565b60408051908101604052600381527f4a4f590000000000000000000000000000000000000000000000000000000000602082015281565b6000600160a060020a0383161515610e6557600080fd5b600160a060020a033316600090815260016020526040902054821115610e8a57600080fd5b600160a060020a033316600090815260016020526040902054610eb3908363ffffffff61132416565b600160a060020a033381166000908152600160205260408082209390935590851681522054610ee8908363ffffffff6107a516565b600160a060020a03808516600081815260016020526040908190209390935591339091169060008051602061134e8339815191529085905190815260200160405180910390a350600192915050565b600030600160a060020a031684600160a060020a031614151515610f5a57600080fd5b610f6585858561092a565b5083600160a060020a03168260405180828051906020019080838360005b83811015610f9b578082015183820152602001610f83565b50505050905090810190601f168015610fc85780820380516001836020036101000a031916815260200191505b5091505060006040518083038160008661646e5a03f19150501515610fec57600080fd5b506001949350505050565b600030600160a060020a031684600160a060020a03161415151561101a57600080fd5b6108938484610e4e565b600160a060020a03338116600090815260036020908152604080832093861683529290529081205461105c908363ffffffff6107a516565b600160a060020a0333811660008181526003602090815260408083209489168084529490915290819020849055919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591905190815260200160405180910390a350600192915050565b600160a060020a03918216600090815260036020908152604080832093909416825291909152205490565b60008080831161110257600080fd5b600160a060020a03331660009081526001602052604090205483111561112757600080fd5b600160a060020a033316600090815260016020526040902054611150908463ffffffff61132416565b600160a060020a03331660009081526001602052604090205560025461117c908463ffffffff61132416565b6002556000600160a060020a03331660008051602061134e8339815191528560405190815260200160405180910390a36111be8361271063ffffffff61133616565b91506111d2826103e863ffffffff61133616565b90506111e4828263ffffffff61132416565b915033600160a060020a03167fed7a144fad14804d5c249145e3e0e2b63a9eb455b76aee5bc92d711e9bba3e4a848460405191825260208201526040908101905180910390a2600081111561124a57600454611246908263ffffffff6107a516565b6004555b600082111561128457600160a060020a03331682156108fc0283604051600060405180830381858888f19350505050151561128457600080fd5b505050565b60005433600160a060020a039081169116146112a457600080fd5b600160a060020a03811615156112b957600080fd5b600054600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60008282111561133057fe5b50900390565b600080828481151561134457fe5b049493505050505600ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa165627a7a72305820cb292040eb7c0cb1dc088fbd0e078358520c846aba19380814dce861e13ddb730029

Swarm Source

bzzr://cb292040eb7c0cb1dc088fbd0e078358520c846aba19380814dce861e13ddb73
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.