ETH Price: $3,412.34 (+3.85%)

Token

Flower (FLOWER)
 

Overview

Max Total Supply

25,001 FLOWER

Holders

5,835

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
3 FLOWER
0xE2A82cdccbFA6EBF9817b0C4aEd45264Bd41FBEC
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Flowerpatch is an Ethereum indie game about collecting and breeding cannabis flowers.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Flower

Compiler Version
v0.4.24+commit.e67f0147

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity Multiple files format)

File 9 of 14: Flower.sol
pragma solidity ^0.4.24;

import "./Privileged.sol";
import "./RemoteTokenURI.sol";
import "./ERC721Token.sol";

/**
 * 951c3eab6c6d858888ff3eec731114f215921a0b6e4f6f9b5fcc1ff725c04022
 */

contract Flower is ERC721Token, Privileged, RemoteTokenURI {
  // Privileges
  uint8 constant PRIV_ROOT = 1;
  uint8 constant PRIV_MINT = 2;

  mapping(uint256 => bytes) internal tokenDataMap;

  constructor() public ERC721Token("Flower", "FLOWER") Privileged(PRIV_ROOT) RemoteTokenURI(PRIV_ROOT) {
    // Grant other privileges to the contract creator
    grantPrivileges(msg.sender, PRIV_MINT);
  }

  function tokenData(uint256 _tokenId) public view returns(bytes) {
    require(exists(_tokenId));
    return tokenDataMap[_tokenId];
  }

  function mint(address _to, bytes _tokenData) public requirePrivileges(PRIV_MINT) returns (uint256) {
    uint256 tokenId = allTokens.length;
    super._mint(_to, tokenId);

    tokenDataMap[tokenId] = _tokenData;

    return tokenId;
  }

  function _burn(address _owner, uint256 _tokenId) internal {
    super._burn(_owner, _tokenId);

    delete tokenDataMap[_tokenId];
  }
}

File 1 of 14: AddressUtils.sol
pragma solidity ^0.4.24;


/**
 * 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 2 of 14: ERC165.sol
pragma solidity ^0.4.24;


/**
 * @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 3 of 14: ERC721.sol
pragma solidity ^0.4.24;

import "./ERC721Basic.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 4 of 14: ERC721Basic.sol
pragma solidity ^0.4.24;

import "./ERC165.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 5 of 14: ERC721BasicToken.sol
pragma solidity ^0.4.24;

import "./ERC721Basic.sol";
import "./ERC721Receiver.sol";
import "./SafeMath.sol";
import "./AddressUtils.sol";
import "./SupportsInterfaceWithLookup.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 6 of 14: ERC721Holder.sol
pragma solidity ^0.4.24;

import "./ERC721Receiver.sol";


contract ERC721Holder is ERC721Receiver {
  function onERC721Received(address, address, uint256, bytes) public returns(bytes4) {
    return ERC721_RECEIVED;
  }
}

File 7 of 14: ERC721Receiver.sol
pragma solidity ^0.4.24;


/**
 * @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 8 of 14: ERC721Token.sol
pragma solidity ^0.4.24;

import "./ERC721.sol";
import "./ERC721BasicToken.sol";
import "./SupportsInterfaceWithLookup.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;
    ownedTokens[_from].length--; // This also deletes the contents at the last position of the array

    // 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 10 of 14: Privileged.sol
pragma solidity ^0.4.24;

/**
 * Library to support managing and checking per-address privileges.
 */
contract Privileged {
  mapping (address => uint8) public privileges;
  uint8 internal rootPrivilege;

  constructor(uint8 _rootPrivilege) internal {
    rootPrivilege = _rootPrivilege;
    privileges[msg.sender] = rootPrivilege;
  }

  function grantPrivileges(address _target, uint8 _privileges) public requirePrivileges(rootPrivilege) {
    privileges[_target] |= _privileges;
  }

  function removePrivileges(address _target, uint8 _privileges) public requirePrivileges(rootPrivilege) {
    // May not remove privileges from self.
    require(_target != msg.sender);
    privileges[_target] &= ~_privileges;
  }

  modifier requirePrivileges(uint8 _mask) {
    require((privileges[msg.sender] & _mask) == _mask);
    _;
  }
}

File 11 of 14: RemoteTokenURI.sol
pragma solidity ^0.4.24;

import "./RemoteTokenURIProvider.sol";
import "./Privileged.sol";
import "./ERC721.sol";

/**
 * An ERC721Metadata override which uses an external contract for providing tokenURI values.
 */
contract RemoteTokenURI is ERC721Metadata, Privileged {
  RemoteTokenURIProvider public remoteTokenUriContract;
  uint8 internal setRemoteTokenUriAddressPrivilege;

  constructor(uint8 _setRemoteTokenUriAddressPrivilege) internal {
    setRemoteTokenUriAddressPrivilege = _setRemoteTokenUriAddressPrivilege;
  }

  function tokenURI(uint256 _tokenId) public view returns (string) {
    require(exists(_tokenId));
    if (remoteTokenUriContract != address(0)) {
      return remoteTokenUriContract.tokenURI(_tokenId);
    } else {
      // If not set, all tokenURI values are blank
      return "";
    }
  }

  function setRemoteTokenUriAddress(address _target) public requirePrivileges(setRemoteTokenUriAddressPrivilege) {
    remoteTokenUriContract = RemoteTokenURIProvider(_target);
  }
}

File 12 of 14: RemoteTokenURIProvider.sol
pragma solidity ^0.4.24;

/**
 * An interface that the remote token URI provider contract must implement.
 */
contract RemoteTokenURIProvider {
  function tokenURI(uint256 _tokenId) public view returns (string);
}

File 13 of 14: SafeMath.sol
pragma solidity ^0.4.24;


/**
 * @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 14 of 14: SupportsInterfaceWithLookup.sol
pragma solidity ^0.4.24;

import "./ERC165.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;
  }
}

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":false,"inputs":[{"name":"_target","type":"address"},{"name":"_privileges","type":"uint8"}],"name":"removePrivileges","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"InterfaceId_ERC165","outputs":[{"name":"","type":"bytes4"}],"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":"_target","type":"address"}],"name":"setRemoteTokenUriAddress","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":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":"_tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_target","type":"address"},{"name":"_privileges","type":"uint8"}],"name":"grantPrivileges","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_tokenId","type":"uint256"}],"name":"tokenData","outputs":[{"name":"","type":"bytes"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_tokenData","type":"bytes"}],"name":"mint","outputs":[{"name":"","type":"uint256"}],"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":"","type":"address"}],"name":"privileges","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"remoteTokenUriContract","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","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"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"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"}]

60806040523480156200001157600080fd5b506001806040805190810160405280600681526020017f466c6f77657200000000000000000000000000000000000000000000000000008152506040805190810160405280600681526020017f464c4f5745520000000000000000000000000000000000000000000000000000815250620000be6301ffc9a77c0100000000000000000000000000000000000000000000000000000000026200023a640100000000026401000000009004565b620000f27f80ac58cd000000000000000000000000000000000000000000000000000000006401000000006200023a810204565b620001267f4f558e79000000000000000000000000000000000000000000000000000000006401000000006200023a810204565b81516200013b90600590602085019062000304565b5080516200015190600690602084019062000304565b50620001867f780e9d63000000000000000000000000000000000000000000000000000000006401000000006200023a810204565b620001ba7f5b5e139f000000000000000000000000000000000000000000000000000000006401000000006200023a810204565b5050600d805460ff92831660ff1991821617808355336000818152600c6020526040902080549093169185169190911790915581549390921675010000000000000000000000000000000000000000000260a860020a60ff02199093169290921790915562000234906002640100000000620002a7810204565b620003a9565b7fffffffff0000000000000000000000000000000000000000000000000000000080821614156200026a57600080fd5b7fffffffff00000000000000000000000000000000000000000000000000000000166000908152602081905260409020805460ff19166001179055565b600d54336000908152600c602052604090205460ff8083169291909116168114620002d157600080fd5b50600160a060020a03919091166000908152600c60205260409020805460ff19811660ff91821690931716919091179055565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200034757805160ff191683800117855562000377565b8280016001018555821562000377579182015b82811115620003775782518255916020019190600101906200035a565b506200038592915062000389565b5090565b620003a691905b8082111562000385576000815560010162000390565b90565b61149d80620003b96000396000f3006080604052600436106101485763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166301ffc9a7811461014d57806306fdde0314610183578063081812fc1461020d578063095ea7b31461024157806318160ddd1461026757806318a64b991461028e57806319fa8f50146102b557806323b872dd146102e757806326f1402c146103115780632f745c591461033257806342842e0e146103565780634f558e79146103805780634f6ccce7146103985780636352211e146103b057806368fd7b9a146103c857806370a08231146103ef57806395d89b4114610410578063a22cb46514610425578063b4b5b48f1461044b578063b510391f14610463578063b88d4fde146104ca578063c066a5b114610539578063c87b56dd14610570578063d524563014610588578063e985e9c51461059d575b600080fd5b34801561015957600080fd5b5061016f600160e060020a0319600435166105c4565b604080519115158252519081900360200190f35b34801561018f57600080fd5b506101986105e7565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101d25781810151838201526020016101ba565b50505050905090810190601f1680156101ff5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561021957600080fd5b5061022560043561067e565b60408051600160a060020a039092168252519081900360200190f35b34801561024d57600080fd5b50610265600160a060020a0360043516602435610699565b005b34801561027357600080fd5b5061027c61074f565b60408051918252519081900360200190f35b34801561029a57600080fd5b50610265600160a060020a036004351660ff60243516610755565b3480156102c157600080fd5b506102ca6107c3565b60408051600160e060020a03199092168252519081900360200190f35b3480156102f357600080fd5b50610265600160a060020a03600435811690602435166044356107e7565b34801561031d57600080fd5b50610265600160a060020a036004351661088a565b34801561033e57600080fd5b5061027c600160a060020a0360043516602435610901565b34801561036257600080fd5b50610265600160a060020a036004358116906024351660443561094e565b34801561038c57600080fd5b5061016f60043561096f565b3480156103a457600080fd5b5061027c60043561098c565b3480156103bc57600080fd5b506102256004356109c1565b3480156103d457600080fd5b50610265600160a060020a036004351660ff602435166109eb565b3480156103fb57600080fd5b5061027c600160a060020a0360043516610a47565b34801561041c57600080fd5b50610198610a7a565b34801561043157600080fd5b50610265600160a060020a03600435166024351515610adb565b34801561045757600080fd5b50610198600435610b5f565b34801561046f57600080fd5b5060408051602060046024803582810135601f810185900485028601850190965285855261027c958335600160a060020a0316953695604494919390910191908190840183828082843750949750610c149650505050505050565b3480156104d657600080fd5b50604080516020601f60643560048181013592830184900484028501840190955281845261026594600160a060020a038135811695602480359092169560443595369560849401918190840183828082843750949750610c6e9650505050505050565b34801561054557600080fd5b5061055a600160a060020a0360043516610c96565b6040805160ff9092168252519081900360200190f35b34801561057c57600080fd5b50610198600435610cab565b34801561059457600080fd5b50610225610df3565b3480156105a957600080fd5b5061016f600160a060020a0360043581169060243516610e07565b600160e060020a0319811660009081526020819052604090205460ff165b919050565b60058054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156106735780601f1061064857610100808354040283529160200191610673565b820191906000526020600020905b81548152906001019060200180831161065657829003601f168201915b505050505090505b90565b600090815260026020526040902054600160a060020a031690565b60006106a4826109c1565b9050600160a060020a0383811690821614156106bf57600080fd5b33600160a060020a03821614806106db57506106db8133610e07565b15156106e657600080fd5b600082815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60095490565b600d54336000908152600c602052604090205460ff808316929190911616811461077e57600080fd5b600160a060020a03831633141561079457600080fd5b50600160a060020a039091166000908152600c60205260409020805460ff19811692191660ff16919091179055565b7f01ffc9a70000000000000000000000000000000000000000000000000000000081565b6107f13382610e35565b15156107fc57600080fd5b600160a060020a038316151561081157600080fd5b600160a060020a038216151561082657600080fd5b6108308382610e94565b61083a8382610f05565b610844828261100c565b8082600160a060020a031684600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600d54336000908152600c602052604090205460ff75010000000000000000000000000000000000000000009092048281169291161681146108cb57600080fd5b50600d8054600160a060020a039092166101000274ffffffffffffffffffffffffffffffffffffffff0019909216919091179055565b600061090c83610a47565b821061091757600080fd5b600160a060020a038316600090815260076020526040902080548390811061093b57fe5b9060005260206000200154905092915050565b61096a8383836020604051908101604052806000815250610c6e565b505050565b600090815260016020526040902054600160a060020a0316151590565b600061099661074f565b82106109a157600080fd5b60098054839081106109af57fe5b90600052602060002001549050919050565b600081815260016020526040812054600160a060020a03168015156109e557600080fd5b92915050565b600d54336000908152600c602052604090205460ff8083169291909116168114610a1457600080fd5b50600160a060020a03919091166000908152600c60205260409020805460ff19811660ff91821690931716919091179055565b6000600160a060020a0382161515610a5e57600080fd5b50600160a060020a031660009081526003602052604090205490565b60068054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156106735780601f1061064857610100808354040283529160200191610673565b600160a060020a038216331415610af157600080fd5b336000818152600460209081526040808320600160a060020a03871680855290835292819020805460ff1916861515908117909155815190815290519293927f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31929181900390910190a35050565b6060610b6a8261096f565b1515610b7557600080fd5b6000828152600e602090815260409182902080548351601f600260001961010060018616150201909316929092049182018490048402810184019094528084529091830182828015610c085780601f10610bdd57610100808354040283529160200191610c08565b820191906000526020600020905b815481529060010190602001808311610beb57829003601f168201915b50505050509050919050565b336000908152600c6020526040812054819060029081168114610c3657600080fd5b6009549150610c458583611055565b6000828152600e602090815260409091208551610c64928701906113b9565b5090949350505050565b610c798484846107e7565b610c85848484846110a4565b1515610c9057600080fd5b50505050565b600c6020526000908152604090205460ff1681565b6060610cb68261096f565b1515610cc157600080fd5b600d546101009004600160a060020a031615610dde57600d60019054906101000a9004600160a060020a0316600160a060020a031663c87b56dd836040518263ffffffff167c010000000000000000000000000000000000000000000000000000000002815260040180828152602001915050600060405180830381600087803b158015610d4e57600080fd5b505af1158015610d62573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526020811015610d8b57600080fd5b810190808051640100000000811115610da357600080fd5b82016020810184811115610db657600080fd5b8151640100000000811182820187101715610dd057600080fd5b509094506105e29350505050565b506040805160208101909152600081526105e2565b600d546101009004600160a060020a031681565b600160a060020a03918216600090815260046020908152604080832093909416825291909152205460ff1690565b600080610e41836109c1565b905080600160a060020a031684600160a060020a03161480610e7c575083600160a060020a0316610e718461067e565b600160a060020a0316145b80610e8c5750610e8c8185610e07565b949350505050565b81600160a060020a0316610ea7826109c1565b600160a060020a031614610eba57600080fd5b600081815260026020526040902054600160a060020a031615610f01576000818152600260205260409020805473ffffffffffffffffffffffffffffffffffffffff191690555b5050565b6000806000610f148585611211565b600084815260086020908152604080832054600160a060020a0389168452600790925290912054909350610f4f90600163ffffffff6112a716565b600160a060020a038616600090815260076020526040902080549193509083908110610f7757fe5b90600052602060002001549050806007600087600160a060020a0316600160a060020a0316815260200190815260200160002084815481101515610fb757fe5b6000918252602080832090910192909255600160a060020a0387168152600790915260409020805490610fee906000198301611437565b50600093845260086020526040808520859055908452909220555050565b600061101883836112b9565b50600160a060020a039091166000908152600760209081526040808320805460018101825590845282842081018590559383526008909152902055565b61105f8282611349565b600980546000838152600a60205260408120829055600182018355919091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af015550565b6000806110b985600160a060020a03166113a4565b15156110c85760019150611208565b6040517f150b7a020000000000000000000000000000000000000000000000000000000081523360048201818152600160a060020a03898116602485015260448401889052608060648501908152875160848601528751918a169463150b7a0294938c938b938b93909160a490910190602085019080838360005b8381101561115b578181015183820152602001611143565b50505050905090810190601f1680156111885780820380516001836020036101000a031916815260200191505b5095505050505050602060405180830381600087803b1580156111aa57600080fd5b505af11580156111be573d6000803e3d6000fd5b505050506040513d60208110156111d457600080fd5b5051600160e060020a031981167f150b7a020000000000000000000000000000000000000000000000000000000014925090505b50949350505050565b81600160a060020a0316611224826109c1565b600160a060020a03161461123757600080fd5b600160a060020a03821660009081526003602052604090205461126190600163ffffffff6112a716565b600160a060020a03909216600090815260036020908152604080832094909455918152600190915220805473ffffffffffffffffffffffffffffffffffffffff19169055565b6000828211156112b357fe5b50900390565b600081815260016020526040902054600160a060020a0316156112db57600080fd5b6000818152600160208181526040808420805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0388169081179091558452600390915290912054611329916113ac565b600160a060020a0390921660009081526003602052604090209190915550565b600160a060020a038216151561135e57600080fd5b611368828261100c565b6040518190600160a060020a038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000903b1190565b818101828110156109e557fe5b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106113fa57805160ff1916838001178555611427565b82800160010185558215611427579182015b8281111561142757825182559160200191906001019061140c565b50611433929150611457565b5090565b81548183558181111561096a5760008381526020902061096a9181019083015b61067b91905b80821115611433576000815560010161145d5600a165627a7a723058202421cf73b1fc041a5bae5ee2a69dd1c8c581dca135508ff9f2e3c03c24851c550029

Deployed Bytecode

0x6080604052600436106101485763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166301ffc9a7811461014d57806306fdde0314610183578063081812fc1461020d578063095ea7b31461024157806318160ddd1461026757806318a64b991461028e57806319fa8f50146102b557806323b872dd146102e757806326f1402c146103115780632f745c591461033257806342842e0e146103565780634f558e79146103805780634f6ccce7146103985780636352211e146103b057806368fd7b9a146103c857806370a08231146103ef57806395d89b4114610410578063a22cb46514610425578063b4b5b48f1461044b578063b510391f14610463578063b88d4fde146104ca578063c066a5b114610539578063c87b56dd14610570578063d524563014610588578063e985e9c51461059d575b600080fd5b34801561015957600080fd5b5061016f600160e060020a0319600435166105c4565b604080519115158252519081900360200190f35b34801561018f57600080fd5b506101986105e7565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101d25781810151838201526020016101ba565b50505050905090810190601f1680156101ff5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561021957600080fd5b5061022560043561067e565b60408051600160a060020a039092168252519081900360200190f35b34801561024d57600080fd5b50610265600160a060020a0360043516602435610699565b005b34801561027357600080fd5b5061027c61074f565b60408051918252519081900360200190f35b34801561029a57600080fd5b50610265600160a060020a036004351660ff60243516610755565b3480156102c157600080fd5b506102ca6107c3565b60408051600160e060020a03199092168252519081900360200190f35b3480156102f357600080fd5b50610265600160a060020a03600435811690602435166044356107e7565b34801561031d57600080fd5b50610265600160a060020a036004351661088a565b34801561033e57600080fd5b5061027c600160a060020a0360043516602435610901565b34801561036257600080fd5b50610265600160a060020a036004358116906024351660443561094e565b34801561038c57600080fd5b5061016f60043561096f565b3480156103a457600080fd5b5061027c60043561098c565b3480156103bc57600080fd5b506102256004356109c1565b3480156103d457600080fd5b50610265600160a060020a036004351660ff602435166109eb565b3480156103fb57600080fd5b5061027c600160a060020a0360043516610a47565b34801561041c57600080fd5b50610198610a7a565b34801561043157600080fd5b50610265600160a060020a03600435166024351515610adb565b34801561045757600080fd5b50610198600435610b5f565b34801561046f57600080fd5b5060408051602060046024803582810135601f810185900485028601850190965285855261027c958335600160a060020a0316953695604494919390910191908190840183828082843750949750610c149650505050505050565b3480156104d657600080fd5b50604080516020601f60643560048181013592830184900484028501840190955281845261026594600160a060020a038135811695602480359092169560443595369560849401918190840183828082843750949750610c6e9650505050505050565b34801561054557600080fd5b5061055a600160a060020a0360043516610c96565b6040805160ff9092168252519081900360200190f35b34801561057c57600080fd5b50610198600435610cab565b34801561059457600080fd5b50610225610df3565b3480156105a957600080fd5b5061016f600160a060020a0360043581169060243516610e07565b600160e060020a0319811660009081526020819052604090205460ff165b919050565b60058054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156106735780601f1061064857610100808354040283529160200191610673565b820191906000526020600020905b81548152906001019060200180831161065657829003601f168201915b505050505090505b90565b600090815260026020526040902054600160a060020a031690565b60006106a4826109c1565b9050600160a060020a0383811690821614156106bf57600080fd5b33600160a060020a03821614806106db57506106db8133610e07565b15156106e657600080fd5b600082815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60095490565b600d54336000908152600c602052604090205460ff808316929190911616811461077e57600080fd5b600160a060020a03831633141561079457600080fd5b50600160a060020a039091166000908152600c60205260409020805460ff19811692191660ff16919091179055565b7f01ffc9a70000000000000000000000000000000000000000000000000000000081565b6107f13382610e35565b15156107fc57600080fd5b600160a060020a038316151561081157600080fd5b600160a060020a038216151561082657600080fd5b6108308382610e94565b61083a8382610f05565b610844828261100c565b8082600160a060020a031684600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600d54336000908152600c602052604090205460ff75010000000000000000000000000000000000000000009092048281169291161681146108cb57600080fd5b50600d8054600160a060020a039092166101000274ffffffffffffffffffffffffffffffffffffffff0019909216919091179055565b600061090c83610a47565b821061091757600080fd5b600160a060020a038316600090815260076020526040902080548390811061093b57fe5b9060005260206000200154905092915050565b61096a8383836020604051908101604052806000815250610c6e565b505050565b600090815260016020526040902054600160a060020a0316151590565b600061099661074f565b82106109a157600080fd5b60098054839081106109af57fe5b90600052602060002001549050919050565b600081815260016020526040812054600160a060020a03168015156109e557600080fd5b92915050565b600d54336000908152600c602052604090205460ff8083169291909116168114610a1457600080fd5b50600160a060020a03919091166000908152600c60205260409020805460ff19811660ff91821690931716919091179055565b6000600160a060020a0382161515610a5e57600080fd5b50600160a060020a031660009081526003602052604090205490565b60068054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156106735780601f1061064857610100808354040283529160200191610673565b600160a060020a038216331415610af157600080fd5b336000818152600460209081526040808320600160a060020a03871680855290835292819020805460ff1916861515908117909155815190815290519293927f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31929181900390910190a35050565b6060610b6a8261096f565b1515610b7557600080fd5b6000828152600e602090815260409182902080548351601f600260001961010060018616150201909316929092049182018490048402810184019094528084529091830182828015610c085780601f10610bdd57610100808354040283529160200191610c08565b820191906000526020600020905b815481529060010190602001808311610beb57829003601f168201915b50505050509050919050565b336000908152600c6020526040812054819060029081168114610c3657600080fd5b6009549150610c458583611055565b6000828152600e602090815260409091208551610c64928701906113b9565b5090949350505050565b610c798484846107e7565b610c85848484846110a4565b1515610c9057600080fd5b50505050565b600c6020526000908152604090205460ff1681565b6060610cb68261096f565b1515610cc157600080fd5b600d546101009004600160a060020a031615610dde57600d60019054906101000a9004600160a060020a0316600160a060020a031663c87b56dd836040518263ffffffff167c010000000000000000000000000000000000000000000000000000000002815260040180828152602001915050600060405180830381600087803b158015610d4e57600080fd5b505af1158015610d62573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526020811015610d8b57600080fd5b810190808051640100000000811115610da357600080fd5b82016020810184811115610db657600080fd5b8151640100000000811182820187101715610dd057600080fd5b509094506105e29350505050565b506040805160208101909152600081526105e2565b600d546101009004600160a060020a031681565b600160a060020a03918216600090815260046020908152604080832093909416825291909152205460ff1690565b600080610e41836109c1565b905080600160a060020a031684600160a060020a03161480610e7c575083600160a060020a0316610e718461067e565b600160a060020a0316145b80610e8c5750610e8c8185610e07565b949350505050565b81600160a060020a0316610ea7826109c1565b600160a060020a031614610eba57600080fd5b600081815260026020526040902054600160a060020a031615610f01576000818152600260205260409020805473ffffffffffffffffffffffffffffffffffffffff191690555b5050565b6000806000610f148585611211565b600084815260086020908152604080832054600160a060020a0389168452600790925290912054909350610f4f90600163ffffffff6112a716565b600160a060020a038616600090815260076020526040902080549193509083908110610f7757fe5b90600052602060002001549050806007600087600160a060020a0316600160a060020a0316815260200190815260200160002084815481101515610fb757fe5b6000918252602080832090910192909255600160a060020a0387168152600790915260409020805490610fee906000198301611437565b50600093845260086020526040808520859055908452909220555050565b600061101883836112b9565b50600160a060020a039091166000908152600760209081526040808320805460018101825590845282842081018590559383526008909152902055565b61105f8282611349565b600980546000838152600a60205260408120829055600182018355919091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af015550565b6000806110b985600160a060020a03166113a4565b15156110c85760019150611208565b6040517f150b7a020000000000000000000000000000000000000000000000000000000081523360048201818152600160a060020a03898116602485015260448401889052608060648501908152875160848601528751918a169463150b7a0294938c938b938b93909160a490910190602085019080838360005b8381101561115b578181015183820152602001611143565b50505050905090810190601f1680156111885780820380516001836020036101000a031916815260200191505b5095505050505050602060405180830381600087803b1580156111aa57600080fd5b505af11580156111be573d6000803e3d6000fd5b505050506040513d60208110156111d457600080fd5b5051600160e060020a031981167f150b7a020000000000000000000000000000000000000000000000000000000014925090505b50949350505050565b81600160a060020a0316611224826109c1565b600160a060020a03161461123757600080fd5b600160a060020a03821660009081526003602052604090205461126190600163ffffffff6112a716565b600160a060020a03909216600090815260036020908152604080832094909455918152600190915220805473ffffffffffffffffffffffffffffffffffffffff19169055565b6000828211156112b357fe5b50900390565b600081815260016020526040902054600160a060020a0316156112db57600080fd5b6000818152600160208181526040808420805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0388169081179091558452600390915290912054611329916113ac565b600160a060020a0390921660009081526003602052604090209190915550565b600160a060020a038216151561135e57600080fd5b611368828261100c565b6040518190600160a060020a038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000903b1190565b818101828110156109e557fe5b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106113fa57805160ff1916838001178555611427565b82800160010185558215611427579182015b8281111561142757825182559160200191906001019061140c565b50611433929150611457565b5090565b81548183558181111561096a5760008381526020902061096a9181019083015b61067b91905b80821115611433576000815560010161145d5600a165627a7a723058202421cf73b1fc041a5bae5ee2a69dd1c8c581dca135508ff9f2e3c03c24851c550029

Deployed Bytecode Sourcemap

190:920:8:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;774:142:13;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;774:142:13;-1:-1:-1;;;;;;774:142:13;;;;;;;;;;;;;;;;;;;;;;;1518:70:7;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1518:70:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;1518:70:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3258:111:4;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;3258:111:4;;;;;;;;;-1:-1:-1;;;;;3258:111:4;;;;;;;;;;;;;;2754:277;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;2754:277:4;-1:-1:-1;;;;;2754:277:4;;;;;;;;;2787:87:7;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2787:87:7;;;;;;;;;;;;;;;;;;;;489:228:9;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;489:228:9;-1:-1:-1;;;;;489:228:9;;;;;;;;;229:54:13;;8:9:-1;5:2;;;30:1;27;20:12;5:2;229:54:13;;;;;;;;-1:-1:-1;;;;;;229:54:13;;;;;;;;;;;;;;4749:370:4;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;4749:370:4;-1:-1:-1;;;;;4749:370:4;;;;;;;;;;;;828:178:10;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;828:178:10;-1:-1:-1;;;;;828:178:10;;;;;2442:203:7;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;2442:203:7;-1:-1:-1;;;;;2442:203:7;;;;;;;5735:199:4;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;5735:199:4;-1:-1:-1;;;;;5735:199:4;;;;;;;;;;;;2209:140;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;2209:140:4;;;;;3198::7;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;3198:140:7;;;;;1867:164:4;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;1867:164:4;;;;;339:146:9;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;339:146:9;-1:-1:-1;;;;;339:146:9;;;;;;;;;1512:142:4;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;1512:142:4;-1:-1:-1;;;;;1512:142:4;;;;;1686:74:7;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1686:74:7;;;;3649:205:4;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;3649:205:4;-1:-1:-1;;;;;3649:205:4;;;;;;;;;594:135:8;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;594:135:8;;;;;733:237;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;733:237:8;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;733:237:8;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;733:237:8;;-1:-1:-1;733:237:8;;-1:-1:-1;;;;;;;733:237:8;6616:276:4;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;6616:276:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;6616:276:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;6616:276:4;;-1:-1:-1;6616:276:4;;-1:-1:-1;;;;;;;6616:276:4;126:44:9;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;126:44:9;-1:-1:-1;;;;;126:44:9;;;;;;;;;;;;;;;;;;;;;;;;532:292:10;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;532:292:10;;;;;275:52;;8:9:-1;5:2;;;30:1;27;20:12;5:2;275:52:10;;;;4163:168:4;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;4163:168:4;-1:-1:-1;;;;;4163:168:4;;;;;;;;;;774:142:13;-1:-1:-1;;;;;;878:33:13;;857:4;878:33;;;;;;;;;;;;;774:142;;;;:::o;1518:70:7:-;1578:5;1571:12;;;;;;;;-1:-1:-1;;1571:12:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1557:6;;1571:12;;1578:5;;1571:12;;1578:5;1571:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1518:70;;:::o;3258:111:4:-;3318:7;3340:24;;;:14;:24;;;;;;-1:-1:-1;;;;;3340:24:4;;3258:111::o;2754:277::-;2815:13;2831:17;2839:8;2831:7;:17::i;:::-;2815:33;-1:-1:-1;;;;;;2862:12:4;;;;;;;;2854:21;;;;;;2889:10;-1:-1:-1;;;;;2889:19:4;;;;:58;;;2912:35;2929:5;2936:10;2912:16;:35::i;:::-;2881:67;;;;;;;;2955:24;;;;:14;:24;;;;;;:30;;-1:-1:-1;;2955:30:4;-1:-1:-1;;;;;2955:30:4;;;;;;;;;2996;;2955:24;;2996:30;;;;;;;2754:277;;;:::o;2787:87:7:-;2853:9;:16;2787:87;:::o;489:228:9:-;576:13;;787:10;576:13;776:22;;;:10;:22;;;;;;576:13;;;;;776:30;;;;;775:41;;767:50;;;;;;-1:-1:-1;;;;;649:21:9;;660:10;649:21;;641:30;;;;;;-1:-1:-1;;;;;;677:19:9;;;;;;;:10;:19;;;;;:35;;-1:-1:-1;;677:35:9;;700:12;;677:35;;;;;;;;;489:228::o;229:54:13:-;;;:::o;4749:370:4:-;4860:39;4878:10;4890:8;4860:17;:39::i;:::-;4852:48;;;;;;;;-1:-1:-1;;;;;4914:19:4;;;;4906:28;;;;;;-1:-1:-1;;;;;4948:17:4;;;;4940:26;;;;;;4973:30;4987:5;4994:8;4973:13;:30::i;:::-;5009:32;5025:5;5032:8;5009:15;:32::i;:::-;5047:25;5058:3;5063:8;5047:10;:25::i;:::-;5105:8;5100:3;-1:-1:-1;;;;;5084:30:4;5093:5;-1:-1:-1;;;;;5084:30:4;;;;;;;;;;;4749:370;;;:::o;828:178:10:-;904:33;;787:10:9;776:22;;;;:10;:22;;;;;;904:33:10;;;;;;;;;776:30:9;;;775:41;;767:50;;;;;;-1:-1:-1;945:22:10;:56;;-1:-1:-1;;;;;945:56:10;;;;;-1:-1:-1;;945:56:10;;;;;;;;;828:178::o;2442:203:7:-;2548:7;2582:17;2592:6;2582:9;:17::i;:::-;2573:26;;2565:35;;;;;;-1:-1:-1;;;;;2613:19:7;;;;;;:11;:19;;;;;:27;;2633:6;;2613:27;;;;;;;;;;;;;;2606:34;;2442:203;;;;:::o;5735:199:4:-;5887:42;5904:5;5911:3;5916:8;5887:42;;;;;;;;;;;;;:16;:42::i;:::-;5735:199;;;:::o;2209:140::-;2264:4;2292:20;;;:10;:20;;;;;;-1:-1:-1;;;;;2292:20:4;2325:19;;;2209:140::o;3198::7:-;3257:7;3289:13;:11;:13::i;:::-;3280:22;;3272:31;;;;;;3316:9;:17;;3326:6;;3316:17;;;;;;;;;;;;;;3309:24;;3198:140;;;:::o;1867:164:4:-;1923:7;1954:20;;;:10;:20;;;;;;-1:-1:-1;;;;;1954:20:4;1988:19;;;1980:28;;;;;;2021:5;1867:164;-1:-1:-1;;1867:164:4:o;339:146:9:-;425:13;;787:10;425:13;776:22;;;:10;:22;;;;;;425:13;;;;;776:30;;;;;775:41;;767:50;;;;;;-1:-1:-1;;;;;;446:19:9;;;;;;;;:10;:19;;;;;:34;;-1:-1:-1;;446:34:9;;;;;;;;;;;;;;;;339:146::o;1512:142:4:-;1568:7;-1:-1:-1;;;;;1591:20:4;;;;1583:29;;;;;;-1:-1:-1;;;;;;1625:24:4;;;;;:16;:24;;;;;;;1512:142::o;1686:74:7:-;1748:7;1741:14;;;;;;;;-1:-1:-1;;1741:14:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1727:6;;1741:14;;1748:7;;1741:14;;1748:7;1741:14;;;;;;;;;;;;;;;;;;;;;;;;3649:205:4;-1:-1:-1;;;;;3726:17:4;;3733:10;3726:17;;3718:26;;;;;;3768:10;3750:29;;;;:17;:29;;;;;;;;-1:-1:-1;;;;;3750:34:4;;;;;;;;;;;;:46;;-1:-1:-1;;3750:46:4;;;;;;;;;;3807:42;;;;;;;3750:34;;3768:10;3807:42;;;;;;;;;;;3649:205;;:::o;594:135:8:-;651:5;672:16;679:8;672:6;:16::i;:::-;664:25;;;;;;;;702:22;;;;:12;:22;;;;;;;;;695:29;;;;;;-1:-1:-1;;695:29:8;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;702:22;;695:29;;702:22;695:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;594:135;;;:::o;733:237::-;787:10:9;823:7:8;776:22:9;;;:10;:22;;;;;;823:7:8;;328:1;;776:30:9;;775:41;;767:50;;;;;;856:9:8;:16;;-1:-1:-1;878:25:8;890:3;856:16;878:11;:25::i;:::-;910:21;;;;:12;:21;;;;;;;;:34;;;;;;;;:::i;:::-;-1:-1:-1;958:7:8;;733:237;-1:-1:-1;;;;733:237:8:o;6616:276:4:-;6740:34;6753:5;6760:3;6765:8;6740:12;:34::i;:::-;6833:53;6858:5;6865:3;6870:8;6880:5;6833:24;:53::i;:::-;6825:62;;;;;;;;6616:276;;;;:::o;126:44:9:-;;;;;;;;;;;;;;;:::o;532:292:10:-;589:6;611:16;618:8;611:6;:16::i;:::-;603:25;;;;;;;;638:22;;;;;-1:-1:-1;;;;;638:22:10;:36;634:186;;691:22;;;;;;;;;-1:-1:-1;;;;;691:22:10;-1:-1:-1;;;;;691:31:10;;723:8;691:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;691:41:10;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;691:41:10;;;;;;39:16:-1;36:1;17:17;2:54;101:4;691:41:10;80:15:-1;;;-1:-1;;76:31;65:43;;120:4;113:20;13:2;5:11;;2:2;;;29:1;26;19:12;2:2;691:41:10;;;;;;20:11:-1;15:3;12:20;9:2;;;45:1;42;35:12;9:2;64:21;;126:4;117:14;;142:31;;;139:2;;;186:1;183;176:12;139:2;218:10;;268:11;251:29;;293:43;;;290:58;-1:-1;239:118;236:2;;;370:1;367;360:12;236:2;-1:-1;691:41:10;;-1:-1:-1;684:48:10;;-1:-1:-1;;;;684:48:10;634:186;-1:-1:-1;804:9:10;;;;;;;;;-1:-1:-1;804:9:10;;;;275:52;;;;;;-1:-1:-1;;;;;275:52:10;;:::o;4163:168:4:-;-1:-1:-1;;;;;4290:25:4;;;4269:4;4290:25;;;:17;:25;;;;;;;;:36;;;;;;;;;;;;;;;4163:168::o;7239:438::-;7349:4;7363:13;7379:17;7387:8;7379:7;:17::i;:::-;7363:33;;7575:5;-1:-1:-1;;;;;7563:17:4;:8;-1:-1:-1;;;;;7563:17:4;;:60;;;;7615:8;-1:-1:-1;;;;;7590:33:4;:21;7602:8;7590:11;:21::i;:::-;-1:-1:-1;;;;;7590:33:4;;7563:60;:103;;;;7633:33;7650:5;7657:8;7633:16;:33::i;:::-;7548:124;7239:438;-1:-1:-1;;;;7239:438:4:o;8731:214::-;8832:6;-1:-1:-1;;;;;8811:27:4;:17;8819:8;8811:7;:17::i;:::-;-1:-1:-1;;;;;8811:27:4;;8803:36;;;;;;8885:1;8849:24;;;:14;:24;;;;;;-1:-1:-1;;;;;8849:24:4;:38;8845:96;;8932:1;8897:24;;;:14;:24;;;;;:37;;-1:-1:-1;;8897:37:4;;;8845:96;8731:214;;:::o;4461:1018:7:-;4716:18;4769:22;4832:17;4534:38;4556:5;4563:8;4534:21;:38::i;:::-;4737:26;;;;:16;:26;;;;;;;;;-1:-1:-1;;;;;4794:18:7;;;;:11;:18;;;;;;:25;4737:26;;-1:-1:-1;4794:32:7;;4824:1;4794:32;:29;:32;:::i;:::-;-1:-1:-1;;;;;4852:18:7;;;;;;:11;:18;;;;;:34;;4769:57;;-1:-1:-1;4852:18:7;4769:57;;4852:34;;;;;;;;;;;;;;4832:54;;4926:9;4893:11;:18;4905:5;-1:-1:-1;;;;;4893:18:7;-1:-1:-1;;;;;4893:18:7;;;;;;;;;;;;4912:10;4893:30;;;;;;;;;;;;;;;;;;;;;:42;;;;-1:-1:-1;;;;;4941:18:7;;;;:11;:18;;;;;;:27;;;;;-1:-1:-1;;4941:27:7;;;:::i;:::-;-1:-1:-1;5427:1:7;5398:26;;;:16;:26;;;;;;:30;;;5434:27;;;;;;:40;-1:-1:-1;;4461:1018:7:o;3956:226::-;4059:14;4022:31;4039:3;4044:8;4022:16;:31::i;:::-;-1:-1:-1;;;;;;4076:16:7;;;;;;;:11;:16;;;;;;;;:23;;39:1:-1;23:18;;45:23;;4105:31:7;;;;;;;;;;;4142:26;;;:16;:26;;;;;:35;3956:226::o;5740:172::-;5801:26;5813:3;5818:8;5801:11;:26::i;:::-;5861:9;:16;;5834:24;;;;:14;:24;;;;;:43;;;39:1:-1;23:18;;45:23;;5883:24:7;;;;;;;-1:-1:-1;5740:172:7:o;10411:347:4:-;10550:4;10618:13;10569:16;:3;-1:-1:-1;;;;;10569:14:4;;:16::i;:::-;10568:17;10564:49;;;10602:4;10595:11;;;;10564:49;10634:79;;;;;10678:10;10634:79;;;;;;-1:-1:-1;;;;;10634:79:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;:36;;;;;;10678:10;10690:5;;10697:8;;10707:5;;10634:79;;;;;;;;;;;;;;-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;10634:79:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;10634:79:4;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;10634:79:4;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;10634:79:4;-1:-1:-1;;;;;;10727:25:4;;10737:15;10727:25;;-1:-1:-1;10634:79:4;-1:-1:-1;10411:347:4;;;;;;;;:::o;9691:214::-;9793:5;-1:-1:-1;;;;;9772:26:4;:17;9780:8;9772:7;:17::i;:::-;-1:-1:-1;;;;;9772:26:4;;9764:35;;;;;;-1:-1:-1;;;;;9831:23:4;;;;;;:16;:23;;;;;;:30;;9859:1;9831:30;:27;:30;:::i;:::-;-1:-1:-1;;;;;9805:23:4;;;;;;;:16;:23;;;;;;;;:56;;;;9867:20;;;:10;:20;;;;:33;;-1:-1:-1;;9867:33:4;;;9691:214::o;1042:110:12:-;1100:7;1122:6;;;;1115:14;;;;-1:-1:-1;1142:5:12;;;1042:110::o;9208:204:4:-;9314:1;9282:20;;;:10;:20;;;;;;-1:-1:-1;;;;;9282:20:4;:34;9274:43;;;;;;9323:20;;;;:10;:20;;;;;;;;:26;;-1:-1:-1;;9323:26:4;-1:-1:-1;;;;;9323:26:4;;;;;;;;9379:21;;:16;:21;;;;;;;:28;;:25;:28::i;:::-;-1:-1:-1;;;;;9355:21:4;;;;;;;:16;:21;;;;;:52;;;;-1:-1:-1;9208:204:4:o;7926:169::-;-1:-1:-1;;;;;7995:17:4;;;;7987:26;;;;;;8019:25;8030:3;8035:8;8019:10;:25::i;:::-;8055:35;;8081:8;;-1:-1:-1;;;;;8055:35:4;;;8072:1;;8055:35;;8072:1;;8055:35;7926:169;;:::o;437:576:0:-;494:4;969:17;;1000:8;;437:576::o;1214:123:12:-;1293:5;;;1311:6;;;;1304:14;;;190:920:8;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;190:920:8;;;-1:-1:-1;190:920:8;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

Swarm Source

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