ETH Price: $3,334.23 (-0.49%)
 

Overview

Max Total Supply

72 WORDS

Holders

64

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Balance
3 WORDS
0xf068a511c76dffabf0f6390c1f37f3a06dcc52db
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Words

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 14 : Words.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/utils/Strings.sol";

contract Words is 
  Context,
  ERC165,
  IERC721,
  IERC721Metadata,
  IERC721Enumerable,
  Ownable,
  ReentrancyGuard
{
  using Address for address;
  using Strings for uint256;

  struct TokenOwnership {
    address addr;
    uint64 startTimestamp;
  }

  struct AddressData {
    uint128 balance;
  }

  uint256 private currentIndex = 0;

  // Token name
  string private _name;

  // Token symbol
  string private _symbol;

  // Mapping from token ID to ownership details
  // An empty struct value does not necessarily mean the token is unowned. See ownershipOf implementation for details.
  mapping(uint256 => TokenOwnership) private _ownerships;

  // Mapping owner address to address data
  mapping(address => AddressData) private _addressData;

  // Mapping from token ID to approved address
  mapping(uint256 => address) private _tokenApprovals;

  // Mapping from owner to operator approvals
  mapping(address => mapping(address => bool)) private _operatorApprovals;

  // Words Property
  // Current number of words
  uint256 wordsCount;

  // Mapping from token ID to word
  mapping(uint256 => string) public idToWord;

  // Mapping from words to tokenId
  mapping(string => uint256) public wordToId;

  constructor() {
    _name = "The Words";
    _symbol = "WORDS";
  }

    bool public publicSaleStatus = false;

    function mint(string memory word) external payable {
        require(publicSaleStatus , "Public sale has not started yet" );
        require(testWord(word) , "Invalid word" );
        require(msg.value >= getCurrentPrice(), "Insufficient ether");
        _safeMint(msg.sender, 1, bytes(word));
    }

    function setPublicSaleStatus(bool status) external onlyOwner {
        publicSaleStatus = status;
    }

    function getCurrentPrice() public view returns(uint) {
        if (totalSupply() > 500) {
          return (totalSupply() - 500 + 50) / 50 * 0.001 ether;
        } else {
          return 0 ether;
        }
    }

    function getPublicSaleStatus() external view returns(bool) {
        return publicSaleStatus;
    }

    // metadata URI
    string private _baseTokenURI;

    function setBaseURI(string calldata baseURI) external onlyOwner {
        _baseTokenURI = baseURI;
    }

    function withdrawMoney() external onlyOwner nonReentrant {
        (bool success, ) = msg.sender.call{value: address(this).balance}("");
        require(success, "Transfer failed.");
    }

    function setOwnersExplicit(uint256 quantity) external onlyOwner nonReentrant {
        _setOwnersExplicit(quantity);
    }

    function getOwnershipData(uint256 tokenId)
    external
    view
    returns (TokenOwnership memory)
    {
        return ownershipOf(tokenId);
    }

  /**
   * @dev See {IERC721Enumerable-totalSupply}.
   */
  function totalSupply() public view override returns (uint256) {
    return currentIndex;
  }

  /**
   * @dev See {IERC721Enumerable-tokenByIndex}.
   */
  function tokenByIndex(uint256 index) public view override returns (uint256) {
    require(index < totalSupply(), "Global index out of bounds");
    return index;
  }

  /**
   * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
   * This read function is O(collectionSize). If calling from a separate contract, be sure to test gas first.
   * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case.
   */
  function tokenOfOwnerByIndex(address owner, uint256 index)
    public
    view
    override
    returns (uint256)
  {
    require(index < balanceOf(owner), "Owner index out of bounds");
    uint256 numMintedSoFar = totalSupply();
    uint256 tokenIdsIdx = 0;
    address currOwnershipAddr = address(0);
    for (uint256 i = 0; i < numMintedSoFar; i++) {
      TokenOwnership memory ownership = _ownerships[i];
      if (ownership.addr != address(0)) {
        currOwnershipAddr = ownership.addr;
      }
      if (currOwnershipAddr == owner) {
        if (tokenIdsIdx == index) {
          return i;
        }
        tokenIdsIdx++;
      }
    }
    revert("Unable to get token of owner by index");
  }

  /**
   * @dev See {IERC165-supportsInterface}.
   */
  function supportsInterface(bytes4 interfaceId)
    public
    view
    override(ERC165, IERC165)
    returns (bool)
  {
    return
      interfaceId == type(IERC721).interfaceId ||
      interfaceId == type(IERC721Metadata).interfaceId ||
      interfaceId == type(IERC721Enumerable).interfaceId ||
      super.supportsInterface(interfaceId);
  }

  /**
   * @dev See {IERC721-balanceOf}.
   */
  function balanceOf(address owner) public view override returns (uint256) {
    require(owner != address(0), "Balance query for the zero address");
    return uint256(_addressData[owner].balance);
  }

  function ownershipOf(uint256 tokenId)
    internal
    view
    returns (TokenOwnership memory)
  {
    require(_exists(tokenId), "Owner query for nonexistent token");

    uint256 lowestTokenToCheck;

    for (uint256 curr = tokenId; curr >= lowestTokenToCheck; curr--) {
      TokenOwnership memory ownership = _ownerships[curr];
      if (ownership.addr != address(0)) {
        return ownership;
      }
    }

    revert("Unable to determine the owner of token");
  }

  /**
   * @dev See {IERC721-ownerOf}.
   */
  function ownerOf(uint256 tokenId) public view override returns (address) {
    return ownershipOf(tokenId).addr;
  }

  /**
   * @dev See {IERC721Metadata-name}.
   */
  function name() public view virtual override returns (string memory) {
    return _name;
  }

  /**
   * @dev See {IERC721Metadata-symbol}.
   */
  function symbol() public view virtual override returns (string memory) {
    return _symbol;
  }

  /**
   * @dev See {IERC721Metadata-tokenURI}.
   */
  function tokenURI(uint256 tokenId)
    public
    view
    virtual
    override
    returns (string memory)
  {
    require(_exists(tokenId),"URI query for nonexistent token");
    uint wordLen = bytes(idToWord[tokenId]).length;
    uint fontSize = 20;
    if (wordLen <= 5) {
      fontSize = 100;
    } else if (wordLen <= 10) {
      fontSize = 70;
    } else if (wordLen <= 15) {
      fontSize = 40;
    } else if (wordLen <= 20) {
      fontSize = 30;
    } else {
      fontSize = 20;
    }
    string[5] memory parts;
    parts[0] = '<svg xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMinYMin meet" viewBox="0 0 350 350"><style>.head {fill: white;font-family: Arial;font-size: ';
    parts[1] = toString(fontSize);
    parts[2] = 'px;font-weight: bold;}</style><rect width="100%" height="100%" fill="black" /><g><svg width="350px" height="350px"><text x="50%" y="50%" alignment-baseline="middle" text-anchor="middle" class="head">';
    if (tokenId == 0) {
      parts[3] = "_";
    } else {
      parts[3] = idToWord[tokenId];
    }
    parts[4] = '</text></svg></g></svg>';

    string memory output = string(abi.encodePacked(parts[0], parts[1], parts[2], parts[3], parts[4]));
    string memory json = "";

    if (tokenId == 0) {
      json = Base64.encode(bytes(string(abi.encodePacked('{"name": "_","image":"data:image/svg+xml;base64,', Base64.encode(bytes(output)), '"}'))));
    } else {
      json = Base64.encode(bytes(string(abi.encodePacked('{"name": "', idToWord[tokenId], '","image":"data:image/svg+xml;base64,', Base64.encode(bytes(output)), '"}'))));
    }
    output = string(abi.encodePacked('data:application/json;base64,', json));
    return output;
  }

  /**
   * @dev See {IERC721-approve}.
   */
  function approve(address to, uint256 tokenId) public override {
    address owner = ownerOf(tokenId);
    require(to != owner, "Approval to current owner");

    require(
      _msgSender() == owner || isApprovedForAll(owner, _msgSender()),
      "Approve caller is not owner nor approved for all"
    );

    _approve(to, tokenId, owner);
  }

  /**
   * @dev See {IERC721-getApproved}.
   */
  function getApproved(uint256 tokenId) public view override returns (address) {
    require(_exists(tokenId), "Approved query for nonexistent token");

    return _tokenApprovals[tokenId];
  }

  /**
   * @dev See {IERC721-setApprovalForAll}.
   */
  function setApprovalForAll(address operator, bool approved) public override {
    require(operator != _msgSender(), "Approve to caller");

    _operatorApprovals[_msgSender()][operator] = approved;
    emit ApprovalForAll(_msgSender(), operator, approved);
  }

  /**
   * @dev See {IERC721-isApprovedForAll}.
   */
  function isApprovedForAll(address owner, address operator)
    public
    view
    virtual
    override
    returns (bool)
  {
    return _operatorApprovals[owner][operator];
  }

  /**
   * @dev See {IERC721-transferFrom}.
   */
  function transferFrom(
    address from,
    address to,
    uint256 tokenId
  ) public override {
    _transfer(from, to, tokenId);
  }

  /**
   * @dev See {IERC721-safeTransferFrom}.
   */
  function safeTransferFrom(
    address from,
    address to,
    uint256 tokenId
  ) public override {
    safeTransferFrom(from, to, tokenId, "");
  }

  /**
   * @dev See {IERC721-safeTransferFrom}.
   */
  function safeTransferFrom(
    address from,
    address to,
    uint256 tokenId,
    bytes memory _data
  ) public override {
    _transfer(from, to, tokenId);
    require(
      _checkOnERC721Received(from, to, tokenId, _data),
      "Transfer to non ERC721Receiver implementer"
    );
  }

  /**
   * @dev Returns whether `tokenId` exists.
   *
   * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
   *
   * Tokens start existing when they are minted (`_mint`),
   */
  function _exists(uint256 tokenId) internal view returns (bool) {
    return tokenId < currentIndex;
  }

  /**
   * @dev Mints `quantity` tokens and transfers them to `to`.
   *
   * Requirements:
   *
   * - there must be `quantity` tokens remaining unminted in the total collection.
   * - `to` cannot be the zero address.
   * - `quantity` cannot be larger than the max batch size.
   *
   * Emits a {Transfer} event.
   */

  function _safeMint(
    address to,
    uint256 quantity,
    bytes memory _data
  ) internal {
    string memory word = string(_data);
    uint256 startTokenId = currentIndex;
    require(to != address(0), "Mint to the zero address");
    // We know if the first token in the batch doesn't exist, the other ones don't as well, because of serial ordering.
    require(!_exists(startTokenId), "Token already minted");
    require(_data.length <= 30, "The word is too long");
    require(_data.length > 0, "The word length is zero");
    require(wordToId[word] == 0, "Word minted");

    _beforeTokenTransfers(address(0), to, startTokenId, quantity);

    AddressData memory addressData = _addressData[to];
    _addressData[to] = AddressData(
      addressData.balance + uint128(quantity)
    );
    _ownerships[startTokenId] = TokenOwnership(to, uint64(block.timestamp));

    uint256 updatedIndex = startTokenId;
    wordToId[word] = startTokenId;
    idToWord[startTokenId] = word;
    emit Transfer(address(0), to, updatedIndex);
    require(
    _checkOnERC721Received(address(0), to, updatedIndex, _data),
    "Transfer to non ERC721Receiver implementer"
    );
    updatedIndex++;
    currentIndex = updatedIndex;
    _afterTokenTransfers(address(0), to, startTokenId, quantity);
  }

  /**
   * @dev Transfers `tokenId` from `from` to `to`.
   *
   * Requirements:
   *
   * - `to` cannot be the zero address.
   * - `tokenId` token must be owned by `from`.
   *
   * Emits a {Transfer} event.
   */
  function _transfer(
    address from,
    address to,
    uint256 tokenId
  ) private {
    TokenOwnership memory prevOwnership = ownershipOf(tokenId);

    bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr ||
      getApproved(tokenId) == _msgSender() ||
      isApprovedForAll(prevOwnership.addr, _msgSender()));

    require(
      isApprovedOrOwner,
      "Transfer caller is not owner nor approved"
    );

    require(
      prevOwnership.addr == from,
      "Transfer from incorrect owner"
    );
    require(to != address(0), "Transfer to the zero address");

    _beforeTokenTransfers(from, to, tokenId, 1);

    // Clear approvals from the previous owner
    _approve(address(0), tokenId, prevOwnership.addr);

    _addressData[from].balance -= 1;
    _addressData[to].balance += 1;
    _ownerships[tokenId] = TokenOwnership(to, uint64(block.timestamp));

    // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it.
    // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
    uint256 nextTokenId = tokenId + 1;
    if (_ownerships[nextTokenId].addr == address(0)) {
      if (_exists(nextTokenId)) {
        _ownerships[nextTokenId] = TokenOwnership(
          prevOwnership.addr,
          prevOwnership.startTimestamp
        );
      }
    }

    emit Transfer(from, to, tokenId);
    _afterTokenTransfers(from, to, tokenId, 1);
  }

  /**
   * @dev Approve `to` to operate on `tokenId`
   *
   * Emits a {Approval} event.
   */
  function _approve(
    address to,
    uint256 tokenId,
    address owner
  ) private {
    _tokenApprovals[tokenId] = to;
    emit Approval(owner, to, tokenId);
  }

  uint256 public nextOwnerToExplicitlySet = 0;

  /**
   * @dev Explicitly set `owners` to eliminate loops in future calls of ownerOf().
   */
  function _setOwnersExplicit(uint256 quantity) internal {
    uint256 oldNextOwnerToSet = nextOwnerToExplicitlySet;
    require(quantity > 0, "quantity must be nonzero");
    uint256 endIndex = oldNextOwnerToSet + quantity - 1;
    // We know if the last one in the group exists, all in the group exist, due to serial ordering.
    require(_exists(endIndex), "not enough minted yet for this cleanup");
    for (uint256 i = oldNextOwnerToSet; i <= endIndex; i++) {
      if (_ownerships[i].addr == address(0)) {
        TokenOwnership memory ownership = ownershipOf(i);
        _ownerships[i] = TokenOwnership(
          ownership.addr,
          ownership.startTimestamp
        );
      }
    }
    nextOwnerToExplicitlySet = endIndex + 1;
  }

  /**
   * @dev Internal function to invoke {IERC721Receiver-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 bool whether the call correctly returned the expected magic value
   */
  function _checkOnERC721Received(
    address from,
    address to,
    uint256 tokenId,
    bytes memory _data
  ) private returns (bool) {
    if (to.isContract()) {
      try
        IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data)
      returns (bytes4 retval) {
        return retval == IERC721Receiver(to).onERC721Received.selector;
      } catch (bytes memory reason) {
        if (reason.length == 0) {
          revert("Transfer to non ERC721Receiver implementer");
        } else {
          assembly {
            revert(add(32, reason), mload(reason))
          }
        }
      }
    } else {
      return true;
    }
  }

  /**
   * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting.
   *
   * startTokenId - the first token id to be transferred
   * quantity - the amount to be transferred
   *
   * Calling conditions:
   *
   * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
   * transferred to `to`.
   * - When `from` is zero, `tokenId` will be minted for `to`.
   */
  function _beforeTokenTransfers(
    address from,
    address to,
    uint256 startTokenId,
    uint256 quantity
  ) internal virtual {}

  /**
   * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes
   * minting.
   *
   * startTokenId - the first token id to be transferred
   * quantity - the amount to be transferred
   *
   * Calling conditions:
   *
   * - when `from` and `to` are both non-zero.
   * - `from` and `to` are never both zero.
   */
  function _afterTokenTransfers(
    address from,
    address to,
    uint256 startTokenId,
    uint256 quantity
  ) internal virtual {}

  function testWord(string memory str) public pure returns (bool){
      bytes memory b = bytes(str);
      if(b.length > 30) return false;

      for(uint i; i < b.length; i++){
          bytes1 char = b[i];
          if(
              !(char >= 0x30 && char <= 0x39) && //9-0
              !(char >= 0x41 && char <= 0x5A) && //A-Z
              !(char >= 0x61 && char <= 0x7A) && //a-z
              !(char == 0x2D) //"-"
          )
              return false;
      }

      return true;
  }

  function makeFirstWordCap(string memory word) public pure returns (string memory){
      bytes memory bStr = bytes(word);
      bytes memory bStrConverted = new bytes(bStr.length);
      if(bStr.length < 1) return "";

      for (uint i = 0; i < bStr.length; i++) {
        if ((bStr[i] >= 0x61) && (bStr[i] <= 0x7A) && i == 0) {
          bStrConverted[i] = bytes1(uint8(bStr[i]) - 32);
        } else {
          bStrConverted[i] = bStr[i];
        }
      }
      return string(bStrConverted);
  }

  function toString(uint256 value) internal pure returns (string memory) {
  // Inspired by OraclizeAPI's implementation - MIT license
  // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

      if (value == 0) {
          return "0";
      }
      uint256 temp = value;
      uint256 digits;
      while (temp != 0) {
          digits++;
          temp /= 10;
      }
      bytes memory buffer = new bytes(digits);
      while (value != 0) {
          digits -= 1;
          buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
          value /= 10;
      }
      return string(buffer);
  }
}

/// [MIT License]
/// @title Base64
/// @notice Provides a function for encoding some bytes in base64
/// @author Brecht Devos <[email protected]>
library Base64 {
    bytes internal constant TABLE = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";

    /// @notice Encodes some bytes to the base64 representation
    function encode(bytes memory data) internal pure returns (string memory) {
        uint256 len = data.length;
        if (len == 0) return "";

        // multiply by 4/3 rounded up
        uint256 encodedLen = 4 * ((len + 2) / 3);

        // Add some extra buffer at the end
        bytes memory result = new bytes(encodedLen + 32);

        bytes memory table = TABLE;

        assembly {
            let tablePtr := add(table, 1)
            let resultPtr := add(result, 32)

            for {
                let i := 0
            } lt(i, len) {

            } {
                i := add(i, 3)
                let input := and(mload(add(data, i)), 0xffffff)

                let out := mload(add(tablePtr, and(shr(18, input), 0x3F)))
                out := shl(8, out)
                out := add(out, and(mload(add(tablePtr, and(shr(12, input), 0x3F))), 0xFF))
                out := shl(8, out)
                out := add(out, and(mload(add(tablePtr, and(shr(6, input), 0x3F))), 0xFF))
                out := shl(8, out)
                out := add(out, and(mload(add(tablePtr, and(input, 0x3F))), 0xFF))
                out := shl(224, out)

                mstore(resultPtr, out)

                resultPtr := add(resultPtr, 4)
            }

            switch mod(len, 3)
            case 1 {
                mstore(sub(resultPtr, 2), shl(240, 0x3d3d))
            }
            case 2 {
                mstore(sub(resultPtr, 1), shl(248, 0x3d))
            }

            mstore(result, encodedLen)
        }

        return string(result);
    }
}

File 2 of 14 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

import "./math/Math.sol";

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _SYMBOLS = "0123456789abcdef";
    uint8 private constant _ADDRESS_LENGTH = 20;

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        unchecked {
            uint256 length = Math.log10(value) + 1;
            string memory buffer = new string(length);
            uint256 ptr;
            /// @solidity memory-safe-assembly
            assembly {
                ptr := add(buffer, add(32, length))
            }
            while (true) {
                ptr--;
                /// @solidity memory-safe-assembly
                assembly {
                    mstore8(ptr, byte(mod(value, 10), _SYMBOLS))
                }
                value /= 10;
                if (value == 0) break;
            }
            return buffer;
        }
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        unchecked {
            return toHexString(value, Math.log256(value) + 1);
        }
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = _SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
    }
}

File 3 of 14 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

File 4 of 14 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
     *
     * _Available since v4.8._
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        if (success) {
            if (returndata.length == 0) {
                // only check isContract if the call was successful and the return data is empty
                // otherwise we already know that it was a contract
                require(isContract(target), "Address: call to non-contract");
            }
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason or using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    function _revert(bytes memory returndata, string memory errorMessage) private pure {
        // Look for revert reason and bubble it up if present
        if (returndata.length > 0) {
            // The easiest way to bubble the revert reason is using memory via assembly
            /// @solidity memory-safe-assembly
            assembly {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert(errorMessage);
        }
    }
}

File 5 of 14 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {
    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns a token ID owned by `owner` at a given `index` of its token list.
     * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256);

    /**
     * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
     * Use along with {totalSupply} to enumerate all tokens.
     */
    function tokenByIndex(uint256 index) external view returns (uint256);
}

File 6 of 14 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {
    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) external view returns (string memory);
}

File 7 of 14 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

/**
 * @title ERC721 token receiver interface
 * @dev Interface for any contract that wants to support safeTransfers
 * from ERC721 asset contracts.
 */
interface IERC721Receiver {
    /**
     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
     * by `operator` from `from`, this function is called.
     *
     * It must return its Solidity selector to confirm the token transfer.
     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
     *
     * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

File 8 of 14 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/Strings.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension, but not including the Enumerable extension, which is available separately as
 * {ERC721Enumerable}.
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to owner address
    mapping(uint256 => address) private _owners;

    // Mapping owner address to token count
    mapping(address => uint256) private _balances;

    // Mapping from token ID to approved address
    mapping(uint256 => address) private _tokenApprovals;

    // Mapping from owner to operator approvals
    mapping(address => mapping(address => bool)) private _operatorApprovals;

    /**
     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
        return
            interfaceId == type(IERC721).interfaceId ||
            interfaceId == type(IERC721Metadata).interfaceId ||
            super.supportsInterface(interfaceId);
    }

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        require(owner != address(0), "ERC721: address zero is not a valid owner");
        return _balances[owner];
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _ownerOf(tokenId);
        require(owner != address(0), "ERC721: invalid token ID");
        return owner;
    }

    /**
     * @dev See {IERC721Metadata-name}.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev See {IERC721Metadata-symbol}.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        _requireMinted(tokenId);

        string memory baseURI = _baseURI();
        return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : "";
    }

    /**
     * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
     * token will be the concatenation of the `baseURI` and the `tokenId`. Empty
     * by default, can be overridden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public virtual override {
        address owner = ERC721.ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

        require(
            _msgSender() == owner || isApprovedForAll(owner, _msgSender()),
            "ERC721: approve caller is not token owner or approved for all"
        );

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        _requireMinted(tokenId);

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _setApprovalForAll(_msgSender(), operator, approved);
    }

    /**
     * @dev See {IERC721-isApprovedForAll}.
     */
    function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
        return _operatorApprovals[owner][operator];
    }

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner or approved");

        _transfer(from, to, tokenId);
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        safeTransferFrom(from, to, tokenId, "");
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory data
    ) public virtual override {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner or approved");
        _safeTransfer(from, to, tokenId, data);
    }

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * `data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(
        address from,
        address to,
        uint256 tokenId,
        bytes memory data
    ) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer");
    }

    /**
     * @dev Returns the owner of the `tokenId`. Does NOT revert if token doesn't exist
     */
    function _ownerOf(uint256 tokenId) internal view virtual returns (address) {
        return _owners[tokenId];
    }

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted (`_mint`),
     * and stop existing when they are burned (`_burn`).
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return _ownerOf(tokenId) != address(0);
    }

    /**
     * @dev Returns whether `spender` is allowed to manage `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender);
    }

    /**
     * @dev Safely mints `tokenId` and transfers it to `to`.
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(address to, uint256 tokenId) internal virtual {
        _safeMint(to, tokenId, "");
    }

    /**
     * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
     */
    function _safeMint(
        address to,
        uint256 tokenId,
        bytes memory data
    ) internal virtual {
        _mint(to, tokenId);
        require(
            _checkOnERC721Received(address(0), to, tokenId, data),
            "ERC721: transfer to non ERC721Receiver implementer"
        );
    }

    /**
     * @dev Mints `tokenId` and transfers it to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - `to` cannot be the zero address.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 tokenId) internal virtual {
        require(to != address(0), "ERC721: mint to the zero address");
        require(!_exists(tokenId), "ERC721: token already minted");

        _beforeTokenTransfer(address(0), to, tokenId, 1);

        // Check that tokenId was not minted by `_beforeTokenTransfer` hook
        require(!_exists(tokenId), "ERC721: token already minted");

        unchecked {
            // Will not overflow unless all 2**256 token ids are minted to the same owner.
            // Given that tokens are minted one by one, it is impossible in practice that
            // this ever happens. Might change if we allow batch minting.
            // The ERC fails to describe this case.
            _balances[to] += 1;
        }

        _owners[tokenId] = to;

        emit Transfer(address(0), to, tokenId);

        _afterTokenTransfer(address(0), to, tokenId, 1);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     * This is an internal function that does not check if the sender is authorized to operate on the token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual {
        address owner = ERC721.ownerOf(tokenId);

        _beforeTokenTransfer(owner, address(0), tokenId, 1);

        // Update ownership in case tokenId was transferred by `_beforeTokenTransfer` hook
        owner = ERC721.ownerOf(tokenId);

        // Clear approvals
        delete _tokenApprovals[tokenId];

        unchecked {
            // Cannot overflow, as that would require more tokens to be burned/transferred
            // out than the owner initially received through minting and transferring in.
            _balances[owner] -= 1;
        }
        delete _owners[tokenId];

        emit Transfer(owner, address(0), tokenId);

        _afterTokenTransfer(owner, address(0), tokenId, 1);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId, 1);

        // Check that tokenId was not transferred by `_beforeTokenTransfer` hook
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner");

        // Clear approvals from the previous owner
        delete _tokenApprovals[tokenId];

        unchecked {
            // `_balances[from]` cannot overflow for the same reason as described in `_burn`:
            // `from`'s balance is the number of token held, which is at least one before the current
            // transfer.
            // `_balances[to]` could overflow in the conditions described in `_mint`. That would require
            // all 2**256 token ids to be minted, which in practice is impossible.
            _balances[from] -= 1;
            _balances[to] += 1;
        }
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId, 1);
    }

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits an {Approval} event.
     */
    function _approve(address to, uint256 tokenId) internal virtual {
        _tokenApprovals[tokenId] = to;
        emit Approval(ERC721.ownerOf(tokenId), to, tokenId);
    }

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits an {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC721: approve to caller");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @dev Reverts if the `tokenId` has not been minted yet.
     */
    function _requireMinted(uint256 tokenId) internal view virtual {
        require(_exists(tokenId), "ERC721: invalid token ID");
    }

    /**
     * @dev Internal function to invoke {IERC721Receiver-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 bool whether the call correctly returned the expected magic value
     */
    function _checkOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory data
    ) private returns (bool) {
        if (to.isContract()) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) {
                return retval == IERC721Receiver.onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    /// @solidity memory-safe-assembly
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting and burning. If {ERC721Consecutive} is
     * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s tokens will be transferred to `to`.
     * - When `from` is zero, the tokens will be minted for `to`.
     * - When `to` is zero, ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     * - `batchSize` is non-zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256, /* firstTokenId */
        uint256 batchSize
    ) internal virtual {
        if (batchSize > 1) {
            if (from != address(0)) {
                _balances[from] -= batchSize;
            }
            if (to != address(0)) {
                _balances[to] += batchSize;
            }
        }
    }

    /**
     * @dev Hook that is called after any token transfer. This includes minting and burning. If {ERC721Consecutive} is
     * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s tokens were transferred to `to`.
     * - When `from` is zero, the tokens were minted for `to`.
     * - When `to` is zero, ``from``'s tokens were burned.
     * - `from` and `to` are never both zero.
     * - `batchSize` is non-zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 firstTokenId,
        uint256 batchSize
    ) internal virtual {}
}

File 9 of 14 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        _nonReentrantBefore();
        _;
        _nonReentrantAfter();
    }

    function _nonReentrantBefore() private {
        // On the first call to nonReentrant, _status will be _NOT_ENTERED
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;
    }

    function _nonReentrantAfter() private {
        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

File 10 of 14 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

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

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 11 of 14 : Math.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol)

pragma solidity ^0.8.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    enum Rounding {
        Down, // Toward negative infinity
        Up, // Toward infinity
        Zero // Toward zero
    }

    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow.
        return (a & b) + (a ^ b) / 2;
    }

    /**
     * @dev Returns the ceiling of the division of two numbers.
     *
     * This differs from standard division with `/` in that it rounds up instead
     * of rounding down.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b - 1) / b can overflow on addition, so we distribute.
        return a == 0 ? 0 : (a - 1) / b + 1;
    }

    /**
     * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0
     * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv)
     * with further edits by Uniswap Labs also under MIT license.
     */
    function mulDiv(
        uint256 x,
        uint256 y,
        uint256 denominator
    ) internal pure returns (uint256 result) {
        unchecked {
            // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use
            // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256
            // variables such that product = prod1 * 2^256 + prod0.
            uint256 prod0; // Least significant 256 bits of the product
            uint256 prod1; // Most significant 256 bits of the product
            assembly {
                let mm := mulmod(x, y, not(0))
                prod0 := mul(x, y)
                prod1 := sub(sub(mm, prod0), lt(mm, prod0))
            }

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            require(denominator > prod1);

            ///////////////////////////////////////////////
            // 512 by 256 division.
            ///////////////////////////////////////////////

            // Make division exact by subtracting the remainder from [prod1 prod0].
            uint256 remainder;
            assembly {
                // Compute remainder using mulmod.
                remainder := mulmod(x, y, denominator)

                // Subtract 256 bit number from 512 bit number.
                prod1 := sub(prod1, gt(remainder, prod0))
                prod0 := sub(prod0, remainder)
            }

            // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1.
            // See https://cs.stackexchange.com/q/138556/92363.

            // Does not overflow because the denominator cannot be zero at this stage in the function.
            uint256 twos = denominator & (~denominator + 1);
            assembly {
                // Divide denominator by twos.
                denominator := div(denominator, twos)

                // Divide [prod1 prod0] by twos.
                prod0 := div(prod0, twos)

                // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.
                twos := add(div(sub(0, twos), twos), 1)
            }

            // Shift in bits from prod1 into prod0.
            prod0 |= prod1 * twos;

            // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such
            // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for
            // four bits. That is, denominator * inv = 1 mod 2^4.
            uint256 inverse = (3 * denominator) ^ 2;

            // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works
            // in modular arithmetic, doubling the correct bits in each step.
            inverse *= 2 - denominator * inverse; // inverse mod 2^8
            inverse *= 2 - denominator * inverse; // inverse mod 2^16
            inverse *= 2 - denominator * inverse; // inverse mod 2^32
            inverse *= 2 - denominator * inverse; // inverse mod 2^64
            inverse *= 2 - denominator * inverse; // inverse mod 2^128
            inverse *= 2 - denominator * inverse; // inverse mod 2^256

            // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.
            // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is
            // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1
            // is no longer required.
            result = prod0 * inverse;
            return result;
        }
    }

    /**
     * @notice Calculates x * y / denominator with full precision, following the selected rounding direction.
     */
    function mulDiv(
        uint256 x,
        uint256 y,
        uint256 denominator,
        Rounding rounding
    ) internal pure returns (uint256) {
        uint256 result = mulDiv(x, y, denominator);
        if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) {
            result += 1;
        }
        return result;
    }

    /**
     * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down.
     *
     * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11).
     */
    function sqrt(uint256 a) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }

        // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.
        //
        // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have
        // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.
        //
        // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`
        // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`
        // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`
        //
        // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.
        uint256 result = 1 << (log2(a) >> 1);

        // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,
        // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at
        // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision
        // into the expected uint128 result.
        unchecked {
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            return min(result, a / result);
        }
    }

    /**
     * @notice Calculates sqrt(a), following the selected rounding direction.
     */
    function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = sqrt(a);
            return result + (rounding == Rounding.Up && result * result < a ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 2, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 128;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 64;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 32;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 16;
            }
            if (value >> 8 > 0) {
                value >>= 8;
                result += 8;
            }
            if (value >> 4 > 0) {
                value >>= 4;
                result += 4;
            }
            if (value >> 2 > 0) {
                value >>= 2;
                result += 2;
            }
            if (value >> 1 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 2, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log2(value);
            return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 10, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >= 10**64) {
                value /= 10**64;
                result += 64;
            }
            if (value >= 10**32) {
                value /= 10**32;
                result += 32;
            }
            if (value >= 10**16) {
                value /= 10**16;
                result += 16;
            }
            if (value >= 10**8) {
                value /= 10**8;
                result += 8;
            }
            if (value >= 10**4) {
                value /= 10**4;
                result += 4;
            }
            if (value >= 10**2) {
                value /= 10**2;
                result += 2;
            }
            if (value >= 10**1) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log10(value);
            return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 256, rounded down, of a positive value.
     * Returns 0 if given 0.
     *
     * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.
     */
    function log256(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 16;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 8;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 4;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 2;
            }
            if (value >> 8 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log256(value);
            return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0);
        }
    }
}

File 12 of 14 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

import "../../utils/introspection/IERC165.sol";

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
     */
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
     */
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /**
     * @dev Returns the number of tokens in ``owner``'s account.
     */
    function balanceOf(address owner) external view returns (uint256 balance);

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) external view returns (address owner);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes calldata data
    ) external;

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721
     * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must
     * understand this adds an external call which potentially creates a reentrancy vulnerability.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) external;

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}
     */
    function isApprovedForAll(address owner, address operator) external view returns (bool);
}

File 13 of 14 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

File 14 of 14 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getCurrentPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getOwnershipData","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"}],"internalType":"struct Words.TokenOwnership","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPublicSaleStatus","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"idToWord","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"word","type":"string"}],"name":"makeFirstWordCap","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"string","name":"word","type":"string"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextOwnerToExplicitlySet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSaleStatus","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"setOwnersExplicit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"status","type":"bool"}],"name":"setPublicSaleStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"str","type":"string"}],"name":"testWord","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawMoney","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"","type":"string"}],"name":"wordToId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

608060405260006002819055600c805460ff19169055600e553480156200002557600080fd5b5062000031336200009d565b600180556040805180820190915260098082526854686520576f72647360b81b60209092019182526200006791600391620000ed565b5060408051808201909152600580825264574f52445360d81b60209092019182526200009691600491620000ed565b50620001d0565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b828054620000fb9062000193565b90600052602060002090601f0160209004810192826200011f57600085556200016a565b82601f106200013a57805160ff19168380011785556200016a565b828001600101855582156200016a579182015b828111156200016a5782518255916020019190600101906200014d565b50620001789291506200017c565b5090565b5b808211156200017857600081556001016200017d565b600181811c90821680620001a857607f821691505b60208210811415620001ca57634e487b7160e01b600052602260045260246000fd5b50919050565b612f1880620001e06000396000f3fe6080604052600436106101ee5760003560e01c80638da5cb5b1161010d578063c6b5d20b116100a0578063e985e9c51161006f578063e985e9c514610588578063eb91d37e146105d1578063f2fde38b146105e6578063fbbb16f614610606578063fd4a6d1a1461062657600080fd5b8063c6b5d20b1461051f578063c87b56dd1461053f578063d7224ba01461055f578063d85d3d271461057557600080fd5b8063ac446002116100dc578063ac446002146104b0578063b423fe67146104c5578063b6c693e5146104e5578063b88d4fde146104ff57600080fd5b80638da5cb5b146104105780639231ab2a1461042e57806395d89b411461047b578063a22cb4651461049057600080fd5b806342842e0e1161018557806355f804b31161015457806355f804b31461039b5780636352211e146103bb57806370a08231146103db578063715018a6146103fb57600080fd5b806342842e0e14610323578063499e8eec146103435780634d83d55a1461035b5780634f6ccce71461037b57600080fd5b806318160ddd116101c157806318160ddd146102a457806323b872dd146102c35780632d20fb60146102e35780632f745c591461030357600080fd5b806301ffc9a7146101f357806306fdde0314610228578063081812fc1461024a578063095ea7b314610282575b600080fd5b3480156101ff57600080fd5b5061021361020e366004612726565b61065e565b60405190151581526020015b60405180910390f35b34801561023457600080fd5b5061023d6106cb565b60405161021f9190612af1565b34801561025657600080fd5b5061026a610265366004612819565b61075d565b6040516001600160a01b03909116815260200161021f565b34801561028e57600080fd5b506102a261029d3660046126e1565b6107e3565b005b3480156102b057600080fd5b506002545b60405190815260200161021f565b3480156102cf57600080fd5b506102a26102de366004612600565b6108e3565b3480156102ef57600080fd5b506102a26102fe366004612819565b6108ee565b34801561030f57600080fd5b506102b561031e3660046126e1565b610913565b34801561032f57600080fd5b506102a261033e366004612600565b610a77565b34801561034f57600080fd5b50600c5460ff16610213565b34801561036757600080fd5b5061023d610376366004612819565b610a92565b34801561038757600080fd5b506102b5610396366004612819565b610b2c565b3480156103a757600080fd5b506102a26103b6366004612760565b610b89565b3480156103c757600080fd5b5061026a6103d6366004612819565b610b9d565b3480156103e757600080fd5b506102b56103f63660046125ab565b610baf565b34801561040757600080fd5b506102a2610c37565b34801561041c57600080fd5b506000546001600160a01b031661026a565b34801561043a57600080fd5b5061044e610449366004612819565b610c4b565b6040805182516001600160a01b031681526020928301516001600160401b0316928101929092520161021f565b34801561048757600080fd5b5061023d610c68565b34801561049c57600080fd5b506102a26104ab3660046126b7565b610c77565b3480156104bc57600080fd5b506102a2610d30565b3480156104d157600080fd5b506102a26104e036600461270b565b610dd5565b3480156104f157600080fd5b50600c546102139060ff1681565b34801561050b57600080fd5b506102a261051a36600461263c565b610df0565b34801561052b57600080fd5b5061021361053a3660046127d1565b610e29565b34801561054b57600080fd5b5061023d61055a366004612819565b610f47565b34801561056b57600080fd5b506102b5600e5481565b6102a26105833660046127d1565b611246565b34801561059457600080fd5b506102136105a33660046125cd565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b3480156105dd57600080fd5b506102b5611334565b3480156105f257600080fd5b506102a26106013660046125ab565b611391565b34801561061257600080fd5b5061023d6106213660046127d1565b611407565b34801561063257600080fd5b506102b56106413660046127d1565b8051602081830181018051600b8252928201919093012091525481565b60006001600160e01b031982166380ac58cd60e01b148061068f57506001600160e01b03198216635b5e139f60e01b145b806106aa57506001600160e01b0319821663780e9d6360e01b145b806106c557506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600380546106da90612c69565b80601f016020809104026020016040519081016040528092919081815260200182805461070690612c69565b80156107535780601f1061072857610100808354040283529160200191610753565b820191906000526020600020905b81548152906001019060200180831161073657829003601f168201915b5050505050905090565b600061076a826002541190565b6107c75760405162461bcd60e51b8152602060048201526024808201527f417070726f76656420717565727920666f72206e6f6e6578697374656e74207460448201526337b5b2b760e11b60648201526084015b60405180910390fd5b506000908152600760205260409020546001600160a01b031690565b60006107ee82610b9d565b9050806001600160a01b0316836001600160a01b031614156108525760405162461bcd60e51b815260206004820152601960248201527f417070726f76616c20746f2063757272656e74206f776e65720000000000000060448201526064016107be565b336001600160a01b038216148061086e575061086e81336105a3565b6108d35760405162461bcd60e51b815260206004820152603060248201527f417070726f76652063616c6c6572206973206e6f74206f776e6572206e6f722060448201526f185c1c1c9bdd995908199bdc88185b1b60821b60648201526084016107be565b6108de8383836115a2565b505050565b6108de8383836115fe565b6108f661195d565b6108fe6119b7565b61090781611a11565b61091060018055565b50565b600061091e83610baf565b821061096c5760405162461bcd60e51b815260206004820152601960248201527f4f776e657220696e646578206f7574206f6620626f756e64730000000000000060448201526064016107be565b600061097760025490565b905060008060005b83811015610a20576000818152600560209081526040918290208251808401909352546001600160a01b038116808452600160a01b9091046001600160401b031691830191909152156109d157805192505b876001600160a01b0316836001600160a01b03161415610a0d57868414156109ff575093506106c592505050565b83610a0981612ca4565b9450505b5080610a1881612ca4565b91505061097f565b5060405162461bcd60e51b815260206004820152602560248201527f556e61626c6520746f2067657420746f6b656e206f66206f776e6572206279206044820152640d2dcc8caf60db1b60648201526084016107be565b6108de83838360405180602001604052806000815250610df0565b600a6020526000908152604090208054610aab90612c69565b80601f0160208091040260200160405190810160405280929190818152602001828054610ad790612c69565b8015610b245780601f10610af957610100808354040283529160200191610b24565b820191906000526020600020905b815481529060010190602001808311610b0757829003601f168201915b505050505081565b6000610b3760025490565b8210610b855760405162461bcd60e51b815260206004820152601a60248201527f476c6f62616c20696e646578206f7574206f6620626f756e647300000000000060448201526064016107be565b5090565b610b9161195d565b6108de600d83836123da565b6000610ba882611b9a565b5192915050565b60006001600160a01b038216610c125760405162461bcd60e51b815260206004820152602260248201527f42616c616e636520717565727920666f7220746865207a65726f206164647265604482015261737360f01b60648201526084016107be565b506001600160a01b03166000908152600660205260409020546001600160801b031690565b610c3f61195d565b610c496000611cd2565b565b60408051808201909152600080825260208201526106c582611b9a565b6060600480546106da90612c69565b6001600160a01b038216331415610cc45760405162461bcd60e51b815260206004820152601160248201527020b8383937bb32903a379031b0b63632b960791b60448201526064016107be565b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610d3861195d565b610d406119b7565b604051600090339047908381818185875af1925050503d8060008114610d82576040519150601f19603f3d011682016040523d82523d6000602084013e610d87565b606091505b5050905080610dcb5760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b60448201526064016107be565b50610c4960018055565b610ddd61195d565b600c805460ff1916911515919091179055565b610dfb8484846115fe565b610e0784848484611d22565b610e235760405162461bcd60e51b81526004016107be90612b04565b50505050565b600080829050601e81511115610e425750600092915050565b60005b8151811015610f3d576000828281518110610e6257610e62612cff565b01602001516001600160f81b0319169050600360fc1b8110801590610e955750603960f81b6001600160f81b0319821611155b158015610ecb5750604160f81b6001600160f81b0319821610801590610ec95750602d60f91b6001600160f81b0319821611155b155b8015610f005750606160f81b6001600160f81b0319821610801590610efe5750603d60f91b6001600160f81b0319821611155b155b8015610f1a5750602d60f81b6001600160f81b0319821614155b15610f2a57506000949350505050565b5080610f3581612ca4565b915050610e45565b5060019392505050565b6060610f54826002541190565b610fa05760405162461bcd60e51b815260206004820152601f60248201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e0060448201526064016107be565b6000828152600a602052604081208054610fb990612c69565b91506014905060058211610fcf57506064611003565b600a8211610fdf57506046611003565b600f8211610fef57506028611003565b60148211610fff5750601e611003565b5060145b61100b61245a565b6040518060c00160405280609a8152602001612d42609a9139815261102f82611e30565b816001602002018190525060405180610100016040528060c78152602001612ddc60c79139604082015284611080576040805180820190915260018152605f60f81b60208201526060820152611130565b6000858152600a60205260409020805461109990612c69565b80601f01602080910402602001604051908101604052809291908181526020018280546110c590612c69565b80156111125780601f106110e757610100808354040283529160200191611112565b820191906000526020600020905b8154815290600101906020018083116110f557829003601f168201915b50505050508160036005811061112a5761112a612cff565b60200201525b604080518082018252601781527f3c2f746578743e3c2f7376673e3c2f673e3c2f7376673e0000000000000000006020808301919091526080840182905283518482015185850151606087015195516000966111959694959394929390929101612896565b60408051601f1981840301815260208301909152600082529150866111eb576111e46111c083611f2d565b6040516020016111d09190612a54565b604051602081830303815290604052611f2d565b905061121a565b6000878152600a602052604090206112179061120684611f2d565b6040516020016111d0929190612901565b90505b8060405160200161122b9190612a0f565b60408051601f19818403018152919052979650505050505050565b600c5460ff166112985760405162461bcd60e51b815260206004820152601f60248201527f5075626c69632073616c6520686173206e6f742073746172746564207965740060448201526064016107be565b6112a181610e29565b6112dc5760405162461bcd60e51b815260206004820152600c60248201526b125b9d985b1a59081ddbdc9960a21b60448201526064016107be565b6112e4611334565b3410156113285760405162461bcd60e51b815260206004820152601260248201527124b739bab33334b1b4b2b73a1032ba3432b960711b60448201526064016107be565b61091033600183612092565b60006101f461134260025490565b111561138b5760326101f461135660025490565b6113609190612bec565b61136b906032612b79565b6113759190612b91565b6113869066038d7ea4c68000612ba5565b905090565b50600090565b61139961195d565b6001600160a01b0381166113fe5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107be565b61091081611cd2565b60606000829050600081516001600160401b0381111561142957611429612d15565b6040519080825280601f01601f191660200182016040528015611453576020820181803683370190505b50905060018251101561147757505060408051602081019091526000815292915050565b60005b825181101561159a57606160f81b83828151811061149a5761149a612cff565b01602001516001600160f81b031916108015906114db5750607a60f81b8382815181106114c9576114c9612cff565b01602001516001600160f81b03191611155b80156114e5575080155b156115415760208382815181106114fe576114fe612cff565b0160200151611510919060f81c612c03565b60f81b82828151811061152557611525612cff565b60200101906001600160f81b031916908160001a905350611588565b82818151811061155357611553612cff565b602001015160f81c60f81b82828151811061157057611570612cff565b60200101906001600160f81b031916908160001a9053505b8061159281612ca4565b91505061147a565b509392505050565b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061160982611b9a565b80519091506000906001600160a01b0316336001600160a01b031614806116405750336116358461075d565b6001600160a01b0316145b806116525750815161165290336105a3565b9050806116b35760405162461bcd60e51b815260206004820152602960248201527f5472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7260448201526808185c1c1c9bdd995960ba1b60648201526084016107be565b846001600160a01b031682600001516001600160a01b0316146117185760405162461bcd60e51b815260206004820152601d60248201527f5472616e736665722066726f6d20696e636f7272656374206f776e657200000060448201526064016107be565b6001600160a01b03841661176e5760405162461bcd60e51b815260206004820152601c60248201527f5472616e7366657220746f20746865207a65726f20616464726573730000000060448201526064016107be565b61177e60008484600001516115a2565b6001600160a01b03851660009081526006602052604081208054600192906117b09084906001600160801b0316612bc4565b82546101009290920a6001600160801b038181021990931691831602179091556001600160a01b038616600090815260066020526040812080546001945090926117fc91859116612b4e565b82546001600160801b039182166101009390930a9283029190920219909116179055506040805180820182526001600160a01b0380871682526001600160401b03428116602080850191825260008981526005909152948520935184549151909216600160a01b026001600160e01b03199091169190921617179055611883846001612b79565b6000818152600560205260409020549091506001600160a01b0316611914576118ad816002541190565b156119145760408051808201825284516001600160a01b0390811682526020808701516001600160401b039081168285019081526000878152600590935294909120925183549451909116600160a01b026001600160e01b03199094169116179190911790555b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b6000546001600160a01b03163314610c495760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107be565b60026001541415611a0a5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016107be565b6002600155565b600e5481611a615760405162461bcd60e51b815260206004820152601860248201527f7175616e74697479206d757374206265206e6f6e7a65726f000000000000000060448201526064016107be565b60006001611a6f8484612b79565b611a799190612bec565b9050611a86816002541190565b611ae15760405162461bcd60e51b815260206004820152602660248201527f6e6f7420656e6f756768206d696e7465642079657420666f722074686973206360448201526506c65616e75760d41b60648201526084016107be565b815b818111611b86576000818152600560205260409020546001600160a01b0316611b74576000611b1182611b9a565b60408051808201825282516001600160a01b0390811682526020938401516001600160401b039081168584019081526000888152600590965293909420915182549351909416600160a01b026001600160e01b0319909316931692909217179055505b80611b7e81612ca4565b915050611ae3565b50611b92816001612b79565b600e55505050565b6040805180820190915260008082526020820152611bb9826002541190565b611c0f5760405162461bcd60e51b815260206004820152602160248201527f4f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656044820152603760f91b60648201526084016107be565b6000825b818110611c7a576000818152600560209081526040918290208251808401909352546001600160a01b038116808452600160a01b9091046001600160401b03169183019190915215611c6757949350505050565b5080611c7281612c52565b915050611c13565b5060405162461bcd60e51b815260206004820152602660248201527f556e61626c6520746f2064657465726d696e6520746865206f776e6572206f66604482015265103a37b5b2b760d11b60648201526084016107be565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006001600160a01b0384163b15611e2457604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611d66903390899088908890600401612abe565b602060405180830381600087803b158015611d8057600080fd5b505af1925050508015611db0575060408051601f3d908101601f19168201909252611dad91810190612743565b60015b611e0a573d808015611dde576040519150601f19603f3d011682016040523d82523d6000602084013e611de3565b606091505b508051611e025760405162461bcd60e51b81526004016107be90612b04565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611e28565b5060015b949350505050565b606081611e545750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611e7e5780611e6881612ca4565b9150611e779050600a83612b91565b9150611e58565b6000816001600160401b03811115611e9857611e98612d15565b6040519080825280601f01601f191660200182016040528015611ec2576020820181803683370190505b5090505b8415611e2857611ed7600183612bec565b9150611ee4600a86612cbf565b611eef906030612b79565b60f81b818381518110611f0457611f04612cff565b60200101906001600160f81b031916908160001a905350611f26600a86612b91565b9450611ec6565b805160609080611f4d575050604080516020810190915260008152919050565b60006003611f5c836002612b79565b611f669190612b91565b611f71906004612ba5565b90506000611f80826020612b79565b6001600160401b03811115611f9757611f97612d15565b6040519080825280601f01601f191660200182016040528015611fc1576020820181803683370190505b5090506000604051806060016040528060408152602001612ea3604091399050600181016020830160005b8681101561204d576003818a01810151603f601282901c8116860151600c83901c8216870151600684901c831688015192909316870151600891821b60ff94851601821b92841692909201901b91160160e01b835260049092019101611fec565b506003860660018114612067576002811461207857612084565b613d3d60f01b600119830152612084565b603d60f81b6000198301525b505050918152949350505050565b60025481906001600160a01b0385166120ed5760405162461bcd60e51b815260206004820152601860248201527f4d696e7420746f20746865207a65726f2061646472657373000000000000000060448201526064016107be565b6120f8816002541190565b1561213c5760405162461bcd60e51b8152602060048201526014602482015273151bdad95b88185b1c9958591e481b5a5b9d195960621b60448201526064016107be565b601e835111156121855760405162461bcd60e51b815260206004820152601460248201527354686520776f726420697320746f6f206c6f6e6760601b60448201526064016107be565b60008351116121d65760405162461bcd60e51b815260206004820152601760248201527f54686520776f7264206c656e677468206973207a65726f00000000000000000060448201526064016107be565b600b826040516121e6919061287a565b9081526020016040518091039020546000146122325760405162461bcd60e51b815260206004820152600b60248201526a15dbdc99081b5a5b9d195960aa1b60448201526064016107be565b6001600160a01b0385166000908152600660209081526040918290208251808301845290546001600160801b03168152825191820190925281518190612279908890612b4e565b6001600160801b039081169091526001600160a01b0380891660008181526006602090815260408083209651875496166fffffffffffffffffffffffffffffffff1990961695909517909555835180850185529182526001600160401b03428116838701908152888352600590965290849020915182549551909116600160a01b026001600160e01b0319909516921691909117929092179091555182908190600b9061232790879061287a565b9081526040805160209281900383019020929092556000858152600a825291909120855161235792870190612481565b5060405181906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a461239d6000888388611d22565b6123b95760405162461bcd60e51b81526004016107be90612b04565b806123c381612ca4565b600281905591506123d19050565b50505050505050565b8280546123e690612c69565b90600052602060002090601f016020900481019282612408576000855561244e565b82601f106124215782800160ff1982351617855561244e565b8280016001018555821561244e579182015b8281111561244e578235825591602001919060010190612433565b50610b859291506124f5565b6040518060a001604052806005905b60608152602001906001900390816124695790505090565b82805461248d90612c69565b90600052602060002090601f0160209004810192826124af576000855561244e565b82601f106124c857805160ff191683800117855561244e565b8280016001018555821561244e579182015b8281111561244e5782518255916020019190600101906124da565b5b80821115610b8557600081556001016124f6565b60006001600160401b038084111561252457612524612d15565b604051601f8501601f19908116603f0116810190828211818310171561254c5761254c612d15565b8160405280935085815286868601111561256557600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461259657600080fd5b919050565b8035801515811461259657600080fd5b6000602082840312156125bd57600080fd5b6125c68261257f565b9392505050565b600080604083850312156125e057600080fd5b6125e98361257f565b91506125f76020840161257f565b90509250929050565b60008060006060848603121561261557600080fd5b61261e8461257f565b925061262c6020850161257f565b9150604084013590509250925092565b6000806000806080858703121561265257600080fd5b61265b8561257f565b93506126696020860161257f565b92506040850135915060608501356001600160401b0381111561268b57600080fd5b8501601f8101871361269c57600080fd5b6126ab8782356020840161250a565b91505092959194509250565b600080604083850312156126ca57600080fd5b6126d38361257f565b91506125f76020840161259b565b600080604083850312156126f457600080fd5b6126fd8361257f565b946020939093013593505050565b60006020828403121561271d57600080fd5b6125c68261259b565b60006020828403121561273857600080fd5b81356125c681612d2b565b60006020828403121561275557600080fd5b81516125c681612d2b565b6000806020838503121561277357600080fd5b82356001600160401b038082111561278a57600080fd5b818501915085601f83011261279e57600080fd5b8135818111156127ad57600080fd5b8660208285010111156127bf57600080fd5b60209290920196919550909350505050565b6000602082840312156127e357600080fd5b81356001600160401b038111156127f957600080fd5b8201601f8101841361280a57600080fd5b611e288482356020840161250a565b60006020828403121561282b57600080fd5b5035919050565b6000815180845261284a816020860160208601612c26565b601f01601f19169290920160200192915050565b60008151612870818560208601612c26565b9290920192915050565b6000825161288c818460208701612c26565b9190910192915050565b600086516128a8818460208b01612c26565b8651908301906128bc818360208b01612c26565b86519101906128cf818360208a01612c26565b85519101906128e2818360208901612c26565b84519101906128f5818360208801612c26565b01979650505050505050565b693d913730b6b2911d101160b11b81528254600090600a908290600181811c908083168061293057607f831692505b602080841082141561295057634e487b7160e01b86526022600452602486fd5b8180156129645760018114612979576129aa565b60ff1986168a890152848a01880196506129aa565b60008c81526020902060005b868110156129a05781548c82018b0152908501908301612985565b505087858b010196505b505050505050612a056129f76129f1837f222c22696d616765223a22646174613a696d6167652f7376672b786d6c3b62618152641cd94d8d0b60da1b602082015260250190565b8761285e565b61227d60f01b815260020190565b9695505050505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000815260008251612a4781601d850160208701612c26565b91909101601d0192915050565b7f7b226e616d65223a20225f222c22696d616765223a22646174613a696d61676581526f0bdcdd99cade1b5b0ed8985cd94d8d0b60821b602082015260008251612aa5816030850160208701612c26565b61227d60f01b6030939091019283015250603201919050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612a0590830184612832565b6020815260006125c66020830184612832565b6020808252602a908201527f5472616e7366657220746f206e6f6e204552433732315265636569766572206960408201526936b83632b6b2b73a32b960b11b606082015260800190565b60006001600160801b03808316818516808303821115612b7057612b70612cd3565b01949350505050565b60008219821115612b8c57612b8c612cd3565b500190565b600082612ba057612ba0612ce9565b500490565b6000816000190483118215151615612bbf57612bbf612cd3565b500290565b60006001600160801b0383811690831681811015612be457612be4612cd3565b039392505050565b600082821015612bfe57612bfe612cd3565b500390565b600060ff821660ff841680821015612c1d57612c1d612cd3565b90039392505050565b60005b83811015612c41578181015183820152602001612c29565b83811115610e235750506000910152565b600081612c6157612c61612cd3565b506000190190565b600181811c90821680612c7d57607f821691505b60208210811415612c9e57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612cb857612cb8612cd3565b5060010190565b600082612cce57612cce612ce9565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461091057600080fdfe3c73766720786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323030302f73766722207072657365727665417370656374526174696f3d22784d696e594d696e206d656574222076696577426f783d223020302033353020333530223e3c7374796c653e2e68656164207b66696c6c3a2077686974653b666f6e742d66616d696c793a20417269616c3b666f6e742d73697a653a2070783b666f6e742d7765696768743a20626f6c643b7d3c2f7374796c653e3c726563742077696474683d223130302522206865696768743d2231303025222066696c6c3d22626c61636b22202f3e3c673e3c7376672077696474683d22333530707822206865696768743d223335307078223e3c7465787420783d223530252220793d223530252220616c69676e6d656e742d626173656c696e653d226d6964646c652220746578742d616e63686f723d226d6964646c652220636c6173733d2268656164223e4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa26469706673582212203f9034258f90c8542e0935aa8a189c47bceeaf22e9dd93b031c6a00307dd4e8f64736f6c63430008070033

Deployed Bytecode

0x6080604052600436106101ee5760003560e01c80638da5cb5b1161010d578063c6b5d20b116100a0578063e985e9c51161006f578063e985e9c514610588578063eb91d37e146105d1578063f2fde38b146105e6578063fbbb16f614610606578063fd4a6d1a1461062657600080fd5b8063c6b5d20b1461051f578063c87b56dd1461053f578063d7224ba01461055f578063d85d3d271461057557600080fd5b8063ac446002116100dc578063ac446002146104b0578063b423fe67146104c5578063b6c693e5146104e5578063b88d4fde146104ff57600080fd5b80638da5cb5b146104105780639231ab2a1461042e57806395d89b411461047b578063a22cb4651461049057600080fd5b806342842e0e1161018557806355f804b31161015457806355f804b31461039b5780636352211e146103bb57806370a08231146103db578063715018a6146103fb57600080fd5b806342842e0e14610323578063499e8eec146103435780634d83d55a1461035b5780634f6ccce71461037b57600080fd5b806318160ddd116101c157806318160ddd146102a457806323b872dd146102c35780632d20fb60146102e35780632f745c591461030357600080fd5b806301ffc9a7146101f357806306fdde0314610228578063081812fc1461024a578063095ea7b314610282575b600080fd5b3480156101ff57600080fd5b5061021361020e366004612726565b61065e565b60405190151581526020015b60405180910390f35b34801561023457600080fd5b5061023d6106cb565b60405161021f9190612af1565b34801561025657600080fd5b5061026a610265366004612819565b61075d565b6040516001600160a01b03909116815260200161021f565b34801561028e57600080fd5b506102a261029d3660046126e1565b6107e3565b005b3480156102b057600080fd5b506002545b60405190815260200161021f565b3480156102cf57600080fd5b506102a26102de366004612600565b6108e3565b3480156102ef57600080fd5b506102a26102fe366004612819565b6108ee565b34801561030f57600080fd5b506102b561031e3660046126e1565b610913565b34801561032f57600080fd5b506102a261033e366004612600565b610a77565b34801561034f57600080fd5b50600c5460ff16610213565b34801561036757600080fd5b5061023d610376366004612819565b610a92565b34801561038757600080fd5b506102b5610396366004612819565b610b2c565b3480156103a757600080fd5b506102a26103b6366004612760565b610b89565b3480156103c757600080fd5b5061026a6103d6366004612819565b610b9d565b3480156103e757600080fd5b506102b56103f63660046125ab565b610baf565b34801561040757600080fd5b506102a2610c37565b34801561041c57600080fd5b506000546001600160a01b031661026a565b34801561043a57600080fd5b5061044e610449366004612819565b610c4b565b6040805182516001600160a01b031681526020928301516001600160401b0316928101929092520161021f565b34801561048757600080fd5b5061023d610c68565b34801561049c57600080fd5b506102a26104ab3660046126b7565b610c77565b3480156104bc57600080fd5b506102a2610d30565b3480156104d157600080fd5b506102a26104e036600461270b565b610dd5565b3480156104f157600080fd5b50600c546102139060ff1681565b34801561050b57600080fd5b506102a261051a36600461263c565b610df0565b34801561052b57600080fd5b5061021361053a3660046127d1565b610e29565b34801561054b57600080fd5b5061023d61055a366004612819565b610f47565b34801561056b57600080fd5b506102b5600e5481565b6102a26105833660046127d1565b611246565b34801561059457600080fd5b506102136105a33660046125cd565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b3480156105dd57600080fd5b506102b5611334565b3480156105f257600080fd5b506102a26106013660046125ab565b611391565b34801561061257600080fd5b5061023d6106213660046127d1565b611407565b34801561063257600080fd5b506102b56106413660046127d1565b8051602081830181018051600b8252928201919093012091525481565b60006001600160e01b031982166380ac58cd60e01b148061068f57506001600160e01b03198216635b5e139f60e01b145b806106aa57506001600160e01b0319821663780e9d6360e01b145b806106c557506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600380546106da90612c69565b80601f016020809104026020016040519081016040528092919081815260200182805461070690612c69565b80156107535780601f1061072857610100808354040283529160200191610753565b820191906000526020600020905b81548152906001019060200180831161073657829003601f168201915b5050505050905090565b600061076a826002541190565b6107c75760405162461bcd60e51b8152602060048201526024808201527f417070726f76656420717565727920666f72206e6f6e6578697374656e74207460448201526337b5b2b760e11b60648201526084015b60405180910390fd5b506000908152600760205260409020546001600160a01b031690565b60006107ee82610b9d565b9050806001600160a01b0316836001600160a01b031614156108525760405162461bcd60e51b815260206004820152601960248201527f417070726f76616c20746f2063757272656e74206f776e65720000000000000060448201526064016107be565b336001600160a01b038216148061086e575061086e81336105a3565b6108d35760405162461bcd60e51b815260206004820152603060248201527f417070726f76652063616c6c6572206973206e6f74206f776e6572206e6f722060448201526f185c1c1c9bdd995908199bdc88185b1b60821b60648201526084016107be565b6108de8383836115a2565b505050565b6108de8383836115fe565b6108f661195d565b6108fe6119b7565b61090781611a11565b61091060018055565b50565b600061091e83610baf565b821061096c5760405162461bcd60e51b815260206004820152601960248201527f4f776e657220696e646578206f7574206f6620626f756e64730000000000000060448201526064016107be565b600061097760025490565b905060008060005b83811015610a20576000818152600560209081526040918290208251808401909352546001600160a01b038116808452600160a01b9091046001600160401b031691830191909152156109d157805192505b876001600160a01b0316836001600160a01b03161415610a0d57868414156109ff575093506106c592505050565b83610a0981612ca4565b9450505b5080610a1881612ca4565b91505061097f565b5060405162461bcd60e51b815260206004820152602560248201527f556e61626c6520746f2067657420746f6b656e206f66206f776e6572206279206044820152640d2dcc8caf60db1b60648201526084016107be565b6108de83838360405180602001604052806000815250610df0565b600a6020526000908152604090208054610aab90612c69565b80601f0160208091040260200160405190810160405280929190818152602001828054610ad790612c69565b8015610b245780601f10610af957610100808354040283529160200191610b24565b820191906000526020600020905b815481529060010190602001808311610b0757829003601f168201915b505050505081565b6000610b3760025490565b8210610b855760405162461bcd60e51b815260206004820152601a60248201527f476c6f62616c20696e646578206f7574206f6620626f756e647300000000000060448201526064016107be565b5090565b610b9161195d565b6108de600d83836123da565b6000610ba882611b9a565b5192915050565b60006001600160a01b038216610c125760405162461bcd60e51b815260206004820152602260248201527f42616c616e636520717565727920666f7220746865207a65726f206164647265604482015261737360f01b60648201526084016107be565b506001600160a01b03166000908152600660205260409020546001600160801b031690565b610c3f61195d565b610c496000611cd2565b565b60408051808201909152600080825260208201526106c582611b9a565b6060600480546106da90612c69565b6001600160a01b038216331415610cc45760405162461bcd60e51b815260206004820152601160248201527020b8383937bb32903a379031b0b63632b960791b60448201526064016107be565b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610d3861195d565b610d406119b7565b604051600090339047908381818185875af1925050503d8060008114610d82576040519150601f19603f3d011682016040523d82523d6000602084013e610d87565b606091505b5050905080610dcb5760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b60448201526064016107be565b50610c4960018055565b610ddd61195d565b600c805460ff1916911515919091179055565b610dfb8484846115fe565b610e0784848484611d22565b610e235760405162461bcd60e51b81526004016107be90612b04565b50505050565b600080829050601e81511115610e425750600092915050565b60005b8151811015610f3d576000828281518110610e6257610e62612cff565b01602001516001600160f81b0319169050600360fc1b8110801590610e955750603960f81b6001600160f81b0319821611155b158015610ecb5750604160f81b6001600160f81b0319821610801590610ec95750602d60f91b6001600160f81b0319821611155b155b8015610f005750606160f81b6001600160f81b0319821610801590610efe5750603d60f91b6001600160f81b0319821611155b155b8015610f1a5750602d60f81b6001600160f81b0319821614155b15610f2a57506000949350505050565b5080610f3581612ca4565b915050610e45565b5060019392505050565b6060610f54826002541190565b610fa05760405162461bcd60e51b815260206004820152601f60248201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e0060448201526064016107be565b6000828152600a602052604081208054610fb990612c69565b91506014905060058211610fcf57506064611003565b600a8211610fdf57506046611003565b600f8211610fef57506028611003565b60148211610fff5750601e611003565b5060145b61100b61245a565b6040518060c00160405280609a8152602001612d42609a9139815261102f82611e30565b816001602002018190525060405180610100016040528060c78152602001612ddc60c79139604082015284611080576040805180820190915260018152605f60f81b60208201526060820152611130565b6000858152600a60205260409020805461109990612c69565b80601f01602080910402602001604051908101604052809291908181526020018280546110c590612c69565b80156111125780601f106110e757610100808354040283529160200191611112565b820191906000526020600020905b8154815290600101906020018083116110f557829003601f168201915b50505050508160036005811061112a5761112a612cff565b60200201525b604080518082018252601781527f3c2f746578743e3c2f7376673e3c2f673e3c2f7376673e0000000000000000006020808301919091526080840182905283518482015185850151606087015195516000966111959694959394929390929101612896565b60408051601f1981840301815260208301909152600082529150866111eb576111e46111c083611f2d565b6040516020016111d09190612a54565b604051602081830303815290604052611f2d565b905061121a565b6000878152600a602052604090206112179061120684611f2d565b6040516020016111d0929190612901565b90505b8060405160200161122b9190612a0f565b60408051601f19818403018152919052979650505050505050565b600c5460ff166112985760405162461bcd60e51b815260206004820152601f60248201527f5075626c69632073616c6520686173206e6f742073746172746564207965740060448201526064016107be565b6112a181610e29565b6112dc5760405162461bcd60e51b815260206004820152600c60248201526b125b9d985b1a59081ddbdc9960a21b60448201526064016107be565b6112e4611334565b3410156113285760405162461bcd60e51b815260206004820152601260248201527124b739bab33334b1b4b2b73a1032ba3432b960711b60448201526064016107be565b61091033600183612092565b60006101f461134260025490565b111561138b5760326101f461135660025490565b6113609190612bec565b61136b906032612b79565b6113759190612b91565b6113869066038d7ea4c68000612ba5565b905090565b50600090565b61139961195d565b6001600160a01b0381166113fe5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107be565b61091081611cd2565b60606000829050600081516001600160401b0381111561142957611429612d15565b6040519080825280601f01601f191660200182016040528015611453576020820181803683370190505b50905060018251101561147757505060408051602081019091526000815292915050565b60005b825181101561159a57606160f81b83828151811061149a5761149a612cff565b01602001516001600160f81b031916108015906114db5750607a60f81b8382815181106114c9576114c9612cff565b01602001516001600160f81b03191611155b80156114e5575080155b156115415760208382815181106114fe576114fe612cff565b0160200151611510919060f81c612c03565b60f81b82828151811061152557611525612cff565b60200101906001600160f81b031916908160001a905350611588565b82818151811061155357611553612cff565b602001015160f81c60f81b82828151811061157057611570612cff565b60200101906001600160f81b031916908160001a9053505b8061159281612ca4565b91505061147a565b509392505050565b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061160982611b9a565b80519091506000906001600160a01b0316336001600160a01b031614806116405750336116358461075d565b6001600160a01b0316145b806116525750815161165290336105a3565b9050806116b35760405162461bcd60e51b815260206004820152602960248201527f5472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7260448201526808185c1c1c9bdd995960ba1b60648201526084016107be565b846001600160a01b031682600001516001600160a01b0316146117185760405162461bcd60e51b815260206004820152601d60248201527f5472616e736665722066726f6d20696e636f7272656374206f776e657200000060448201526064016107be565b6001600160a01b03841661176e5760405162461bcd60e51b815260206004820152601c60248201527f5472616e7366657220746f20746865207a65726f20616464726573730000000060448201526064016107be565b61177e60008484600001516115a2565b6001600160a01b03851660009081526006602052604081208054600192906117b09084906001600160801b0316612bc4565b82546101009290920a6001600160801b038181021990931691831602179091556001600160a01b038616600090815260066020526040812080546001945090926117fc91859116612b4e565b82546001600160801b039182166101009390930a9283029190920219909116179055506040805180820182526001600160a01b0380871682526001600160401b03428116602080850191825260008981526005909152948520935184549151909216600160a01b026001600160e01b03199091169190921617179055611883846001612b79565b6000818152600560205260409020549091506001600160a01b0316611914576118ad816002541190565b156119145760408051808201825284516001600160a01b0390811682526020808701516001600160401b039081168285019081526000878152600590935294909120925183549451909116600160a01b026001600160e01b03199094169116179190911790555b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b6000546001600160a01b03163314610c495760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107be565b60026001541415611a0a5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016107be565b6002600155565b600e5481611a615760405162461bcd60e51b815260206004820152601860248201527f7175616e74697479206d757374206265206e6f6e7a65726f000000000000000060448201526064016107be565b60006001611a6f8484612b79565b611a799190612bec565b9050611a86816002541190565b611ae15760405162461bcd60e51b815260206004820152602660248201527f6e6f7420656e6f756768206d696e7465642079657420666f722074686973206360448201526506c65616e75760d41b60648201526084016107be565b815b818111611b86576000818152600560205260409020546001600160a01b0316611b74576000611b1182611b9a565b60408051808201825282516001600160a01b0390811682526020938401516001600160401b039081168584019081526000888152600590965293909420915182549351909416600160a01b026001600160e01b0319909316931692909217179055505b80611b7e81612ca4565b915050611ae3565b50611b92816001612b79565b600e55505050565b6040805180820190915260008082526020820152611bb9826002541190565b611c0f5760405162461bcd60e51b815260206004820152602160248201527f4f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656044820152603760f91b60648201526084016107be565b6000825b818110611c7a576000818152600560209081526040918290208251808401909352546001600160a01b038116808452600160a01b9091046001600160401b03169183019190915215611c6757949350505050565b5080611c7281612c52565b915050611c13565b5060405162461bcd60e51b815260206004820152602660248201527f556e61626c6520746f2064657465726d696e6520746865206f776e6572206f66604482015265103a37b5b2b760d11b60648201526084016107be565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006001600160a01b0384163b15611e2457604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611d66903390899088908890600401612abe565b602060405180830381600087803b158015611d8057600080fd5b505af1925050508015611db0575060408051601f3d908101601f19168201909252611dad91810190612743565b60015b611e0a573d808015611dde576040519150601f19603f3d011682016040523d82523d6000602084013e611de3565b606091505b508051611e025760405162461bcd60e51b81526004016107be90612b04565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611e28565b5060015b949350505050565b606081611e545750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611e7e5780611e6881612ca4565b9150611e779050600a83612b91565b9150611e58565b6000816001600160401b03811115611e9857611e98612d15565b6040519080825280601f01601f191660200182016040528015611ec2576020820181803683370190505b5090505b8415611e2857611ed7600183612bec565b9150611ee4600a86612cbf565b611eef906030612b79565b60f81b818381518110611f0457611f04612cff565b60200101906001600160f81b031916908160001a905350611f26600a86612b91565b9450611ec6565b805160609080611f4d575050604080516020810190915260008152919050565b60006003611f5c836002612b79565b611f669190612b91565b611f71906004612ba5565b90506000611f80826020612b79565b6001600160401b03811115611f9757611f97612d15565b6040519080825280601f01601f191660200182016040528015611fc1576020820181803683370190505b5090506000604051806060016040528060408152602001612ea3604091399050600181016020830160005b8681101561204d576003818a01810151603f601282901c8116860151600c83901c8216870151600684901c831688015192909316870151600891821b60ff94851601821b92841692909201901b91160160e01b835260049092019101611fec565b506003860660018114612067576002811461207857612084565b613d3d60f01b600119830152612084565b603d60f81b6000198301525b505050918152949350505050565b60025481906001600160a01b0385166120ed5760405162461bcd60e51b815260206004820152601860248201527f4d696e7420746f20746865207a65726f2061646472657373000000000000000060448201526064016107be565b6120f8816002541190565b1561213c5760405162461bcd60e51b8152602060048201526014602482015273151bdad95b88185b1c9958591e481b5a5b9d195960621b60448201526064016107be565b601e835111156121855760405162461bcd60e51b815260206004820152601460248201527354686520776f726420697320746f6f206c6f6e6760601b60448201526064016107be565b60008351116121d65760405162461bcd60e51b815260206004820152601760248201527f54686520776f7264206c656e677468206973207a65726f00000000000000000060448201526064016107be565b600b826040516121e6919061287a565b9081526020016040518091039020546000146122325760405162461bcd60e51b815260206004820152600b60248201526a15dbdc99081b5a5b9d195960aa1b60448201526064016107be565b6001600160a01b0385166000908152600660209081526040918290208251808301845290546001600160801b03168152825191820190925281518190612279908890612b4e565b6001600160801b039081169091526001600160a01b0380891660008181526006602090815260408083209651875496166fffffffffffffffffffffffffffffffff1990961695909517909555835180850185529182526001600160401b03428116838701908152888352600590965290849020915182549551909116600160a01b026001600160e01b0319909516921691909117929092179091555182908190600b9061232790879061287a565b9081526040805160209281900383019020929092556000858152600a825291909120855161235792870190612481565b5060405181906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a461239d6000888388611d22565b6123b95760405162461bcd60e51b81526004016107be90612b04565b806123c381612ca4565b600281905591506123d19050565b50505050505050565b8280546123e690612c69565b90600052602060002090601f016020900481019282612408576000855561244e565b82601f106124215782800160ff1982351617855561244e565b8280016001018555821561244e579182015b8281111561244e578235825591602001919060010190612433565b50610b859291506124f5565b6040518060a001604052806005905b60608152602001906001900390816124695790505090565b82805461248d90612c69565b90600052602060002090601f0160209004810192826124af576000855561244e565b82601f106124c857805160ff191683800117855561244e565b8280016001018555821561244e579182015b8281111561244e5782518255916020019190600101906124da565b5b80821115610b8557600081556001016124f6565b60006001600160401b038084111561252457612524612d15565b604051601f8501601f19908116603f0116810190828211818310171561254c5761254c612d15565b8160405280935085815286868601111561256557600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461259657600080fd5b919050565b8035801515811461259657600080fd5b6000602082840312156125bd57600080fd5b6125c68261257f565b9392505050565b600080604083850312156125e057600080fd5b6125e98361257f565b91506125f76020840161257f565b90509250929050565b60008060006060848603121561261557600080fd5b61261e8461257f565b925061262c6020850161257f565b9150604084013590509250925092565b6000806000806080858703121561265257600080fd5b61265b8561257f565b93506126696020860161257f565b92506040850135915060608501356001600160401b0381111561268b57600080fd5b8501601f8101871361269c57600080fd5b6126ab8782356020840161250a565b91505092959194509250565b600080604083850312156126ca57600080fd5b6126d38361257f565b91506125f76020840161259b565b600080604083850312156126f457600080fd5b6126fd8361257f565b946020939093013593505050565b60006020828403121561271d57600080fd5b6125c68261259b565b60006020828403121561273857600080fd5b81356125c681612d2b565b60006020828403121561275557600080fd5b81516125c681612d2b565b6000806020838503121561277357600080fd5b82356001600160401b038082111561278a57600080fd5b818501915085601f83011261279e57600080fd5b8135818111156127ad57600080fd5b8660208285010111156127bf57600080fd5b60209290920196919550909350505050565b6000602082840312156127e357600080fd5b81356001600160401b038111156127f957600080fd5b8201601f8101841361280a57600080fd5b611e288482356020840161250a565b60006020828403121561282b57600080fd5b5035919050565b6000815180845261284a816020860160208601612c26565b601f01601f19169290920160200192915050565b60008151612870818560208601612c26565b9290920192915050565b6000825161288c818460208701612c26565b9190910192915050565b600086516128a8818460208b01612c26565b8651908301906128bc818360208b01612c26565b86519101906128cf818360208a01612c26565b85519101906128e2818360208901612c26565b84519101906128f5818360208801612c26565b01979650505050505050565b693d913730b6b2911d101160b11b81528254600090600a908290600181811c908083168061293057607f831692505b602080841082141561295057634e487b7160e01b86526022600452602486fd5b8180156129645760018114612979576129aa565b60ff1986168a890152848a01880196506129aa565b60008c81526020902060005b868110156129a05781548c82018b0152908501908301612985565b505087858b010196505b505050505050612a056129f76129f1837f222c22696d616765223a22646174613a696d6167652f7376672b786d6c3b62618152641cd94d8d0b60da1b602082015260250190565b8761285e565b61227d60f01b815260020190565b9695505050505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000815260008251612a4781601d850160208701612c26565b91909101601d0192915050565b7f7b226e616d65223a20225f222c22696d616765223a22646174613a696d61676581526f0bdcdd99cade1b5b0ed8985cd94d8d0b60821b602082015260008251612aa5816030850160208701612c26565b61227d60f01b6030939091019283015250603201919050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612a0590830184612832565b6020815260006125c66020830184612832565b6020808252602a908201527f5472616e7366657220746f206e6f6e204552433732315265636569766572206960408201526936b83632b6b2b73a32b960b11b606082015260800190565b60006001600160801b03808316818516808303821115612b7057612b70612cd3565b01949350505050565b60008219821115612b8c57612b8c612cd3565b500190565b600082612ba057612ba0612ce9565b500490565b6000816000190483118215151615612bbf57612bbf612cd3565b500290565b60006001600160801b0383811690831681811015612be457612be4612cd3565b039392505050565b600082821015612bfe57612bfe612cd3565b500390565b600060ff821660ff841680821015612c1d57612c1d612cd3565b90039392505050565b60005b83811015612c41578181015183820152602001612c29565b83811115610e235750506000910152565b600081612c6157612c61612cd3565b506000190190565b600181811c90821680612c7d57607f821691505b60208210811415612c9e57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612cb857612cb8612cd3565b5060010190565b600082612cce57612cce612ce9565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461091057600080fdfe3c73766720786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323030302f73766722207072657365727665417370656374526174696f3d22784d696e594d696e206d656574222076696577426f783d223020302033353020333530223e3c7374796c653e2e68656164207b66696c6c3a2077686974653b666f6e742d66616d696c793a20417269616c3b666f6e742d73697a653a2070783b666f6e742d7765696768743a20626f6c643b7d3c2f7374796c653e3c726563742077696474683d223130302522206865696768743d2231303025222066696c6c3d22626c61636b22202f3e3c673e3c7376672077696474683d22333530707822206865696768743d223335307078223e3c7465787420783d223530252220793d223530252220616c69676e6d656e742d626173656c696e653d226d6964646c652220746578742d616e63686f723d226d6964646c652220636c6173733d2268656164223e4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa26469706673582212203f9034258f90c8542e0935aa8a189c47bceeaf22e9dd93b031c6a00307dd4e8f64736f6c63430008070033

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.