ETH Price: $3,399.16 (+2.94%)
Gas: 4.73 Gwei

Token

EtherWords (WordToken)
 

Overview

Max Total Supply

115 WordToken

Holders

1

Total Transfers

-

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 0 Decimals)

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:
EtherWords

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-02-03
*/

pragma solidity ^0.4.18; // solhint-disable-line



/// @title Interface for contracts conforming to ERC-721: Non-Fungible Tokens
/// @author Dieter Shirley <[email protected]> (https://github.com/dete)
contract ERC721 {
  // Required methods
  function approve(address _to, uint256 _tokenId) public;
  function balanceOf(address _owner) public view returns (uint256 balance);
  function implementsERC721() public pure returns (bool);
  function ownerOf(uint256 _tokenId) public view returns (address addr);
  function takeOwnership(uint256 _tokenId) public;
  function totalSupply() public view returns (uint256 total);
  function transferFrom(address _from, address _to, uint256 _tokenId) public;
  function transfer(address _to, uint256 _tokenId) public;

  event Transfer(address indexed from, address indexed to, uint256 tokenId);
  event Approval(address indexed owner, address indexed approved, uint256 tokenId);

  // Optional
  // function name() public view returns (string name);
  // function symbol() public view returns (string symbol);
  // function tokenOfOwnerByIndex(address _owner, uint256 _index) external view returns (uint256 tokenId);
  // function tokenMetadata(uint256 _tokenId) public view returns (string infoUrl);
}


contract EtherWords is ERC721 {

  /*** EVENTS ***/

  /// @dev The Birth event is fired whenever a new Number comes into existence.
  event Birth(uint256 tokenId, string name, address owner);

  /// @dev The TokenSold event is fired whenever a token is sold.
  event TokenSold(uint256 tokenId, uint256 oldPrice, uint256 newPrice, address prevOwner, address winner, string name);

  /// @dev Transfer event as defined in current draft of ERC721.
  ///  ownership is assigned, including births.
  event Transfer(address from, address to, uint256 tokenId);

  /*** CONSTANTS ***/

  /// @notice Name and symbol of the non fungible token, as defined in ERC721.
  string public constant NAME = "EtherWords"; // solhint-disable-line
  string public constant SYMBOL = "WordToken"; // solhint-disable-line

  uint256 private startingPrice = 0.001 ether;
  uint256 private constant PROMO_CREATION_LIMIT = 10000;
  uint256 private firstStepLimit =  0.053613 ether;
  uint256 private secondStepLimit = 0.564957 ether;
  uint256 private cooPrice = 50.0 ether;

  /*** STORAGE ***/

  /// @dev A mapping from person IDs to the address that owns them. All persons have
  ///  some valid owner address.
  mapping (uint256 => address) public personIndexToOwner;

  // @dev A mapping from owner address to count of tokens that address owns.
  //  Used internally inside balanceOf() to resolve ownership count.
  mapping (address => uint256) private ownershipTokenCount;

  /// @dev A mapping from PersonIDs to an address that has been approved to call
  ///  transferFrom(). Each Person can only have one approved address for transfer
  ///  at any time. A zero value means no approval is outstanding.
  mapping (uint256 => address) public personIndexToApproved;

  // @dev A mapping from PersonIDs to the price of the token.
  mapping (uint256 => uint256) private personIndexToPrice;

  // The addresses of the accounts (or contracts) that can execute actions within each roles.
  address public ceoAddress;
  address public cooAddress;

  uint256 public promoCreatedCount;

  /*** DATATYPES ***/
  struct Number {
    string name;
  }

  Number[] private numbers;

  /*** ACCESS MODIFIERS ***/
  /// @dev Access modifier for CEO-only functionality
  modifier onlyCEO() {
    require(msg.sender == ceoAddress);
    _;
  }

  /// @dev Access modifier for COO-only functionality
  modifier onlyCOO() {
    require(msg.sender == cooAddress);
    _;
  }

  /// Access modifier for contract owner only functionality
  modifier onlyCLevel() {
    require(
      msg.sender == ceoAddress ||
      msg.sender == cooAddress
    );
    _;
  }

  /*** CONSTRUCTOR ***/
  function EtherWords() public {
    ceoAddress = msg.sender;
    cooAddress = msg.sender;
  }

  /*** PUBLIC FUNCTIONS ***/
  /// @notice Grant another address the right to transfer token via takeOwnership() and transferFrom().
  /// @param _to The address to be granted transfer approval. Pass address(0) to
  ///  clear all approvals.
  /// @param _tokenId The ID of the Token that can be transferred if this call succeeds.
  /// @dev Required for ERC-721 compliance.
  function approve(
    address _to,
    uint256 _tokenId
  ) public {
    // Caller must own token.
    require(_owns(msg.sender, _tokenId));

    personIndexToApproved[_tokenId] = _to;

    Approval(msg.sender, _to, _tokenId);
  }

  /// For querying balance of a particular account
  /// @param _owner The address for balance query
  /// @dev Required for ERC-721 compliance.
  function balanceOf(address _owner) public view returns (uint256 balance) {
    return ownershipTokenCount[_owner];
  }

  /// @dev Creates a new promo Person with the given name, with given _price and assignes it to an address.
  function createPromoNumber(address _owner, string _name, uint256 _price) public onlyCOO {
    require(promoCreatedCount < PROMO_CREATION_LIMIT);

    address personOwner = _owner;
    if (personOwner == address(0)) {
      personOwner = cooAddress;
    }

    if (_price <= 0) {
      _price = startingPrice;
    }

    promoCreatedCount++;
    _createPerson(_name, personOwner, _price);
  }

  /// @dev Creates a new Person with the given name.
  function createContractNumber(string _name) public onlyCLevel {
    _createPerson(_name, address(this), startingPrice);
  }

  /// @notice Returns all the relevant information about a specific person.
  /// @param _tokenId The tokenId of the person of interest.
  function getNumber(uint256 _tokenId) public view returns (
    string numberName,
    uint256 sellingPrice,
    address owner
  ) {
    Number storage number = numbers[_tokenId];
    numberName = number.name;
    sellingPrice = personIndexToPrice[_tokenId];
    owner = personIndexToOwner[_tokenId];
  }

  function implementsERC721() public pure returns (bool) {
    return true;
  }

  /// @dev Required for ERC-721 compliance.
  function name() public pure returns (string) {
    return NAME;
  }

  /// For querying owner of token
  /// @param _tokenId The tokenID for owner inquiry
  /// @dev Required for ERC-721 compliance.
  function ownerOf(uint256 _tokenId)
    public
    view
    returns (address owner)
  {
    owner = personIndexToOwner[_tokenId];
    require(owner != address(0));
  }

  function payout(address _to) public onlyCLevel {
    _payout(_to);
  }

  // Allows someone to send ether and obtain the token
  function purchase(uint256 _tokenId) public payable {
    address oldOwner = personIndexToOwner[_tokenId];
    address newOwner = msg.sender;

    // Making sure token owner is not sending to self
    require(oldOwner != newOwner);

    uint256 sellingPrice = personIndexToPrice[_tokenId];

    // Safety check to prevent against an unexpected 0x0 default.
    require(_addressNotNull(newOwner));

    // Making sure sent amount is greater than or equal to the sellingPrice
    require(msg.value >= sellingPrice);

    uint256 payment = uint256(SafeMath.div(SafeMath.mul(sellingPrice, 92), 100));
    uint256 purchaseExcess = SafeMath.sub(msg.value, sellingPrice);

    // Update prices
    if (sellingPrice < firstStepLimit) {
      // first stage
      personIndexToPrice[_tokenId] = SafeMath.div(SafeMath.mul(sellingPrice, 200), 92);
    } else if (sellingPrice < secondStepLimit) {
      // second stage
      personIndexToPrice[_tokenId] = SafeMath.div(SafeMath.mul(sellingPrice, 120), 92);
    } else {
      // third stage
      personIndexToPrice[_tokenId] = SafeMath.div(SafeMath.mul(sellingPrice, 115), 92);
    }

    _transfer(oldOwner, newOwner, _tokenId);

    // Pay previous tokenOwner if owner is not contract
    if (oldOwner != address(this)) {
      oldOwner.transfer(payment); //(1-0.08)
    }

    TokenSold(_tokenId, sellingPrice, personIndexToPrice[_tokenId], oldOwner, newOwner, numbers[_tokenId].name);

    msg.sender.transfer(purchaseExcess);
    
    personIndexToPrice[0] = SafeMath.div(SafeMath.mul(personIndexToPrice[0], 101), 100);
    
    if (_tokenId == 0) {
        cooAddress = msg.sender;
        personIndexToPrice[0] = SafeMath.div(SafeMath.mul(personIndexToPrice[0], 110), 100);
    }
  }

  function priceOf(uint256 _tokenId) public view returns (uint256 price) {
    return personIndexToPrice[_tokenId];
  }

  /// @dev Assigns a new address to act as the CEO. Only available to the current CEO.
  /// @param _newCEO The address of the new CEO
  function setCEO(address _newCEO) public onlyCEO {
    require(_newCEO != address(0));

    ceoAddress = _newCEO;
  }

  /// @dev Assigns a new address to act as the COO. Only available to the current COO.
  /// @param _newCOO The address of the new COO
  function setCOO(address _newCOO) public onlyCEO {
    require(_newCOO != address(0));

    cooAddress = _newCOO;
  }
  
  /// @dev creates the genesis word.
  function genesisCreation() public onlyCEO {
      if (numbers.length == 0) {
        _createPerson("EtherWords", address(this), cooPrice);
      }
  }

  /// @dev Required for ERC-721 compliance.
  function symbol() public pure returns (string) {
    return SYMBOL;
  }

  /// @notice Allow pre-approved user to take ownership of a token
  /// @param _tokenId The ID of the Token that can be transferred if this call succeeds.
  /// @dev Required for ERC-721 compliance.
  function takeOwnership(uint256 _tokenId) public {
    address newOwner = msg.sender;
    address oldOwner = personIndexToOwner[_tokenId];

    // Safety check to prevent against an unexpected 0x0 default.
    require(_addressNotNull(newOwner));

    // Making sure transfer is approved
    require(_approved(newOwner, _tokenId));

    _transfer(oldOwner, newOwner, _tokenId);
  }

  /// @param _owner The owner whose celebrity tokens we are interested in.
  /// @dev This method MUST NEVER be called by smart contract code. First, it's fairly
  ///  expensive (it walks the entire Persons array looking for persons belonging to owner),
  ///  but it also returns a dynamic array, which is only supported for web3 calls, and
  ///  not contract-to-contract calls.
  function tokensOfOwner(address _owner) public view returns(uint256[] ownerTokens) {
    uint256 tokenCount = balanceOf(_owner);
    if (tokenCount == 0) {
        // Return an empty array
      return new uint256[](0);
    } else {
      uint256[] memory result = new uint256[](tokenCount);
      uint256 totalPersons = totalSupply();
      uint256 resultIndex = 0;

      uint256 personId;
      for (personId = 0; personId <= totalPersons; personId++) {
        if (personIndexToOwner[personId] == _owner) {
          result[resultIndex] = personId;
          resultIndex++;
        }
      }
      return result;
    }
  }

  /// For querying totalSupply of token
  /// @dev Required for ERC-721 compliance.
  function totalSupply() public view returns (uint256 total) {
    return numbers.length;
  }

  /// Owner initates the transfer of the token to another account
  /// @param _to The address for the token to be transferred to.
  /// @param _tokenId The ID of the Token that can be transferred if this call succeeds.
  /// @dev Required for ERC-721 compliance.
  function transfer(
    address _to,
    uint256 _tokenId
  ) public {
    require(_owns(msg.sender, _tokenId));
    require(_addressNotNull(_to));

    _transfer(msg.sender, _to, _tokenId);
  }

  /// Third-party initiates transfer of token from address _from to address _to
  /// @param _from The address for the token to be transferred from.
  /// @param _to The address for the token to be transferred to.
  /// @param _tokenId The ID of the Token that can be transferred if this call succeeds.
  /// @dev Required for ERC-721 compliance.
  function transferFrom(
    address _from,
    address _to,
    uint256 _tokenId
  ) public {
    require(_owns(_from, _tokenId));
    require(_approved(_to, _tokenId));
    require(_addressNotNull(_to));

    _transfer(_from, _to, _tokenId);
  }

  /*** PRIVATE FUNCTIONS ***/
  /// Safety check on _to address to prevent against an unexpected 0x0 default.
  function _addressNotNull(address _to) private pure returns (bool) {
    return _to != address(0);
  }

  /// For checking approval of transfer for address _to
  function _approved(address _to, uint256 _tokenId) private view returns (bool) {
    return personIndexToApproved[_tokenId] == _to;
  }

  /// For creating Person
  function _createPerson(string _name, address _owner, uint256 _price) private {
    Number memory _number = Number({
      name: _name
    });
    uint256 newPersonId = numbers.push(_number) - 1;

    // It's probably never going to happen, 4 billion tokens are A LOT, but
    // let's just be 100% sure we never let this happen.
    require(newPersonId == uint256(uint32(newPersonId)));

    Birth(newPersonId, _name, _owner);

    personIndexToPrice[newPersonId] = _price;

    // This will assign ownership, and also emit the Transfer event as
    // per ERC721 draft
    _transfer(address(0), _owner, newPersonId);
  }

  /// Check for token ownership
  function _owns(address claimant, uint256 _tokenId) private view returns (bool) {
    return claimant == personIndexToOwner[_tokenId];
  }

  /// For paying out balance on contract
  function _payout(address _to) private {
    if (_to == address(0)) {
      ceoAddress.transfer(this.balance);
    } else {
      _to.transfer(this.balance);
    }
  }

  /// @dev Assigns ownership of a specific Person to an address.
  function _transfer(address _from, address _to, uint256 _tokenId) private {
    // Since the number of persons is capped to 2^32 we can't overflow this
    ownershipTokenCount[_to]++;
    //transfer ownership
    personIndexToOwner[_tokenId] = _to;

    // When creating new persons _from is 0x0, but we can't account that address.
    if (_from != address(0)) {
      ownershipTokenCount[_from]--;
      // clear any previously approved ownership exchange
      delete personIndexToApproved[_tokenId];
    }

    // Emit the transfer event.
    Transfer(_from, _to, _tokenId);
  }
}
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;
  }
}

Contract Security Audit

Contract ABI

[{"constant":true,"inputs":[],"name":"promoCreatedCount","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_tokenId","type":"uint256"}],"name":"approve","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"ceoAddress","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"}],"name":"payout","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"implementsERC721","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":false,"inputs":[{"name":"_owner","type":"address"},{"name":"_name","type":"string"},{"name":"_price","type":"uint256"}],"name":"createPromoNumber","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"total","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_newCEO","type":"address"}],"name":"setCEO","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_newCOO","type":"address"}],"name":"setCOO","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"genesisCreation","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"name":"owner","type":"address"}],"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":true,"inputs":[{"name":"_owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"name":"ownerTokens","type":"uint256[]"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_name","type":"string"}],"name":"createContractNumber","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"personIndexToApproved","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[],"name":"NAME","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_tokenId","type":"uint256"}],"name":"transfer","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"personIndexToOwner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"cooAddress","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_tokenId","type":"uint256"}],"name":"takeOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_tokenId","type":"uint256"}],"name":"priceOf","outputs":[{"name":"price","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_tokenId","type":"uint256"}],"name":"purchase","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[],"name":"SYMBOL","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_tokenId","type":"uint256"}],"name":"getNumber","outputs":[{"name":"numberName","type":"string"},{"name":"sellingPrice","type":"uint256"},{"name":"owner","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"name":"tokenId","type":"uint256"},{"indexed":false,"name":"name","type":"string"},{"indexed":false,"name":"owner","type":"address"}],"name":"Birth","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"tokenId","type":"uint256"},{"indexed":false,"name":"oldPrice","type":"uint256"},{"indexed":false,"name":"newPrice","type":"uint256"},{"indexed":false,"name":"prevOwner","type":"address"},{"indexed":false,"name":"winner","type":"address"},{"indexed":false,"name":"name","type":"string"}],"name":"TokenSold","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"from","type":"address"},{"indexed":false,"name":"to","type":"address"},{"indexed":false,"name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"owner","type":"address"},{"indexed":true,"name":"approved","type":"address"},{"indexed":false,"name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"}]

606060405266038d7ea4c6800060005566be78bd4c57d0006001556707d72165f25ed0006002556802b5e3af16b1880000600355341561003e57600080fd5b60088054600160a060020a033316600160a060020a031991821681179092556009805490911690911790556114f3806100786000396000f30060606040526004361061015e5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166305e45546811461016357806306fdde0314610188578063095ea7b3146102125780630a0f8168146102365780630b7e9c44146102655780631051db3414610284578063130c32d9146102ab57806318160ddd1461030c57806323b872dd1461031f57806327d7874c146103475780632ba73c15146103665780634cf50009146103855780636352211e1461039857806370a08231146103ae5780638462151c146103cd578063908bb7231461043f5780639433a81e1461049057806395d89b41146104a6578063a3f4df7e146104b9578063a9059cbb146104cc578063aa1d98af146104ee578063b047fb5014610504578063b2e6ceeb14610517578063b9186d7d1461052d578063efef39a114610543578063f76f8d781461054e578063fc56365814610561575b600080fd5b341561016e57600080fd5b610176610606565b60405190815260200160405180910390f35b341561019357600080fd5b61019b61060c565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156101d75780820151838201526020016101bf565b50505050905090810190601f1680156102045780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561021d57600080fd5b610234600160a060020a036004351660243561064e565b005b341561024157600080fd5b6102496106cd565b604051600160a060020a03909116815260200160405180910390f35b341561027057600080fd5b610234600160a060020a03600435166106dc565b341561028f57600080fd5b61029761071e565b604051901515815260200160405180910390f35b34156102b657600080fd5b61023460048035600160a060020a03169060446024803590810190830135806020601f82018190048102016040519081016040528181529291906020840183838082843750949650509335935061072392505050565b341561031757600080fd5b61017661079a565b341561032a57600080fd5b610234600160a060020a03600435811690602435166044356107a0565b341561035257600080fd5b610234600160a060020a03600435166107ee565b341561037157600080fd5b610234600160a060020a0360043516610840565b341561039057600080fd5b610234610892565b34156103a357600080fd5b6102496004356108f9565b34156103b957600080fd5b610176600160a060020a0360043516610922565b34156103d857600080fd5b6103ec600160a060020a036004351661093d565b60405160208082528190810183818151815260200191508051906020019060200280838360005b8381101561042b578082015183820152602001610413565b505050509050019250505060405180910390f35b341561044a57600080fd5b61023460046024813581810190830135806020601f82018190048102016040519081016040528181529291906020840183838082843750949650610a1e95505050505050565b341561049b57600080fd5b610249600435610a61565b34156104b157600080fd5b61019b610a7c565b34156104c457600080fd5b61019b610abd565b34156104d757600080fd5b610234600160a060020a0360043516602435610af4565b34156104f957600080fd5b610249600435610b2c565b341561050f57600080fd5b610249610b47565b341561052257600080fd5b610234600435610b56565b341561053857600080fd5b610176600435610ba4565b610234600435610bb6565b341561055957600080fd5b61019b610ee2565b341561056c57600080fd5b610577600435610f19565b60405160208101839052600160a060020a038216604082015260608082528190810185818151815260200191508051906020019080838360005b838110156105c95780820151838201526020016105b1565b50505050905090810190601f1680156105f65780820380516001836020036101000a031916815260200191505b5094505050505060405180910390f35b600a5481565b610614611359565b60408051908101604052600a81527f4574686572576f72647300000000000000000000000000000000000000000000602082015290505b90565b610658338261100f565b151561066357600080fd5b600081815260066020526040908190208054600160a060020a031916600160a060020a038581169182179092559133909116907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259084905190815260200160405180910390a35050565b600854600160a060020a031681565b60085433600160a060020a0390811691161480610707575060095433600160a060020a039081169116145b151561071257600080fd5b61071b8161102f565b50565b600190565b60095460009033600160a060020a0390811691161461074157600080fd5b600a54612710901061075257600080fd5b5082600160a060020a03811615156107725750600954600160a060020a03165b600082116107805760005491505b600a805460010190556107948382846110ba565b50505050565b600b5490565b6107aa838261100f565b15156107b557600080fd5b6107bf82826111f6565b15156107ca57600080fd5b6107d382611216565b15156107de57600080fd5b6107e9838383611224565b505050565b60085433600160a060020a0390811691161461080957600080fd5b600160a060020a038116151561081e57600080fd5b60088054600160a060020a031916600160a060020a0392909216919091179055565b60085433600160a060020a0390811691161461085b57600080fd5b600160a060020a038116151561087057600080fd5b60098054600160a060020a031916600160a060020a0392909216919091179055565b60085433600160a060020a039081169116146108ad57600080fd5b600b5415156108f7576108f760408051908101604052600a81527f4574686572576f72647300000000000000000000000000000000000000000000602082015260035430906110ba565b565b600081815260046020526040902054600160a060020a031680151561091d57600080fd5b919050565b600160a060020a031660009081526005602052604090205490565b610945611359565b600061094f611359565b600080600061095d87610922565b945084151561098d5760006040518059106109755750595b90808252806020026020018201604052509550610a14565b8460405180591061099b5750595b908082528060200260200182016040525093506109b661079a565b925060009150600090505b828111610a1057600081815260046020526040902054600160a060020a0388811691161415610a0857808483815181106109f757fe5b602090810290910101526001909101905b6001016109c1565b8395505b5050505050919050565b60085433600160a060020a0390811691161480610a49575060095433600160a060020a039081169116145b1515610a5457600080fd5b61071b81306000546110ba565b600660205260009081526040902054600160a060020a031681565b610a84611359565b60408051908101604052600981527f576f7264546f6b656e00000000000000000000000000000000000000000000006020820152905090565b60408051908101604052600a81527f4574686572576f72647300000000000000000000000000000000000000000000602082015281565b610afe338261100f565b1515610b0957600080fd5b610b1282611216565b1515610b1d57600080fd5b610b28338383611224565b5050565b600460205260009081526040902054600160a060020a031681565b600954600160a060020a031681565b6000818152600460205260409020543390600160a060020a0316610b7982611216565b1515610b8457600080fd5b610b8e82846111f6565b1515610b9957600080fd5b6107e9818385611224565b60009081526007602052604090205490565b600081815260046020526040812054600160a060020a03908116913391819081908416851415610be557600080fd5b6000868152600760205260409020549250610bff84611216565b1515610c0a57600080fd5b3483901015610c1857600080fd5b610c2d610c2684605c6112fa565b6064611330565b9150610c393484611347565b9050600154831015610c6e57610c5a610c538460c86112fa565b605c611330565b600087815260076020526040902055610ca4565b600254831015610c8657610c5a610c538460786112fa565b610c94610c538460736112fa565b6000878152600760205260409020555b610caf858588611224565b30600160a060020a031685600160a060020a0316141515610cfb57600160a060020a03851682156108fc0283604051600060405180830381858888f193505050501515610cfb57600080fd5b7e8201e7bcbf010c2c07de59d6e97cb7e3cf67a46125c49cbc89b9d2cde1f48f8684600760008a8152602001908152602001600020548888600b8c815481101515610d4257fe5b60009182526020909120016040518681526020810186905260408101859052600160a060020a0380851660608301528316608082015260c060a082018181528354600260001961010060018416150201909116049183018290529060e083019084908015610df15780601f10610dc657610100808354040283529160200191610df1565b820191906000526020600020905b815481529060010190602001808311610dd457829003601f168201915b505097505050505050505060405180910390a1600160a060020a03331681156108fc0282604051600060405180830381858888f193505050501515610e3557600080fd5b6000805260076020526000805160206114a883398151915254610e5d90610c269060656112fa565b6000805260076020526000805160206114a883398151915255851515610eda5760098054600160a060020a03191633600160a060020a03161790556000805260076020526000805160206114a883398151915254610ec090610c2690606e6112fa565b6000805260076020526000805160206114a8833981519152555b505050505050565b60408051908101604052600981527f576f7264546f6b656e0000000000000000000000000000000000000000000000602082015281565b610f21611359565b6000806000600b85815481101515610f3557fe5b90600052602060002090019050806000018054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610fda5780601f10610faf57610100808354040283529160200191610fda565b820191906000526020600020905b815481529060010190602001808311610fbd57829003601f168201915b50505060009788525050600760209081526040808820546004909252909620549096600160a060020a03909116945092505050565b600090815260046020526040902054600160a060020a0390811691161490565b600160a060020a038116151561107d57600854600160a060020a039081169030163180156108fc0290604051600060405180830381858888f19350505050151561107857600080fd5b61071b565b80600160a060020a03166108fc30600160a060020a0316319081150290604051600060405180830381858888f19350505050151561071b57600080fd5b6110c261136b565b60006020604051908101604052858152600b80549193506001918083016110e98382611384565b6000928352602090922085910181518190805161110a9291602001906113a8565b50505003905063ffffffff8116811461112257600080fd5b7fb3b0cf861f168bcdb275c69da97b2543631552ba562628aa3c7317d4a6089ef2818686604051838152600160a060020a038216604082015260606020820181815290820184818151815260200191508051906020019080838360005b8381101561119757808201518382015260200161117f565b50505050905090810190601f1680156111c45780820380516001836020036101000a031916815260200191505b5094505050505060405180910390a160008181526007602052604081208490556111ef908583611224565b5050505050565b600090815260066020526040902054600160a060020a0391821691161490565b600160a060020a0316151590565b600160a060020a03808316600081815260056020908152604080832080546001019055858352600490915290208054600160a060020a03191690911790558316156112a557600160a060020a03831660009081526005602090815260408083208054600019019055838352600690915290208054600160a060020a03191690555b7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef838383604051600160a060020a039384168152919092166020820152604080820192909252606001905180910390a1505050565b60008083151561130d5760009150611329565b5082820282848281151561131d57fe5b041461132557fe5b8091505b5092915050565b600080828481151561133e57fe5b04949350505050565b60008282111561135357fe5b50900390565b60206040519081016040526000815290565b60206040519081016040528061137f611359565b905290565b8154818355818115116107e9576000838152602090206107e9918101908301611426565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106113e957805160ff1916838001178555611416565b82800160010185558215611416579182015b828111156114165782518255916020019190600101906113fb565b50611422929150611449565b5090565b61064b91905b808211156114225760006114408282611463565b5060010161142c565b61064b91905b80821115611422576000815560010161144f565b50805460018160011615610100020316600290046000825580601f10611489575061071b565b601f01602090049060005260206000209081019061071b919061144956006d5257204ebe7d88fd91ae87941cb2dd9d8062b64ae5a2bd2d28ec40b9fbf6dfa165627a7a72305820c089310414c8c4b5334f7c33dd91f9f4e2c70b1af6501f547b066c38053ddd250029

Deployed Bytecode

0x60606040526004361061015e5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166305e45546811461016357806306fdde0314610188578063095ea7b3146102125780630a0f8168146102365780630b7e9c44146102655780631051db3414610284578063130c32d9146102ab57806318160ddd1461030c57806323b872dd1461031f57806327d7874c146103475780632ba73c15146103665780634cf50009146103855780636352211e1461039857806370a08231146103ae5780638462151c146103cd578063908bb7231461043f5780639433a81e1461049057806395d89b41146104a6578063a3f4df7e146104b9578063a9059cbb146104cc578063aa1d98af146104ee578063b047fb5014610504578063b2e6ceeb14610517578063b9186d7d1461052d578063efef39a114610543578063f76f8d781461054e578063fc56365814610561575b600080fd5b341561016e57600080fd5b610176610606565b60405190815260200160405180910390f35b341561019357600080fd5b61019b61060c565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156101d75780820151838201526020016101bf565b50505050905090810190601f1680156102045780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561021d57600080fd5b610234600160a060020a036004351660243561064e565b005b341561024157600080fd5b6102496106cd565b604051600160a060020a03909116815260200160405180910390f35b341561027057600080fd5b610234600160a060020a03600435166106dc565b341561028f57600080fd5b61029761071e565b604051901515815260200160405180910390f35b34156102b657600080fd5b61023460048035600160a060020a03169060446024803590810190830135806020601f82018190048102016040519081016040528181529291906020840183838082843750949650509335935061072392505050565b341561031757600080fd5b61017661079a565b341561032a57600080fd5b610234600160a060020a03600435811690602435166044356107a0565b341561035257600080fd5b610234600160a060020a03600435166107ee565b341561037157600080fd5b610234600160a060020a0360043516610840565b341561039057600080fd5b610234610892565b34156103a357600080fd5b6102496004356108f9565b34156103b957600080fd5b610176600160a060020a0360043516610922565b34156103d857600080fd5b6103ec600160a060020a036004351661093d565b60405160208082528190810183818151815260200191508051906020019060200280838360005b8381101561042b578082015183820152602001610413565b505050509050019250505060405180910390f35b341561044a57600080fd5b61023460046024813581810190830135806020601f82018190048102016040519081016040528181529291906020840183838082843750949650610a1e95505050505050565b341561049b57600080fd5b610249600435610a61565b34156104b157600080fd5b61019b610a7c565b34156104c457600080fd5b61019b610abd565b34156104d757600080fd5b610234600160a060020a0360043516602435610af4565b34156104f957600080fd5b610249600435610b2c565b341561050f57600080fd5b610249610b47565b341561052257600080fd5b610234600435610b56565b341561053857600080fd5b610176600435610ba4565b610234600435610bb6565b341561055957600080fd5b61019b610ee2565b341561056c57600080fd5b610577600435610f19565b60405160208101839052600160a060020a038216604082015260608082528190810185818151815260200191508051906020019080838360005b838110156105c95780820151838201526020016105b1565b50505050905090810190601f1680156105f65780820380516001836020036101000a031916815260200191505b5094505050505060405180910390f35b600a5481565b610614611359565b60408051908101604052600a81527f4574686572576f72647300000000000000000000000000000000000000000000602082015290505b90565b610658338261100f565b151561066357600080fd5b600081815260066020526040908190208054600160a060020a031916600160a060020a038581169182179092559133909116907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259084905190815260200160405180910390a35050565b600854600160a060020a031681565b60085433600160a060020a0390811691161480610707575060095433600160a060020a039081169116145b151561071257600080fd5b61071b8161102f565b50565b600190565b60095460009033600160a060020a0390811691161461074157600080fd5b600a54612710901061075257600080fd5b5082600160a060020a03811615156107725750600954600160a060020a03165b600082116107805760005491505b600a805460010190556107948382846110ba565b50505050565b600b5490565b6107aa838261100f565b15156107b557600080fd5b6107bf82826111f6565b15156107ca57600080fd5b6107d382611216565b15156107de57600080fd5b6107e9838383611224565b505050565b60085433600160a060020a0390811691161461080957600080fd5b600160a060020a038116151561081e57600080fd5b60088054600160a060020a031916600160a060020a0392909216919091179055565b60085433600160a060020a0390811691161461085b57600080fd5b600160a060020a038116151561087057600080fd5b60098054600160a060020a031916600160a060020a0392909216919091179055565b60085433600160a060020a039081169116146108ad57600080fd5b600b5415156108f7576108f760408051908101604052600a81527f4574686572576f72647300000000000000000000000000000000000000000000602082015260035430906110ba565b565b600081815260046020526040902054600160a060020a031680151561091d57600080fd5b919050565b600160a060020a031660009081526005602052604090205490565b610945611359565b600061094f611359565b600080600061095d87610922565b945084151561098d5760006040518059106109755750595b90808252806020026020018201604052509550610a14565b8460405180591061099b5750595b908082528060200260200182016040525093506109b661079a565b925060009150600090505b828111610a1057600081815260046020526040902054600160a060020a0388811691161415610a0857808483815181106109f757fe5b602090810290910101526001909101905b6001016109c1565b8395505b5050505050919050565b60085433600160a060020a0390811691161480610a49575060095433600160a060020a039081169116145b1515610a5457600080fd5b61071b81306000546110ba565b600660205260009081526040902054600160a060020a031681565b610a84611359565b60408051908101604052600981527f576f7264546f6b656e00000000000000000000000000000000000000000000006020820152905090565b60408051908101604052600a81527f4574686572576f72647300000000000000000000000000000000000000000000602082015281565b610afe338261100f565b1515610b0957600080fd5b610b1282611216565b1515610b1d57600080fd5b610b28338383611224565b5050565b600460205260009081526040902054600160a060020a031681565b600954600160a060020a031681565b6000818152600460205260409020543390600160a060020a0316610b7982611216565b1515610b8457600080fd5b610b8e82846111f6565b1515610b9957600080fd5b6107e9818385611224565b60009081526007602052604090205490565b600081815260046020526040812054600160a060020a03908116913391819081908416851415610be557600080fd5b6000868152600760205260409020549250610bff84611216565b1515610c0a57600080fd5b3483901015610c1857600080fd5b610c2d610c2684605c6112fa565b6064611330565b9150610c393484611347565b9050600154831015610c6e57610c5a610c538460c86112fa565b605c611330565b600087815260076020526040902055610ca4565b600254831015610c8657610c5a610c538460786112fa565b610c94610c538460736112fa565b6000878152600760205260409020555b610caf858588611224565b30600160a060020a031685600160a060020a0316141515610cfb57600160a060020a03851682156108fc0283604051600060405180830381858888f193505050501515610cfb57600080fd5b7e8201e7bcbf010c2c07de59d6e97cb7e3cf67a46125c49cbc89b9d2cde1f48f8684600760008a8152602001908152602001600020548888600b8c815481101515610d4257fe5b60009182526020909120016040518681526020810186905260408101859052600160a060020a0380851660608301528316608082015260c060a082018181528354600260001961010060018416150201909116049183018290529060e083019084908015610df15780601f10610dc657610100808354040283529160200191610df1565b820191906000526020600020905b815481529060010190602001808311610dd457829003601f168201915b505097505050505050505060405180910390a1600160a060020a03331681156108fc0282604051600060405180830381858888f193505050501515610e3557600080fd5b6000805260076020526000805160206114a883398151915254610e5d90610c269060656112fa565b6000805260076020526000805160206114a883398151915255851515610eda5760098054600160a060020a03191633600160a060020a03161790556000805260076020526000805160206114a883398151915254610ec090610c2690606e6112fa565b6000805260076020526000805160206114a8833981519152555b505050505050565b60408051908101604052600981527f576f7264546f6b656e0000000000000000000000000000000000000000000000602082015281565b610f21611359565b6000806000600b85815481101515610f3557fe5b90600052602060002090019050806000018054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610fda5780601f10610faf57610100808354040283529160200191610fda565b820191906000526020600020905b815481529060010190602001808311610fbd57829003601f168201915b50505060009788525050600760209081526040808820546004909252909620549096600160a060020a03909116945092505050565b600090815260046020526040902054600160a060020a0390811691161490565b600160a060020a038116151561107d57600854600160a060020a039081169030163180156108fc0290604051600060405180830381858888f19350505050151561107857600080fd5b61071b565b80600160a060020a03166108fc30600160a060020a0316319081150290604051600060405180830381858888f19350505050151561071b57600080fd5b6110c261136b565b60006020604051908101604052858152600b80549193506001918083016110e98382611384565b6000928352602090922085910181518190805161110a9291602001906113a8565b50505003905063ffffffff8116811461112257600080fd5b7fb3b0cf861f168bcdb275c69da97b2543631552ba562628aa3c7317d4a6089ef2818686604051838152600160a060020a038216604082015260606020820181815290820184818151815260200191508051906020019080838360005b8381101561119757808201518382015260200161117f565b50505050905090810190601f1680156111c45780820380516001836020036101000a031916815260200191505b5094505050505060405180910390a160008181526007602052604081208490556111ef908583611224565b5050505050565b600090815260066020526040902054600160a060020a0391821691161490565b600160a060020a0316151590565b600160a060020a03808316600081815260056020908152604080832080546001019055858352600490915290208054600160a060020a03191690911790558316156112a557600160a060020a03831660009081526005602090815260408083208054600019019055838352600690915290208054600160a060020a03191690555b7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef838383604051600160a060020a039384168152919092166020820152604080820192909252606001905180910390a1505050565b60008083151561130d5760009150611329565b5082820282848281151561131d57fe5b041461132557fe5b8091505b5092915050565b600080828481151561133e57fe5b04949350505050565b60008282111561135357fe5b50900390565b60206040519081016040526000815290565b60206040519081016040528061137f611359565b905290565b8154818355818115116107e9576000838152602090206107e9918101908301611426565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106113e957805160ff1916838001178555611416565b82800160010185558215611416579182015b828111156114165782518255916020019190600101906113fb565b50611422929150611449565b5090565b61064b91905b808211156114225760006114408282611463565b5060010161142c565b61064b91905b80821115611422576000815560010161144f565b50805460018160011615610100020316600290046000825580601f10611489575061071b565b601f01602090049060005260206000209081019061071b919061144956006d5257204ebe7d88fd91ae87941cb2dd9d8062b64ae5a2bd2d28ec40b9fbf6dfa165627a7a72305820c089310414c8c4b5334f7c33dd91f9f4e2c70b1af6501f547b066c38053ddd250029

Swarm Source

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