ETH Price: $3,349.94 (-1.31%)

Token

CryptoKaiju (KAIJU)
 

Overview

Max Total Supply

1,662 KAIJU

Holders

485

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
2 KAIJU
0x484409eaeec9b78fee6d352d087d4ac2e3f49e4b
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Collectible Vinyl Toys Powered by the Ethereum Blockchain

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
CryptoKaiju

Compiler Version
v0.4.24+commit.e67f0147

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2018-11-30
*/

pragma solidity ^0.4.24;

// 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/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: openzeppelin-solidity/contracts/access/rbac/Roles.sol

/**
 * @title Roles
 * @author Francisco Giordano (@frangio)
 * @dev Library for managing addresses assigned to a Role.
 * See RBAC.sol for example usage.
 */
library Roles {
  struct Role {
    mapping (address => bool) bearer;
  }

  /**
   * @dev give an address access to this role
   */
  function add(Role storage _role, address _addr)
    internal
  {
    _role.bearer[_addr] = true;
  }

  /**
   * @dev remove an address' access to this role
   */
  function remove(Role storage _role, address _addr)
    internal
  {
    _role.bearer[_addr] = false;
  }

  /**
   * @dev check if an address has this role
   * // reverts
   */
  function check(Role storage _role, address _addr)
    internal
    view
  {
    require(has(_role, _addr));
  }

  /**
   * @dev check if an address has this role
   * @return bool
   */
  function has(Role storage _role, address _addr)
    internal
    view
    returns (bool)
  {
    return _role.bearer[_addr];
  }
}

// File: openzeppelin-solidity/contracts/access/rbac/RBAC.sol

/**
 * @title RBAC (Role-Based Access Control)
 * @author Matt Condon (@Shrugs)
 * @dev Stores and provides setters and getters for roles and addresses.
 * Supports unlimited numbers of roles and addresses.
 * See //contracts/mocks/RBACMock.sol for an example of usage.
 * This RBAC method uses strings to key roles. It may be beneficial
 * for you to write your own implementation of this interface using Enums or similar.
 */
contract RBAC {
  using Roles for Roles.Role;

  mapping (string => Roles.Role) private roles;

  event RoleAdded(address indexed operator, string role);
  event RoleRemoved(address indexed operator, string role);

  /**
   * @dev reverts if addr does not have role
   * @param _operator address
   * @param _role the name of the role
   * // reverts
   */
  function checkRole(address _operator, string _role)
    public
    view
  {
    roles[_role].check(_operator);
  }

  /**
   * @dev determine if addr has role
   * @param _operator address
   * @param _role the name of the role
   * @return bool
   */
  function hasRole(address _operator, string _role)
    public
    view
    returns (bool)
  {
    return roles[_role].has(_operator);
  }

  /**
   * @dev add a role to an address
   * @param _operator address
   * @param _role the name of the role
   */
  function addRole(address _operator, string _role)
    internal
  {
    roles[_role].add(_operator);
    emit RoleAdded(_operator, _role);
  }

  /**
   * @dev remove a role from an address
   * @param _operator address
   * @param _role the name of the role
   */
  function removeRole(address _operator, string _role)
    internal
  {
    roles[_role].remove(_operator);
    emit RoleRemoved(_operator, _role);
  }

  /**
   * @dev modifier to scope access to a single role (uses msg.sender as addr)
   * @param _role the name of the role
   * // reverts
   */
  modifier onlyRole(string _role)
  {
    checkRole(msg.sender, _role);
    _;
  }

  /**
   * @dev modifier to scope access to a set of roles (uses msg.sender as addr)
   * @param _roles the names of the roles to scope access to
   * // reverts
   *
   * @TODO - when solidity supports dynamic arrays as arguments to modifiers, provide this
   *  see: https://github.com/ethereum/solidity/issues/2467
   */
  // modifier onlyRoles(string[] _roles) {
  //     bool hasAnyRole = false;
  //     for (uint8 i = 0; i < _roles.length; i++) {
  //         if (hasRole(msg.sender, _roles[i])) {
  //             hasAnyRole = true;
  //             break;
  //         }
  //     }

  //     require(hasAnyRole);

  //     _;
  // }
}

// File: openzeppelin-solidity/contracts/access/Whitelist.sol

/**
 * @title Whitelist
 * @dev The Whitelist contract has a whitelist of addresses, and provides basic authorization control functions.
 * This simplifies the implementation of "user permissions".
 */
contract Whitelist is Ownable, RBAC {
  string public constant ROLE_WHITELISTED = "whitelist";

  /**
   * @dev Throws if operator is not whitelisted.
   * @param _operator address
   */
  modifier onlyIfWhitelisted(address _operator) {
    checkRole(_operator, ROLE_WHITELISTED);
    _;
  }

  /**
   * @dev add an address to the whitelist
   * @param _operator address
   * @return true if the address was added to the whitelist, false if the address was already in the whitelist
   */
  function addAddressToWhitelist(address _operator)
    public
    onlyOwner
  {
    addRole(_operator, ROLE_WHITELISTED);
  }

  /**
   * @dev getter to determine if address is in whitelist
   */
  function whitelist(address _operator)
    public
    view
    returns (bool)
  {
    return hasRole(_operator, ROLE_WHITELISTED);
  }

  /**
   * @dev add addresses to the whitelist
   * @param _operators addresses
   * @return true if at least one address was added to the whitelist,
   * false if all addresses were already in the whitelist
   */
  function addAddressesToWhitelist(address[] _operators)
    public
    onlyOwner
  {
    for (uint256 i = 0; i < _operators.length; i++) {
      addAddressToWhitelist(_operators[i]);
    }
  }

  /**
   * @dev remove an address from the whitelist
   * @param _operator address
   * @return true if the address was removed from the whitelist,
   * false if the address wasn't in the whitelist in the first place
   */
  function removeAddressFromWhitelist(address _operator)
    public
    onlyOwner
  {
    removeRole(_operator, ROLE_WHITELISTED);
  }

  /**
   * @dev remove addresses from the whitelist
   * @param _operators addresses
   * @return true if at least one address was removed from the whitelist,
   * false if all addresses weren't in the whitelist in the first place
   */
  function removeAddressesFromWhitelist(address[] _operators)
    public
    onlyOwner
  {
    for (uint256 i = 0; i < _operators.length; i++) {
      removeAddressFromWhitelist(_operators[i]);
    }
  }

}

// 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/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: contracts/Strings.sol

library Strings {
  // via https://github.com/oraclize/ethereum-api/blob/master/oraclizeAPI_0.5.sol
  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) internal pure returns (string) {
    return strConcat(_a, _b, "", "", "");
  }
}

// File: contracts/CryptoKaiju.sol

/**
* @title CryptoKaiju - http://cryptokaiju.io
*
* Collectable Vinyl Toys Powered By The Ethereum Blockchain.
*
* The contract below represents the base contract for issuing CryptoKaiju NFT tokens.
*
* Taking over the world one collectable Kaiju at a time.
*
* Dreamt up by https://coinjournal.net in partnership between http://knownorigin.io & http://blockrocket.tech
*/
contract CryptoKaiju is ERC721Token, Whitelist {
  using SafeMath for uint256;

  string public tokenBaseURI = "https://ipfs.infura.io/ipfs/";

  // The NFC tag ID
  mapping(bytes32 => uint256) internal nfcIdToTokenId;
  mapping(uint256 => bytes32) internal tokenIdToNfcId;

  // Block when the Kaiju was born - will help with ordering by birth date which could differ from token ID
  mapping(uint256 => uint256) internal tokenIdToBirthDate;

  // A pointer to the next token to be minted, zero indexed
  uint256 public tokenIdPointer = 0;

  constructor () public ERC721Token("CryptoKaiju", "KAIJU") {
    addAddressToWhitelist(msg.sender);
  }

  function mint(bytes32 nfcId, string tokenURI, uint256 birthDate)
  public
  onlyIfWhitelisted(msg.sender)
  returns (bool) {
    _mint(msg.sender, nfcId, tokenURI, birthDate);
    return true;
  }

  function mintTo(address to, bytes32 nfcId, string tokenURI, uint256 birthDate)
  public
  onlyIfWhitelisted(msg.sender)
  returns (bool) {
    _mint(to, nfcId, tokenURI, birthDate);
    return true;
  }

  function _mint(address to, bytes32 nfcId, string tokenURI, uint256 birthDate) internal {
    require(nfcIdToTokenId[nfcId] == 0, "Unable to mint Kaiju with duplicate NFC ID");

    uint256 tokenId = tokenIdPointer;

    tokenIdToBirthDate[tokenId] = birthDate;
    tokenIdToNfcId[tokenId] = nfcId;
    nfcIdToTokenId[nfcId] = tokenId;

    _mint(to, tokenId);
    _setTokenURI(tokenId, tokenURI);

    tokenIdPointer = tokenIdPointer.add(1);
  }

  function burn(uint256 tokenId)
  public
  onlyIfWhitelisted(msg.sender) {
    // Cleanup custom data
    bytes32 nfcId = tokenIdToNfcId[tokenId];
    delete nfcIdToTokenId[nfcId];
    delete tokenIdToNfcId[tokenId];
    delete tokenIdToBirthDate[tokenId];

    // Super burn
    _burn(ownerOf(tokenId), tokenId);
  }

  function setTokenURI(uint256 tokenId, string uri)
  public
  onlyIfWhitelisted(msg.sender) {
    _setTokenURI(tokenId, uri);
  }

  function setTokenBaseURI(string _newBaseURI)
  external
  onlyIfWhitelisted(msg.sender) {
    require(bytes(_newBaseURI).length != 0, "Base URI invalid");
    tokenBaseURI = _newBaseURI;
  }

  function tokenURI(uint256 _tokenId) public view returns (string) {
    require(exists(_tokenId));
    return Strings.strConcat(tokenBaseURI, tokenURIs[_tokenId]);
  }

  function birthDateOf(uint256 _tokenId) public view returns (uint256) {
    return tokenIdToBirthDate[_tokenId];
  }

  function tokenOf(bytes32 _nfcId) public view returns (uint256) {
    return nfcIdToTokenId[_nfcId];
  }

  function nfcIdOf(uint256 _tokenId) public view returns (bytes32) {
    return tokenIdToNfcId[_tokenId];
  }

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

  function nfcDetails(bytes32 _nfcId) public view returns (
    uint256 tokenId,
    bytes32 nfcId,
    string tokenUri,
    uint256 dob
  ) {
    uint256 _tokenId = nfcIdToTokenId[_nfcId];
    return tokenDetails(_tokenId);
  }

  function tokenDetails(uint256 _tokenId) public view returns (
    uint256 tokenId,
    bytes32 nfcId,
    string tokenUri,
    uint256 dob
  ) {
    require(exists(_tokenId));

    return (
    _tokenId,
    tokenIdToNfcId[_tokenId],
    tokenURI(_tokenId),
    tokenIdToBirthDate[_tokenId]
    );
  }

}

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":"_operator","type":"address"},{"name":"_role","type":"string"}],"name":"checkRole","outputs":[],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"tokenId","type":"uint256"},{"name":"uri","type":"string"}],"name":"setTokenURI","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":"ROLE_WHITELISTED","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"InterfaceId_ERC165","outputs":[{"name":"","type":"bytes4"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_operator","type":"address"},{"name":"_role","type":"string"}],"name":"hasRole","outputs":[{"name":"","type":"bool"}],"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":"_operators","type":"address[]"}],"name":"removeAddressesFromWhitelist","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_operator","type":"address"}],"name":"removeAddressFromWhitelist","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":true,"inputs":[],"name":"tokenIdPointer","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_tokenId","type":"uint256"}],"name":"nfcIdOf","outputs":[{"name":"","type":"bytes32"}],"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":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"tokenBaseURI","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","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":false,"inputs":[{"name":"nfcId","type":"bytes32"},{"name":"tokenURI","type":"string"},{"name":"birthDate","type":"uint256"}],"name":"mint","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"tokensOf","outputs":[{"name":"_tokenIds","type":"uint256[]"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_nfcId","type":"bytes32"}],"name":"nfcDetails","outputs":[{"name":"tokenId","type":"uint256"},{"name":"nfcId","type":"bytes32"},{"name":"tokenUri","type":"string"},{"name":"dob","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":false,"inputs":[{"name":"_operator","type":"address"}],"name":"addAddressToWhitelist","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_newBaseURI","type":"string"}],"name":"setTokenBaseURI","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_operator","type":"address"}],"name":"whitelist","outputs":[{"name":"","type":"bool"}],"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":"_nfcId","type":"bytes32"}],"name":"tokenOf","outputs":[{"name":"","type":"uint256"}],"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":false,"inputs":[{"name":"to","type":"address"},{"name":"nfcId","type":"bytes32"},{"name":"tokenURI","type":"string"},{"name":"birthDate","type":"uint256"}],"name":"mintTo","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_operators","type":"address[]"}],"name":"addAddressesToWhitelist","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":true,"inputs":[{"name":"_tokenId","type":"uint256"}],"name":"birthDateOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_tokenId","type":"uint256"}],"name":"tokenDetails","outputs":[{"name":"tokenId","type":"uint256"},{"name":"nfcId","type":"bytes32"},{"name":"tokenUri","type":"string"},{"name":"dob","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"name":"operator","type":"address"},{"indexed":false,"name":"role","type":"string"}],"name":"RoleAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"operator","type":"address"},{"indexed":false,"name":"role","type":"string"}],"name":"RoleRemoved","type":"event"},{"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"}]

60c0604052601c60808190527f68747470733a2f2f697066732e696e667572612e696f2f697066732f0000000060a09081526200004091600e919062000441565b5060006012553480156200005357600080fd5b50604080518082018252600b81527f43727970746f4b61696a750000000000000000000000000000000000000000006020808301919091528251808401909352600583527f4b41494a550000000000000000000000000000000000000000000000000000009083015290620000f17f01ffc9a7000000000000000000000000000000000000000000000000000000006401000000006200021e810204565b620001257f80ac58cd000000000000000000000000000000000000000000000000000000006401000000006200021e810204565b620001597f4f558e79000000000000000000000000000000000000000000000000000000006401000000006200021e810204565b81516200016e90600590602085019062000441565b5080516200018490600690602084019062000441565b50620001b97f780e9d63000000000000000000000000000000000000000000000000000000006401000000006200021e810204565b620001ed7f5b5e139f000000000000000000000000000000000000000000000000000000006401000000006200021e810204565b5050600c8054600160a060020a0319163390811790915562000218906401000000006200028b810204565b620004e6565b7fffffffff0000000000000000000000000000000000000000000000000000000080821614156200024e57600080fd5b7fffffffff00000000000000000000000000000000000000000000000000000000166000908152602081905260409020805460ff19166001179055565b600c54600160a060020a03163314620002a357600080fd5b620002f3816040805190810160405280600981526020017f77686974656c6973740000000000000000000000000000000000000000000000815250620002f6640100000000026401000000009004565b50565b6200037282600d836040518082805190602001908083835b602083106200032f5780518252601f1990920191602091820191016200030e565b51815160209384036101000a60001901801990921691161790529201948552506040519384900301909220929150506401000000006200041c8102620021931704565b81600160a060020a03167fbfec83d64eaa953f2708271a023ab9ee82057f8f3578d548c1a4ba0b5b700489826040518080602001828103825283818151815260200191508051906020019080838360005b83811015620003dd578181015183820152602001620003c3565b50505050905090810190601f1680156200040b5780820380516001836020036101000a031916815260200191505b509250505060405180910390a25050565b600160a060020a0316600090815260209190915260409020805460ff19166001179055565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200048457805160ff1916838001178555620004b4565b82800160010185558215620004b4579182015b82811115620004b457825182559160200191906001019062000497565b50620004c2929150620004c6565b5090565b620004e391905b80821115620004c25760008155600101620004cd565b90565b61263280620004f66000396000f3006080604052600436106102035763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166301ffc9a7811461020857806306fdde031461023e578063081812fc146102c8578063095ea7b3146102fc5780630988ca8c14610322578063162094c41461038957806318160ddd146103e757806318b919e91461040e57806319fa8f5014610423578063217fe6c61461045557806323b872dd146104bc57806324953eaa146104e6578063286dd3f51461053b5780632f745c591461055c5780633b3a1a7a146105805780633d5ef4711461059557806342842e0e146105ad57806342966c68146105d75780634e99b800146105ef5780634f558e79146106045780634f6ccce71461061c57806350e862db146106345780635a3f2672146106945780635cacd319146107055780636352211e146107ad57806370a08231146107c5578063715018a6146107e65780637b9417c8146107fb5780638da5cb5b1461081c5780638ef79e911461083157806395d89b41146108515780639b19251a14610866578063a22cb46514610887578063b88d4fde146108ad578063bae667bc1461091c578063c87b56dd14610934578063d4264af01461094c578063e2ec6ec3146109b7578063e985e9c514610a0c578063f2e41c0b14610a33578063f2fde38b14610a4b578063fc314e3114610a6c575b600080fd5b34801561021457600080fd5b5061022a600160e060020a031960043516610a84565b604080519115158252519081900360200190f35b34801561024a57600080fd5b50610253610aa3565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561028d578181015183820152602001610275565b50505050905090810190601f1680156102ba5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156102d457600080fd5b506102e0600435610b3a565b60408051600160a060020a039092168252519081900360200190f35b34801561030857600080fd5b50610320600160a060020a0360043516602435610b55565b005b34801561032e57600080fd5b5060408051602060046024803582810135601f8101859004850286018501909652858552610320958335600160a060020a0316953695604494919390910191908190840183828082843750949750610c0b9650505050505050565b34801561039557600080fd5b5060408051602060046024803582810135601f8101859004850286018501909652858552610320958335953695604494919390910191908190840183828082843750949750610c799650505050505050565b3480156103f357600080fd5b506103fc610cb6565b60408051918252519081900360200190f35b34801561041a57600080fd5b50610253610cbc565b34801561042f57600080fd5b50610438610ce1565b60408051600160e060020a03199092168252519081900360200190f35b34801561046157600080fd5b5060408051602060046024803582810135601f810185900485028601850190965285855261022a958335600160a060020a0316953695604494919390910191908190840183828082843750949750610d059650505050505050565b3480156104c857600080fd5b50610320600160a060020a0360043581169060243516604435610d78565b3480156104f257600080fd5b506040805160206004803580820135838102808601850190965280855261032095369593946024949385019291829185019084908082843750949750610e1b9650505050505050565b34801561054757600080fd5b50610320600160a060020a0360043516610e6a565b34801561056857600080fd5b506103fc600160a060020a0360043516602435610eb1565b34801561058c57600080fd5b506103fc610efe565b3480156105a157600080fd5b506103fc600435610f04565b3480156105b957600080fd5b50610320600160a060020a0360043581169060243516604435610f16565b3480156105e357600080fd5b50610320600435610f32565b3480156105fb57600080fd5b50610253610fa8565b34801561061057600080fd5b5061022a600435611036565b34801561062857600080fd5b506103fc600435611053565b34801561064057600080fd5b5060408051602060046024803582810135601f810185900485028601850190965285855261022a95833595369560449491939091019190819084018382808284375094975050933594506110889350505050565b3480156106a057600080fd5b506106b5600160a060020a03600435166110cf565b60408051602080825283518183015283519192839290830191858101910280838360005b838110156106f15781810151838201526020016106d9565b505050509050019250505060405180910390f35b34801561071157600080fd5b5061071d60043561113b565b604080518581526020808201869052606082018490526080928201838152855193830193909352845191929160a084019186019080838360005b8381101561076f578181015183820152602001610757565b50505050905090810190601f16801561079c5780820380516001836020036101000a031916815260200191505b509550505050505060405180910390f35b3480156107b957600080fd5b506102e060043561116a565b3480156107d157600080fd5b506103fc600160a060020a0360043516611194565b3480156107f257600080fd5b506103206111c7565b34801561080757600080fd5b50610320600160a060020a0360043516611235565b34801561082857600080fd5b506102e0611279565b34801561083d57600080fd5b506103206004803560248101910135611288565b34801561085d57600080fd5b50610253611336565b34801561087257600080fd5b5061022a600160a060020a0360043516611397565b34801561089357600080fd5b50610320600160a060020a036004351660243515156113c6565b3480156108b957600080fd5b50604080516020601f60643560048181013592830184900484028501840190955281845261032094600160a060020a03813581169560248035909216956044359536956084940191819084018382808284375094975061144a9650505050505050565b34801561092857600080fd5b506103fc60043561146c565b34801561094057600080fd5b5061025360043561147e565b34801561095857600080fd5b50604080516020600460443581810135601f810184900484028501840190955284845261022a948235600160a060020a031694602480359536959460649492019190819084018382808284375094975050933594506115c29350505050565b3480156109c357600080fd5b50604080516020600480358082013583810280860185019096528085526103209536959394602494938501929182918501908490808284375094975061160c9650505050505050565b348015610a1857600080fd5b5061022a600160a060020a036004358116906024351661165b565b348015610a3f57600080fd5b506103fc600435611689565b348015610a5757600080fd5b50610320600160a060020a036004351661169b565b348015610a7857600080fd5b5061071d6004356116bb565b600160e060020a03191660009081526020819052604090205460ff1690565b60058054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610b2f5780601f10610b0457610100808354040283529160200191610b2f565b820191906000526020600020905b815481529060010190602001808311610b1257829003601f168201915b505050505090505b90565b600090815260026020526040902054600160a060020a031690565b6000610b608261116a565b9050600160a060020a038381169082161415610b7b57600080fd5b33600160a060020a0382161480610b975750610b97813361165b565b1515610ba257600080fd5b600082815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610c7582600d836040518082805190602001908083835b60208310610c415780518252601f199092019160209182019101610c22565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092209291505061170e565b5050565b33610ca7816040805190810160405280600981526020016000805160206125e7833981519152815250610c0b565b610cb18383611723565b505050565b60095490565b60408051808201909152600981526000805160206125e7833981519152602082015281565b7f01ffc9a70000000000000000000000000000000000000000000000000000000081565b6000610d7183600d846040518082805190602001908083835b60208310610d3d5780518252601f199092019160209182019101610d1e565b51815160209384036101000a6000190180199092169116179052920194855250604051938490030190922092915050611756565b9392505050565b610d823382611775565b1515610d8d57600080fd5b600160a060020a0383161515610da257600080fd5b600160a060020a0382161515610db757600080fd5b610dc183826117d4565b610dcb8382611843565b610dd5828261194a565b8082600160a060020a031684600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600c54600090600160a060020a03163314610e3557600080fd5b5060005b8151811015610c7557610e628282815181101515610e5357fe5b90602001906020020151610e6a565b600101610e39565b600c54600160a060020a03163314610e8157600080fd5b610eae816040805190810160405280600981526020016000805160206125e7833981519152815250611993565b50565b6000610ebc83611194565b8210610ec757600080fd5b600160a060020a0383166000908152600760205260409020805483908110610eeb57fe5b9060005260206000200154905092915050565b60125481565b60009081526010602052604090205490565b610cb1838383602060405190810160405280600081525061144a565b600033610f62816040805190810160405280600981526020016000805160206125e7833981519152815250610c0b565b60008381526010602090815260408083208054808552600f84528285208590558785529084905560119092528220919091559150610cb1610fa28461116a565b84611aa4565b600e805460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152929183018282801561102e5780601f106110035761010080835404028352916020019161102e565b820191906000526020600020905b81548152906001019060200180831161101157829003601f168201915b505050505081565b600090815260016020526040902054600160a060020a0316151590565b600061105d610cb6565b821061106857600080fd5b600980548390811061107657fe5b90600052602060002001549050919050565b6000336110b8816040805190810160405280600981526020016000805160206125e7833981519152815250610c0b565b6110c433868686611b9e565b506001949350505050565b600160a060020a03811660009081526007602090815260409182902080548351818402810184019094528084526060939283018282801561112f57602002820191906000526020600020905b81548152602001906001019080831161111b575b50505050509050919050565b6000818152600f60205260408120548190606090829061115a816116bb565b9450945094509450509193509193565b600081815260016020526040812054600160a060020a031680151561118e57600080fd5b92915050565b6000600160a060020a03821615156111ab57600080fd5b50600160a060020a031660009081526003602052604090205490565b600c54600160a060020a031633146111de57600080fd5b600c54604051600160a060020a03909116907ff8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c6482090600090a2600c805473ffffffffffffffffffffffffffffffffffffffff19169055565b600c54600160a060020a0316331461124c57600080fd5b610eae816040805190810160405280600981526020016000805160206125e7833981519152815250611ca0565b600c54600160a060020a031681565b336112b6816040805190810160405280600981526020016000805160206125e7833981519152815250610c0b565b81151561132457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f426173652055524920696e76616c696400000000000000000000000000000000604482015290519081900360640190fd5b611330600e848461247c565b50505050565b60068054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610b2f5780601f10610b0457610100808354040283529160200191610b2f565b600061118e826040805190810160405280600981526020016000805160206125e7833981519152815250610d05565b600160a060020a0382163314156113dc57600080fd5b336000818152600460209081526040808320600160a060020a03871680855290835292819020805460ff1916861515908117909155815190815290519293927f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31929181900390910190a35050565b611455848484610d78565b61146184848484611d72565b151561133057600080fd5b6000908152600f602052604090205490565b606061148982611036565b151561149457600080fd5b600e8054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815261118e93909290918301828280156115215780601f106114f657610100808354040283529160200191611521565b820191906000526020600020905b81548152906001019060200180831161150457829003601f168201915b5050506000868152600b60209081526040918290208054835160026001831615610100026000190190921691909104601f8101849004840282018401909452838152945092508301828280156115b85780601f1061158d576101008083540402835291602001916115b8565b820191906000526020600020905b81548152906001019060200180831161159b57829003601f168201915b5050505050611eda565b6000336115f2816040805190810160405280600981526020016000805160206125e7833981519152815250610c0b565b6115fe86868686611b9e565b600191505b50949350505050565b600c54600090600160a060020a0316331461162657600080fd5b5060005b8151811015610c7557611653828281518110151561164457fe5b90602001906020020151611235565b60010161162a565b600160a060020a03918216600090815260046020908152604080832093909416825291909152205460ff1690565b60009081526011602052604090205490565b600c54600160a060020a031633146116b257600080fd5b610eae81611f0f565b600080606060006116cb85611036565b15156116d657600080fd5b60008581526010602052604090205485906116f08261147e565b60009788526011602052604090972054919790969550909350915050565b6117188282611756565b1515610c7557600080fd5b61172c82611036565b151561173757600080fd5b6000828152600b602090815260409091208251610cb1928401906124fa565b600160a060020a03166000908152602091909152604090205460ff1690565b6000806117818361116a565b905080600160a060020a031684600160a060020a031614806117bc575083600160a060020a03166117b184610b3a565b600160a060020a0316145b806117cc57506117cc818561165b565b949350505050565b81600160a060020a03166117e78261116a565b600160a060020a0316146117fa57600080fd5b600081815260026020526040902054600160a060020a031615610c75576000908152600260205260409020805473ffffffffffffffffffffffffffffffffffffffff1916905550565b60008060006118528585611f8d565b600084815260086020908152604080832054600160a060020a038916845260079092529091205490935061188d90600163ffffffff61202316565b600160a060020a0386166000908152600760205260409020805491935090839081106118b557fe5b90600052602060002001549050806007600087600160a060020a0316600160a060020a03168152602001908152602001600020848154811015156118f557fe5b6000918252602080832090910192909255600160a060020a038716815260079091526040902080549061192c906000198301612568565b50600093845260086020526040808520859055908452909220555050565b60006119568383612035565b50600160a060020a039091166000908152600760209081526040808320805460018101825590845282842081018590559383526008909152902055565b6119fd82600d836040518082805190602001908083835b602083106119c95780518252601f1990920191602091820191016119aa565b51815160209384036101000a60001901801990921691161790529201948552506040519384900301909220929150506120c5565b81600160a060020a03167fd211483f91fc6eff862467f8de606587a30c8fc9981056f051b897a418df803a826040518080602001828103825283818151815260200191508051906020019080838360005b83811015611a66578181015183820152602001611a4e565b50505050905090810190601f168015611a935780820380516001836020036101000a031916815260200191505b509250505060405180910390a25050565b6000806000611ab385856120e7565b6000848152600b60205260409020546002600019610100600184161502019091160415611af1576000848152600b60205260408120611af19161258c565b6000848152600a6020526040902054600954909350611b1790600163ffffffff61202316565b9150600982815481101515611b2857fe5b9060005260206000200154905080600984815481101515611b4557fe5b60009182526020822001919091556009805484908110611b6157fe5b6000918252602090912001556009805490611b80906000198301612568565b506000938452600a6020526040808520859055908452909220555050565b6000838152600f602052604081205415611c3f57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f556e61626c6520746f206d696e74204b61696a752077697468206475706c696360448201527f617465204e464320494400000000000000000000000000000000000000000000606482015290519081900360840190fd5b50601254600081815260116020908152604080832085905560108252808320879055868352600f9091529020819055611c788582612137565b611c828184611723565b601254611c9690600163ffffffff61218616565b6012555050505050565b611d0a82600d836040518082805190602001908083835b60208310611cd65780518252601f199092019160209182019101611cb7565b51815160209384036101000a6000190180199092169116179052920194855250604051938490030190922092915050612193565b81600160a060020a03167fbfec83d64eaa953f2708271a023ab9ee82057f8f3578d548c1a4ba0b5b7004898260405180806020018281038252838181518152602001915080519060200190808383600083811015611a66578181015183820152602001611a4e565b600080611d8785600160a060020a03166121b8565b1515611d965760019150611603565b6040517f150b7a020000000000000000000000000000000000000000000000000000000081523360048201818152600160a060020a03898116602485015260448401889052608060648501908152875160848601528751918a169463150b7a0294938c938b938b93909160a490910190602085019080838360005b83811015611e29578181015183820152602001611e11565b50505050905090810190601f168015611e565780820380516001836020036101000a031916815260200191505b5095505050505050602060405180830381600087803b158015611e7857600080fd5b505af1158015611e8c573d6000803e3d6000fd5b505050506040513d6020811015611ea257600080fd5b5051600160e060020a0319167f150b7a0200000000000000000000000000000000000000000000000000000000149695505050505050565b604080516020818101835260008083528351808301855281815284519283019094528152606092610d719286928692906121c0565b600160a060020a0381161515611f2457600080fd5b600c54604051600160a060020a038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600c805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b81600160a060020a0316611fa08261116a565b600160a060020a031614611fb357600080fd5b600160a060020a038216600090815260036020526040902054611fdd90600163ffffffff61202316565b600160a060020a03909216600090815260036020908152604080832094909455918152600190915220805473ffffffffffffffffffffffffffffffffffffffff19169055565b60008282111561202f57fe5b50900390565b600081815260016020526040902054600160a060020a03161561205757600080fd5b6000818152600160208181526040808420805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03881690811790915584526003909152909120546120a591612186565b600160a060020a0390921660009081526003602052604090209190915550565b600160a060020a0316600090815260209190915260409020805460ff19169055565b6120f182826117d4565b6120fb8282611843565b6040518190600090600160a060020a038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6121418282612421565b600980546000838152600a60205260408120829055600182018355919091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af015550565b8181018281101561118e57fe5b600160a060020a0316600090815260209190915260409020805460ff19166001179055565b6000903b1190565b6060806060806060806060806000808e98508d97508c96508b95508a94508451865188518a518c51010101016040519080825280601f01601f191660200182016040528015612219578160200160208202803883390190505b50935083925060009150600090505b885181101561228657888181518110151561223f57fe5b90602001015160f860020a900460f860020a02838380600101945081518110151561226657fe5b906020010190600160f860020a031916908160001a905350600101612228565b5060005b87518110156122e85787818151811015156122a157fe5b90602001015160f860020a900460f860020a0283838060010194508151811015156122c857fe5b906020010190600160f860020a031916908160001a90535060010161228a565b5060005b865181101561234a57868181518110151561230357fe5b90602001015160f860020a900460f860020a02838380600101945081518110151561232a57fe5b906020010190600160f860020a031916908160001a9053506001016122ec565b5060005b85518110156123ac57858181518110151561236557fe5b90602001015160f860020a900460f860020a02838380600101945081518110151561238c57fe5b906020010190600160f860020a031916908160001a90535060010161234e565b5060005b845181101561240e5784818151811015156123c757fe5b90602001015160f860020a900460f860020a0283838060010194508151811015156123ee57fe5b906020010190600160f860020a031916908160001a9053506001016123b0565b50909d9c50505050505050505050505050565b600160a060020a038216151561243657600080fd5b612440828261194a565b6040518190600160a060020a038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106124bd5782800160ff198235161785556124ea565b828001600101855582156124ea579182015b828111156124ea5782358255916020019190600101906124cf565b506124f69291506125cc565b5090565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061253b57805160ff19168380011785556124ea565b828001600101855582156124ea579182015b828111156124ea57825182559160200191906001019061254d565b815481835581811115610cb157600083815260209020610cb19181019083016125cc565b50805460018160011615610100020316600290046000825580601f106125b25750610eae565b601f016020900490600052602060002090810190610eae91905b610b3791905b808211156124f657600081556001016125d2560077686974656c6973740000000000000000000000000000000000000000000000a165627a7a723058202edcc08ca6eb2b94f85c0c94144f07120577825f0158d451038d9b8cd4b0f63e0029

Deployed Bytecode

0x6080604052600436106102035763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166301ffc9a7811461020857806306fdde031461023e578063081812fc146102c8578063095ea7b3146102fc5780630988ca8c14610322578063162094c41461038957806318160ddd146103e757806318b919e91461040e57806319fa8f5014610423578063217fe6c61461045557806323b872dd146104bc57806324953eaa146104e6578063286dd3f51461053b5780632f745c591461055c5780633b3a1a7a146105805780633d5ef4711461059557806342842e0e146105ad57806342966c68146105d75780634e99b800146105ef5780634f558e79146106045780634f6ccce71461061c57806350e862db146106345780635a3f2672146106945780635cacd319146107055780636352211e146107ad57806370a08231146107c5578063715018a6146107e65780637b9417c8146107fb5780638da5cb5b1461081c5780638ef79e911461083157806395d89b41146108515780639b19251a14610866578063a22cb46514610887578063b88d4fde146108ad578063bae667bc1461091c578063c87b56dd14610934578063d4264af01461094c578063e2ec6ec3146109b7578063e985e9c514610a0c578063f2e41c0b14610a33578063f2fde38b14610a4b578063fc314e3114610a6c575b600080fd5b34801561021457600080fd5b5061022a600160e060020a031960043516610a84565b604080519115158252519081900360200190f35b34801561024a57600080fd5b50610253610aa3565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561028d578181015183820152602001610275565b50505050905090810190601f1680156102ba5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156102d457600080fd5b506102e0600435610b3a565b60408051600160a060020a039092168252519081900360200190f35b34801561030857600080fd5b50610320600160a060020a0360043516602435610b55565b005b34801561032e57600080fd5b5060408051602060046024803582810135601f8101859004850286018501909652858552610320958335600160a060020a0316953695604494919390910191908190840183828082843750949750610c0b9650505050505050565b34801561039557600080fd5b5060408051602060046024803582810135601f8101859004850286018501909652858552610320958335953695604494919390910191908190840183828082843750949750610c799650505050505050565b3480156103f357600080fd5b506103fc610cb6565b60408051918252519081900360200190f35b34801561041a57600080fd5b50610253610cbc565b34801561042f57600080fd5b50610438610ce1565b60408051600160e060020a03199092168252519081900360200190f35b34801561046157600080fd5b5060408051602060046024803582810135601f810185900485028601850190965285855261022a958335600160a060020a0316953695604494919390910191908190840183828082843750949750610d059650505050505050565b3480156104c857600080fd5b50610320600160a060020a0360043581169060243516604435610d78565b3480156104f257600080fd5b506040805160206004803580820135838102808601850190965280855261032095369593946024949385019291829185019084908082843750949750610e1b9650505050505050565b34801561054757600080fd5b50610320600160a060020a0360043516610e6a565b34801561056857600080fd5b506103fc600160a060020a0360043516602435610eb1565b34801561058c57600080fd5b506103fc610efe565b3480156105a157600080fd5b506103fc600435610f04565b3480156105b957600080fd5b50610320600160a060020a0360043581169060243516604435610f16565b3480156105e357600080fd5b50610320600435610f32565b3480156105fb57600080fd5b50610253610fa8565b34801561061057600080fd5b5061022a600435611036565b34801561062857600080fd5b506103fc600435611053565b34801561064057600080fd5b5060408051602060046024803582810135601f810185900485028601850190965285855261022a95833595369560449491939091019190819084018382808284375094975050933594506110889350505050565b3480156106a057600080fd5b506106b5600160a060020a03600435166110cf565b60408051602080825283518183015283519192839290830191858101910280838360005b838110156106f15781810151838201526020016106d9565b505050509050019250505060405180910390f35b34801561071157600080fd5b5061071d60043561113b565b604080518581526020808201869052606082018490526080928201838152855193830193909352845191929160a084019186019080838360005b8381101561076f578181015183820152602001610757565b50505050905090810190601f16801561079c5780820380516001836020036101000a031916815260200191505b509550505050505060405180910390f35b3480156107b957600080fd5b506102e060043561116a565b3480156107d157600080fd5b506103fc600160a060020a0360043516611194565b3480156107f257600080fd5b506103206111c7565b34801561080757600080fd5b50610320600160a060020a0360043516611235565b34801561082857600080fd5b506102e0611279565b34801561083d57600080fd5b506103206004803560248101910135611288565b34801561085d57600080fd5b50610253611336565b34801561087257600080fd5b5061022a600160a060020a0360043516611397565b34801561089357600080fd5b50610320600160a060020a036004351660243515156113c6565b3480156108b957600080fd5b50604080516020601f60643560048181013592830184900484028501840190955281845261032094600160a060020a03813581169560248035909216956044359536956084940191819084018382808284375094975061144a9650505050505050565b34801561092857600080fd5b506103fc60043561146c565b34801561094057600080fd5b5061025360043561147e565b34801561095857600080fd5b50604080516020600460443581810135601f810184900484028501840190955284845261022a948235600160a060020a031694602480359536959460649492019190819084018382808284375094975050933594506115c29350505050565b3480156109c357600080fd5b50604080516020600480358082013583810280860185019096528085526103209536959394602494938501929182918501908490808284375094975061160c9650505050505050565b348015610a1857600080fd5b5061022a600160a060020a036004358116906024351661165b565b348015610a3f57600080fd5b506103fc600435611689565b348015610a5757600080fd5b50610320600160a060020a036004351661169b565b348015610a7857600080fd5b5061071d6004356116bb565b600160e060020a03191660009081526020819052604090205460ff1690565b60058054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610b2f5780601f10610b0457610100808354040283529160200191610b2f565b820191906000526020600020905b815481529060010190602001808311610b1257829003601f168201915b505050505090505b90565b600090815260026020526040902054600160a060020a031690565b6000610b608261116a565b9050600160a060020a038381169082161415610b7b57600080fd5b33600160a060020a0382161480610b975750610b97813361165b565b1515610ba257600080fd5b600082815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610c7582600d836040518082805190602001908083835b60208310610c415780518252601f199092019160209182019101610c22565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092209291505061170e565b5050565b33610ca7816040805190810160405280600981526020016000805160206125e7833981519152815250610c0b565b610cb18383611723565b505050565b60095490565b60408051808201909152600981526000805160206125e7833981519152602082015281565b7f01ffc9a70000000000000000000000000000000000000000000000000000000081565b6000610d7183600d846040518082805190602001908083835b60208310610d3d5780518252601f199092019160209182019101610d1e565b51815160209384036101000a6000190180199092169116179052920194855250604051938490030190922092915050611756565b9392505050565b610d823382611775565b1515610d8d57600080fd5b600160a060020a0383161515610da257600080fd5b600160a060020a0382161515610db757600080fd5b610dc183826117d4565b610dcb8382611843565b610dd5828261194a565b8082600160a060020a031684600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600c54600090600160a060020a03163314610e3557600080fd5b5060005b8151811015610c7557610e628282815181101515610e5357fe5b90602001906020020151610e6a565b600101610e39565b600c54600160a060020a03163314610e8157600080fd5b610eae816040805190810160405280600981526020016000805160206125e7833981519152815250611993565b50565b6000610ebc83611194565b8210610ec757600080fd5b600160a060020a0383166000908152600760205260409020805483908110610eeb57fe5b9060005260206000200154905092915050565b60125481565b60009081526010602052604090205490565b610cb1838383602060405190810160405280600081525061144a565b600033610f62816040805190810160405280600981526020016000805160206125e7833981519152815250610c0b565b60008381526010602090815260408083208054808552600f84528285208590558785529084905560119092528220919091559150610cb1610fa28461116a565b84611aa4565b600e805460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152929183018282801561102e5780601f106110035761010080835404028352916020019161102e565b820191906000526020600020905b81548152906001019060200180831161101157829003601f168201915b505050505081565b600090815260016020526040902054600160a060020a0316151590565b600061105d610cb6565b821061106857600080fd5b600980548390811061107657fe5b90600052602060002001549050919050565b6000336110b8816040805190810160405280600981526020016000805160206125e7833981519152815250610c0b565b6110c433868686611b9e565b506001949350505050565b600160a060020a03811660009081526007602090815260409182902080548351818402810184019094528084526060939283018282801561112f57602002820191906000526020600020905b81548152602001906001019080831161111b575b50505050509050919050565b6000818152600f60205260408120548190606090829061115a816116bb565b9450945094509450509193509193565b600081815260016020526040812054600160a060020a031680151561118e57600080fd5b92915050565b6000600160a060020a03821615156111ab57600080fd5b50600160a060020a031660009081526003602052604090205490565b600c54600160a060020a031633146111de57600080fd5b600c54604051600160a060020a03909116907ff8df31144d9c2f0f6b59d69b8b98abd5459d07f2742c4df920b25aae33c6482090600090a2600c805473ffffffffffffffffffffffffffffffffffffffff19169055565b600c54600160a060020a0316331461124c57600080fd5b610eae816040805190810160405280600981526020016000805160206125e7833981519152815250611ca0565b600c54600160a060020a031681565b336112b6816040805190810160405280600981526020016000805160206125e7833981519152815250610c0b565b81151561132457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f426173652055524920696e76616c696400000000000000000000000000000000604482015290519081900360640190fd5b611330600e848461247c565b50505050565b60068054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610b2f5780601f10610b0457610100808354040283529160200191610b2f565b600061118e826040805190810160405280600981526020016000805160206125e7833981519152815250610d05565b600160a060020a0382163314156113dc57600080fd5b336000818152600460209081526040808320600160a060020a03871680855290835292819020805460ff1916861515908117909155815190815290519293927f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31929181900390910190a35050565b611455848484610d78565b61146184848484611d72565b151561133057600080fd5b6000908152600f602052604090205490565b606061148982611036565b151561149457600080fd5b600e8054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815261118e93909290918301828280156115215780601f106114f657610100808354040283529160200191611521565b820191906000526020600020905b81548152906001019060200180831161150457829003601f168201915b5050506000868152600b60209081526040918290208054835160026001831615610100026000190190921691909104601f8101849004840282018401909452838152945092508301828280156115b85780601f1061158d576101008083540402835291602001916115b8565b820191906000526020600020905b81548152906001019060200180831161159b57829003601f168201915b5050505050611eda565b6000336115f2816040805190810160405280600981526020016000805160206125e7833981519152815250610c0b565b6115fe86868686611b9e565b600191505b50949350505050565b600c54600090600160a060020a0316331461162657600080fd5b5060005b8151811015610c7557611653828281518110151561164457fe5b90602001906020020151611235565b60010161162a565b600160a060020a03918216600090815260046020908152604080832093909416825291909152205460ff1690565b60009081526011602052604090205490565b600c54600160a060020a031633146116b257600080fd5b610eae81611f0f565b600080606060006116cb85611036565b15156116d657600080fd5b60008581526010602052604090205485906116f08261147e565b60009788526011602052604090972054919790969550909350915050565b6117188282611756565b1515610c7557600080fd5b61172c82611036565b151561173757600080fd5b6000828152600b602090815260409091208251610cb1928401906124fa565b600160a060020a03166000908152602091909152604090205460ff1690565b6000806117818361116a565b905080600160a060020a031684600160a060020a031614806117bc575083600160a060020a03166117b184610b3a565b600160a060020a0316145b806117cc57506117cc818561165b565b949350505050565b81600160a060020a03166117e78261116a565b600160a060020a0316146117fa57600080fd5b600081815260026020526040902054600160a060020a031615610c75576000908152600260205260409020805473ffffffffffffffffffffffffffffffffffffffff1916905550565b60008060006118528585611f8d565b600084815260086020908152604080832054600160a060020a038916845260079092529091205490935061188d90600163ffffffff61202316565b600160a060020a0386166000908152600760205260409020805491935090839081106118b557fe5b90600052602060002001549050806007600087600160a060020a0316600160a060020a03168152602001908152602001600020848154811015156118f557fe5b6000918252602080832090910192909255600160a060020a038716815260079091526040902080549061192c906000198301612568565b50600093845260086020526040808520859055908452909220555050565b60006119568383612035565b50600160a060020a039091166000908152600760209081526040808320805460018101825590845282842081018590559383526008909152902055565b6119fd82600d836040518082805190602001908083835b602083106119c95780518252601f1990920191602091820191016119aa565b51815160209384036101000a60001901801990921691161790529201948552506040519384900301909220929150506120c5565b81600160a060020a03167fd211483f91fc6eff862467f8de606587a30c8fc9981056f051b897a418df803a826040518080602001828103825283818151815260200191508051906020019080838360005b83811015611a66578181015183820152602001611a4e565b50505050905090810190601f168015611a935780820380516001836020036101000a031916815260200191505b509250505060405180910390a25050565b6000806000611ab385856120e7565b6000848152600b60205260409020546002600019610100600184161502019091160415611af1576000848152600b60205260408120611af19161258c565b6000848152600a6020526040902054600954909350611b1790600163ffffffff61202316565b9150600982815481101515611b2857fe5b9060005260206000200154905080600984815481101515611b4557fe5b60009182526020822001919091556009805484908110611b6157fe5b6000918252602090912001556009805490611b80906000198301612568565b506000938452600a6020526040808520859055908452909220555050565b6000838152600f602052604081205415611c3f57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f556e61626c6520746f206d696e74204b61696a752077697468206475706c696360448201527f617465204e464320494400000000000000000000000000000000000000000000606482015290519081900360840190fd5b50601254600081815260116020908152604080832085905560108252808320879055868352600f9091529020819055611c788582612137565b611c828184611723565b601254611c9690600163ffffffff61218616565b6012555050505050565b611d0a82600d836040518082805190602001908083835b60208310611cd65780518252601f199092019160209182019101611cb7565b51815160209384036101000a6000190180199092169116179052920194855250604051938490030190922092915050612193565b81600160a060020a03167fbfec83d64eaa953f2708271a023ab9ee82057f8f3578d548c1a4ba0b5b7004898260405180806020018281038252838181518152602001915080519060200190808383600083811015611a66578181015183820152602001611a4e565b600080611d8785600160a060020a03166121b8565b1515611d965760019150611603565b6040517f150b7a020000000000000000000000000000000000000000000000000000000081523360048201818152600160a060020a03898116602485015260448401889052608060648501908152875160848601528751918a169463150b7a0294938c938b938b93909160a490910190602085019080838360005b83811015611e29578181015183820152602001611e11565b50505050905090810190601f168015611e565780820380516001836020036101000a031916815260200191505b5095505050505050602060405180830381600087803b158015611e7857600080fd5b505af1158015611e8c573d6000803e3d6000fd5b505050506040513d6020811015611ea257600080fd5b5051600160e060020a0319167f150b7a0200000000000000000000000000000000000000000000000000000000149695505050505050565b604080516020818101835260008083528351808301855281815284519283019094528152606092610d719286928692906121c0565b600160a060020a0381161515611f2457600080fd5b600c54604051600160a060020a038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600c805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b81600160a060020a0316611fa08261116a565b600160a060020a031614611fb357600080fd5b600160a060020a038216600090815260036020526040902054611fdd90600163ffffffff61202316565b600160a060020a03909216600090815260036020908152604080832094909455918152600190915220805473ffffffffffffffffffffffffffffffffffffffff19169055565b60008282111561202f57fe5b50900390565b600081815260016020526040902054600160a060020a03161561205757600080fd5b6000818152600160208181526040808420805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03881690811790915584526003909152909120546120a591612186565b600160a060020a0390921660009081526003602052604090209190915550565b600160a060020a0316600090815260209190915260409020805460ff19169055565b6120f182826117d4565b6120fb8282611843565b6040518190600090600160a060020a038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6121418282612421565b600980546000838152600a60205260408120829055600182018355919091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af015550565b8181018281101561118e57fe5b600160a060020a0316600090815260209190915260409020805460ff19166001179055565b6000903b1190565b6060806060806060806060806000808e98508d97508c96508b95508a94508451865188518a518c51010101016040519080825280601f01601f191660200182016040528015612219578160200160208202803883390190505b50935083925060009150600090505b885181101561228657888181518110151561223f57fe5b90602001015160f860020a900460f860020a02838380600101945081518110151561226657fe5b906020010190600160f860020a031916908160001a905350600101612228565b5060005b87518110156122e85787818151811015156122a157fe5b90602001015160f860020a900460f860020a0283838060010194508151811015156122c857fe5b906020010190600160f860020a031916908160001a90535060010161228a565b5060005b865181101561234a57868181518110151561230357fe5b90602001015160f860020a900460f860020a02838380600101945081518110151561232a57fe5b906020010190600160f860020a031916908160001a9053506001016122ec565b5060005b85518110156123ac57858181518110151561236557fe5b90602001015160f860020a900460f860020a02838380600101945081518110151561238c57fe5b906020010190600160f860020a031916908160001a90535060010161234e565b5060005b845181101561240e5784818151811015156123c757fe5b90602001015160f860020a900460f860020a0283838060010194508151811015156123ee57fe5b906020010190600160f860020a031916908160001a9053506001016123b0565b50909d9c50505050505050505050505050565b600160a060020a038216151561243657600080fd5b612440828261194a565b6040518190600160a060020a038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106124bd5782800160ff198235161785556124ea565b828001600101855582156124ea579182015b828111156124ea5782358255916020019190600101906124cf565b506124f69291506125cc565b5090565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061253b57805160ff19168380011785556124ea565b828001600101855582156124ea579182015b828111156124ea57825182559160200191906001019061254d565b815481835581811115610cb157600083815260209020610cb19181019083016125cc565b50805460018160011615610100020316600290046000825580601f106125b25750610eae565b601f016020900490600052602060002090810190610eae91905b610b3791905b808211156124f657600081556001016125d2560077686974656c6973740000000000000000000000000000000000000000000000a165627a7a723058202edcc08ca6eb2b94f85c0c94144f07120577825f0158d451038d9b8cd4b0f63e0029

Swarm Source

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