ETH Price: $3,986.61 (-0.37%)

Token

Hedgie (HDG)
 

Overview

Max Total Supply

1,554 HDG

Holders

403

Total Transfers

-

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Hedgie is a real-time strategy blockchain game.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Hedgie

Compiler Version
v0.4.24+commit.e67f0147

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2021-05-01
*/

pragma solidity ^0.4.24;

// File: openzeppelin-solidity/contracts/introspection/ERC165.sol

/**
 * @title ERC165
 * @dev https://github.com/ethereum/EIPs/blob/master/EIPS/eip-165.md
 */
interface ERC165 {

  /**
   * @notice Query if a contract implements an interface
   * @param _interfaceId The interface identifier, as specified in ERC-165
   * @dev Interface identification is specified in ERC-165. This function
   * uses less than 30,000 gas.
   */
  function supportsInterface(bytes4 _interfaceId)
    external
    view
    returns (bool);
}

// File: openzeppelin-solidity/contracts/token/ERC721/ERC721Basic.sol

/**
 * @title ERC721 Non-Fungible Token Standard basic interface
 * @dev see https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md
 */
contract ERC721Basic is ERC165 {

  bytes4 internal constant InterfaceId_ERC721 = 0x80ac58cd;
  /*
   * 0x80ac58cd ===
   *   bytes4(keccak256('balanceOf(address)')) ^
   *   bytes4(keccak256('ownerOf(uint256)')) ^
   *   bytes4(keccak256('approve(address,uint256)')) ^
   *   bytes4(keccak256('getApproved(uint256)')) ^
   *   bytes4(keccak256('setApprovalForAll(address,bool)')) ^
   *   bytes4(keccak256('isApprovedForAll(address,address)')) ^
   *   bytes4(keccak256('transferFrom(address,address,uint256)')) ^
   *   bytes4(keccak256('safeTransferFrom(address,address,uint256)')) ^
   *   bytes4(keccak256('safeTransferFrom(address,address,uint256,bytes)'))
   */

  bytes4 internal constant InterfaceId_ERC721Exists = 0x4f558e79;
  /*
   * 0x4f558e79 ===
   *   bytes4(keccak256('exists(uint256)'))
   */

  bytes4 internal constant InterfaceId_ERC721Enumerable = 0x780e9d63;
  /**
   * 0x780e9d63 ===
   *   bytes4(keccak256('totalSupply()')) ^
   *   bytes4(keccak256('tokenOfOwnerByIndex(address,uint256)')) ^
   *   bytes4(keccak256('tokenByIndex(uint256)'))
   */

  bytes4 internal constant InterfaceId_ERC721Metadata = 0x5b5e139f;
  /**
   * 0x5b5e139f ===
   *   bytes4(keccak256('name()')) ^
   *   bytes4(keccak256('symbol()')) ^
   *   bytes4(keccak256('tokenURI(uint256)'))
   */

  event Transfer(
    address indexed _from,
    address indexed _to,
    uint256 indexed _tokenId
  );
  event Approval(
    address indexed _owner,
    address indexed _approved,
    uint256 indexed _tokenId
  );
  event ApprovalForAll(
    address indexed _owner,
    address indexed _operator,
    bool _approved
  );

  function balanceOf(address _owner) public view returns (uint256 _balance);
  function ownerOf(uint256 _tokenId) public view returns (address _owner);
  function exists(uint256 _tokenId) public view returns (bool _exists);

  function approve(address _to, uint256 _tokenId) public;
  function getApproved(uint256 _tokenId)
    public view returns (address _operator);

  function setApprovalForAll(address _operator, bool _approved) public;
  function isApprovedForAll(address _owner, address _operator)
    public view returns (bool);

  function transferFrom(address _from, address _to, uint256 _tokenId) public;
  function safeTransferFrom(address _from, address _to, uint256 _tokenId)
    public;

  function safeTransferFrom(
    address _from,
    address _to,
    uint256 _tokenId,
    bytes _data
  )
    public;
}

// File: openzeppelin-solidity/contracts/token/ERC721/ERC721.sol

/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md
 */
contract ERC721Enumerable is ERC721Basic {
  function totalSupply() public view returns (uint256);
  function tokenOfOwnerByIndex(
    address _owner,
    uint256 _index
  )
    public
    view
    returns (uint256 _tokenId);

  function tokenByIndex(uint256 _index) public view returns (uint256);
}


/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md
 */
contract ERC721Metadata is ERC721Basic {
  function name() external view returns (string _name);
  function symbol() external view returns (string _symbol);
  function tokenURI(uint256 _tokenId) public view returns (string);
}


/**
 * @title ERC-721 Non-Fungible Token Standard, full implementation interface
 * @dev See https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md
 */
contract ERC721 is ERC721Basic, ERC721Enumerable, ERC721Metadata {
}

// File: openzeppelin-solidity/contracts/token/ERC721/ERC721Receiver.sol

/**
 * @title ERC721 token receiver interface
 * @dev Interface for any contract that wants to support safeTransfers
 * from ERC721 asset contracts.
 */
contract ERC721Receiver {
  /**
   * @dev Magic value to be returned upon successful reception of an NFT
   *  Equals to `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))`,
   *  which can be also obtained as `ERC721Receiver(0).onERC721Received.selector`
   */
  bytes4 internal constant ERC721_RECEIVED = 0x150b7a02;

  /**
   * @notice Handle the receipt of an NFT
   * @dev The ERC721 smart contract calls this function on the recipient
   * after a `safetransfer`. This function MAY throw to revert and reject the
   * transfer. Return of other than the magic value MUST result in the
   * transaction being reverted.
   * Note: the contract address is always the message sender.
   * @param _operator The address which called `safeTransferFrom` function
   * @param _from The address which previously owned the token
   * @param _tokenId The NFT identifier which is being transferred
   * @param _data Additional data with no specified format
   * @return `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))`
   */
  function onERC721Received(
    address _operator,
    address _from,
    uint256 _tokenId,
    bytes _data
  )
    public
    returns(bytes4);
}

// File: openzeppelin-solidity/contracts/math/SafeMath.sol

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

  /**
  * @dev Multiplies two numbers, throws on overflow.
  */
  function mul(uint256 _a, uint256 _b) internal pure returns (uint256 c) {
    // Gas optimization: this is cheaper than asserting 'a' not being zero, but the
    // benefit is lost if 'b' is also tested.
    // See: https://github.com/OpenZeppelin/openzeppelin-solidity/pull/522
    if (_a == 0) {
      return 0;
    }

    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 _a / _b;
  }

  /**
  * @dev Subtracts 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 c) {
    c = _a + _b;
    assert(c >= _a);
    return c;
  }
}

// File: openzeppelin-solidity/contracts/AddressUtils.sol

/**
 * Utility library of inline functions on addresses
 */
library AddressUtils {

  /**
   * Returns whether the target address is a contract
   * @dev This function will return false if invoked during the constructor of a contract,
   * as the code is not actually created until after the constructor finishes.
   * @param _addr address to check
   * @return whether the target address is a contract
   */
  function isContract(address _addr) internal view returns (bool) {
    uint256 size;
    // XXX Currently there is no better way to check if there is a contract in an address
    // than to check the size of the code at that address.
    // See https://ethereum.stackexchange.com/a/14016/36603
    // for more details about how this works.
    // TODO Check this again before the Serenity release, because all addresses will be
    // contracts then.
    // solium-disable-next-line security/no-inline-assembly
    assembly { size := extcodesize(_addr) }
    return size > 0;
  }

}

// File: openzeppelin-solidity/contracts/introspection/SupportsInterfaceWithLookup.sol

/**
 * @title SupportsInterfaceWithLookup
 * @author Matt Condon (@shrugs)
 * @dev Implements ERC165 using a lookup table.
 */
contract SupportsInterfaceWithLookup is ERC165 {

  bytes4 public constant InterfaceId_ERC165 = 0x01ffc9a7;
  /**
   * 0x01ffc9a7 ===
   *   bytes4(keccak256('supportsInterface(bytes4)'))
   */

  /**
   * @dev a mapping of interface id to whether or not it's supported
   */
  mapping(bytes4 => bool) internal supportedInterfaces;

  /**
   * @dev A contract implementing SupportsInterfaceWithLookup
   * implement ERC165 itself
   */
  constructor()
    public
  {
    _registerInterface(InterfaceId_ERC165);
  }

  /**
   * @dev implement supportsInterface(bytes4) using a lookup table
   */
  function supportsInterface(bytes4 _interfaceId)
    external
    view
    returns (bool)
  {
    return supportedInterfaces[_interfaceId];
  }

  /**
   * @dev private method for registering an interface
   */
  function _registerInterface(bytes4 _interfaceId)
    internal
  {
    require(_interfaceId != 0xffffffff);
    supportedInterfaces[_interfaceId] = true;
  }
}

// File: openzeppelin-solidity/contracts/token/ERC721/ERC721BasicToken.sol

/**
 * @title ERC721 Non-Fungible Token Standard basic implementation
 * @dev see https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md
 */
contract ERC721BasicToken is SupportsInterfaceWithLookup, ERC721Basic {

  using SafeMath for uint256;
  using AddressUtils for address;

  // Equals to `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))`
  // which can be also obtained as `ERC721Receiver(0).onERC721Received.selector`
  bytes4 private constant ERC721_RECEIVED = 0x150b7a02;

  // Mapping from token ID to owner
  mapping (uint256 => address) internal tokenOwner;

  // Mapping from token ID to approved address
  mapping (uint256 => address) internal tokenApprovals;

  // Mapping from owner to number of owned token
  mapping (address => uint256) internal ownedTokensCount;

  // Mapping from owner to operator approvals
  mapping (address => mapping (address => bool)) internal operatorApprovals;

  constructor()
    public
  {
    // register the supported interfaces to conform to ERC721 via ERC165
    _registerInterface(InterfaceId_ERC721);
    _registerInterface(InterfaceId_ERC721Exists);
  }

  /**
   * @dev Gets the balance of the specified address
   * @param _owner address to query the balance of
   * @return uint256 representing the amount owned by the passed address
   */
  function balanceOf(address _owner) public view returns (uint256) {
    require(_owner != address(0));
    return ownedTokensCount[_owner];
  }

  /**
   * @dev Gets the owner of the specified token ID
   * @param _tokenId uint256 ID of the token to query the owner of
   * @return owner address currently marked as the owner of the given token ID
   */
  function ownerOf(uint256 _tokenId) public view returns (address) {
    address owner = tokenOwner[_tokenId];
    require(owner != address(0));
    return owner;
  }

  /**
   * @dev Returns whether the specified token exists
   * @param _tokenId uint256 ID of the token to query the existence of
   * @return whether the token exists
   */
  function exists(uint256 _tokenId) public view returns (bool) {
    address owner = tokenOwner[_tokenId];
    return owner != address(0);
  }

  /**
   * @dev Approves another address to transfer the given token ID
   * The zero address indicates there is no approved address.
   * There can only be one approved address per token at a given time.
   * Can only be called by the token owner or an approved operator.
   * @param _to address to be approved for the given token ID
   * @param _tokenId uint256 ID of the token to be approved
   */
  function approve(address _to, uint256 _tokenId) public {
    address owner = ownerOf(_tokenId);
    require(_to != owner);
    require(msg.sender == owner || isApprovedForAll(owner, msg.sender));

    tokenApprovals[_tokenId] = _to;
    emit Approval(owner, _to, _tokenId);
  }

  /**
   * @dev Gets the approved address for a token ID, or zero if no address set
   * @param _tokenId uint256 ID of the token to query the approval of
   * @return address currently approved for the given token ID
   */
  function getApproved(uint256 _tokenId) public view returns (address) {
    return tokenApprovals[_tokenId];
  }

  /**
   * @dev Sets or unsets the approval of a given operator
   * An operator is allowed to transfer all tokens of the sender on their behalf
   * @param _to operator address to set the approval
   * @param _approved representing the status of the approval to be set
   */
  function setApprovalForAll(address _to, bool _approved) public {
    require(_to != msg.sender);
    operatorApprovals[msg.sender][_to] = _approved;
    emit ApprovalForAll(msg.sender, _to, _approved);
  }

  /**
   * @dev Tells whether an operator is approved by a given owner
   * @param _owner owner address which you want to query the approval of
   * @param _operator operator address which you want to query the approval of
   * @return bool whether the given operator is approved by the given owner
   */
  function isApprovedForAll(
    address _owner,
    address _operator
  )
    public
    view
    returns (bool)
  {
    return operatorApprovals[_owner][_operator];
  }

  /**
   * @dev Transfers the ownership of a given token ID to another address
   * Usage of this method is discouraged, use `safeTransferFrom` whenever possible
   * Requires the msg sender to be the owner, approved, or operator
   * @param _from current owner of the token
   * @param _to address to receive the ownership of the given token ID
   * @param _tokenId uint256 ID of the token to be transferred
  */
  function transferFrom(
    address _from,
    address _to,
    uint256 _tokenId
  )
    public
  {
    require(isApprovedOrOwner(msg.sender, _tokenId));
    require(_from != address(0));
    require(_to != address(0));

    clearApproval(_from, _tokenId);
    removeTokenFrom(_from, _tokenId);
    addTokenTo(_to, _tokenId);

    emit Transfer(_from, _to, _tokenId);
  }

  /**
   * @dev Safely transfers the ownership of a given token ID to another address
   * If the target address is a contract, it must implement `onERC721Received`,
   * which is called upon a safe transfer, and return the magic value
   * `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))`; otherwise,
   * the transfer is reverted.
   *
   * Requires the msg sender to be the owner, approved, or operator
   * @param _from current owner of the token
   * @param _to address to receive the ownership of the given token ID
   * @param _tokenId uint256 ID of the token to be transferred
  */
  function safeTransferFrom(
    address _from,
    address _to,
    uint256 _tokenId
  )
    public
  {
    // solium-disable-next-line arg-overflow
    safeTransferFrom(_from, _to, _tokenId, "");
  }

  /**
   * @dev Safely transfers the ownership of a given token ID to another address
   * If the target address is a contract, it must implement `onERC721Received`,
   * which is called upon a safe transfer, and return the magic value
   * `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))`; otherwise,
   * the transfer is reverted.
   * Requires the msg sender to be the owner, approved, or operator
   * @param _from current owner of the token
   * @param _to address to receive the ownership of the given token ID
   * @param _tokenId uint256 ID of the token to be transferred
   * @param _data bytes data to send along with a safe transfer check
   */
  function safeTransferFrom(
    address _from,
    address _to,
    uint256 _tokenId,
    bytes _data
  )
    public
  {
    transferFrom(_from, _to, _tokenId);
    // solium-disable-next-line arg-overflow
    require(checkAndCallSafeTransfer(_from, _to, _tokenId, _data));
  }

  /**
   * @dev Returns whether the given spender can transfer a given token ID
   * @param _spender address of the spender to query
   * @param _tokenId uint256 ID of the token to be transferred
   * @return bool whether the msg.sender is approved for the given token ID,
   *  is an operator of the owner, or is the owner of the token
   */
  function isApprovedOrOwner(
    address _spender,
    uint256 _tokenId
  )
    internal
    view
    returns (bool)
  {
    address owner = ownerOf(_tokenId);
    // Disable solium check because of
    // https://github.com/duaraghav8/Solium/issues/175
    // solium-disable-next-line operator-whitespace
    return (
      _spender == owner ||
      getApproved(_tokenId) == _spender ||
      isApprovedForAll(owner, _spender)
    );
  }

  /**
   * @dev Internal function to mint a new token
   * Reverts if the given token ID already exists
   * @param _to The address that will own the minted token
   * @param _tokenId uint256 ID of the token to be minted by the msg.sender
   */
  function _mint(address _to, uint256 _tokenId) internal {
    require(_to != address(0));
    addTokenTo(_to, _tokenId);
    emit Transfer(address(0), _to, _tokenId);
  }

  /**
   * @dev Internal function to burn a specific token
   * Reverts if the token does not exist
   * @param _tokenId uint256 ID of the token being burned by the msg.sender
   */
  function _burn(address _owner, uint256 _tokenId) internal {
    clearApproval(_owner, _tokenId);
    removeTokenFrom(_owner, _tokenId);
    emit Transfer(_owner, address(0), _tokenId);
  }

  /**
   * @dev Internal function to clear current approval of a given token ID
   * Reverts if the given address is not indeed the owner of the token
   * @param _owner owner of the token
   * @param _tokenId uint256 ID of the token to be transferred
   */
  function clearApproval(address _owner, uint256 _tokenId) internal {
    require(ownerOf(_tokenId) == _owner);
    if (tokenApprovals[_tokenId] != address(0)) {
      tokenApprovals[_tokenId] = address(0);
    }
  }

  /**
   * @dev Internal function to add a token ID to the list of a given address
   * @param _to address representing the new owner of the given token ID
   * @param _tokenId uint256 ID of the token to be added to the tokens list of the given address
   */
  function addTokenTo(address _to, uint256 _tokenId) internal {
    require(tokenOwner[_tokenId] == address(0));
    tokenOwner[_tokenId] = _to;
    ownedTokensCount[_to] = ownedTokensCount[_to].add(1);
  }

  /**
   * @dev Internal function to remove a token ID from the list of a given address
   * @param _from address representing the previous owner of the given token ID
   * @param _tokenId uint256 ID of the token to be removed from the tokens list of the given address
   */
  function removeTokenFrom(address _from, uint256 _tokenId) internal {
    require(ownerOf(_tokenId) == _from);
    ownedTokensCount[_from] = ownedTokensCount[_from].sub(1);
    tokenOwner[_tokenId] = address(0);
  }

  /**
   * @dev Internal function to invoke `onERC721Received` on a target address
   * The call is not executed if the target address is not a contract
   * @param _from address representing the previous owner of the given token ID
   * @param _to target address that will receive the tokens
   * @param _tokenId uint256 ID of the token to be transferred
   * @param _data bytes optional data to send along with the call
   * @return whether the call correctly returned the expected magic value
   */
  function checkAndCallSafeTransfer(
    address _from,
    address _to,
    uint256 _tokenId,
    bytes _data
  )
    internal
    returns (bool)
  {
    if (!_to.isContract()) {
      return true;
    }
    bytes4 retval = ERC721Receiver(_to).onERC721Received(
      msg.sender, _from, _tokenId, _data);
    return (retval == ERC721_RECEIVED);
  }
}

// File: openzeppelin-solidity/contracts/token/ERC721/ERC721Token.sol

/**
 * @title Full ERC721 Token
 * This implementation includes all the required and some optional functionality of the ERC721 standard
 * Moreover, it includes approve all functionality using operator terminology
 * @dev see https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md
 */
contract ERC721Token is SupportsInterfaceWithLookup, ERC721BasicToken, ERC721 {

  // Token name
  string internal name_;

  // Token symbol
  string internal symbol_;

  // Mapping from owner to list of owned token IDs
  mapping(address => uint256[]) internal ownedTokens;

  // Mapping from token ID to index of the owner tokens list
  mapping(uint256 => uint256) internal ownedTokensIndex;

  // Array with all token ids, used for enumeration
  uint256[] internal allTokens;

  // Mapping from token id to position in the allTokens array
  mapping(uint256 => uint256) internal allTokensIndex;

  // Optional mapping for token URIs
  mapping(uint256 => string) internal tokenURIs;

  /**
   * @dev Constructor function
   */
  constructor(string _name, string _symbol) public {
    name_ = _name;
    symbol_ = _symbol;

    // register the supported interfaces to conform to ERC721 via ERC165
    _registerInterface(InterfaceId_ERC721Enumerable);
    _registerInterface(InterfaceId_ERC721Metadata);
  }

  /**
   * @dev Gets the token name
   * @return string representing the token name
   */
  function name() external view returns (string) {
    return name_;
  }

  /**
   * @dev Gets the token symbol
   * @return string representing the token symbol
   */
  function symbol() external view returns (string) {
    return symbol_;
  }

  /**
   * @dev Returns an URI for a given token ID
   * Throws if the token ID does not exist. May return an empty string.
   * @param _tokenId uint256 ID of the token to query
   */
  function tokenURI(uint256 _tokenId) public view returns (string) {
    require(exists(_tokenId));
    return tokenURIs[_tokenId];
  }

  /**
   * @dev Gets the token ID at a given index of the tokens list of the requested owner
   * @param _owner address owning the tokens list to be accessed
   * @param _index uint256 representing the index to be accessed of the requested tokens list
   * @return uint256 token ID at the given index of the tokens list owned by the requested address
   */
  function tokenOfOwnerByIndex(
    address _owner,
    uint256 _index
  )
    public
    view
    returns (uint256)
  {
    require(_index < balanceOf(_owner));
    return ownedTokens[_owner][_index];
  }

  /**
   * @dev Gets the total amount of tokens stored by the contract
   * @return uint256 representing the total amount of tokens
   */
  function totalSupply() public view returns (uint256) {
    return allTokens.length;
  }

  /**
   * @dev Gets the token ID at a given index of all the tokens in this contract
   * Reverts if the index is greater or equal to the total number of tokens
   * @param _index uint256 representing the index to be accessed of the tokens list
   * @return uint256 token ID at the given index of the tokens list
   */
  function tokenByIndex(uint256 _index) public view returns (uint256) {
    require(_index < totalSupply());
    return allTokens[_index];
  }

  /**
   * @dev Internal function to set the token URI for a given token
   * Reverts if the token ID does not exist
   * @param _tokenId uint256 ID of the token to set its URI
   * @param _uri string URI to assign
   */
  function _setTokenURI(uint256 _tokenId, string _uri) internal {
    require(exists(_tokenId));
    tokenURIs[_tokenId] = _uri;
  }

  /**
   * @dev Internal function to add a token ID to the list of a given address
   * @param _to address representing the new owner of the given token ID
   * @param _tokenId uint256 ID of the token to be added to the tokens list of the given address
   */
  function addTokenTo(address _to, uint256 _tokenId) internal {
    super.addTokenTo(_to, _tokenId);
    uint256 length = ownedTokens[_to].length;
    ownedTokens[_to].push(_tokenId);
    ownedTokensIndex[_tokenId] = length;
  }

  /**
   * @dev Internal function to remove a token ID from the list of a given address
   * @param _from address representing the previous owner of the given token ID
   * @param _tokenId uint256 ID of the token to be removed from the tokens list of the given address
   */
  function removeTokenFrom(address _from, uint256 _tokenId) internal {
    super.removeTokenFrom(_from, _tokenId);

    // To prevent a gap in the array, we store the last token in the index of the token to delete, and
    // then delete the last slot.
    uint256 tokenIndex = ownedTokensIndex[_tokenId];
    uint256 lastTokenIndex = ownedTokens[_from].length.sub(1);
    uint256 lastToken = ownedTokens[_from][lastTokenIndex];

    ownedTokens[_from][tokenIndex] = lastToken;
    // This also deletes the contents at the last position of the array
    ownedTokens[_from].length--;

    // Note that this will handle single-element arrays. In that case, both tokenIndex and lastTokenIndex are going to
    // be zero. Then we can make sure that we will remove _tokenId from the ownedTokens list since we are first swapping
    // the lastToken to the first position, and then dropping the element placed in the last position of the list

    ownedTokensIndex[_tokenId] = 0;
    ownedTokensIndex[lastToken] = tokenIndex;
  }

  /**
   * @dev Internal function to mint a new token
   * Reverts if the given token ID already exists
   * @param _to address the beneficiary that will own the minted token
   * @param _tokenId uint256 ID of the token to be minted by the msg.sender
   */
  function _mint(address _to, uint256 _tokenId) internal {
    super._mint(_to, _tokenId);

    allTokensIndex[_tokenId] = allTokens.length;
    allTokens.push(_tokenId);
  }

  /**
   * @dev Internal function to burn a specific token
   * Reverts if the token does not exist
   * @param _owner owner of the token to burn
   * @param _tokenId uint256 ID of the token being burned by the msg.sender
   */
  function _burn(address _owner, uint256 _tokenId) internal {
    super._burn(_owner, _tokenId);

    // Clear metadata (if any)
    if (bytes(tokenURIs[_tokenId]).length != 0) {
      delete tokenURIs[_tokenId];
    }

    // Reorg all tokens array
    uint256 tokenIndex = allTokensIndex[_tokenId];
    uint256 lastTokenIndex = allTokens.length.sub(1);
    uint256 lastToken = allTokens[lastTokenIndex];

    allTokens[tokenIndex] = lastToken;
    allTokens[lastTokenIndex] = 0;

    allTokens.length--;
    allTokensIndex[_tokenId] = 0;
    allTokensIndex[lastToken] = tokenIndex;
  }

}

// File: openzeppelin-solidity/contracts/ownership/Ownable.sol

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


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


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

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

  /**
   * @dev Allows the current owner to relinquish control of the contract.
   * @notice Renouncing to ownership will leave the contract without an owner.
   * It will not be possible to call the functions with the `onlyOwner`
   * modifier anymore.
   */
  function renounceOwnership() public onlyOwner {
    emit OwnershipRenounced(owner);
    owner = address(0);
  }

  /**
   * @dev Allows the current owner to transfer control of the contract to a newOwner.
   * @param _newOwner The address to transfer ownership to.
   */
  function transferOwnership(address _newOwner) public onlyOwner {
    _transferOwnership(_newOwner);
  }

  /**
   * @dev Transfers control of the contract to a newOwner.
   * @param _newOwner The address to transfer ownership to.
   */
  function _transferOwnership(address _newOwner) internal {
    require(_newOwner != address(0));
    emit OwnershipTransferred(owner, _newOwner);
    owner = _newOwner;
  }
}

// File: libraries/Util.sol

library Util {

    function uint2str(uint _base) internal pure returns (string){
        uint i = _base;

        if (i == 0) return "0";
        uint j = i;
        uint len;
        while (j != 0){
            len++;
            j /= 10;
        }
        bytes memory bstr = new bytes(len);
        uint k = len - 1;
        while (i != 0){
            bstr[k--] = byte(48 + i % 10);
            i /= 10;
        }
        return string(bstr);
    }

    function strConcat(string _a, string _b, string _c, string _d, string _e) internal pure returns (string) {
        bytes memory _ba = bytes(_a);
        bytes memory _bb = bytes(_b);
        bytes memory _bc = bytes(_c);
        bytes memory _bd = bytes(_d);
        bytes memory _be = bytes(_e);
        string memory abcde = new string(_ba.length + _bb.length + _bc.length + _bd.length + _be.length);
        bytes memory babcde = bytes(abcde);
        uint k = 0;
        for (uint i = 0; i < _ba.length; i++) babcde[k++] = _ba[i];
        for (i = 0; i < _bb.length; i++) babcde[k++] = _bb[i];
        for (i = 0; i < _bc.length; i++) babcde[k++] = _bc[i];
        for (i = 0; i < _bd.length; i++) babcde[k++] = _bd[i];
        for (i = 0; i < _be.length; i++) babcde[k++] = _be[i];
        return string(babcde);
    }

    function strConcat(string _a, string _b, string _c, string _d) internal pure returns (string) {
        return strConcat(_a, _b, _c, _d, "");
    }

    function strConcat(string _a, string _b, string _c) internal pure returns (string) {
        return strConcat(_a, _b, _c, "", "");
    }

    function strConcat(string _a, string _b) internal pure returns (string) {
        return strConcat(_a, _b, "", "", "");
    }
        
}

// File: contracts/Hedgie.sol

contract Hedgie is ERC721Token, Ownable {
    /**
     * This is the total number of hex colors
     */
    uint256 internal _totalColors = 16777216;

    /**
     * This is the base URI for hedgie data
     */
    string public tokenURIPrefix = "https://api.hedgie.io/api/v2/hedgies/metas/";

    mapping (address => uint) internal approvedAddressIndexes;
    address[] internal approvedAddresses;

    constructor() ERC721Token("Hedgie", "HDG") public {
    }

    /**
    * @dev Mints a token to an address
    * @param _to address of the future owner of the token
    * @param _tokenId the ID of the token to mint
    */
    function mintTo(address _to, uint256 _tokenId) public onlyApprovedAddresses {
        require(_tokenId < _totalColors);
        _mint(_to, _tokenId);
    }


    function setTokenURIPrefix(string newPrefix) external onlyOwner {
        tokenURIPrefix = newPrefix;
    }

    function tokenURI(uint256 _tokenId) public view returns (string) {
        require(exists(_tokenId));

        string memory tokenIDString = Util.uint2str(uint(_tokenId));
        return Util.strConcat(tokenURIPrefix, tokenIDString);
    }

    function tokensOf(address _owner) public view returns (uint256[]){
        return ownedTokens[_owner];
    }

    /**
    * @dev Throws if called by any account other than the owner.
    */
    modifier onlyApprovedAddresses() {
        require(approvedAddressIndexes[msg.sender] != 0 || msg.sender == owner);
        _;
    }

    function addApprovedAddress(address newAddress) public onlyOwner {
        require(approvedAddressIndexes[newAddress] == 0);
        approvedAddresses.push(newAddress);
        approvedAddressIndexes[newAddress] = approvedAddresses.length;
    }

    function removeApprovedAddress(address addressToRemove) public onlyOwner {
        require(approvedAddressIndexes[addressToRemove] != 0);

        // delete it from array and from map
        uint i = approvedAddressIndexes[addressToRemove] - 1;
    
        // replace the slot if there are more items
        if (approvedAddresses.length > 1) {
            approvedAddresses[i] = approvedAddresses[approvedAddresses.length - 1];
            approvedAddressIndexes[approvedAddresses[i]] = i + 1;
        }

        delete approvedAddressIndexes[addressToRemove];
        approvedAddresses.length--;
    }

    function removeAllApprovedAddresses() public onlyOwner {
        for (uint i = approvedAddresses.length; i > 0; i--) {
            address toRemove = approvedAddresses[i - 1];
            delete approvedAddressIndexes[toRemove];
            approvedAddresses.length--;
        }
    }

    function getApprovedAddresses() public view onlyOwner returns (address[]) {
        return approvedAddresses;
    }
}

Contract Security Audit

Contract ABI

[{"constant":true,"inputs":[{"name":"_interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_tokenId","type":"uint256"}],"name":"getApproved","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":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"InterfaceId_ERC165","outputs":[{"name":"","type":"bytes4"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"addressToRemove","type":"address"}],"name":"removeApprovedAddress","outputs":[],"payable":false,"stateMutability":"nonpayable","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":true,"inputs":[{"name":"_owner","type":"address"},{"name":"_index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_tokenId","type":"uint256"}],"name":"mintTo","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_tokenId","type":"uint256"}],"name":"exists","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"tokensOf","outputs":[{"name":"","type":"uint256[]"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"renounceOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newPrefix","type":"string"}],"name":"setTokenURIPrefix","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"getApprovedAddresses","outputs":[{"name":"","type":"address[]"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_tokenId","type":"uint256"},{"name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"tokenURIPrefix","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"removeAllApprovedAddresses","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newAddress","type":"address"}],"name":"addApprovedAddress","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"},{"name":"_operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"}],"name":"OwnershipRenounced","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"},{"indexed":true,"name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_from","type":"address"},{"indexed":true,"name":"_to","type":"address"},{"indexed":true,"name":"_tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_owner","type":"address"},{"indexed":true,"name":"_approved","type":"address"},{"indexed":true,"name":"_tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_owner","type":"address"},{"indexed":true,"name":"_operator","type":"address"},{"indexed":false,"name":"_approved","type":"bool"}],"name":"ApprovalForAll","type":"event"}]

6301000000600d5560e0604052602b60808190527f68747470733a2f2f6170692e6865646769652e696f2f6170692f76322f68656460a09081527f676965732f6d657461732f00000000000000000000000000000000000000000060c0526200006c91600e91906200029b565b503480156200007a57600080fd5b50604080518082018252600681527f48656467696500000000000000000000000000000000000000000000000000006020808301919091528251808401909352600383527f48444700000000000000000000000000000000000000000000000000000000009083015290620001187f01ffc9a7000000000000000000000000000000000000000000000000000000006401000000006200022e810204565b6200014c7f80ac58cd000000000000000000000000000000000000000000000000000000006401000000006200022e810204565b620001807f4f558e79000000000000000000000000000000000000000000000000000000006401000000006200022e810204565b8151620001959060059060208501906200029b565b508051620001ab9060069060208401906200029b565b50620001e07f780e9d63000000000000000000000000000000000000000000000000000000006401000000006200022e810204565b620002147f5b5e139f000000000000000000000000000000000000000000000000000000006401000000006200022e810204565b5050600c8054600160a060020a0319163317905562000340565b7fffffffff0000000000000000000000000000000000000000000000000000000080821614156200025e57600080fd5b7fffffffff00000000000000000000000000000000000000000000000000000000166000908152602081905260409020805460ff19166001179055565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620002de57805160ff19168380011785556200030e565b828001600101855582156200030e579182015b828111156200030e578251825591602001919060010190620002f1565b506200031c92915062000320565b5090565b6200033d91905b808211156200031c576000815560010162000327565b90565b611aa080620003506000396000f3006080604052600436106101745763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166301ffc9a7811461017957806306fdde03146101af578063081812fc14610239578063095ea7b31461026d57806318160ddd1461029357806319fa8f50146102ba57806320f1d85b146102ec57806323b872dd1461030d5780632f745c591461033757806342842e0e1461035b578063449a52f8146103855780634f558e79146103a95780634f6ccce7146103c15780635a3f2672146103d95780636352211e1461044a57806370a0823114610462578063715018a6146104835780638da5cb5b1461049857806395d89b41146104ad57806399e0dd7c146104c2578063a054e747146104e2578063a22cb465146104f7578063b88d4fde1461051d578063c0ac99831461058c578063c3b4178c146105a1578063c87b56dd146105b6578063d2ac1c8e146105ce578063e985e9c5146105ef578063f2fde38b14610616575b600080fd5b34801561018557600080fd5b5061019b600160e060020a031960043516610637565b604080519115158252519081900360200190f35b3480156101bb57600080fd5b506101c4610656565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101fe5781810151838201526020016101e6565b50505050905090810190601f16801561022b5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561024557600080fd5b506102516004356106ed565b60408051600160a060020a039092168252519081900360200190f35b34801561027957600080fd5b50610291600160a060020a0360043516602435610708565b005b34801561029f57600080fd5b506102a86107b1565b60408051918252519081900360200190f35b3480156102c657600080fd5b506102cf6107b7565b60408051600160e060020a03199092168252519081900360200190f35b3480156102f857600080fd5b50610291600160a060020a03600435166107db565b34801561031957600080fd5b50610291600160a060020a0360043581169060243516604435610919565b34801561034357600080fd5b506102a8600160a060020a03600435166024356109bc565b34801561036757600080fd5b50610291600160a060020a0360043581169060243516604435610a09565b34801561039157600080fd5b50610291600160a060020a0360043516602435610a25565b3480156103b557600080fd5b5061019b600435610a73565b3480156103cd57600080fd5b506102a8600435610a90565b3480156103e557600080fd5b506103fa600160a060020a0360043516610ac5565b60408051602080825283518183015283519192839290830191858101910280838360005b8381101561043657818101518382015260200161041e565b505050509050019250505060405180910390f35b34801561045657600080fd5b50610251600435610b31565b34801561046e57600080fd5b506102a8600160a060020a0360043516610b5b565b34801561048f57600080fd5b50610291610b8e565b3480156104a457600080fd5b50610251610bef565b3480156104b957600080fd5b506101c4610bfe565b3480156104ce57600080fd5b506102916004803560248101910135610c5f565b3480156104ee57600080fd5b506103fa610c82565b34801561050357600080fd5b50610291600160a060020a03600435166024351515610cfb565b34801561052957600080fd5b50604080516020601f60643560048181013592830184900484028501840190955281845261029194600160a060020a038135811695602480359092169560443595369560849401918190840183828082843750949750610d7f9650505050505050565b34801561059857600080fd5b506101c4610da7565b3480156105ad57600080fd5b50610291610e35565b3480156105c257600080fd5b506101c4600435610ebb565b3480156105da57600080fd5b50610291600160a060020a0360043516610f7a565b3480156105fb57600080fd5b5061019b600160a060020a0360043581169060243516611010565b34801561062257600080fd5b50610291600160a060020a036004351661103e565b600160e060020a03191660009081526020819052604090205460ff1690565b60058054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156106e25780601f106106b7576101008083540402835291602001916106e2565b820191906000526020600020905b8154815290600101906020018083116106c557829003601f168201915b505050505090505b90565b600090815260026020526040902054600160a060020a031690565b600061071382610b31565b9050600160a060020a03838116908216141561072e57600080fd5b33600160a060020a038216148061074a575061074a8133611010565b151561075557600080fd5b6000828152600260205260408082208054600160a060020a031916600160a060020a0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60095490565b7f01ffc9a70000000000000000000000000000000000000000000000000000000081565b600c54600090600160a060020a031633146107f557600080fd5b600160a060020a0382166000908152600f6020526040902054151561081957600080fd5b50600160a060020a0381166000908152600f602052604090205460105460001990910190600110156108e85760108054600019810190811061085757fe5b60009182526020909120015460108054600160a060020a03909216918390811061087d57fe5b9060005260206000200160006101000a815481600160a060020a030219169083600160a060020a0316021790555080600101600f60006010848154811015156108c257fe5b6000918252602080832090910154600160a060020a031683528201929092526040019020555b600160a060020a0382166000908152600f602052604081205560108054906109149060001983016119b8565b505050565b6109233382611061565b151561092e57600080fd5b600160a060020a038316151561094357600080fd5b600160a060020a038216151561095857600080fd5b61096283826110c0565b61096c8382611122565b6109768282611229565b8082600160a060020a031684600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60006109c783610b5b565b82106109d257600080fd5b600160a060020a03831660009081526007602052604090208054839081106109f657fe5b9060005260206000200154905092915050565b6109148383836020604051908101604052806000815250610d7f565b336000908152600f6020526040902054151580610a4c5750600c54600160a060020a031633145b1515610a5757600080fd5b600d548110610a6557600080fd5b610a6f8282611272565b5050565b600090815260016020526040902054600160a060020a0316151590565b6000610a9a6107b1565b8210610aa557600080fd5b6009805483908110610ab357fe5b90600052602060002001549050919050565b600160a060020a038116600090815260076020908152604091829020805483518184028101840190945280845260609392830182828015610b2557602002820191906000526020600020905b815481526020019060010190808311610b11575b50505050509050919050565b600081815260016020526040812054600160a060020a0316801515610b5557600080fd5b92915050565b6000600160a060020a0382161515610b7257600080fd5b50600160a060020a031660009081526003602052604090205490565b600c54600160a060020a03163314610ba557600080fd5b600c54604051600160a060020a03909116907ff8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c6482090600090a2600c8054600160a060020a0319169055565b600c54600160a060020a031681565b60068054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156106e25780601f106106b7576101008083540402835291602001916106e2565b600c54600160a060020a03163314610c7657600080fd5b610914600e83836119dc565b600c54606090600160a060020a03163314610c9c57600080fd5b60108054806020026020016040519081016040528092919081815260200182805480156106e257602002820191906000526020600020905b8154600160a060020a03168152600190910190602001808311610cd4575050505050905090565b600160a060020a038216331415610d1157600080fd5b336000818152600460209081526040808320600160a060020a03871680855290835292819020805460ff1916861515908117909155815190815290519293927f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31929181900390910190a35050565b610d8a848484610919565b610d96848484846112c1565b1515610da157600080fd5b50505050565b600e805460408051602060026001851615610100026000190190941693909304601f81018490048402820184019092528181529291830182828015610e2d5780601f10610e0257610100808354040283529160200191610e2d565b820191906000526020600020905b815481529060010190602001808311610e1057829003601f168201915b505050505081565b600c546000908190600160a060020a03163314610e5157600080fd5b60105491505b6000821115610a6f57601080546000198401908110610e7257fe5b6000918252602080832090910154600160a060020a0316808352600f909152604082209190915560108054919250610eae9060001983016119b8565b5060001990910190610e57565b606080610ec783610a73565b1515610ed257600080fd5b610edb8361142e565b600e805460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152939450610f73939291830182828015610f685780601f10610f3d57610100808354040283529160200191610f68565b820191906000526020600020905b815481529060010190602001808311610f4b57829003601f168201915b505050505082611523565b9392505050565b600c54600160a060020a03163314610f9157600080fd5b600160a060020a0381166000908152600f602052604090205415610fb457600080fd5b601080546001810182557f1b6847dc741a1b0cd08d278845f9d819d87b734759afb55fe2de5cb82a9ae672018054600160a060020a03909316600160a060020a031990931683179055546000918252600f602052604090912055565b600160a060020a03918216600090815260046020908152604080832093909416825291909152205460ff1690565b600c54600160a060020a0316331461105557600080fd5b61105e81611558565b50565b60008061106d83610b31565b905080600160a060020a031684600160a060020a031614806110a8575083600160a060020a031661109d846106ed565b600160a060020a0316145b806110b857506110b88185611010565b949350505050565b81600160a060020a03166110d382610b31565b600160a060020a0316146110e657600080fd5b600081815260026020526040902054600160a060020a031615610a6f5760009081526002602052604090208054600160a060020a031916905550565b600080600061113185856115c9565b600084815260086020908152604080832054600160a060020a038916845260079092529091205490935061116c90600163ffffffff61165216565b600160a060020a03861660009081526007602052604090208054919350908390811061119457fe5b90600052602060002001549050806007600087600160a060020a0316600160a060020a03168152602001908152602001600020848154811015156111d457fe5b6000918252602080832090910192909255600160a060020a038716815260079091526040902080549061120b9060001983016119b8565b50600093845260086020526040808520859055908452909220555050565b60006112358383611664565b50600160a060020a039091166000908152600760209081526040808320805460018101825590845282842081018590559383526008909152902055565b61127c82826116e7565b600980546000838152600a60205260408120829055600182018355919091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af015550565b6000806112d685600160a060020a0316611742565b15156112e55760019150611425565b6040517f150b7a020000000000000000000000000000000000000000000000000000000081523360048201818152600160a060020a03898116602485015260448401889052608060648501908152875160848601528751918a169463150b7a0294938c938b938b93909160a490910190602085019080838360005b83811015611378578181015183820152602001611360565b50505050905090810190601f1680156113a55780820380516001836020036101000a031916815260200191505b5095505050505050602060405180830381600087803b1580156113c757600080fd5b505af11580156113db573d6000803e3d6000fd5b505050506040513d60208110156113f157600080fd5b5051600160e060020a031981167f150b7a020000000000000000000000000000000000000000000000000000000014925090505b50949350505050565b60608160008083818415156114785760408051808201909152600181527f300000000000000000000000000000000000000000000000000000000000000060208201529550611519565b8493505b831561149357600190920191600a8404935061147c565b826040519080825280601f01601f1916602001820160405280156114c1578160200160208202803883390190505b5091505060001982015b841561151557815160001982019160f860020a6030600a890601029184919081106114f257fe5b906020010190600160f860020a031916908160001a905350600a850494506114cb565b8195505b5050505050919050565b604080516020818101835260008083528351808301855281815284519283019094528152606092610f7392869286929061174a565b600160a060020a038116151561156d57600080fd5b600c54604051600160a060020a038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600c8054600160a060020a031916600160a060020a0392909216919091179055565b81600160a060020a03166115dc82610b31565b600160a060020a0316146115ef57600080fd5b600160a060020a03821660009081526003602052604090205461161990600163ffffffff61165216565b600160a060020a039092166000908152600360209081526040808320949094559181526001909152208054600160a060020a0319169055565b60008282111561165e57fe5b50900390565b600081815260016020526040902054600160a060020a03161561168657600080fd5b60008181526001602081815260408084208054600160a060020a031916600160a060020a03881690811790915584526003909152909120546116c7916119ab565b600160a060020a0390921660009081526003602052604090209190915550565b600160a060020a03821615156116fc57600080fd5b6117068282611229565b6040518190600160a060020a038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000903b1190565b6060806060806060806060806000808e98508d97508c96508b95508a94508451865188518a518c51010101016040519080825280601f01601f1916602001820160405280156117a3578160200160208202803883390190505b50935083925060009150600090505b88518110156118105788818151811015156117c957fe5b90602001015160f860020a900460f860020a0283838060010194508151811015156117f057fe5b906020010190600160f860020a031916908160001a9053506001016117b2565b5060005b875181101561187257878181518110151561182b57fe5b90602001015160f860020a900460f860020a02838380600101945081518110151561185257fe5b906020010190600160f860020a031916908160001a905350600101611814565b5060005b86518110156118d457868181518110151561188d57fe5b90602001015160f860020a900460f860020a0283838060010194508151811015156118b457fe5b906020010190600160f860020a031916908160001a905350600101611876565b5060005b85518110156119365785818151811015156118ef57fe5b90602001015160f860020a900460f860020a02838380600101945081518110151561191657fe5b906020010190600160f860020a031916908160001a9053506001016118d8565b5060005b845181101561199857848181518110151561195157fe5b90602001015160f860020a900460f860020a02838380600101945081518110151561197857fe5b906020010190600160f860020a031916908160001a90535060010161193a565b50909d9c50505050505050505050505050565b81810182811015610b5557fe5b81548183558181111561091457600083815260209020610914918101908301611a5a565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10611a1d5782800160ff19823516178555611a4a565b82800160010185558215611a4a579182015b82811115611a4a578235825591602001919060010190611a2f565b50611a56929150611a5a565b5090565b6106ea91905b80821115611a565760008155600101611a605600a165627a7a7230582085a1c58dde894f15958a81b2c4afc4df7fda8d067661a1695863751c30d62c130029

Deployed Bytecode

0x6080604052600436106101745763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166301ffc9a7811461017957806306fdde03146101af578063081812fc14610239578063095ea7b31461026d57806318160ddd1461029357806319fa8f50146102ba57806320f1d85b146102ec57806323b872dd1461030d5780632f745c591461033757806342842e0e1461035b578063449a52f8146103855780634f558e79146103a95780634f6ccce7146103c15780635a3f2672146103d95780636352211e1461044a57806370a0823114610462578063715018a6146104835780638da5cb5b1461049857806395d89b41146104ad57806399e0dd7c146104c2578063a054e747146104e2578063a22cb465146104f7578063b88d4fde1461051d578063c0ac99831461058c578063c3b4178c146105a1578063c87b56dd146105b6578063d2ac1c8e146105ce578063e985e9c5146105ef578063f2fde38b14610616575b600080fd5b34801561018557600080fd5b5061019b600160e060020a031960043516610637565b604080519115158252519081900360200190f35b3480156101bb57600080fd5b506101c4610656565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101fe5781810151838201526020016101e6565b50505050905090810190601f16801561022b5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561024557600080fd5b506102516004356106ed565b60408051600160a060020a039092168252519081900360200190f35b34801561027957600080fd5b50610291600160a060020a0360043516602435610708565b005b34801561029f57600080fd5b506102a86107b1565b60408051918252519081900360200190f35b3480156102c657600080fd5b506102cf6107b7565b60408051600160e060020a03199092168252519081900360200190f35b3480156102f857600080fd5b50610291600160a060020a03600435166107db565b34801561031957600080fd5b50610291600160a060020a0360043581169060243516604435610919565b34801561034357600080fd5b506102a8600160a060020a03600435166024356109bc565b34801561036757600080fd5b50610291600160a060020a0360043581169060243516604435610a09565b34801561039157600080fd5b50610291600160a060020a0360043516602435610a25565b3480156103b557600080fd5b5061019b600435610a73565b3480156103cd57600080fd5b506102a8600435610a90565b3480156103e557600080fd5b506103fa600160a060020a0360043516610ac5565b60408051602080825283518183015283519192839290830191858101910280838360005b8381101561043657818101518382015260200161041e565b505050509050019250505060405180910390f35b34801561045657600080fd5b50610251600435610b31565b34801561046e57600080fd5b506102a8600160a060020a0360043516610b5b565b34801561048f57600080fd5b50610291610b8e565b3480156104a457600080fd5b50610251610bef565b3480156104b957600080fd5b506101c4610bfe565b3480156104ce57600080fd5b506102916004803560248101910135610c5f565b3480156104ee57600080fd5b506103fa610c82565b34801561050357600080fd5b50610291600160a060020a03600435166024351515610cfb565b34801561052957600080fd5b50604080516020601f60643560048181013592830184900484028501840190955281845261029194600160a060020a038135811695602480359092169560443595369560849401918190840183828082843750949750610d7f9650505050505050565b34801561059857600080fd5b506101c4610da7565b3480156105ad57600080fd5b50610291610e35565b3480156105c257600080fd5b506101c4600435610ebb565b3480156105da57600080fd5b50610291600160a060020a0360043516610f7a565b3480156105fb57600080fd5b5061019b600160a060020a0360043581169060243516611010565b34801561062257600080fd5b50610291600160a060020a036004351661103e565b600160e060020a03191660009081526020819052604090205460ff1690565b60058054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156106e25780601f106106b7576101008083540402835291602001916106e2565b820191906000526020600020905b8154815290600101906020018083116106c557829003601f168201915b505050505090505b90565b600090815260026020526040902054600160a060020a031690565b600061071382610b31565b9050600160a060020a03838116908216141561072e57600080fd5b33600160a060020a038216148061074a575061074a8133611010565b151561075557600080fd5b6000828152600260205260408082208054600160a060020a031916600160a060020a0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60095490565b7f01ffc9a70000000000000000000000000000000000000000000000000000000081565b600c54600090600160a060020a031633146107f557600080fd5b600160a060020a0382166000908152600f6020526040902054151561081957600080fd5b50600160a060020a0381166000908152600f602052604090205460105460001990910190600110156108e85760108054600019810190811061085757fe5b60009182526020909120015460108054600160a060020a03909216918390811061087d57fe5b9060005260206000200160006101000a815481600160a060020a030219169083600160a060020a0316021790555080600101600f60006010848154811015156108c257fe5b6000918252602080832090910154600160a060020a031683528201929092526040019020555b600160a060020a0382166000908152600f602052604081205560108054906109149060001983016119b8565b505050565b6109233382611061565b151561092e57600080fd5b600160a060020a038316151561094357600080fd5b600160a060020a038216151561095857600080fd5b61096283826110c0565b61096c8382611122565b6109768282611229565b8082600160a060020a031684600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60006109c783610b5b565b82106109d257600080fd5b600160a060020a03831660009081526007602052604090208054839081106109f657fe5b9060005260206000200154905092915050565b6109148383836020604051908101604052806000815250610d7f565b336000908152600f6020526040902054151580610a4c5750600c54600160a060020a031633145b1515610a5757600080fd5b600d548110610a6557600080fd5b610a6f8282611272565b5050565b600090815260016020526040902054600160a060020a0316151590565b6000610a9a6107b1565b8210610aa557600080fd5b6009805483908110610ab357fe5b90600052602060002001549050919050565b600160a060020a038116600090815260076020908152604091829020805483518184028101840190945280845260609392830182828015610b2557602002820191906000526020600020905b815481526020019060010190808311610b11575b50505050509050919050565b600081815260016020526040812054600160a060020a0316801515610b5557600080fd5b92915050565b6000600160a060020a0382161515610b7257600080fd5b50600160a060020a031660009081526003602052604090205490565b600c54600160a060020a03163314610ba557600080fd5b600c54604051600160a060020a03909116907ff8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c6482090600090a2600c8054600160a060020a0319169055565b600c54600160a060020a031681565b60068054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156106e25780601f106106b7576101008083540402835291602001916106e2565b600c54600160a060020a03163314610c7657600080fd5b610914600e83836119dc565b600c54606090600160a060020a03163314610c9c57600080fd5b60108054806020026020016040519081016040528092919081815260200182805480156106e257602002820191906000526020600020905b8154600160a060020a03168152600190910190602001808311610cd4575050505050905090565b600160a060020a038216331415610d1157600080fd5b336000818152600460209081526040808320600160a060020a03871680855290835292819020805460ff1916861515908117909155815190815290519293927f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31929181900390910190a35050565b610d8a848484610919565b610d96848484846112c1565b1515610da157600080fd5b50505050565b600e805460408051602060026001851615610100026000190190941693909304601f81018490048402820184019092528181529291830182828015610e2d5780601f10610e0257610100808354040283529160200191610e2d565b820191906000526020600020905b815481529060010190602001808311610e1057829003601f168201915b505050505081565b600c546000908190600160a060020a03163314610e5157600080fd5b60105491505b6000821115610a6f57601080546000198401908110610e7257fe5b6000918252602080832090910154600160a060020a0316808352600f909152604082209190915560108054919250610eae9060001983016119b8565b5060001990910190610e57565b606080610ec783610a73565b1515610ed257600080fd5b610edb8361142e565b600e805460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152939450610f73939291830182828015610f685780601f10610f3d57610100808354040283529160200191610f68565b820191906000526020600020905b815481529060010190602001808311610f4b57829003601f168201915b505050505082611523565b9392505050565b600c54600160a060020a03163314610f9157600080fd5b600160a060020a0381166000908152600f602052604090205415610fb457600080fd5b601080546001810182557f1b6847dc741a1b0cd08d278845f9d819d87b734759afb55fe2de5cb82a9ae672018054600160a060020a03909316600160a060020a031990931683179055546000918252600f602052604090912055565b600160a060020a03918216600090815260046020908152604080832093909416825291909152205460ff1690565b600c54600160a060020a0316331461105557600080fd5b61105e81611558565b50565b60008061106d83610b31565b905080600160a060020a031684600160a060020a031614806110a8575083600160a060020a031661109d846106ed565b600160a060020a0316145b806110b857506110b88185611010565b949350505050565b81600160a060020a03166110d382610b31565b600160a060020a0316146110e657600080fd5b600081815260026020526040902054600160a060020a031615610a6f5760009081526002602052604090208054600160a060020a031916905550565b600080600061113185856115c9565b600084815260086020908152604080832054600160a060020a038916845260079092529091205490935061116c90600163ffffffff61165216565b600160a060020a03861660009081526007602052604090208054919350908390811061119457fe5b90600052602060002001549050806007600087600160a060020a0316600160a060020a03168152602001908152602001600020848154811015156111d457fe5b6000918252602080832090910192909255600160a060020a038716815260079091526040902080549061120b9060001983016119b8565b50600093845260086020526040808520859055908452909220555050565b60006112358383611664565b50600160a060020a039091166000908152600760209081526040808320805460018101825590845282842081018590559383526008909152902055565b61127c82826116e7565b600980546000838152600a60205260408120829055600182018355919091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af015550565b6000806112d685600160a060020a0316611742565b15156112e55760019150611425565b6040517f150b7a020000000000000000000000000000000000000000000000000000000081523360048201818152600160a060020a03898116602485015260448401889052608060648501908152875160848601528751918a169463150b7a0294938c938b938b93909160a490910190602085019080838360005b83811015611378578181015183820152602001611360565b50505050905090810190601f1680156113a55780820380516001836020036101000a031916815260200191505b5095505050505050602060405180830381600087803b1580156113c757600080fd5b505af11580156113db573d6000803e3d6000fd5b505050506040513d60208110156113f157600080fd5b5051600160e060020a031981167f150b7a020000000000000000000000000000000000000000000000000000000014925090505b50949350505050565b60608160008083818415156114785760408051808201909152600181527f300000000000000000000000000000000000000000000000000000000000000060208201529550611519565b8493505b831561149357600190920191600a8404935061147c565b826040519080825280601f01601f1916602001820160405280156114c1578160200160208202803883390190505b5091505060001982015b841561151557815160001982019160f860020a6030600a890601029184919081106114f257fe5b906020010190600160f860020a031916908160001a905350600a850494506114cb565b8195505b5050505050919050565b604080516020818101835260008083528351808301855281815284519283019094528152606092610f7392869286929061174a565b600160a060020a038116151561156d57600080fd5b600c54604051600160a060020a038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600c8054600160a060020a031916600160a060020a0392909216919091179055565b81600160a060020a03166115dc82610b31565b600160a060020a0316146115ef57600080fd5b600160a060020a03821660009081526003602052604090205461161990600163ffffffff61165216565b600160a060020a039092166000908152600360209081526040808320949094559181526001909152208054600160a060020a0319169055565b60008282111561165e57fe5b50900390565b600081815260016020526040902054600160a060020a03161561168657600080fd5b60008181526001602081815260408084208054600160a060020a031916600160a060020a03881690811790915584526003909152909120546116c7916119ab565b600160a060020a0390921660009081526003602052604090209190915550565b600160a060020a03821615156116fc57600080fd5b6117068282611229565b6040518190600160a060020a038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000903b1190565b6060806060806060806060806000808e98508d97508c96508b95508a94508451865188518a518c51010101016040519080825280601f01601f1916602001820160405280156117a3578160200160208202803883390190505b50935083925060009150600090505b88518110156118105788818151811015156117c957fe5b90602001015160f860020a900460f860020a0283838060010194508151811015156117f057fe5b906020010190600160f860020a031916908160001a9053506001016117b2565b5060005b875181101561187257878181518110151561182b57fe5b90602001015160f860020a900460f860020a02838380600101945081518110151561185257fe5b906020010190600160f860020a031916908160001a905350600101611814565b5060005b86518110156118d457868181518110151561188d57fe5b90602001015160f860020a900460f860020a0283838060010194508151811015156118b457fe5b906020010190600160f860020a031916908160001a905350600101611876565b5060005b85518110156119365785818151811015156118ef57fe5b90602001015160f860020a900460f860020a02838380600101945081518110151561191657fe5b906020010190600160f860020a031916908160001a9053506001016118d8565b5060005b845181101561199857848181518110151561195157fe5b90602001015160f860020a900460f860020a02838380600101945081518110151561197857fe5b906020010190600160f860020a031916908160001a90535060010161193a565b50909d9c50505050505050505050505050565b81810182811015610b5557fe5b81548183558181111561091457600083815260209020610914918101908301611a5a565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10611a1d5782800160ff19823516178555611a4a565b82800160010185558215611a4a579182015b82811115611a4a578235825591602001919060010190611a2f565b50611a56929150611a5a565b5090565b6106ea91905b80821115611a565760008155600101611a605600a165627a7a7230582085a1c58dde894f15958a81b2c4afc4df7fda8d067661a1695863751c30d62c130029

Deployed Bytecode Sourcemap

31203:2834:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9350:148;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;9350:148:0;-1:-1:-1;;;;;;9350:148:0;;;;;;;;;;;;;;;;;;;;;;;22208:72;;8:9:-1;5:2;;;30:1;27;20:12;5:2;22208:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;22208:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12978:113;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;12978:113:0;;;;;;;;;-1:-1:-1;;;;;12978:113:0;;;;;;;;;;;;;;12460:284;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;12460:284:0;-1:-1:-1;;;;;12460:284:0;;;;;;;;;23521:89;;8:9:-1;5:2;;;30:1;27;20:12;5:2;23521:89:0;;;;;;;;;;;;;;;;;;;;8781:54;;8:9:-1;5:2;;;30:1;27;20:12;5:2;8781:54:0;;;;;;;;-1:-1:-1;;;;;;8781:54:0;;;;;;;;;;;;;;32992:619;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;32992:619:0;-1:-1:-1;;;;;32992:619:0;;;;;14510:386;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;14510:386:0;-1:-1:-1;;;;;14510:386:0;;;;;;;;;;;;23160:213;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;23160:213:0;-1:-1:-1;;;;;23160:213:0;;;;;;;15526:208;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;15526:208:0;-1:-1:-1;;;;;15526:208:0;;;;;;;;;;;;31854:158;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;31854:158:0;-1:-1:-1;;;;;31854:158:0;;;;;;;11902:143;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;11902:143:0;;;;;23942;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;23942:143:0;;;;;32391:110;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;32391:110:0;-1:-1:-1;;;;;32391:110:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;32391:110:0;;;;;;;;;;;;;;;;;11549:168;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;11549:168:0;;;;;11184:145;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;11184:145:0;-1:-1:-1;;;;;11184:145:0;;;;;28656:114;;8:9:-1;5:2;;;30:1;27;20:12;5:2;28656:114:0;;;;27861:20;;8:9:-1;5:2;;;30:1;27;20:12;5:2;27861:20:0;;;;22384:76;;8:9:-1;5:2;;;30:1;27;20:12;5:2;22384:76:0;;;;32022:109;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;32022:109:0;;;;;;;;;;;;33917:117;;8:9:-1;5:2;;;30:1;27;20:12;5:2;33917:117:0;;;;13379:209;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;13379:209:0;-1:-1:-1;;;;;13379:209:0;;;;;;;;;16430:287;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;16430:287:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;16430:287:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;16430:287:0;;-1:-1:-1;16430:287:0;;-1:-1:-1;;;;;;;16430:287:0;31427:76;;8:9:-1;5:2;;;30:1;27;20:12;5:2;31427:76:0;;;;33619:290;;8:9:-1;5:2;;;30:1;27;20:12;5:2;33619:290:0;;;;32139:244;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;32139:244:0;;;;;32735:249;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;32735:249:0;-1:-1:-1;;;;;32735:249:0;;;;;13905:177;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;13905:177:0;-1:-1:-1;;;;;13905:177:0;;;;;;;;;;28938:105;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;28938:105:0;-1:-1:-1;;;;;28938:105:0;;;;;9350:148;-1:-1:-1;;;;;;9459:33:0;9436:4;9459:33;;;;;;;;;;;;;;9350:148::o;22208:72::-;22269:5;22262:12;;;;;;;;-1:-1:-1;;22262:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22247:6;;22262:12;;22269:5;;22262:12;;22269:5;22262:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22208:72;;:::o;12978:113::-;13038:7;13061:24;;;:14;:24;;;;;;-1:-1:-1;;;;;13061:24:0;;12978:113::o;12460:284::-;12522:13;12538:17;12546:8;12538:7;:17::i;:::-;12522:33;-1:-1:-1;;;;;;12570:12:0;;;;;;;;12562:21;;;;;;12598:10;-1:-1:-1;;;;;12598:19:0;;;;:58;;;12621:35;12638:5;12645:10;12621:16;:35::i;:::-;12590:67;;;;;;;;12666:24;;;;:14;:24;;;;;;:30;;-1:-1:-1;;;;;;12666:30:0;-1:-1:-1;;;;;12666:30:0;;;;;;;;;12708;;12666:24;;12708:30;;;;;;;12460:284;;;:::o;23521:89::-;23588:9;:16;23521:89;:::o;8781:54::-;;;:::o;32992:619::-;28364:5;;33188:6;;-1:-1:-1;;;;;28364:5:0;28350:10;:19;28342:28;;;;;;-1:-1:-1;;;;;33084:39:0;;;;;;:22;:39;;;;;;:44;;33076:53;;;;;;-1:-1:-1;;;;;;33197:39:0;;;;;;:22;:39;;;;;;33314:17;:24;-1:-1:-1;;33197:43:0;;;;33239:1;-1:-1:-1;33310:198:0;;;33382:17;33400:24;;-1:-1:-1;;33400:28:0;;;33382:47;;;;;;;;;;;;;;;;33359:17;:20;;-1:-1:-1;;;;;33382:47:0;;;;33377:1;;33359:20;;;;;;;;;;;;;;:70;;;;;-1:-1:-1;;;;;33359:70:0;;;;;-1:-1:-1;;;;;33359:70:0;;;;;;33491:1;33495;33491:5;33444:22;:44;33467:17;33485:1;33467:20;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;33467:20:0;33444:44;;;;;;;;;;;;:52;33310:198;-1:-1:-1;;;;;33527:39:0;;;;;;:22;:39;;;;;33520:46;33577:17;:26;;;;;-1:-1:-1;;33577:26:0;;;:::i;:::-;;32992:619;;:::o;14510:386::-;14628:39;14646:10;14658:8;14628:17;:39::i;:::-;14620:48;;;;;;;;-1:-1:-1;;;;;14683:19:0;;;;14675:28;;;;;;-1:-1:-1;;;;;14718:17:0;;;;14710:26;;;;;;14745:30;14759:5;14766:8;14745:13;:30::i;:::-;14782:32;14798:5;14805:8;14782:15;:32::i;:::-;14821:25;14832:3;14837:8;14821:10;:25::i;:::-;14881:8;14876:3;-1:-1:-1;;;;;14860:30:0;14869:5;-1:-1:-1;;;;;14860:30:0;;;;;;;;;;;14510:386;;;:::o;23160:213::-;23272:7;23308:17;23318:6;23308:9;:17::i;:::-;23299:26;;23291:35;;;;;;-1:-1:-1;;;;;23340:19:0;;;;;;:11;:19;;;;;:27;;23360:6;;23340:27;;;;;;;;;;;;;;23333:34;;23160:213;;;;:::o;15526:208::-;15686:42;15703:5;15710:3;15715:8;15686:42;;;;;;;;;;;;;:16;:42::i;31854:158::-;32667:10;32644:34;;;;:22;:34;;;;;;:39;;;:62;;-1:-1:-1;32701:5:0;;-1:-1:-1;;;;;32701:5:0;32687:10;:19;32644:62;32636:71;;;;;;;;31960:12;;31949:23;;31941:32;;;;;;31984:20;31990:3;31995:8;31984:5;:20::i;:::-;31854:158;;:::o;11902:143::-;11957:4;11986:20;;;:10;:20;;;;;;-1:-1:-1;;;;;11986:20:0;12020:19;;;11902:143::o;23942:::-;24001:7;24034:13;:11;:13::i;:::-;24025:22;;24017:31;;;;;;24062:9;:17;;24072:6;;24062:17;;;;;;;;;;;;;;24055:24;;23942:143;;;:::o;32391:110::-;-1:-1:-1;;;;;32474:19:0;;;;;;:11;:19;;;;;;;;;32467:26;;;;;;;;;;;;;;;;;32446:9;;32467:26;;;32474:19;32467:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32391:110;;;:::o;11549:168::-;11605:7;11637:20;;;:10;:20;;;;;;-1:-1:-1;;;;;11637:20:0;11672:19;;;11664:28;;;;;;11706:5;11549:168;-1:-1:-1;;11549:168:0:o;11184:145::-;11240:7;-1:-1:-1;;;;;11264:20:0;;;;11256:29;;;;;;-1:-1:-1;;;;;;11299:24:0;;;;;:16;:24;;;;;;;11184:145::o;28656:114::-;28364:5;;-1:-1:-1;;;;;28364:5:0;28350:10;:19;28342:28;;;;;;28733:5;;28714:25;;-1:-1:-1;;;;;28733:5:0;;;;28714:25;;28733:5;;28714:25;28746:5;:18;;-1:-1:-1;;;;;;28746:18:0;;;28656:114::o;27861:20::-;;;-1:-1:-1;;;;;27861:20:0;;:::o;22384:76::-;22447:7;22440:14;;;;;;;;-1:-1:-1;;22440:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22425:6;;22440:14;;22447:7;;22440:14;;22447:7;22440:14;;;;;;;;;;;;;;;;;;;;;;;;32022:109;28364:5;;-1:-1:-1;;;;;28364:5:0;28350:10;:19;28342:28;;;;;;32097:26;:14;32114:9;;32097:26;:::i;33917:117::-;28364:5;;33980:9;;-1:-1:-1;;;;;28364:5:0;28350:10;:19;28342:28;;;;;;34009:17;34002:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;34002:24:0;;;;;;;;;;;;;;;;;;;;;;33917:117;:::o;13379:209::-;-1:-1:-1;;;;;13457:17:0;;13464:10;13457:17;;13449:26;;;;;;13500:10;13482:29;;;;:17;:29;;;;;;;;-1:-1:-1;;;;;13482:34:0;;;;;;;;;;;;:46;;-1:-1:-1;;13482:46:0;;;;;;;;;;13540:42;;;;;;;13482:34;;13500:10;13540:42;;;;;;;;;;;13379:209;;:::o;16430:287::-;16562:34;16575:5;16582:3;16587:8;16562:12;:34::i;:::-;16657:53;16682:5;16689:3;16694:8;16704:5;16657:24;:53::i;:::-;16649:62;;;;;;;;16430:287;;;;:::o;31427:76::-;;;;;;;;;;;;;;;-1:-1:-1;;31427:76:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;33619:290::-;28364:5;;33690:6;;;;-1:-1:-1;;;;;28364:5:0;28350:10;:19;28342:28;;;;;;33699:17;:24;;-1:-1:-1;33685:217:0;33729:1;33725;:5;33685:217;;;33771:17;:24;;-1:-1:-1;;33789:5:0;;;33771:24;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;33771:24:0;33817:32;;;:22;:32;;;;;;33810:39;;;;33864:17;:26;;33771:24;;-1:-1:-1;33864:26:0;;-1:-1:-1;;33864:26:0;;;:::i;:::-;-1:-1:-1;;;33732:3:0;;;;33685:217;;32139:244;32196:6;32253:27;32223:16;32230:8;32223:6;:16::i;:::-;32215:25;;;;;;;;32283:29;32302:8;32283:13;:29::i;:::-;32345:14;32330:45;;;;;;;;;;;;;-1:-1:-1;;32330:45:0;;;;;;;;;;;;;;;;;;;;;;;;;;32253:59;;-1:-1:-1;32330:45:0;;;32345:14;32330:45;;32345:14;32330:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32361:13;32330:14;:45::i;:::-;32323:52;32139:244;-1:-1:-1;;;32139:244:0:o;32735:249::-;28364:5;;-1:-1:-1;;;;;28364:5:0;28350:10;:19;28342:28;;;;;;-1:-1:-1;;;;;32819:34:0;;;;;;:22;:34;;;;;;:39;32811:48;;;;;;32870:17;27:10:-1;;39:1;23:18;;45:23;;32870:34:0;;;;-1:-1:-1;;;;;32870:34:0;;;-1:-1:-1;;;;;;32870:34:0;;;;;;;32952:24;-1:-1:-1;32915:34:0;;;:22;32870:34;32915;;;;;:61;32735:249::o;13905:177::-;-1:-1:-1;;;;;14040:25:0;;;14017:4;14040:25;;;:17;:25;;;;;;;;:36;;;;;;;;;;;;;;;13905:177::o;28938:105::-;28364:5;;-1:-1:-1;;;;;28364:5:0;28350:10;:19;28342:28;;;;;;29008:29;29027:9;29008:18;:29::i;:::-;28938:105;:::o;17073:455::-;17189:4;17205:13;17221:17;17229:8;17221:7;:17::i;:::-;17205:33;;17422:5;-1:-1:-1;;;;;17410:17:0;:8;-1:-1:-1;;;;;17410:17:0;;:61;;;;17463:8;-1:-1:-1;;;;;17438:33:0;:21;17450:8;17438:11;:21::i;:::-;-1:-1:-1;;;;;17438:33:0;;17410:61;:105;;;;17482:33;17499:5;17506:8;17482:16;:33::i;:::-;17394:128;17073:455;-1:-1:-1;;;;17073:455:0:o;18613:219::-;18715:6;-1:-1:-1;;;;;18694:27:0;:17;18702:8;18694:7;:17::i;:::-;-1:-1:-1;;;;;18694:27:0;;18686:36;;;;;;18769:1;18733:24;;;:14;:24;;;;;;-1:-1:-1;;;;;18733:24:0;:38;18729:98;;18817:1;18782:24;;;:14;:24;;;;;:37;;-1:-1:-1;;;;;;18782:37:0;;;-1:-1:-1;18613:219:0:o;25238:1041::-;25498:18;25552:22;25616:17;25312:38;25334:5;25341:8;25312:21;:38::i;:::-;25519:26;;;;:16;:26;;;;;;;;;-1:-1:-1;;;;;25577:18:0;;;;:11;:18;;;;;;:25;25519:26;;-1:-1:-1;25577:32:0;;25607:1;25577:32;:29;:32;:::i;:::-;-1:-1:-1;;;;;25636:18:0;;;;;;:11;:18;;;;;:34;;25552:57;;-1:-1:-1;25636:18:0;25552:57;;25636:34;;;;;;;;;;;;;;25616:54;;25712:9;25679:11;:18;25691:5;-1:-1:-1;;;;;25679:18:0;-1:-1:-1;;;;;25679:18:0;;;;;;;;;;;;25698:10;25679:30;;;;;;;;;;;;;;;;;;;;;:42;;;;-1:-1:-1;;;;;25801:18:0;;;;:11;:18;;;;;;:27;;;;;-1:-1:-1;;25801:27:0;;;:::i;:::-;-1:-1:-1;26225:1:0;26196:26;;;:16;:26;;;;;;:30;;;26233:27;;;;;;:40;-1:-1:-1;;25238:1041:0:o;24721:231::-;24826:14;24788:31;24805:3;24810:8;24788:16;:31::i;:::-;-1:-1:-1;;;;;;24843:16:0;;;;;;;:11;:16;;;;;;;;:23;;39:1:-1;23:18;;45:23;;24873:31:0;;;;;;;;;;;24911:26;;;:16;:26;;;;;:35;24721:231::o;26548:177::-;26610:26;26622:3;26627:8;26610:11;:26::i;:::-;26672:9;:16;;26645:24;;;;:14;:24;;;;;:43;;;39:1:-1;23:18;;45:23;;26695:24:0;;;;;;;-1:-1:-1;26548:177:0:o;20331:362::-;20477:4;20550:13;20498:16;:3;-1:-1:-1;;;;;20498:14:0;;:16::i;:::-;20497:17;20493:51;;;20532:4;20525:11;;;;20493:51;20566:80;;;;;20611:10;20566:80;;;;;;-1:-1:-1;;;;;20566:80:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:36;;;;;;20611:10;20623:5;;20630:8;;20640:5;;20566:80;;;;;;;;;;;;;;-1:-1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;20566:80:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;20566:80:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;20566:80:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;20566:80:0;-1:-1:-1;;;;;;20661:25:0;;20671:15;20661:25;;-1:-1:-1;20566:80:0;-1:-1:-1;20331:362:0;;;;;;;;:::o;29419:450::-;29472:6;29499:5;29490:6;;29472;29490;29521;;29517:22;;;29529:10;;;;;;;;;;;;;;;;;;-1:-1:-1;29529:10:0;;29517:22;29559:1;29550:10;;29590:68;29597:6;;29590:68;;29619:5;;;;;29644:2;29639:7;;;;29590:68;;;29698:3;29688:14;;;;;;;;;;;;;;;;;;;;;;;;;29:2:-1;21:6;17:15;117:4;105:10;97:6;88:34;136:17;;-1:-1;29688:14:0;-1:-1:-1;29668:34:0;-1:-1:-1;;;;29722:7:0;;29740:92;29747:6;;29740:92;;29769:9;;-1:-1:-1;;29774:3:0;;;-1:-1:-1;;;29786:2:0;29795;29791:6;;29786:11;29781:17;;29769:4;;29774:3;29769:9;;;;;;;;;;:29;-1:-1:-1;;;;;29769:29:0;;;;;;;;-1:-1:-1;29818:2:0;29813:7;;;;29740:92;;;29856:4;29842:19;;29419:450;;;;;;;;;:::o;31026:127::-;31116:29;;;;;;;;;-1:-1:-1;31116:29:0;;;;;;;;;;;;;;;;;;;;;;;31090:6;;31116:29;;31126:2;;31130;;31116:29;:9;:29::i;29184:175::-;-1:-1:-1;;;;;29255:23:0;;;;29247:32;;;;;;29312:5;;29291:38;;-1:-1:-1;;;;;29291:38:0;;;;29312:5;;29291:38;;29312:5;;29291:38;29336:5;:17;;-1:-1:-1;;;;;;29336:17:0;-1:-1:-1;;;;;29336:17:0;;;;;;;;;;29184:175::o;19596:218::-;19699:5;-1:-1:-1;;;;;19678:26:0;:17;19686:8;19678:7;:17::i;:::-;-1:-1:-1;;;;;19678:26:0;;19670:35;;;;;;-1:-1:-1;;;;;19738:23:0;;;;;;:16;:23;;;;;;:30;;19766:1;19738:30;:27;:30;:::i;:::-;-1:-1:-1;;;;;19712:23:0;;;;;;;:16;:23;;;;;;;;:56;;;;19775:20;;;:10;:20;;;;:33;;-1:-1:-1;;;;;;19775:33:0;;;19596:218::o;7098:119::-;7158:7;7181:8;;;;7174:16;;;;-1:-1:-1;7204:7:0;;;7098:119::o;19102:208::-;19209:1;19177:20;;;:10;:20;;;;;;-1:-1:-1;;;;;19177:20:0;:34;19169:43;;;;;;19219:20;;;;:10;:20;;;;;;;;:26;;-1:-1:-1;;;;;;19219:26:0;-1:-1:-1;;;;;19219:26:0;;;;;;;;19276:21;;:16;:21;;;;;;;:28;;:25;:28::i;:::-;-1:-1:-1;;;;;19252:21:0;;;;;;;:16;:21;;;;;:52;;;;-1:-1:-1;19102:208:0:o;17785:173::-;-1:-1:-1;;;;;17855:17:0;;;;17847:26;;;;;;17880:25;17891:3;17896:8;17880:10;:25::i;:::-;17917:35;;17943:8;;-1:-1:-1;;;;;17917:35:0;;;17934:1;;17917:35;;17934:1;;17917:35;17785:173;;:::o;7907:589::-;7965:4;8449:18;;8482:8;;7907:589::o;29877:838::-;29974:6;29993:16;30032;30071;30110;30149;30188:19;30295;30340:6;30366;30018:2;29993:28;;30057:2;30032:28;;30096:2;30071:28;;30135:2;30110:28;;30174:2;30149:28;;30273:3;:10;30260:3;:10;30247:3;:10;30234:3;:10;30221:3;:10;:23;:36;:49;:62;30210:74;;;;;;;;;;;;;;;;;;;;;;;;;29:2:-1;21:6;17:15;117:4;105:10;97:6;88:34;136:17;;-1:-1;30210:74:0;;30188:96;;30323:5;30295:34;;30349:1;30340:10;;30375:1;30366:10;;30361:58;30382:3;:10;30378:1;:14;30361:58;;;30413:3;30417:1;30413:6;;;;;;;;;;;;;;;-1:-1:-1;;;30413:6:0;;-1:-1:-1;;;30413:6:0;30399;30406:3;;;;;;30399:11;;;;;;;;;;;;;;:20;-1:-1:-1;;;;;30399:20:0;;;;;;;;-1:-1:-1;30394:3:0;;30361:58;;;-1:-1:-1;30439:1:0;30430:53;30446:3;:10;30442:1;:14;30430:53;;;30477:3;30481:1;30477:6;;;;;;;;;;;;;;;-1:-1:-1;;;30477:6:0;;-1:-1:-1;;;30477:6:0;30463;30470:3;;;;;;30463:11;;;;;;;;;;;;;;:20;-1:-1:-1;;;;;30463:20:0;;;;;;;;-1:-1:-1;30458:3:0;;30430:53;;;-1:-1:-1;30503:1:0;30494:53;30510:3;:10;30506:1;:14;30494:53;;;30541:3;30545:1;30541:6;;;;;;;;;;;;;;;-1:-1:-1;;;30541:6:0;;-1:-1:-1;;;30541:6:0;30527;30534:3;;;;;;30527:11;;;;;;;;;;;;;;:20;-1:-1:-1;;;;;30527:20:0;;;;;;;;-1:-1:-1;30522:3:0;;30494:53;;;-1:-1:-1;30567:1:0;30558:53;30574:3;:10;30570:1;:14;30558:53;;;30605:3;30609:1;30605:6;;;;;;;;;;;;;;;-1:-1:-1;;;30605:6:0;;-1:-1:-1;;;30605:6:0;30591;30598:3;;;;;;30591:11;;;;;;;;;;;;;;:20;-1:-1:-1;;;;;30591:20:0;;;;;;;;-1:-1:-1;30586:3:0;;30558:53;;;-1:-1:-1;30631:1:0;30622:53;30638:3;:10;30634:1;:14;30622:53;;;30669:3;30673:1;30669:6;;;;;;;;;;;;;;;-1:-1:-1;;;30669:6:0;;-1:-1:-1;;;30669:6:0;30655;30662:3;;;;;;30655:11;;;;;;;;;;;;;;:20;-1:-1:-1;;;;;30655:20:0;;;;;;;;-1:-1:-1;30650:3:0;;30622:53;;;-1:-1:-1;30700:6:0;;29877:838;-1:-1:-1;;;;;;;;;;;;;29877:838:0:o;7284:132::-;7366:7;;;7387;;;;7380:15;;;31203:2834;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;31203:2834:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;31203:2834:0;;;-1:-1:-1;31203:2834:0;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;

Swarm Source

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