ETH Price: $3,877.67 (-1.37%)

Token

ERC-20: ()
 

Overview

Max Total Supply

0 ERC-20:

Holders

55

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

Compiler Version
v0.4.20+commit.3155dd80

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity)

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

pragma solidity ^0.4.18;


contract InterfaceContentCreatorUniverse {
  function ownerOf(uint256 _tokenId) public view returns (address _owner);
  function priceOf(uint256 _tokenId) public view returns (uint256 price);
  function getNextPrice(uint price, uint _tokenId) public pure returns (uint);
  function lastSubTokenBuyerOf(uint tokenId) public view returns(address);
  function lastSubTokenCreatorOf(uint tokenId) public view returns(address);

  //
  function createCollectible(uint256 tokenId, uint256 _price, address creator, address owner) external ;
}

contract InterfaceYCC {
  function payForUpgrade(address user, uint price) external  returns (bool success);
  function mintCoinsForOldCollectibles(address to, uint256 amount, address universeOwner) external  returns (bool success);
  function tradePreToken(uint price, address buyer, address seller, uint burnPercent, address universeOwner) external;
  function payoutForMining(address user, uint amount) external;
  uint256 public totalSupply;
}

contract InterfaceMining {
  function createMineForToken(uint tokenId, uint level, uint xp, uint nextLevelBreak, uint blocknumber) external;
  function payoutMining(uint tokenId, address owner, address newOwner) external;
  function levelUpMining(uint tokenId) external;
}

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 Owned {
  // The addresses of the accounts (or contracts) that can execute actions within each roles.
  address public ceoAddress;
  address public cooAddress;
  address private newCeoAddress;
  address private newCooAddress;


  function Owned() public {
      ceoAddress = msg.sender;
      cooAddress = msg.sender;
  }

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

  /// @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));
    newCeoAddress = _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));
    newCooAddress = _newCOO;
  }

  function acceptCeoOwnership() public {
      require(msg.sender == newCeoAddress);
      require(address(0) != newCeoAddress);
      ceoAddress = newCeoAddress;
      newCeoAddress = address(0);
  }

  function acceptCooOwnership() public {
      require(msg.sender == newCooAddress);
      require(address(0) != newCooAddress);
      cooAddress = newCooAddress;
      newCooAddress = address(0);
  }

  mapping (address => bool) public youCollectContracts;
  function addYouCollectContract(address contractAddress, bool active) public onlyCOO {
    youCollectContracts[contractAddress] = active;
  }
  modifier onlyYCC() {
    require(youCollectContracts[msg.sender]);
    _;
  }

  InterfaceYCC ycc;
  InterfaceContentCreatorUniverse yct;
  InterfaceMining ycm;
  function setMainYouCollectContractAddresses(address yccContract, address yctContract, address ycmContract, address[] otherContracts) public onlyCOO {
    ycc = InterfaceYCC(yccContract);
    yct = InterfaceContentCreatorUniverse(yctContract);
    ycm = InterfaceMining(ycmContract);
    youCollectContracts[yccContract] = true;
    youCollectContracts[yctContract] = true;
    youCollectContracts[ycmContract] = true;
    for (uint16 index = 0; index < otherContracts.length; index++) {
      youCollectContracts[otherContracts[index]] = true;
    }
  }
  function setYccContractAddress(address yccContract) public onlyCOO {
    ycc = InterfaceYCC(yccContract);
    youCollectContracts[yccContract] = true;
  }
  function setYctContractAddress(address yctContract) public onlyCOO {
    yct = InterfaceContentCreatorUniverse(yctContract);
    youCollectContracts[yctContract] = true;
  }
  function setYcmContractAddress(address ycmContract) public onlyCOO {
    ycm = InterfaceMining(ycmContract);
    youCollectContracts[ycmContract] = true;
  }

}

contract TransferInterfaceERC721YC {
  function transferToken(address to, uint256 tokenId) public returns (bool success);
}
contract TransferInterfaceERC20 {
  function transfer(address to, uint tokens) public returns (bool success);
}

// ----------------------------------------------------------------------------
// ERC Token Standard #20 Interface
// https://github.com/ConsenSys/Tokens/blob/master/contracts/eip20/EIP20.sol
// ----------------------------------------------------------------------------
contract YouCollectBase is Owned {
  using SafeMath for uint256;

  event RedButton(uint value, uint totalSupply);

  // Payout
  function payout(address _to) public onlyCLevel {
    _payout(_to, this.balance);
  }
  function payout(address _to, uint amount) public onlyCLevel {
    if (amount>this.balance)
      amount = this.balance;
    _payout(_to, amount);
  }
  function _payout(address _to, uint amount) private {
    if (_to == address(0)) {
      ceoAddress.transfer(amount);
    } else {
      _to.transfer(amount);
    }
  }

  // ------------------------------------------------------------------------
  // Owner can transfer out any accidentally sent ERC20 tokens
  // ------------------------------------------------------------------------
  function transferAnyERC20Token(address tokenAddress, uint tokens) public onlyCEO returns (bool success) {
      return TransferInterfaceERC20(tokenAddress).transfer(ceoAddress, tokens);
  }
}

// ----------------------------------------------------------------------------
// Contract function to receive approval and execute function in one call
// ----------------------------------------------------------------------------
contract ApproveAndCallFallBack {
    function receiveApproval(address from, uint256 tokens, address token, bytes data) public;
}

contract ERC721YC is YouCollectBase {
  //
  // ERC721

    /*** STORAGE ***/
    string public constant NAME = "YouCollectTokens";
    string public constant SYMBOL = "YCT";
    uint256[] public tokens;

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

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

    // @dev A mapping from CollectibleIDs to the price of the token.
    mapping (uint256 => uint256) public tokenIndexToPrice;

    /*** EVENTS ***/
    /// @dev The Birth event is fired whenever a new collectible comes into existence.
    event Birth(uint256 tokenId, uint256 startPrice);
    /// @dev The TokenSold event is fired whenever a token is sold.
    event TokenSold(uint256 indexed tokenId, uint256 price, address prevOwner, address winner);
    // ERC721 Transfer
    event Transfer(address indexed from, address indexed to, uint256 tokenId);
    // ERC721 Approval
    event Approval(address indexed owner, address indexed approved, uint256 tokenId);

    /*** 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 approveToken(
      address _to,
      uint256 _tokenId
    ) public returns (bool) {
      // Caller must own token.
      require(_ownsToken(msg.sender, _tokenId));

      tokenIndexToApproved[_tokenId] = _to;

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


    function getTotalSupply() public view returns (uint) {
      return tokens.length;
    }

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


    /// 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 = tokenIndexToOwner[_tokenId];
    }


    function priceOf(uint256 _tokenId) public view returns (uint256 price) {
      price = tokenIndexToPrice[_tokenId];
    }


    /// @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 = tokenIndexToOwner[_tokenId];

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

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

      _transfer(oldOwner, newOwner, _tokenId);
    }

    /// 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 returns (bool) {
      require(_ownsToken(msg.sender, _tokenId));
      _transfer(msg.sender, _to, _tokenId);
      return true;
    }

    /// 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 returns (bool) {
      require(_ownsToken(_from, _tokenId));
      require(_approved(_to, _tokenId));

      _transfer(_from, _to, _tokenId);
      return true;
    }


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

    /// Check for token ownership
    function _ownsToken(address claimant, uint256 _tokenId) internal view returns (bool) {
      return claimant == tokenIndexToOwner[_tokenId];
    }
    // For Upcoming Price Change Features
    function changeTokenPrice(uint256 newPrice, uint256 _tokenId) external onlyYCC {
      tokenIndexToPrice[_tokenId] = newPrice;
    }

    /// 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 result) {
        uint256 totalTokens = tokens.length;
        uint256 tokenIndex;
        uint256 tokenId;
        result = 0;
        for (tokenIndex = 0; tokenIndex < totalTokens; tokenIndex++) {
          tokenId = tokens[tokenIndex];
          if (tokenIndexToOwner[tokenId] == _owner) {
            result++;
          }
        }
        return result;
    }

    /// @dev Assigns ownership of a specific Collectible to an address.
    function _transfer(address _from, address _to, uint256 _tokenId) internal {
      //transfer ownership
      tokenIndexToOwner[_tokenId] = _to;

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

      // Emit the transfer event.
      Transfer(_from, _to, _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 tokens array looking for tokens 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 totalTokens = getTotalSupply();
        uint256 resultIndex = 0;

        uint256 tokenIndex;
        uint256 tokenId;
        for (tokenIndex = 0; tokenIndex < totalTokens; tokenIndex++) {
          tokenId = tokens[tokenIndex];
          if (tokenIndexToOwner[tokenId] == _owner) {
            result[resultIndex] = tokenId;
            resultIndex = resultIndex.add(1);
          }
        }
        return result;
      }
    }


      // uint256[] storage _result = new uint256[]();
      // uint256 totalTokens = getTotalSupply();

      // for (uint256 tokenIndex = 0; tokenIndex < totalTokens; tokenIndex++) {
      //   if (tokenIndexToOwner[tokens[tokenIndex]] == _owner) {
      //     _result.push(tokens[tokenIndex]);
      //   }
      // }
      // return _result;


    /// @dev returns an array with all token ids
    function getTokenIds() public view returns(uint256[]) {
      return tokens;
    }

  //
  //  ERC721 end
  //
}

contract Universe is ERC721YC {

  mapping (uint => address) private subTokenCreator;
  mapping (uint => address) private lastSubTokenBuyer;

  uint16 constant MAX_WORLD_INDEX = 1000;
  uint24 constant MAX_CONTINENT_INDEX = 10000000;
  uint64 constant MAX_SUBCONTINENT_INDEX = 10000000000000;
  uint64 constant MAX_COUNTRY_INDEX = 10000000000000000000;
  uint128 constant FIFTY_TOKENS_INDEX = 100000000000000000000000000000000;
  uint256 constant TRIBLE_TOKENS_INDEX = 1000000000000000000000000000000000000000000000;
  uint256 constant DOUBLE_TOKENS_INDEX = 10000000000000000000000000000000000000000000000000000000000;
  uint8 constant UNIVERSE_TOKEN_ID = 0;
  uint public minSelfBuyPrice = 10 ether;
  uint public minPriceForMiningUpgrade = 5 ether;

  /*** CONSTRUCTOR ***/
  function Universe() public {
  }

  function changePriceLimits(uint _minSelfBuyPrice, uint _minPriceForMiningUpgrade) public onlyCOO {
    minSelfBuyPrice = _minSelfBuyPrice;
    minPriceForMiningUpgrade = _minPriceForMiningUpgrade;
  }

  function getNextPrice(uint price, uint _tokenId) public pure returns (uint) {
    if (_tokenId>DOUBLE_TOKENS_INDEX)
      return price.mul(2);
    if (_tokenId>TRIBLE_TOKENS_INDEX)
      return price.mul(3);
    if (_tokenId>FIFTY_TOKENS_INDEX)
      return price.mul(3).div(2);
    if (price < 1.2 ether)
      return price.mul(200).div(91);
    if (price < 5 ether)
      return price.mul(150).div(91);
    return price.mul(120).div(91);
  }


  function buyToken(uint _tokenId) public payable {
    address oldOwner = tokenIndexToOwner[_tokenId];
    uint256 sellingPrice = tokenIndexToPrice[_tokenId];
    require(oldOwner!=msg.sender || sellingPrice > minSelfBuyPrice);
    require(msg.value >= sellingPrice);
    require(sellingPrice > 0);

    uint256 purchaseExcess = msg.value.sub(sellingPrice);
    uint256 payment = sellingPrice.mul(91).div(100);
    uint256 feeOnce = sellingPrice.sub(payment).div(9);

    // Update prices
    tokenIndexToPrice[_tokenId] = getNextPrice(sellingPrice, _tokenId);
    // Transfers the Token
    tokenIndexToOwner[_tokenId] = msg.sender;
    // clear any previously approved ownership exchange
    delete tokenIndexToApproved[_tokenId];
    // payout mining reward
    if (_tokenId>MAX_SUBCONTINENT_INDEX) {
      ycm.payoutMining(_tokenId, oldOwner, msg.sender);
      if (sellingPrice > minPriceForMiningUpgrade)
        ycm.levelUpMining(_tokenId);
    }

    if (_tokenId > 0) {
      // Taxes for Universe owner
      if (tokenIndexToOwner[UNIVERSE_TOKEN_ID]!=address(0))
        tokenIndexToOwner[UNIVERSE_TOKEN_ID].transfer(feeOnce);
      if (_tokenId > MAX_WORLD_INDEX) {
        // Taxes for world owner
        if (tokenIndexToOwner[_tokenId % MAX_WORLD_INDEX]!=address(0))
          tokenIndexToOwner[_tokenId % MAX_WORLD_INDEX].transfer(feeOnce);
        if (_tokenId > MAX_CONTINENT_INDEX) {
          // Taxes for continent owner
          if (tokenIndexToOwner[_tokenId % MAX_CONTINENT_INDEX]!=address(0))
            tokenIndexToOwner[_tokenId % MAX_CONTINENT_INDEX].transfer(feeOnce);
          if (_tokenId > MAX_SUBCONTINENT_INDEX) {
            // Taxes for subcontinent owner
            if (tokenIndexToOwner[_tokenId % MAX_SUBCONTINENT_INDEX]!=address(0))
              tokenIndexToOwner[_tokenId % MAX_SUBCONTINENT_INDEX].transfer(feeOnce);
            if (_tokenId > MAX_COUNTRY_INDEX) {
              // Taxes for country owner
              if (tokenIndexToOwner[_tokenId % MAX_COUNTRY_INDEX]!=address(0))
                tokenIndexToOwner[_tokenId % MAX_COUNTRY_INDEX].transfer(feeOnce);
              lastSubTokenBuyer[UNIVERSE_TOKEN_ID] = msg.sender;
              lastSubTokenBuyer[_tokenId % MAX_WORLD_INDEX] = msg.sender;
              lastSubTokenBuyer[_tokenId % MAX_CONTINENT_INDEX] = msg.sender;
              lastSubTokenBuyer[_tokenId % MAX_SUBCONTINENT_INDEX] = msg.sender;
              lastSubTokenBuyer[_tokenId % MAX_COUNTRY_INDEX] = msg.sender;
            } else {
              if (lastSubTokenBuyer[_tokenId] != address(0))
                lastSubTokenBuyer[_tokenId].transfer(feeOnce*2);
            }
          } else {
            if (lastSubTokenBuyer[_tokenId] != address(0))
              lastSubTokenBuyer[_tokenId].transfer(feeOnce*2);
          }
        } else {
          if (lastSubTokenBuyer[_tokenId] != address(0))
            lastSubTokenBuyer[_tokenId].transfer(feeOnce*2);
        }
      } else {
        if (lastSubTokenBuyer[_tokenId] != address(0))
          lastSubTokenBuyer[_tokenId].transfer(feeOnce*2);
      }
    } else {
      if (lastSubTokenBuyer[_tokenId] != address(0))
        lastSubTokenBuyer[_tokenId].transfer(feeOnce*2);
    }
    // Taxes for collectible creator (first owner)
    if (subTokenCreator[_tokenId]!=address(0))
      subTokenCreator[_tokenId].transfer(feeOnce);
    // Payment for old owner
    if (oldOwner != address(0)) {
      oldOwner.transfer(payment);
    }

    TokenSold(_tokenId, sellingPrice, oldOwner, msg.sender);
    Transfer(oldOwner, msg.sender, _tokenId);
    // refund when paid too much
    if (purchaseExcess>0)
      msg.sender.transfer(purchaseExcess);
  }
  
  /// For creating Collectible
  function createCollectible(uint256 tokenId, uint256 _price, address creator, address owner) external onlyYCC {
    tokenIndexToPrice[tokenId] = _price;
    tokenIndexToOwner[tokenId] = owner;
    subTokenCreator[tokenId] = creator;
    Birth(tokenId, _price);
    tokens.push(tokenId);
  }

  function lastSubTokenBuyerOf(uint tokenId) public view returns(address) {
    return lastSubTokenBuyer[tokenId];
  }
  function lastSubTokenCreatorOf(uint tokenId) public view returns(address) {
    return subTokenCreator[tokenId];
  }

}

Contract Security Audit

Contract ABI

[{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_tokenId","type":"uint256"}],"name":"approveToken","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"tokenId","type":"uint256"}],"name":"lastSubTokenBuyerOf","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_minSelfBuyPrice","type":"uint256"},{"name":"_minPriceForMiningUpgrade","type":"uint256"}],"name":"changePriceLimits","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":"_to","type":"address"},{"name":"amount","type":"uint256"}],"name":"payout","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"youCollectContracts","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"tokenIndexToOwner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_tokenId","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"","type":"bool"}],"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":"_tokenId","type":"uint256"}],"name":"buyToken","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[{"name":"tokenId","type":"uint256"},{"name":"_price","type":"uint256"},{"name":"creator","type":"address"},{"name":"owner","type":"address"}],"name":"createCollectible","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"yctContract","type":"address"}],"name":"setYctContractAddress","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"tokens","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"minPriceForMiningUpgrade","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"yccContract","type":"address"}],"name":"setYccContractAddress","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"newPrice","type":"uint256"},{"name":"_tokenId","type":"uint256"}],"name":"changeTokenPrice","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":"getTokenIds","outputs":[{"name":"","type":"uint256[]"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"result","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"tokenId","type":"uint256"}],"name":"lastSubTokenCreatorOf","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"minSelfBuyPrice","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"tokenIndexToPrice","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"contractAddress","type":"address"},{"name":"active","type":"bool"}],"name":"addYouCollectContract","outputs":[],"payable":false,"stateMutability":"nonpayable","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":"acceptCooOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"price","type":"uint256"},{"name":"_tokenId","type":"uint256"}],"name":"getNextPrice","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":false,"inputs":[{"name":"ycmContract","type":"address"}],"name":"setYcmContractAddress","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"NAME","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"tokenIndexToApproved","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_tokenId","type":"uint256"}],"name":"transfer","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","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":false,"inputs":[{"name":"yccContract","type":"address"},{"name":"yctContract","type":"address"},{"name":"ycmContract","type":"address"},{"name":"otherContracts","type":"address[]"}],"name":"setMainYouCollectContractAddresses","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":true,"inputs":[],"name":"getTotalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"tokenAddress","type":"address"},{"name":"tokens","type":"uint256"}],"name":"transferAnyERC20Token","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"acceptCeoOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"SYMBOL","outputs":[{"name":"","type":"string"}],"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":"startPrice","type":"uint256"}],"name":"Birth","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"tokenId","type":"uint256"},{"indexed":false,"name":"price","type":"uint256"},{"indexed":false,"name":"prevOwner","type":"address"},{"indexed":false,"name":"winner","type":"address"}],"name":"TokenSold","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":true,"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"},{"anonymous":false,"inputs":[{"indexed":false,"name":"value","type":"uint256"},{"indexed":false,"name":"totalSupply","type":"uint256"}],"name":"RedButton","type":"event"}]

6060604052678ac7230489e80000600e55674563918244f40000600f55341561002757600080fd5b60008054600160a060020a033316600160a060020a03199182168117909255600180549091169091179055611deb806100616000396000f3006060604052600436106101df5763ffffffff60e060020a600035041663022fc88b81146101e457806303792d521461021a578063043d02581461024c5780630a0f8168146102675780630b7e9c441461027a5780631051db3414610299578063117de2fd146102ac578063172ce8d3146102ce5780631d36e06c146102ed57806323b872dd1461030357806327d7874c1461032b5780632ba73c151461034a5780632d296bf114610369578063324365b114610374578063450a91051461039f5780634f64b2be146103be578063503248fe146103e65780635e25f96d146103f957806362e8e8ac146104185780636352211e1461043157806367f718a91461044757806370a08231146104ad57806379e8b8eb146104cc5780637df432c9146104e2578063804afffb146104f557806382a147cd1461050b5780638462151c1461052f57806386f7993e1461054e578063915082641461056157806392e18d9f1461057a578063a3f4df7e14610599578063a8bd9c3214610623578063a9059cbb14610639578063b047fb501461065b578063b2e6ceeb1461066e578063b4c5c98314610684578063b9186d7d146106f0578063c4e41b2214610706578063dc39d06d14610719578063f35ba5d31461073b578063f76f8d781461074e575b600080fd5b34156101ef57600080fd5b610206600160a060020a0360043516602435610761565b604051901515815260200160405180910390f35b341561022557600080fd5b6102306004356107e8565b604051600160a060020a03909116815260200160405180910390f35b341561025757600080fd5b610265600435602435610803565b005b341561027257600080fd5b610230610829565b341561028557600080fd5b610265600160a060020a0360043516610838565b34156102a457600080fd5b610206610885565b34156102b757600080fd5b610265600160a060020a036004351660243561088b565b34156102d957600080fd5b610206600160a060020a03600435166108ee565b34156102f857600080fd5b610230600435610903565b341561030e57600080fd5b610206600160a060020a036004358116906024351660443561091e565b341561033657600080fd5b610265600160a060020a036004351661095f565b341561035557600080fd5b610265600160a060020a03600435166109b1565b610265600435610a03565b341561037f57600080fd5b610265600435602435600160a060020a036044358116906064351661128a565b34156103aa57600080fd5b610265600160a060020a0360043516611363565b34156103c957600080fd5b6103d46004356113b8565b60405190815260200160405180910390f35b34156103f157600080fd5b6103d46113d7565b341561040457600080fd5b610265600160a060020a03600435166113dd565b341561042357600080fd5b610265600435602435611432565b341561043c57600080fd5b61023060043561146a565b341561045257600080fd5b61045a611485565b60405160208082528190810183818151815260200191508051906020019060200280838360005b83811015610499578082015183820152602001610481565b505050509050019250505060405180910390f35b34156104b857600080fd5b6103d4600160a060020a03600435166114e3565b34156104d757600080fd5b61023060043561154f565b34156104ed57600080fd5b6103d461156a565b341561050057600080fd5b6103d4600435611570565b341561051657600080fd5b610265600160a060020a03600435166024351515611582565b341561053a57600080fd5b61045a600160a060020a03600435166115c8565b341561055957600080fd5b6102656116db565b341561056c57600080fd5b6103d4600435602435611734565b341561058557600080fd5b610265600160a060020a0360043516611830565b34156105a457600080fd5b6105ac611885565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156105e85780820151838201526020016105d0565b50505050905090810190601f1680156106155780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561062e57600080fd5b6102306004356118bc565b341561064457600080fd5b610206600160a060020a03600435166024356118d7565b341561066657600080fd5b610230611902565b341561067957600080fd5b610265600435611911565b341561068f57600080fd5b61026560048035600160a060020a039081169160248035831692604435169190608490606435908101908301358060208082020160405190810160405280939291908181526020018383602002808284375094965061196095505050505050565b34156106fb57600080fd5b6103d4600435611a5d565b341561071157600080fd5b6103d4611a6f565b341561072457600080fd5b610206600160a060020a0360043516602435611a75565b341561074657600080fd5b610265611b18565b341561075957600080fd5b6105ac611b71565b600061076d3383611ba8565b151561077857600080fd5b6000828152600a6020526040908190208054600160a060020a031916600160a060020a038681169182179092559133909116907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a35060015b92915050565b6000908152600d6020526040902054600160a060020a031690565b60015433600160a060020a0390811691161461081e57600080fd5b600e91909155600f55565b600054600160a060020a031681565b60005433600160a060020a0390811691161480610863575060015433600160a060020a039081169116145b151561086e57600080fd5b6108828130600160a060020a031631611bc8565b50565b60015b90565b60005433600160a060020a03908116911614806108b6575060015433600160a060020a039081169116145b15156108c157600080fd5b30600160a060020a0316318111156108e05750600160a060020a033016315b6108ea8282611bc8565b5050565b60046020526000908152604090205460ff1681565b600960205260009081526040902054600160a060020a031681565b600061092a8483611ba8565b151561093557600080fd5b61093f8383611c41565b151561094a57600080fd5b610955848484611c61565b5060019392505050565b60005433600160a060020a0390811691161461097a57600080fd5b600160a060020a038116151561098f57600080fd5b60028054600160a060020a031916600160a060020a0392909216919091179055565b60005433600160a060020a039081169116146109cc57600080fd5b600160a060020a03811615156109e157600080fd5b60038054600160a060020a031916600160a060020a0392909216919091179055565b600081815260096020908152604080832054600b909252822054600160a060020a0391821692909181908190331685141580610a405750600e5484115b1515610a4b57600080fd5b3484901015610a5957600080fd5b60008411610a6657600080fd5b610a76348563ffffffff611cfd16565b9250610a9a6064610a8e86605b63ffffffff611d0f16565b9063ffffffff611d4516565b9150610ab16009610a8e868563ffffffff611cfd16565b9050610abd8487611734565b6000878152600b6020908152604080832093909355600981528282208054600160a060020a033316600160a060020a031991821617909155600a909152919020805490911690556509184e72a000861115610bed57600754600160a060020a031663b4d60cfd87873360405160e060020a63ffffffff86160281526004810193909352600160a060020a039182166024840152166044820152606401600060405180830381600087803b1515610b7257600080fd5b6102c65a03f11515610b8357600080fd5b505050600f54841115610bed57600754600160a060020a0316636520ca0d8760405160e060020a63ffffffff84160281526004810191909152602401600060405180830381600087803b1515610bd857600080fd5b6102c65a03f11515610be957600080fd5b5050505b60008611156110b0576000805260096020527fec8156718a8372b1db44bb411437d0870f3e3790d4a08526d024ce1b0b668f6b54600160a060020a031615610c8a576000805260096020527fec8156718a8372b1db44bb411437d0870f3e3790d4a08526d024ce1b0b668f6b54600160a060020a031681156108fc0282604051600060405180830381858888f193505050501515610c8a57600080fd5b6103e886111561104a576103e88606600090815260096020526040902054600160a060020a031615610cfd576103e886066000908152600960205260409081902054600160a060020a0316906108fc83150290839051600060405180830381858888f193505050501515610cfd57600080fd5b62989680861115610fe457629896808606600090815260096020526040902054600160a060020a031615610d73576298968086066000908152600960205260409081902054600160a060020a0316906108fc83150290839051600060405180830381858888f193505050501515610d7357600080fd5b6509184e72a000861115610f7e576509184e72a0008606600090815260096020526040902054600160a060020a031615610df2576509184e72a00086066000908152600960205260409081902054600160a060020a0316906108fc83150290839051600060405180830381858888f193505050501515610df257600080fd5b678ac7230489e80000861115610f1857678ac7230489e800008606600090815260096020526040902054600160a060020a031615610e7757678ac7230489e8000086066000908152600960205260409081902054600160a060020a0316906108fc83150290839051600060405180830381858888f193505050501515610e7757600080fd5b600d6020527f81955a0a11e65eac625c29e8882660bae4e165a75d72780094acae8ece9a29ee8054600160a060020a033316600160a060020a031991821681179092556103e88806600090815260408082208054841685179055629896808a06825280822080548416851790556509184e72a0008a0682528082208054841685179055678ac7230489e800008a068252902080549091169091179055610f79565b6000868152600d6020526040902054600160a060020a031615610f79576000868152600d60205260409081902054600160a060020a0316906002830280156108fc029151600060405180830381858888f193505050501515610f7957600080fd5b610fdf565b6000868152600d6020526040902054600160a060020a031615610fdf576000868152600d60205260409081902054600160a060020a0316906002830280156108fc029151600060405180830381858888f193505050501515610fdf57600080fd5b611045565b6000868152600d6020526040902054600160a060020a031615611045576000868152600d60205260409081902054600160a060020a0316906002830280156108fc029151600060405180830381858888f19350505050151561104557600080fd5b6110ab565b6000868152600d6020526040902054600160a060020a0316156110ab576000868152600d60205260409081902054600160a060020a0316906002830280156108fc029151600060405180830381858888f1935050505015156110ab57600080fd5b611111565b6000868152600d6020526040902054600160a060020a031615611111576000868152600d60205260409081902054600160a060020a0316906002830280156108fc029151600060405180830381858888f19350505050151561111157600080fd5b6000868152600c6020526040902054600160a060020a031615611170576000868152600c60205260409081902054600160a060020a03169082156108fc0290839051600060405180830381858888f19350505050151561117057600080fd5b600160a060020a038516156111b057600160a060020a03851682156108fc0283604051600060405180830381858888f1935050505015156111b057600080fd5b857fb45b7a510d22eabde36919bed5551eccad687e7b55e2d2aa3033dc0786a9877b858733604051928352600160a060020a039182166020840152166040808301919091526060909101905180910390a233600160a060020a031685600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8860405190815260200160405180910390a3600083111561128257600160a060020a03331683156108fc0284604051600060405180830381858888f19350505050151561128257600080fd5b505050505050565b600160a060020a03331660009081526004602052604090205460ff1615156112b157600080fd5b6000848152600b60209081526040808320869055600982528083208054600160a060020a03808716600160a060020a031992831617909255600c909352928190208054938616939092169290921790557f52de1b99e2a2ea05a5f0172a69113edb62e0063b92a251f693a7233a5a3a313390859085905191825260208201526040908101905180910390a1600880546001810161134e8382611d6b565b50600091825260209091200193909355505050565b60015433600160a060020a0390811691161461137e57600080fd5b60068054600160a060020a03909216600160a060020a0319909216821790556000908152600460205260409020805460ff19166001179055565b60088054829081106113c657fe5b600091825260209091200154905081565b600f5481565b60015433600160a060020a039081169116146113f857600080fd5b60058054600160a060020a03909216600160a060020a0319909216821790556000908152600460205260409020805460ff19166001179055565b600160a060020a03331660009081526004602052604090205460ff16151561145957600080fd5b6000908152600b6020526040902055565b600090815260096020526040902054600160a060020a031690565b61148d611d8f565b60088054806020026020016040519081016040528092919081815260200182805480156114d957602002820191906000526020600020905b8154815260200190600101908083116114c5575b5050505050905090565b60085460009081805b8282101561154757600880548390811061150257fe5b60009182526020808320909101548083526009909152604090912054909150600160a060020a03908116908616141561153c576001909301925b6001909101906114ec565b505050919050565b6000908152600c6020526040902054600160a060020a031690565b600e5481565b600b6020526000908152604090205481565b60015433600160a060020a0390811691161461159d57600080fd5b600160a060020a03919091166000908152600460205260409020805460ff1916911515919091179055565b6115d0611d8f565b60006115da611d8f565b6000806000806115e9886114e3565b95508515156116195760006040518059106116015750595b908082528060200260200182016040525096506116d0565b856040518059106116275750595b90808252806020026020018201604052509450611642611a6f565b935060009250600091505b838210156116cc57600880548390811061166357fe5b60009182526020808320909101548083526009909152604090912054909150600160a060020a0390811690891614156116c157808584815181106116a357fe5b602090810290910101526116be83600163ffffffff611d5c16565b92505b60019091019061164d565b8496505b505050505050919050565b60035433600160a060020a039081169116146116f657600080fd5b600354600160a060020a0316151561170d57600080fd5b6003805460018054600160a060020a0319908116600160a060020a03841617909155169055565b6000780197d4df19d605767337e9f14d3eec8920e40000000000000082111561176f5761176883600263ffffffff611d0f16565b90506107e2565b722cd76fe086b93ce2f768a00b22a0000000000082111561179b5761176883600363ffffffff611d0f16565b6d04ee2d6d415b85acef81000000008211156117c7576117686002610a8e85600363ffffffff611d0f16565b6710a741a4627800008310156117ed57611768605b610a8e8560c863ffffffff611d0f16565b674563918244f4000083101561181357611768605b610a8e85609663ffffffff611d0f16565b611829605b610a8e85607863ffffffff611d0f16565b9392505050565b60015433600160a060020a0390811691161461184b57600080fd5b60078054600160a060020a03909216600160a060020a0319909216821790556000908152600460205260409020805460ff19166001179055565b60408051908101604052601081527f596f75436f6c6c656374546f6b656e7300000000000000000000000000000000602082015281565b600a60205260009081526040902054600160a060020a031681565b60006118e33383611ba8565b15156118ee57600080fd5b6118f9338484611c61565b50600192915050565b600154600160a060020a031681565b6000818152600960205260409020543390600160a060020a03908116908216151561193b57600080fd5b6119458284611c41565b151561195057600080fd5b61195b818385611c61565b505050565b60015460009033600160a060020a0390811691161461197e57600080fd5b5060058054600160a060020a03808716600160a060020a0319928316811790935560068054878316908416811790915560078054928716929093168217909255600092835260046020526040808420805460ff1990811660019081179092559385528185208054851682179055918452832080549092161790555b81518161ffff161015611a5657600160046000848461ffff1681518110611a1c57fe5b90602001906020020151600160a060020a031681526020810191909152604001600020805460ff19169115159190911790556001016119f9565b5050505050565b6000908152600b602052604090205490565b60085490565b6000805433600160a060020a03908116911614611a9157600080fd5b60008054600160a060020a038086169263a9059cbb929091169085906040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b1515611af757600080fd5b6102c65a03f11515611b0857600080fd5b5050506040518051949350505050565b60025433600160a060020a03908116911614611b3357600080fd5b600254600160a060020a03161515611b4a57600080fd5b6002805460008054600160a060020a0319908116600160a060020a03841617909155169055565b60408051908101604052600381527f5943540000000000000000000000000000000000000000000000000000000000602082015281565b600090815260096020526040902054600160a060020a0390811691161490565b600160a060020a0382161515611c1057600054600160a060020a031681156108fc0282604051600060405180830381858888f193505050501515611c0b57600080fd5b6108ea565b600160a060020a03821681156108fc0282604051600060405180830381858888f1935050505015156108ea57600080fd5b6000908152600a6020526040902054600160a060020a0391821691161490565b60008181526009602052604090208054600160a060020a031916600160a060020a0384811691909117909155831615611cb1576000818152600a602052604090208054600160a060020a03191690555b81600160a060020a031683600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405190815260200160405180910390a3505050565b600082821115611d0957fe5b50900390565b600080831515611d225760009150611d3e565b50828202828482811515611d3257fe5b0414611d3a57fe5b8091505b5092915050565b6000808284811515611d5357fe5b04949350505050565b600082820183811015611d3a57fe5b81548183558181151161195b5760008381526020902061195b918101908301611da1565b60206040519081016040526000815290565b61088891905b80821115611dbb5760008155600101611da7565b50905600a165627a7a723058202d7d9b6f4d043d0ca8b83149af870f074c558b3680f62aefa7f705e38919ac660029

Deployed Bytecode

0x6060604052600436106101df5763ffffffff60e060020a600035041663022fc88b81146101e457806303792d521461021a578063043d02581461024c5780630a0f8168146102675780630b7e9c441461027a5780631051db3414610299578063117de2fd146102ac578063172ce8d3146102ce5780631d36e06c146102ed57806323b872dd1461030357806327d7874c1461032b5780632ba73c151461034a5780632d296bf114610369578063324365b114610374578063450a91051461039f5780634f64b2be146103be578063503248fe146103e65780635e25f96d146103f957806362e8e8ac146104185780636352211e1461043157806367f718a91461044757806370a08231146104ad57806379e8b8eb146104cc5780637df432c9146104e2578063804afffb146104f557806382a147cd1461050b5780638462151c1461052f57806386f7993e1461054e578063915082641461056157806392e18d9f1461057a578063a3f4df7e14610599578063a8bd9c3214610623578063a9059cbb14610639578063b047fb501461065b578063b2e6ceeb1461066e578063b4c5c98314610684578063b9186d7d146106f0578063c4e41b2214610706578063dc39d06d14610719578063f35ba5d31461073b578063f76f8d781461074e575b600080fd5b34156101ef57600080fd5b610206600160a060020a0360043516602435610761565b604051901515815260200160405180910390f35b341561022557600080fd5b6102306004356107e8565b604051600160a060020a03909116815260200160405180910390f35b341561025757600080fd5b610265600435602435610803565b005b341561027257600080fd5b610230610829565b341561028557600080fd5b610265600160a060020a0360043516610838565b34156102a457600080fd5b610206610885565b34156102b757600080fd5b610265600160a060020a036004351660243561088b565b34156102d957600080fd5b610206600160a060020a03600435166108ee565b34156102f857600080fd5b610230600435610903565b341561030e57600080fd5b610206600160a060020a036004358116906024351660443561091e565b341561033657600080fd5b610265600160a060020a036004351661095f565b341561035557600080fd5b610265600160a060020a03600435166109b1565b610265600435610a03565b341561037f57600080fd5b610265600435602435600160a060020a036044358116906064351661128a565b34156103aa57600080fd5b610265600160a060020a0360043516611363565b34156103c957600080fd5b6103d46004356113b8565b60405190815260200160405180910390f35b34156103f157600080fd5b6103d46113d7565b341561040457600080fd5b610265600160a060020a03600435166113dd565b341561042357600080fd5b610265600435602435611432565b341561043c57600080fd5b61023060043561146a565b341561045257600080fd5b61045a611485565b60405160208082528190810183818151815260200191508051906020019060200280838360005b83811015610499578082015183820152602001610481565b505050509050019250505060405180910390f35b34156104b857600080fd5b6103d4600160a060020a03600435166114e3565b34156104d757600080fd5b61023060043561154f565b34156104ed57600080fd5b6103d461156a565b341561050057600080fd5b6103d4600435611570565b341561051657600080fd5b610265600160a060020a03600435166024351515611582565b341561053a57600080fd5b61045a600160a060020a03600435166115c8565b341561055957600080fd5b6102656116db565b341561056c57600080fd5b6103d4600435602435611734565b341561058557600080fd5b610265600160a060020a0360043516611830565b34156105a457600080fd5b6105ac611885565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156105e85780820151838201526020016105d0565b50505050905090810190601f1680156106155780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561062e57600080fd5b6102306004356118bc565b341561064457600080fd5b610206600160a060020a03600435166024356118d7565b341561066657600080fd5b610230611902565b341561067957600080fd5b610265600435611911565b341561068f57600080fd5b61026560048035600160a060020a039081169160248035831692604435169190608490606435908101908301358060208082020160405190810160405280939291908181526020018383602002808284375094965061196095505050505050565b34156106fb57600080fd5b6103d4600435611a5d565b341561071157600080fd5b6103d4611a6f565b341561072457600080fd5b610206600160a060020a0360043516602435611a75565b341561074657600080fd5b610265611b18565b341561075957600080fd5b6105ac611b71565b600061076d3383611ba8565b151561077857600080fd5b6000828152600a6020526040908190208054600160a060020a031916600160a060020a038681169182179092559133909116907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a35060015b92915050565b6000908152600d6020526040902054600160a060020a031690565b60015433600160a060020a0390811691161461081e57600080fd5b600e91909155600f55565b600054600160a060020a031681565b60005433600160a060020a0390811691161480610863575060015433600160a060020a039081169116145b151561086e57600080fd5b6108828130600160a060020a031631611bc8565b50565b60015b90565b60005433600160a060020a03908116911614806108b6575060015433600160a060020a039081169116145b15156108c157600080fd5b30600160a060020a0316318111156108e05750600160a060020a033016315b6108ea8282611bc8565b5050565b60046020526000908152604090205460ff1681565b600960205260009081526040902054600160a060020a031681565b600061092a8483611ba8565b151561093557600080fd5b61093f8383611c41565b151561094a57600080fd5b610955848484611c61565b5060019392505050565b60005433600160a060020a0390811691161461097a57600080fd5b600160a060020a038116151561098f57600080fd5b60028054600160a060020a031916600160a060020a0392909216919091179055565b60005433600160a060020a039081169116146109cc57600080fd5b600160a060020a03811615156109e157600080fd5b60038054600160a060020a031916600160a060020a0392909216919091179055565b600081815260096020908152604080832054600b909252822054600160a060020a0391821692909181908190331685141580610a405750600e5484115b1515610a4b57600080fd5b3484901015610a5957600080fd5b60008411610a6657600080fd5b610a76348563ffffffff611cfd16565b9250610a9a6064610a8e86605b63ffffffff611d0f16565b9063ffffffff611d4516565b9150610ab16009610a8e868563ffffffff611cfd16565b9050610abd8487611734565b6000878152600b6020908152604080832093909355600981528282208054600160a060020a033316600160a060020a031991821617909155600a909152919020805490911690556509184e72a000861115610bed57600754600160a060020a031663b4d60cfd87873360405160e060020a63ffffffff86160281526004810193909352600160a060020a039182166024840152166044820152606401600060405180830381600087803b1515610b7257600080fd5b6102c65a03f11515610b8357600080fd5b505050600f54841115610bed57600754600160a060020a0316636520ca0d8760405160e060020a63ffffffff84160281526004810191909152602401600060405180830381600087803b1515610bd857600080fd5b6102c65a03f11515610be957600080fd5b5050505b60008611156110b0576000805260096020527fec8156718a8372b1db44bb411437d0870f3e3790d4a08526d024ce1b0b668f6b54600160a060020a031615610c8a576000805260096020527fec8156718a8372b1db44bb411437d0870f3e3790d4a08526d024ce1b0b668f6b54600160a060020a031681156108fc0282604051600060405180830381858888f193505050501515610c8a57600080fd5b6103e886111561104a576103e88606600090815260096020526040902054600160a060020a031615610cfd576103e886066000908152600960205260409081902054600160a060020a0316906108fc83150290839051600060405180830381858888f193505050501515610cfd57600080fd5b62989680861115610fe457629896808606600090815260096020526040902054600160a060020a031615610d73576298968086066000908152600960205260409081902054600160a060020a0316906108fc83150290839051600060405180830381858888f193505050501515610d7357600080fd5b6509184e72a000861115610f7e576509184e72a0008606600090815260096020526040902054600160a060020a031615610df2576509184e72a00086066000908152600960205260409081902054600160a060020a0316906108fc83150290839051600060405180830381858888f193505050501515610df257600080fd5b678ac7230489e80000861115610f1857678ac7230489e800008606600090815260096020526040902054600160a060020a031615610e7757678ac7230489e8000086066000908152600960205260409081902054600160a060020a0316906108fc83150290839051600060405180830381858888f193505050501515610e7757600080fd5b600d6020527f81955a0a11e65eac625c29e8882660bae4e165a75d72780094acae8ece9a29ee8054600160a060020a033316600160a060020a031991821681179092556103e88806600090815260408082208054841685179055629896808a06825280822080548416851790556509184e72a0008a0682528082208054841685179055678ac7230489e800008a068252902080549091169091179055610f79565b6000868152600d6020526040902054600160a060020a031615610f79576000868152600d60205260409081902054600160a060020a0316906002830280156108fc029151600060405180830381858888f193505050501515610f7957600080fd5b610fdf565b6000868152600d6020526040902054600160a060020a031615610fdf576000868152600d60205260409081902054600160a060020a0316906002830280156108fc029151600060405180830381858888f193505050501515610fdf57600080fd5b611045565b6000868152600d6020526040902054600160a060020a031615611045576000868152600d60205260409081902054600160a060020a0316906002830280156108fc029151600060405180830381858888f19350505050151561104557600080fd5b6110ab565b6000868152600d6020526040902054600160a060020a0316156110ab576000868152600d60205260409081902054600160a060020a0316906002830280156108fc029151600060405180830381858888f1935050505015156110ab57600080fd5b611111565b6000868152600d6020526040902054600160a060020a031615611111576000868152600d60205260409081902054600160a060020a0316906002830280156108fc029151600060405180830381858888f19350505050151561111157600080fd5b6000868152600c6020526040902054600160a060020a031615611170576000868152600c60205260409081902054600160a060020a03169082156108fc0290839051600060405180830381858888f19350505050151561117057600080fd5b600160a060020a038516156111b057600160a060020a03851682156108fc0283604051600060405180830381858888f1935050505015156111b057600080fd5b857fb45b7a510d22eabde36919bed5551eccad687e7b55e2d2aa3033dc0786a9877b858733604051928352600160a060020a039182166020840152166040808301919091526060909101905180910390a233600160a060020a031685600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8860405190815260200160405180910390a3600083111561128257600160a060020a03331683156108fc0284604051600060405180830381858888f19350505050151561128257600080fd5b505050505050565b600160a060020a03331660009081526004602052604090205460ff1615156112b157600080fd5b6000848152600b60209081526040808320869055600982528083208054600160a060020a03808716600160a060020a031992831617909255600c909352928190208054938616939092169290921790557f52de1b99e2a2ea05a5f0172a69113edb62e0063b92a251f693a7233a5a3a313390859085905191825260208201526040908101905180910390a1600880546001810161134e8382611d6b565b50600091825260209091200193909355505050565b60015433600160a060020a0390811691161461137e57600080fd5b60068054600160a060020a03909216600160a060020a0319909216821790556000908152600460205260409020805460ff19166001179055565b60088054829081106113c657fe5b600091825260209091200154905081565b600f5481565b60015433600160a060020a039081169116146113f857600080fd5b60058054600160a060020a03909216600160a060020a0319909216821790556000908152600460205260409020805460ff19166001179055565b600160a060020a03331660009081526004602052604090205460ff16151561145957600080fd5b6000908152600b6020526040902055565b600090815260096020526040902054600160a060020a031690565b61148d611d8f565b60088054806020026020016040519081016040528092919081815260200182805480156114d957602002820191906000526020600020905b8154815260200190600101908083116114c5575b5050505050905090565b60085460009081805b8282101561154757600880548390811061150257fe5b60009182526020808320909101548083526009909152604090912054909150600160a060020a03908116908616141561153c576001909301925b6001909101906114ec565b505050919050565b6000908152600c6020526040902054600160a060020a031690565b600e5481565b600b6020526000908152604090205481565b60015433600160a060020a0390811691161461159d57600080fd5b600160a060020a03919091166000908152600460205260409020805460ff1916911515919091179055565b6115d0611d8f565b60006115da611d8f565b6000806000806115e9886114e3565b95508515156116195760006040518059106116015750595b908082528060200260200182016040525096506116d0565b856040518059106116275750595b90808252806020026020018201604052509450611642611a6f565b935060009250600091505b838210156116cc57600880548390811061166357fe5b60009182526020808320909101548083526009909152604090912054909150600160a060020a0390811690891614156116c157808584815181106116a357fe5b602090810290910101526116be83600163ffffffff611d5c16565b92505b60019091019061164d565b8496505b505050505050919050565b60035433600160a060020a039081169116146116f657600080fd5b600354600160a060020a0316151561170d57600080fd5b6003805460018054600160a060020a0319908116600160a060020a03841617909155169055565b6000780197d4df19d605767337e9f14d3eec8920e40000000000000082111561176f5761176883600263ffffffff611d0f16565b90506107e2565b722cd76fe086b93ce2f768a00b22a0000000000082111561179b5761176883600363ffffffff611d0f16565b6d04ee2d6d415b85acef81000000008211156117c7576117686002610a8e85600363ffffffff611d0f16565b6710a741a4627800008310156117ed57611768605b610a8e8560c863ffffffff611d0f16565b674563918244f4000083101561181357611768605b610a8e85609663ffffffff611d0f16565b611829605b610a8e85607863ffffffff611d0f16565b9392505050565b60015433600160a060020a0390811691161461184b57600080fd5b60078054600160a060020a03909216600160a060020a0319909216821790556000908152600460205260409020805460ff19166001179055565b60408051908101604052601081527f596f75436f6c6c656374546f6b656e7300000000000000000000000000000000602082015281565b600a60205260009081526040902054600160a060020a031681565b60006118e33383611ba8565b15156118ee57600080fd5b6118f9338484611c61565b50600192915050565b600154600160a060020a031681565b6000818152600960205260409020543390600160a060020a03908116908216151561193b57600080fd5b6119458284611c41565b151561195057600080fd5b61195b818385611c61565b505050565b60015460009033600160a060020a0390811691161461197e57600080fd5b5060058054600160a060020a03808716600160a060020a0319928316811790935560068054878316908416811790915560078054928716929093168217909255600092835260046020526040808420805460ff1990811660019081179092559385528185208054851682179055918452832080549092161790555b81518161ffff161015611a5657600160046000848461ffff1681518110611a1c57fe5b90602001906020020151600160a060020a031681526020810191909152604001600020805460ff19169115159190911790556001016119f9565b5050505050565b6000908152600b602052604090205490565b60085490565b6000805433600160a060020a03908116911614611a9157600080fd5b60008054600160a060020a038086169263a9059cbb929091169085906040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b1515611af757600080fd5b6102c65a03f11515611b0857600080fd5b5050506040518051949350505050565b60025433600160a060020a03908116911614611b3357600080fd5b600254600160a060020a03161515611b4a57600080fd5b6002805460008054600160a060020a0319908116600160a060020a03841617909155169055565b60408051908101604052600381527f5943540000000000000000000000000000000000000000000000000000000000602082015281565b600090815260096020526040902054600160a060020a0390811691161490565b600160a060020a0382161515611c1057600054600160a060020a031681156108fc0282604051600060405180830381858888f193505050501515611c0b57600080fd5b6108ea565b600160a060020a03821681156108fc0282604051600060405180830381858888f1935050505015156108ea57600080fd5b6000908152600a6020526040902054600160a060020a0391821691161490565b60008181526009602052604090208054600160a060020a031916600160a060020a0384811691909117909155831615611cb1576000818152600a602052604090208054600160a060020a03191690555b81600160a060020a031683600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405190815260200160405180910390a3505050565b600082821115611d0957fe5b50900390565b600080831515611d225760009150611d3e565b50828202828482811515611d3257fe5b0414611d3a57fe5b8091505b5092915050565b6000808284811515611d5357fe5b04949350505050565b600082820183811015611d3a57fe5b81548183558181151161195b5760008381526020902061195b918101908301611da1565b60206040519081016040526000815290565b61088891905b80821115611dbb5760008155600101611da7565b50905600a165627a7a723058202d7d9b6f4d043d0ca8b83149af870f074c558b3680f62aefa7f705e38919ac660029

Swarm Source

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