ETH Price: $3,355.07 (-8.55%)

Contract

0xA690f6a9fA8BCEf284F2f4aeB1adD87e1D9A4465
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Payout51506442018-02-24 23:47:172490 days ago1519516037IN
0xA690f6a9...e1D9A4465
0 ETH0.000030161
Purchase51417972018-02-23 11:45:072491 days ago1519386307IN
0xA690f6a9...e1D9A4465
0.04855241 ETH0.0007814712.1
Purchase51409982018-02-23 8:29:452491 days ago1519374585IN
0xA690f6a9...e1D9A4465
0.02233411 ETH0.0007092431
Purchase51401662018-02-23 5:04:482492 days ago1519362288IN
0xA690f6a9...e1D9A4465
0.02233411 ETH0.000022871
Purchase51400802018-02-23 4:43:532492 days ago1519361033IN
0xA690f6a9...e1D9A4465
0.04855241 ETH0.000159172
Purchase51400642018-02-23 4:39:122492 days ago1519360752IN
0xA690f6a9...e1D9A4465
0.02233411 ETH0.0027125742
Purchase51400502018-02-23 4:36:362492 days ago1519360596IN
0xA690f6a9...e1D9A4465
0.02233411 ETH0.0002287910
Purchase51400402018-02-23 4:34:202492 days ago1519360460IN
0xA690f6a9...e1D9A4465
0.04855241 ETH0.0011625318
Purchase51400382018-02-23 4:33:482492 days ago1519360428IN
0xA690f6a9...e1D9A4465
0.01027369 ETH0.0007104311
Purchase51400362018-02-23 4:33:242492 days ago1519360404IN
0xA690f6a9...e1D9A4465
0.02233411 ETH0.0007437715
Purchase51400342018-02-23 4:32:542492 days ago1519360374IN
0xA690f6a9...e1D9A4465
0.01027369 ETH0.0002287910
Purchase51400342018-02-23 4:32:542492 days ago1519360374IN
0xA690f6a9...e1D9A4465
0.10554872 ETH0.0017558622
Purchase51400342018-02-23 4:32:542492 days ago1519360374IN
0xA690f6a9...e1D9A4465
0.04855241 ETH0.0004575820
Purchase51400332018-02-23 4:32:452492 days ago1519360365IN
0xA690f6a9...e1D9A4465
0.01027369 ETH0.000452097
Purchase51400332018-02-23 4:32:452492 days ago1519360365IN
0xA690f6a9...e1D9A4465
0.10554872 ETH0.0012962420
Purchase51400332018-02-23 4:32:452492 days ago1519360365IN
0xA690f6a9...e1D9A4465
0.04855241 ETH0.0004575820
Purchase51400282018-02-23 4:31:402492 days ago1519360300IN
0xA690f6a9...e1D9A4465
0.02233411 ETH0.0009687715
Purchase51400282018-02-23 4:31:402492 days ago1519360300IN
0xA690f6a9...e1D9A4465
0.00472589 ETH0.001591720
Purchase51400282018-02-23 4:31:402492 days ago1519360300IN
0xA690f6a9...e1D9A4465
0.04855241 ETH0.0010412821
Purchase51400282018-02-23 4:31:402492 days ago1519360300IN
0xA690f6a9...e1D9A4465
0.04855241 ETH0.0024671331
Purchase51400262018-02-23 4:31:092492 days ago1519360269IN
0xA690f6a9...e1D9A4465
0.02233411 ETH0.001591720
Purchase51400252018-02-23 4:31:042492 days ago1519360264IN
0xA690f6a9...e1D9A4465
0.01027369 ETH0.0004958510
Purchase51400252018-02-23 4:31:042492 days ago1519360264IN
0xA690f6a9...e1D9A4465
0.00472589 ETH0.0006458510
Purchase51400212018-02-23 4:30:182492 days ago1519360218IN
0xA690f6a9...e1D9A4465
0.02233411 ETH0.0002516611
Purchase51400202018-02-23 4:30:102492 days ago1519360210IN
0xA690f6a9...e1D9A4465
0.00217391 ETH0.0006458510
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block
From
To
51506442018-02-24 23:47:172490 days ago1519516037
0xA690f6a9...e1D9A4465
0.10029067 ETH
51417972018-02-23 11:45:072491 days ago1519386307
0xA690f6a9...e1D9A4465
0.04466822 ETH
51400802018-02-23 4:43:532492 days ago1519361033
0xA690f6a9...e1D9A4465
0.04466822 ETH
51400642018-02-23 4:39:122492 days ago1519360752
0xA690f6a9...e1D9A4465
0.02054738 ETH
51400402018-02-23 4:34:202492 days ago1519360460
0xA690f6a9...e1D9A4465
0.04466822 ETH
51400382018-02-23 4:33:482492 days ago1519360428
0xA690f6a9...e1D9A4465
0.00945179 ETH
51400362018-02-23 4:33:242492 days ago1519360404
0xA690f6a9...e1D9A4465
0.02054738 ETH
51400342018-02-23 4:32:542492 days ago1519360374
0xA690f6a9...e1D9A4465
0.09710483 ETH
51400332018-02-23 4:32:452492 days ago1519360365
0xA690f6a9...e1D9A4465
0.00945179 ETH
51400332018-02-23 4:32:452492 days ago1519360365
0xA690f6a9...e1D9A4465
0.09710483 ETH
51400282018-02-23 4:31:402492 days ago1519360300
0xA690f6a9...e1D9A4465
0.02054738 ETH
51400282018-02-23 4:31:402492 days ago1519360300
0xA690f6a9...e1D9A4465
0.00434782 ETH
51400282018-02-23 4:31:402492 days ago1519360300
0xA690f6a9...e1D9A4465
0.04466822 ETH
51400282018-02-23 4:31:402492 days ago1519360300
0xA690f6a9...e1D9A4465
0.04466822 ETH
51400262018-02-23 4:31:092492 days ago1519360269
0xA690f6a9...e1D9A4465
0.02054738 ETH
51400252018-02-23 4:31:042492 days ago1519360264
0xA690f6a9...e1D9A4465
0.00945179 ETH
51400252018-02-23 4:31:042492 days ago1519360264
0xA690f6a9...e1D9A4465
0.00434782 ETH
51400202018-02-23 4:30:102492 days ago1519360210
0xA690f6a9...e1D9A4465
0.00199999 ETH
51400202018-02-23 4:30:102492 days ago1519360210
0xA690f6a9...e1D9A4465
0.00434782 ETH
51400202018-02-23 4:30:102492 days ago1519360210
0xA690f6a9...e1D9A4465
0.00945179 ETH
51400202018-02-23 4:30:102492 days ago1519360210
0xA690f6a9...e1D9A4465
0.02054738 ETH
51400162018-02-23 4:29:322492 days ago1519360172
0xA690f6a9...e1D9A4465
0.00434782 ETH
51400162018-02-23 4:29:322492 days ago1519360172
0xA690f6a9...e1D9A4465
0.00945179 ETH
51400112018-02-23 4:28:182492 days ago1519360098
0xA690f6a9...e1D9A4465
0.00199999 ETH
51400112018-02-23 4:28:182492 days ago1519360098
0xA690f6a9...e1D9A4465
0.00434782 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
EtherGems

Compiler Version
v0.4.19+commit.c4cbbb05

Optimization Enabled:
No 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 EtherGems is ERC721 {

  /*** EVENTS ***/

  /// @dev The Birth event is fired whenever a new Gem 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 = "EtherGems"; // solhint-disable-line
  string public constant SYMBOL = "GemToken"; // solhint-disable-line

  uint256 private startingPrice = 0.001 ether;
  uint256 private firstStepLimit =  0.053613 ether;
  uint256 private secondStepLimit = 0.564957 ether;

  /*** STORAGE ***/

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

  // @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 GemIDs to an address that has been approved to call
  ///  transferFrom(). Each Gem can only have one approved address for transfer
  ///  at any time. A zero value means no approval is outstanding.
  mapping (uint256 => address) public gemIndexToApproved;

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

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

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

  Gem[] private gems;

  /*** 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 EtherGems() 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));

    gemIndexToApproved[_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 Gem with the given name.
  function createContractGem(string _name) public onlyCLevel {
    _createGem(_name, address(this), startingPrice);
  }

  /// @notice Returns all the relevant information about a specific gem.
  /// @param _tokenId The tokenId of the gem of interest.
  function getGem(uint256 _tokenId) public view returns (
    string gemName,
    uint256 sellingPrice,
    address owner
  ) {
    Gem storage gem = gems[_tokenId];
    gemName = gem.name;
    sellingPrice = gemIndexToPrice[_tokenId];
    owner = gemIndexToOwner[_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 = gemIndexToOwner[_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 = gemIndexToOwner[_tokenId];
    address newOwner = msg.sender;

    uint256 sellingPrice = gemIndexToPrice[_tokenId];

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

    // 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
      gemIndexToPrice[_tokenId] = SafeMath.div(SafeMath.mul(sellingPrice, 200), 92);
    } else if (sellingPrice < secondStepLimit) {
      // second stage
      gemIndexToPrice[_tokenId] = SafeMath.div(SafeMath.mul(sellingPrice, 120), 92);
    } else {
      // third stage
      gemIndexToPrice[_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, gemIndexToPrice[_tokenId], oldOwner, newOwner, gems[_tokenId].name);

    msg.sender.transfer(purchaseExcess);
  }

  function priceOf(uint256 _tokenId) public view returns (uint256 price) {
    return gemIndexToPrice[_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 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 = gemIndexToOwner[_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 Gems array looking for gems 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 totalGems = totalSupply();
      uint256 resultIndex = 0;

      uint256 gemId;
      for (gemId = 0; gemId <= totalGems; gemId++) {
        if (gemIndexToOwner[gemId] == _owner) {
          result[resultIndex] = gemId;
          resultIndex++;
        }
      }
      return result;
    }
  }

  /// For querying totalSupply of token
  /// @dev Required for ERC-721 compliance.
  function totalSupply() public view returns (uint256 total) {
    return gems.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 gemIndexToApproved[_tokenId] == _to;
  }

  /// For creating Gem
  function _createGem(string _name, address _owner, uint256 _price) private {
    Gem memory _gem = Gem({
      name: _name
    });
    uint256 newGemId = gems.push(_gem) - 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(newGemId == uint256(uint32(newGemId)));

    Birth(newGemId, _name, _owner);

    gemIndexToPrice[newGemId] = _price;

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

  /// Check for token ownership
  function _owns(address claimant, uint256 _tokenId) private view returns (bool) {
    return claimant == gemIndexToOwner[_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 Gem to an address.
  function _transfer(address _from, address _to, uint256 _tokenId) private {
    // Since the number of gems is capped to 2^32 we can't overflow this
    ownershipTokenCount[_to]++;
    //transfer ownership
    gemIndexToOwner[_tokenId] = _to;

    // When creating new gems _from is 0x0, but we can't account that address.
    if (_from != address(0)) {
      ownershipTokenCount[_from]--;
      // clear any previously approved ownership exchange
      delete gemIndexToApproved[_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":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"gemIndexToApproved","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","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":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":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":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":"_tokenId","type":"uint256"}],"name":"getGem","outputs":[{"name":"gemName","type":"string"},{"name":"sellingPrice","type":"uint256"},{"name":"owner","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":true,"inputs":[{"name":"","type":"uint256"}],"name":"gemIndexToOwner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_name","type":"string"}],"name":"createContractGem","outputs":[],"payable":false,"stateMutability":"nonpayable","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"},{"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"}]

606060405266038d7ea4c6800060005566be78bd4c57d0006001556707d72165f25ed000600255341561003157600080fd5b33600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555033600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550611f31806100c26000396000f30060606040526004361061013e576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806306fdde031461014357806306fde29d146101d1578063095ea7b3146102345780630a0f8168146102765780630b7e9c44146102cb5780631051db341461030457806318160ddd1461033157806323b872dd1461035a57806327d7874c146103bb5780632ba73c15146103f45780636352211e1461042d57806370a08231146104905780638462151c146104dd57806395d89b411461056b578063a3f4df7e146105f9578063a9059cbb14610687578063aa723bb7146106c9578063b047fb501461079f578063b2e6ceeb146107f4578063b9186d7d14610817578063c0c8d66a1461084e578063e5a9d39b146108b1578063efef39a11461090e578063f76f8d7814610926575b600080fd5b341561014e57600080fd5b6101566109b4565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561019657808201518184015260208101905061017b565b50505050905090810190601f1680156101c35780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156101dc57600080fd5b6101f260048080359060200190919050506109f7565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561023f57600080fd5b610274600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091905050610a2a565b005b341561028157600080fd5b610289610afa565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34156102d657600080fd5b610302600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610b20565b005b341561030f57600080fd5b610317610be0565b604051808215151515815260200191505060405180910390f35b341561033c57600080fd5b610344610be9565b6040518082815260200191505060405180910390f35b341561036557600080fd5b6103b9600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091905050610bf6565b005b34156103c657600080fd5b6103f2600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610c44565b005b34156103ff57600080fd5b61042b600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610d20565b005b341561043857600080fd5b61044e6004808035906020019091905050610dfc565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561049b57600080fd5b6104c7600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610e75565b6040518082815260200191505060405180910390f35b34156104e857600080fd5b610514600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610ebe565b6040518080602001828103825283818151815260200191508051906020019060200280838360005b8381101561055757808201518184015260208101905061053c565b505050509050019250505060405180910390f35b341561057657600080fd5b61057e610ff5565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156105be5780820151818401526020810190506105a3565b50505050905090810190601f1680156105eb5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561060457600080fd5b61060c611038565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561064c578082015181840152602081019050610631565b50505050905090810190601f1680156106795780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561069257600080fd5b6106c7600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091905050611071565b005b34156106d457600080fd5b6106ea60048080359060200190919050506110a9565b60405180806020018481526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001828103825285818151815260200191508051906020019080838360005b83811015610762578082015181840152602081019050610747565b50505050905090810190601f16801561078f5780820380516001836020036101000a031916815260200191505b5094505050505060405180910390f35b34156107aa57600080fd5b6107b26111c5565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34156107ff57600080fd5b61081560048080359060200190919050506111eb565b005b341561082257600080fd5b6108386004808035906020019091905050611260565b6040518082815260200191505060405180910390f35b341561085957600080fd5b61086f600480803590602001909190505061127d565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34156108bc57600080fd5b61090c600480803590602001908201803590602001908080601f016020809104026020016040519081016040528093929190818152602001838380828437820191505050505050919050506112b0565b005b6109246004808035906020019091905050611374565b005b341561093157600080fd5b610939611720565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561097957808201518184015260208101905061095e565b50505050905090810190601f1680156109a65780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6109bc611d67565b6040805190810160405280600981526020017f457468657247656d730000000000000000000000000000000000000000000000815250905090565b60056020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610a343382611759565b1515610a3f57600080fd5b816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040518082815260200191505060405180910390a35050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610bc95750600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b1515610bd457600080fd5b610bdd816117c5565b50565b60006001905090565b6000600980549050905090565b610c008382611759565b1515610c0b57600080fd5b610c1582826118d3565b1515610c2057600080fd5b610c298261193f565b1515610c3457600080fd5b610c3f838383611978565b505050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610ca057600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614151515610cdc57600080fd5b80600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610d7c57600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614151515610db857600080fd5b80600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60006003600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614151515610e7057600080fd5b919050565b6000600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610ec6611d7b565b6000610ed0611d7b565b6000806000610ede87610e75565b94506000851415610f10576000604051805910610ef85750595b90808252806020026020018201604052509550610feb565b84604051805910610f1e5750595b90808252806020026020018201604052509350610f39610be9565b925060009150600090505b8281111515610fe7578673ffffffffffffffffffffffffffffffffffffffff166003600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415610fda57808483815181101515610fc357fe5b906020019060200201818152505081806001019250505b8080600101915050610f44565b8395505b5050505050919050565b610ffd611d67565b6040805190810160405280600881526020017f47656d546f6b656e000000000000000000000000000000000000000000000000815250905090565b6040805190810160405280600981526020017f457468657247656d73000000000000000000000000000000000000000000000081525081565b61107b3382611759565b151561108657600080fd5b61108f8261193f565b151561109a57600080fd5b6110a5338383611978565b5050565b6110b1611d67565b60008060006009858154811015156110c557fe5b90600052602060002090019050806000018054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561116a5780601f1061113f5761010080835404028352916020019161116a565b820191906000526020600020905b81548152906001019060200180831161114d57829003601f168201915b50505050509350600660008681526020019081526020016000205492506003600086815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169150509193909250565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000803391506003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690506112308261193f565b151561123b57600080fd5b61124582846118d3565b151561125057600080fd5b61125b818385611978565b505050565b600060066000838152602001908152602001600020549050919050565b60036020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806113595750600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b151561136457600080fd5b6113718130600054611b7a565b50565b60008060008060006003600087815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169450339350600660008781526020019081526020016000205492508373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415151561140657600080fd5b61140f8461193f565b151561141a57600080fd5b82341015151561142957600080fd5b61143e61143784605c611cf8565b6064611d33565b915061144a3484611d4e565b90506001548310156114875761146b6114648460c8611cf8565b605c611d33565b60066000888152602001908152602001600020819055506114f0565b6002548310156114c2576114a661149f846078611cf8565b605c611d33565b60066000888152602001908152602001600020819055506114ef565b6114d76114d0846073611cf8565b605c611d33565b60066000888152602001908152602001600020819055505b5b6114fb858588611978565b3073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16141515611571578473ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f19350505050151561157057600080fd5b5b7e8201e7bcbf010c2c07de59d6e97cb7e3cf67a46125c49cbc89b9d2cde1f48f8684600660008a815260200190815260200160002054888860098c8154811015156115b857fe5b9060005260206000209001600001604051808781526020018681526020018581526020018473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001806020018281038252838181546001816001161561010002031660029004815260200191508054600181600116156101000203166002900480156116c55780601f1061169a576101008083540402835291602001916116c5565b820191906000526020600020905b8154815290600101906020018083116116a857829003601f168201915b505097505050505050505060405180910390a13373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050151561171857600080fd5b505050505050565b6040805190810160405280600881526020017f47656d546f6b656e00000000000000000000000000000000000000000000000081525081565b60006003600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561187857600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc3073ffffffffffffffffffffffffffffffffffffffff16319081150290604051600060405180830381858888f19350505050151561187357600080fd5b6118d0565b8073ffffffffffffffffffffffffffffffffffffffff166108fc3073ffffffffffffffffffffffffffffffffffffffff16319081150290604051600060405180830381858888f1935050505015156118cf57600080fd5b5b50565b60008273ffffffffffffffffffffffffffffffffffffffff166005600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614905092915050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154809291906001019190505550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141515611ad657600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154809291906001900391905055506005600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690555b7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef838383604051808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001828152602001935050505060405180910390a1505050565b611b82611d8f565b6000602060405190810160405280868152509150600160098054806001018281611bac9190611da9565b916000526020600020900160008590919091506000820151816000019080519060200190611bdb929190611dd5565b5050500390508063ffffffff1681141515611bf557600080fd5b7fb3b0cf861f168bcdb275c69da97b2543631552ba562628aa3c7317d4a6089ef281868660405180848152602001806020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001828103825284818151815260200191508051906020019080838360005b83811015611c91578082015181840152602081019050611c76565b50505050905090810190601f168015611cbe5780820380516001836020036101000a031916815260200191505b5094505050505060405180910390a1826006600083815260200190815260200160002081905550611cf160008583611978565b5050505050565b6000806000841415611d0d5760009150611d2c565b8284029050828482811515611d1e57fe5b04141515611d2857fe5b8091505b5092915050565b6000808284811515611d4157fe5b0490508091505092915050565b6000828211151515611d5c57fe5b818303905092915050565b602060405190810160405280600081525090565b602060405190810160405280600081525090565b602060405190810160405280611da3611e55565b81525090565b815481835581811511611dd057818360005260206000209182019101611dcf9190611e69565b5b505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10611e1657805160ff1916838001178555611e44565b82800160010185558215611e44579182015b82811115611e43578251825591602001919060010190611e28565b5b509050611e519190611e98565b5090565b602060405190810160405280600081525090565b611e9591905b80821115611e915760008082016000611e889190611ebd565b50600101611e6f565b5090565b90565b611eba91905b80821115611eb6576000816000905550600101611e9e565b5090565b90565b50805460018160011615610100020316600290046000825580601f10611ee35750611f02565b601f016020900490600052602060002090810190611f019190611e98565b5b505600a165627a7a723058207432e2a203462476c9face99f39b01c4456e3888142e03c3b335f07cfc9dbb7f0029

Deployed Bytecode

0x60606040526004361061013e576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806306fdde031461014357806306fde29d146101d1578063095ea7b3146102345780630a0f8168146102765780630b7e9c44146102cb5780631051db341461030457806318160ddd1461033157806323b872dd1461035a57806327d7874c146103bb5780632ba73c15146103f45780636352211e1461042d57806370a08231146104905780638462151c146104dd57806395d89b411461056b578063a3f4df7e146105f9578063a9059cbb14610687578063aa723bb7146106c9578063b047fb501461079f578063b2e6ceeb146107f4578063b9186d7d14610817578063c0c8d66a1461084e578063e5a9d39b146108b1578063efef39a11461090e578063f76f8d7814610926575b600080fd5b341561014e57600080fd5b6101566109b4565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561019657808201518184015260208101905061017b565b50505050905090810190601f1680156101c35780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156101dc57600080fd5b6101f260048080359060200190919050506109f7565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561023f57600080fd5b610274600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091905050610a2a565b005b341561028157600080fd5b610289610afa565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34156102d657600080fd5b610302600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610b20565b005b341561030f57600080fd5b610317610be0565b604051808215151515815260200191505060405180910390f35b341561033c57600080fd5b610344610be9565b6040518082815260200191505060405180910390f35b341561036557600080fd5b6103b9600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091905050610bf6565b005b34156103c657600080fd5b6103f2600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610c44565b005b34156103ff57600080fd5b61042b600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610d20565b005b341561043857600080fd5b61044e6004808035906020019091905050610dfc565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561049b57600080fd5b6104c7600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610e75565b6040518082815260200191505060405180910390f35b34156104e857600080fd5b610514600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610ebe565b6040518080602001828103825283818151815260200191508051906020019060200280838360005b8381101561055757808201518184015260208101905061053c565b505050509050019250505060405180910390f35b341561057657600080fd5b61057e610ff5565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156105be5780820151818401526020810190506105a3565b50505050905090810190601f1680156105eb5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561060457600080fd5b61060c611038565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561064c578082015181840152602081019050610631565b50505050905090810190601f1680156106795780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561069257600080fd5b6106c7600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091908035906020019091905050611071565b005b34156106d457600080fd5b6106ea60048080359060200190919050506110a9565b60405180806020018481526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001828103825285818151815260200191508051906020019080838360005b83811015610762578082015181840152602081019050610747565b50505050905090810190601f16801561078f5780820380516001836020036101000a031916815260200191505b5094505050505060405180910390f35b34156107aa57600080fd5b6107b26111c5565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34156107ff57600080fd5b61081560048080359060200190919050506111eb565b005b341561082257600080fd5b6108386004808035906020019091905050611260565b6040518082815260200191505060405180910390f35b341561085957600080fd5b61086f600480803590602001909190505061127d565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34156108bc57600080fd5b61090c600480803590602001908201803590602001908080601f016020809104026020016040519081016040528093929190818152602001838380828437820191505050505050919050506112b0565b005b6109246004808035906020019091905050611374565b005b341561093157600080fd5b610939611720565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561097957808201518184015260208101905061095e565b50505050905090810190601f1680156109a65780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6109bc611d67565b6040805190810160405280600981526020017f457468657247656d730000000000000000000000000000000000000000000000815250905090565b60056020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610a343382611759565b1515610a3f57600080fd5b816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040518082815260200191505060405180910390a35050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610bc95750600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b1515610bd457600080fd5b610bdd816117c5565b50565b60006001905090565b6000600980549050905090565b610c008382611759565b1515610c0b57600080fd5b610c1582826118d3565b1515610c2057600080fd5b610c298261193f565b1515610c3457600080fd5b610c3f838383611978565b505050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610ca057600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614151515610cdc57600080fd5b80600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610d7c57600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614151515610db857600080fd5b80600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60006003600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614151515610e7057600080fd5b919050565b6000600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610ec6611d7b565b6000610ed0611d7b565b6000806000610ede87610e75565b94506000851415610f10576000604051805910610ef85750595b90808252806020026020018201604052509550610feb565b84604051805910610f1e5750595b90808252806020026020018201604052509350610f39610be9565b925060009150600090505b8281111515610fe7578673ffffffffffffffffffffffffffffffffffffffff166003600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415610fda57808483815181101515610fc357fe5b906020019060200201818152505081806001019250505b8080600101915050610f44565b8395505b5050505050919050565b610ffd611d67565b6040805190810160405280600881526020017f47656d546f6b656e000000000000000000000000000000000000000000000000815250905090565b6040805190810160405280600981526020017f457468657247656d73000000000000000000000000000000000000000000000081525081565b61107b3382611759565b151561108657600080fd5b61108f8261193f565b151561109a57600080fd5b6110a5338383611978565b5050565b6110b1611d67565b60008060006009858154811015156110c557fe5b90600052602060002090019050806000018054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561116a5780601f1061113f5761010080835404028352916020019161116a565b820191906000526020600020905b81548152906001019060200180831161114d57829003601f168201915b50505050509350600660008681526020019081526020016000205492506003600086815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169150509193909250565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000803391506003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690506112308261193f565b151561123b57600080fd5b61124582846118d3565b151561125057600080fd5b61125b818385611978565b505050565b600060066000838152602001908152602001600020549050919050565b60036020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806113595750600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b151561136457600080fd5b6113718130600054611b7a565b50565b60008060008060006003600087815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169450339350600660008781526020019081526020016000205492508373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415151561140657600080fd5b61140f8461193f565b151561141a57600080fd5b82341015151561142957600080fd5b61143e61143784605c611cf8565b6064611d33565b915061144a3484611d4e565b90506001548310156114875761146b6114648460c8611cf8565b605c611d33565b60066000888152602001908152602001600020819055506114f0565b6002548310156114c2576114a661149f846078611cf8565b605c611d33565b60066000888152602001908152602001600020819055506114ef565b6114d76114d0846073611cf8565b605c611d33565b60066000888152602001908152602001600020819055505b5b6114fb858588611978565b3073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16141515611571578473ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f19350505050151561157057600080fd5b5b7e8201e7bcbf010c2c07de59d6e97cb7e3cf67a46125c49cbc89b9d2cde1f48f8684600660008a815260200190815260200160002054888860098c8154811015156115b857fe5b9060005260206000209001600001604051808781526020018681526020018581526020018473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001806020018281038252838181546001816001161561010002031660029004815260200191508054600181600116156101000203166002900480156116c55780601f1061169a576101008083540402835291602001916116c5565b820191906000526020600020905b8154815290600101906020018083116116a857829003601f168201915b505097505050505050505060405180910390a13373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050151561171857600080fd5b505050505050565b6040805190810160405280600881526020017f47656d546f6b656e00000000000000000000000000000000000000000000000081525081565b60006003600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561187857600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc3073ffffffffffffffffffffffffffffffffffffffff16319081150290604051600060405180830381858888f19350505050151561187357600080fd5b6118d0565b8073ffffffffffffffffffffffffffffffffffffffff166108fc3073ffffffffffffffffffffffffffffffffffffffff16319081150290604051600060405180830381858888f1935050505015156118cf57600080fd5b5b50565b60008273ffffffffffffffffffffffffffffffffffffffff166005600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614905092915050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154809291906001019190505550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141515611ad657600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154809291906001900391905055506005600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690555b7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef838383604051808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001828152602001935050505060405180910390a1505050565b611b82611d8f565b6000602060405190810160405280868152509150600160098054806001018281611bac9190611da9565b916000526020600020900160008590919091506000820151816000019080519060200190611bdb929190611dd5565b5050500390508063ffffffff1681141515611bf557600080fd5b7fb3b0cf861f168bcdb275c69da97b2543631552ba562628aa3c7317d4a6089ef281868660405180848152602001806020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001828103825284818151815260200191508051906020019080838360005b83811015611c91578082015181840152602081019050611c76565b50505050905090810190601f168015611cbe5780820380516001836020036101000a031916815260200191505b5094505050505060405180910390a1826006600083815260200190815260200160002081905550611cf160008583611978565b5050505050565b6000806000841415611d0d5760009150611d2c565b8284029050828482811515611d1e57fe5b04141515611d2857fe5b8091505b5092915050565b6000808284811515611d4157fe5b0490508091505092915050565b6000828211151515611d5c57fe5b818303905092915050565b602060405190810160405280600081525090565b602060405190810160405280600081525090565b602060405190810160405280611da3611e55565b81525090565b815481835581811511611dd057818360005260206000209182019101611dcf9190611e69565b5b505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10611e1657805160ff1916838001178555611e44565b82800160010185558215611e44579182015b82811115611e43578251825591602001919060010190611e28565b5b509050611e519190611e98565b5090565b602060405190810160405280600081525090565b611e9591905b80821115611e915760008082016000611e889190611ebd565b50600101611e6f565b5090565b90565b611eba91905b80821115611eb6576000816000905550600101611e9e565b5090565b90565b50805460018160011615610100020316600290046000825580601f10611ee35750611f02565b601f016020900490600052602060002090810190611f019190611e98565b5b505600a165627a7a723058207432e2a203462476c9face99f39b01c4456e3888142e03c3b335f07cfc9dbb7f0029

Swarm Source

bzzr://7432e2a203462476c9face99f39b01c4456e3888142e03c3b335f07cfc9dbb7f

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.