ETH Price: $3,114.01 (-0.63%)

Token

FISH (Feeding Frenzy)
 

Overview

Max Total Supply

3,333 Feeding Frenzy

Holders

2,102

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 Feeding Frenzy
0x16c7a51f9a4b1ccdef4f64438505f026a67d7b7f
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:
FISH

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

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

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "./ERC721A.sol";
import "@openzeppelin/contracts/utils/Strings.sol";

contract FISH is Ownable, ERC721A, ReentrancyGuard {
    constructor(
    ) ERC721A("FISH", "Feeding Frenzy", 10, 3333) {}

    // For marketing etc.
    function reserveMint(uint256 quantity) external onlyOwner {
        require(
            totalSupply() + quantity <= collectionSize,
            "too many already minted before dev mint"
        );
        uint256 numChunks = quantity / maxBatchSize;
        for (uint256 i = 0; i < numChunks; i++) {
            _safeMint(msg.sender, maxBatchSize);
        }
        if (quantity % maxBatchSize != 0){
            _safeMint(msg.sender, quantity % maxBatchSize);
        }
    }

    // metadata URI
    string private _baseTokenURI;

    function _baseURI() internal view virtual override returns (string memory) {
        return _baseTokenURI;
    }

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

    function tokenURI(uint256 tokenId)
        public
        view
        override
        returns (string memory)
    {
        require(_exists(tokenId), "This fish does not exist.");

        string[7] memory parts;
        parts[0] = '{"name": "Fish #';
        parts[1] = toString(tokenId);
        parts[2] = '","description": "Swim and chow down on smaller fish, and chomp your way to ocean supremacy.","image":"';
        parts[3] = string(abi.encodePacked( _baseURI(), toString(typeOf(tokenId)),'-', toString(levelOf(tokenId)), '.svg'));
        parts[4] = '","attributes": [{"trait_type": "Level","value":';
        parts[5] = toString(levelOf(tokenId));
        parts[6] = '}]}';

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

        string memory json = Base64.encode(bytes(output));
    
        output = string(abi.encodePacked('data:application/json;base64,', json));
        return output;
    }

    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 numberMinted(address owner) public view returns (uint256) {
        return _numberMinted(owner);
    }

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

    //PUBLIC SALE
    bool public publicSaleStatus = false;
    uint256 public publicPrice = 0.003000 ether;
    uint256 public amountForPublicSale = 3333;
    // per mint public sale limitation
    uint256 public immutable publicSalePerMint = 10;

    function publicSaleMint(uint256 quantity) external payable {
        require(
        publicSaleStatus,
        "Public sale has not started."
        );
        require(
        totalSupply() + quantity <= collectionSize,
        "Max supply reached."
        );
        require(
        amountForPublicSale >= quantity,
        "Public sale limit reached."
        );

        require(
        quantity <= publicSalePerMint,
        "Single transaction limit reached."
        );

        
        if (numberMinted(msg.sender) > 0) { // already minted
            require(
            uint256(publicPrice) * quantity <= msg.value,
            "Need more ETH, only 1 free for each wallet"
            );
        } else if (numberMinted(msg.sender) == 0 && quantity > 1) { // never minted and mint more than 1
            require(
            uint256(publicPrice) * (quantity - 1) <= msg.value,
            "Need more ETH, only 1 free for each wallet"
            );
        }

        _safeMint(msg.sender, quantity);
        amountForPublicSale -= quantity;
    }

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

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

    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 13 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_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) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // 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);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @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] = _HEX_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 13 : ERC721A.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC721/IERC721.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";
import "@openzeppelin/contracts/utils/introspection/ERC165.sol";

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata and Enumerable extension. Built to optimize for lower gas during batch mints.
 *
 * Assumes serials are sequentially minted starting at 0 (e.g. 0, 1, 2, 3..).
 *
 * Assumes the number of issuable tokens (collection size) is capped and fits in a uint128.
 *
 * Does not support burning tokens to address(0).
 */
contract ERC721A is
  Context,
  ERC165,
  IERC721,
  IERC721Metadata,
  IERC721Enumerable
{
  using Address for address;
  using Strings for uint256;

  struct TokenOwnership {
    address addr;
    uint64 startTimestamp;
  }

  struct AddressData {
    uint128 balance;
    uint128 numberMinted;
  }

  uint256 private currentIndex = 0;

  uint256 internal immutable collectionSize;
  uint256 internal immutable maxBatchSize;

  // 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;

  // Custom Attr
  mapping(uint256 => uint256) private _sizeData;
  mapping(uint256 => uint256) private _cooldownData;
  mapping(uint256 => uint256) private _upgradeTime;

  function sizeOf(uint tokenId) public view returns (uint256) {
    require(_exists(tokenId), "This fish does not exist.");
    return _sizeData[tokenId];
  }

  function setSizeOf(uint tokenId, uint size) internal {
    require(_exists(tokenId), "This fish does not exist.");
    _sizeData[tokenId] = size;
  }

  function upgradeTimeOf(uint tokenId) public view returns (uint256) {
    require(_exists(tokenId), "This fish does not exist.");
    return _upgradeTime[tokenId];
  }

  function upgrade(uint tokenId) public payable {
    require(_exists(tokenId), "This fish does not exist.");
    uint fee = (levelOf(tokenId) * levelOf(tokenId) + levelOf(tokenId)) * 0.0015 ether;
    require(msg.value >= fee, "Insufficient upgrade cost.");
    require(_upgradeTime[tokenId] < 3, "A fish can only be upgraded 3 times." );
    _upgradeTime[tokenId] = _upgradeTime[tokenId] + 1;
    setSizeOf(tokenId, sizeOf(tokenId) + levelOf(tokenId));
    _cooldownData[tokenId] = block.number + levelOf(tokenId) * levelOf(tokenId) * 5  + 5;
  }

  function setCooldown(uint tokenId, uint blocknumber) internal {
    require(_exists(tokenId), "This fish does not exist.");
    _cooldownData[tokenId] = blocknumber;
  }

  function levelOf(uint tokenId) public view returns (uint256) {
    require(_exists(tokenId), "This fish does not exist.");
    uint lv = (sqrt(1 + 8 * _sizeData[tokenId]) - 1) / 2 + 1;
    if (lv > 10) {
      lv = 10;
    } else if (lv == 0) {
      lv = 1;
    }
    return lv;
  }

  function cooldownOf(uint tokenId) public view returns (uint256) {
    require(_exists(tokenId), "This fish does not exist.");
    return _cooldownData[tokenId];
  }

  function typeOf(uint tokenId) public view returns (uint256) {
    require(_exists(tokenId), "This fish does not exist.");
    uint mod = tokenId * 5 % 68;
    if (mod >= 66) {
      return 18;
    } else if (mod >= 62) {
      return 17;
    } else if (mod >= 60) {
      return 16;
    } else if (mod >= 58) {
      return 15;
    } else if (mod >= 55) {
      return 14;
    } else if (mod >= 52) {
      return 13;
    } else if (mod >= 51) {
      return 12;
    } else if (mod >= 48) {
      return 11;
    } else if (mod >= 44) {
      return 10;
    } else if (mod >= 40) {
      return 9;
    } else if (mod >= 36) {
      return 8;
    } else if (mod >= 32) {
      return 7;
    } else if (mod >= 28) {
      return 6;
    } else if (mod >= 23) {
      return 5;
    } else if (mod >= 18) {
      return 4;
    } else if (mod >= 12) {
      return 3;
    } else if (mod >= 6) {
      return 2;
    } else {
      return 1;
    }
  }

  function eat(uint atkId, uint defId) public {
    require(_exists(atkId) && _exists(defId), "This fish does not exist.");
    require(ownerOf(atkId) == msg.sender, "This is not your fish.");
    require(ownerOf(defId) != address(0xdead), "This fish is dead already.");
    require(_cooldownData[atkId] == 0 || _cooldownData[atkId] < block.number, "Your fish is too tired to eat." );
    
    if (levelOf(atkId) > levelOf(defId)) {
      setSizeOf(atkId, sizeOf(atkId) + (sizeOf(defId) <= 1 ? 1 : sizeOf(defId) / 2));
      _cooldownData[atkId] = block.number + levelOf(atkId) * levelOf(atkId) * 5  + 5;
      _burn(defId);
    } else if (levelOf(atkId) < levelOf(defId)) {
      if (sizeOf(defId) > 0) {
        setSizeOf(defId, sizeOf(defId) - 1);
      }
      _burn(atkId);
    } else {
      if (sizeOf(atkId) > 0) {
        setSizeOf(atkId, sizeOf(atkId) - 1);
        _cooldownData[atkId] = block.number + levelOf(atkId) * levelOf(atkId) * 5  + 5;
      }
      if (sizeOf(defId) > 0) {
        setSizeOf(defId, sizeOf(defId) - 1);
      }
    }
  }

  function _burn(
    uint256 tokenId
  ) internal {
    require(_exists(tokenId), "This fish does not exist.");
    address from = ownerOf(tokenId);
    address to = address(0xdead);

    TokenOwnership memory prevOwnership = ownershipOf(tokenId);

    _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
   * `maxBatchSize` refers to how much a minter can mint at a time.
   * `collectionSize_` refers to how many tokens are in the collection.
   */
  constructor(
    string memory name_,
    string memory symbol_,
    uint256 maxBatchSize_,
    uint256 collectionSize_
  ) {
    require(
      collectionSize_ > 0,
      "ERC721A: collection must have a nonzero supply"
    );
    require(maxBatchSize_ > 0, "ERC721A: max batch size must be nonzero");
    _name = name_;
    _symbol = symbol_;
    maxBatchSize = maxBatchSize_;
    collectionSize = collectionSize_;
  }

  /**
   * @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(), "ERC721A: 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), "ERC721A: 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("ERC721A: unable to get token of owner by index");
  }

  /**
   * @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 ||
      interfaceId == type(IERC721Enumerable).interfaceId ||
      super.supportsInterface(interfaceId);
  }

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

  function _numberMinted(address owner) internal view returns (uint256) {
    require(
      owner != address(0),
      "ERC721A: number minted query for the zero address"
    );
    return uint256(_addressData[owner].numberMinted);
  }

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

    uint256 lowestTokenToCheck;
    if (tokenId >= maxBatchSize) {
      lowestTokenToCheck = tokenId - maxBatchSize + 1;
    }

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

    revert("ERC721A: 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)
  {
    return "";
  }

  /**
   * @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 overriden in child contracts.
   */
  function _baseURI() internal view virtual returns (string memory) {
    return "";
  }

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

    require(
      _msgSender() == owner || isApprovedForAll(owner, _msgSender()),
      "ERC721A: 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), "ERC721A: approved query for nonexistent token");

    return _tokenApprovals[tokenId];
  }

  /**
   * @dev See {IERC721-setApprovalForAll}.
   */
  function setApprovalForAll(address operator, bool approved) public override {
    require(operator != _msgSender(), "ERC721A: 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),
      "ERC721A: 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;
  }

  function _safeMint(address to, uint256 quantity) internal {
    _safeMint(to, quantity, "");
  }

  /**
   * @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 {
    uint256 startTokenId = currentIndex;
    require(to != address(0), "ERC721A: 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), "ERC721A: token already minted");
    require(quantity <= maxBatchSize, "ERC721A: quantity to mint too high");

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

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

    uint256 updatedIndex = startTokenId;

    for (uint256 i = 0; i < quantity; i++) {
      uint fakeRnd = uint256(blockhash(block.number)) + uint256(uint160(msg.sender)) + startTokenId + i;
      if (fakeRnd % 3 == 0) {
        _sizeData[startTokenId + i] = 1;
      } else if (msg.value >= 0.003 ether && fakeRnd % 5 == 0) {
        _sizeData[startTokenId + i] = 2;
      }
      if (msg.value >= 0.006 ether && fakeRnd % 10 == 0) {
        _sizeData[startTokenId + i] = 3;
      }

      emit Transfer(address(0), to, updatedIndex);
      require(
        _checkOnERC721Received(address(0), to, updatedIndex, _data),
        "ERC721A: 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,
      "ERC721A: transfer caller is not owner nor approved"
    );

    require(
      prevOwnership.addr == from,
      "ERC721A: transfer from incorrect owner"
    );
    require(to != address(0), "ERC721A: 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;
    if (endIndex > collectionSize - 1) {
      endIndex = collectionSize - 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("ERC721A: 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 sqrt(uint y) internal pure returns (uint z) {
      if (y > 3) {
          z = y;
          uint x = y / 2 + 1;
          while (x < z) {
              z = x;
              x = (y / x + x) / 2;
          }
      } else if (y != 0) {
          z = 1;
      }
  }
}

File 4 of 13 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

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

        _;

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

File 5 of 13 : 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 6 of 13 : 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 7 of 13 : 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 8 of 13 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.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 functionCall(target, data, "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");
        require(isContract(target), "Address: call to non-contract");

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(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) {
        require(isContract(target), "Address: static call to non-contract");

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(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) {
        require(isContract(target), "Address: delegate call to non-contract");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason 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 {
            // 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 9 of 13 : 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 10 of 13 : 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 11 of 13 : 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 12 of 13 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.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: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
     *
     * 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 13 : 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":[],"name":"amountForPublicSale","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"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":"cooldownOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"atkId","type":"uint256"},{"internalType":"uint256","name":"defId","type":"uint256"}],"name":"eat","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"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 ERC721A.TokenOwnership","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPublicSaleStatus","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"uint256","name":"tokenId","type":"uint256"}],"name":"levelOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":[{"internalType":"address","name":"owner","type":"address"}],"name":"numberMinted","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":"publicPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"publicSaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"publicSalePerMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"uint256","name":"quantity","type":"uint256"}],"name":"reserveMint","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":"uint256","name":"tokenId","type":"uint256"}],"name":"sizeOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"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":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"typeOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"upgrade","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"upgradeTimeOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawMoney","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60e060405260006001819055600b55600e805460ff19169055660aa87bee538000600f55610d05601055600a60c0523480156200003b57600080fd5b506040518060400160405280600481526020016308c92a6960e31b8152506040518060400160405280600e81526020016d46656564696e67204672656e7a7960901b815250600a610d056200009f62000099620001b060201b60201c565b620001b4565b600081116200010c5760405162461bcd60e51b815260206004820152602e60248201527f455243373231413a20636f6c6c656374696f6e206d757374206861766520612060448201526d6e6f6e7a65726f20737570706c7960901b60648201526084015b60405180910390fd5b600082116200016e5760405162461bcd60e51b815260206004820152602760248201527f455243373231413a206d61782062617463682073697a65206d757374206265206044820152666e6f6e7a65726f60c81b606482015260840162000103565b83516200018390600290602087019062000204565b5082516200019990600390602086019062000204565b5060a09190915260805250506001600c55620002e7565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b8280546200021290620002aa565b90600052602060002090601f01602090048101928262000236576000855562000281565b82601f106200025157805160ff191683800117855562000281565b8280016001018555821562000281579182015b828111156200028157825182559160200191906001019062000264565b506200028f92915062000293565b5090565b5b808211156200028f576000815560010162000294565b600181811c90821680620002bf57607f821691505b60208210811415620002e157634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a05160c0516138da6200035d600039600081816103c2015261146c015260008181610aba01528181610af201528181610b2e01528181610b61015281816123e6015281816124100152612cd3015260008181610a22015281816113a1015281816121b301526121e501526138da6000f3fe60806040526004361061023b5760003560e01c80638da5cb5b1161012e578063b88d4fde116100ab578063d07866d21161006f578063d07866d2146106b2578063d7224ba0146106d2578063dc33e681146106e8578063e985e9c514610708578063f2fde38b1461075157600080fd5b8063b88d4fde14610612578063bfce98c714610632578063c1b52ee214610652578063c588ff8b14610672578063c87b56dd1461069257600080fd5b8063a945bf80116100f2578063a945bf801461059a578063ac446002146105b0578063b3ab66b0146105c5578063b423fe67146105d8578063b6c693e5146105f857600080fd5b80638da5cb5b146104e45780639231ab2a1461050257806395d89b411461054f5780639dc74e6314610564578063a22cb4651461057a57600080fd5b80633ba5ae24116101bc57806355f804b31161018057806355f804b31461044f5780636352211e1461046f5780636d5e30321461048f57806370a08231146104af578063715018a6146104cf57600080fd5b80633ba5ae24146103b057806342842e0e146103e457806345977d0314610404578063499e8eec146104175780634f6ccce71461042f57600080fd5b806318160ddd1161020357806318160ddd1461031157806323b872dd146103305780632828b4bc146103505780632d20fb60146103705780632f745c591461039057600080fd5b806301ffc9a71461024057806306fdde0314610275578063081812fc14610297578063095ea7b3146102cf5780631342ff4c146102f1575b600080fd5b34801561024c57600080fd5b5061026061025b366004613295565b610771565b60405190151581526020015b60405180910390f35b34801561028157600080fd5b5061028a6107de565b60405161026c919061351c565b3480156102a357600080fd5b506102b76102b2366004613340565b610870565b6040516001600160a01b03909116815260200161026c565b3480156102db57600080fd5b506102ef6102ea366004613250565b610900565b005b3480156102fd57600080fd5b506102ef61030c366004613340565b610a18565b34801561031d57600080fd5b506001545b60405190815260200161026c565b34801561033c57600080fd5b506102ef61034b36600461310f565b610b8f565b34801561035c57600080fd5b5061032261036b366004613340565b610b9a565b34801561037c57600080fd5b506102ef61038b366004613340565b610bd6565b34801561039c57600080fd5b506103226103ab366004613250565b610c47565b3480156103bc57600080fd5b506103227f000000000000000000000000000000000000000000000000000000000000000081565b3480156103f057600080fd5b506102ef6103ff36600461310f565b610dbf565b6102ef610412366004613340565b610dda565b34801561042357600080fd5b50600e5460ff16610260565b34801561043b57600080fd5b5061032261044a366004613340565b610f9f565b34801561045b57600080fd5b506102ef61046a3660046132cf565b611008565b34801561047b57600080fd5b506102b761048a366004613340565b61101c565b34801561049b57600080fd5b506103226104aa366004613340565b61102e565b3480156104bb57600080fd5b506103226104ca3660046130ba565b6110cc565b3480156104db57600080fd5b506102ef61115d565b3480156104f057600080fd5b506000546001600160a01b03166102b7565b34801561050e57600080fd5b5061052261051d366004613340565b611171565b6040805182516001600160a01b031681526020928301516001600160401b0316928101929092520161026c565b34801561055b57600080fd5b5061028a61118e565b34801561057057600080fd5b5061032260105481565b34801561058657600080fd5b506102ef610595366004613226565b61119d565b3480156105a657600080fd5b50610322600f5481565b3480156105bc57600080fd5b506102ef611262565b6102ef6105d3366004613340565b61134d565b3480156105e457600080fd5b506102ef6105f336600461327a565b61159d565b34801561060457600080fd5b50600e546102609060ff1681565b34801561061e57600080fd5b506102ef61062d36600461314b565b6115b8565b34801561063e57600080fd5b5061032261064d366004613340565b6115f1565b34801561065e57600080fd5b506102ef61066d366004613359565b61162d565b34801561067e57600080fd5b5061032261068d366004613340565b611913565b34801561069e57600080fd5b5061028a6106ad366004613340565b611a87565b3480156106be57600080fd5b506103226106cd366004613340565b611c2c565b3480156106de57600080fd5b50610322600b5481565b3480156106f457600080fd5b506103226107033660046130ba565b611c68565b34801561071457600080fd5b506102606107233660046130dc565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561075d57600080fd5b506102ef61076c3660046130ba565b611c73565b60006001600160e01b031982166380ac58cd60e01b14806107a257506001600160e01b03198216635b5e139f60e01b145b806107bd57506001600160e01b0319821663780e9d6360e01b145b806107d857506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600280546107ed906136fb565b80601f0160208091040260200160405190810160405280929190818152602001828054610819906136fb565b80156108665780601f1061083b57610100808354040283529160200191610866565b820191906000526020600020905b81548152906001019060200180831161084957829003601f168201915b5050505050905090565b600061087d826001541190565b6108e45760405162461bcd60e51b815260206004820152602d60248201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560448201526c3c34b9ba32b73a103a37b5b2b760991b60648201526084015b60405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061090b8261101c565b9050806001600160a01b0316836001600160a01b0316141561097a5760405162461bcd60e51b815260206004820152602260248201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60448201526132b960f11b60648201526084016108db565b336001600160a01b038216148061099657506109968133610723565b610a085760405162461bcd60e51b815260206004820152603960248201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656420666f7220616c6c0000000000000060648201526084016108db565b610a13838383611cec565b505050565b610a20611d48565b7f000000000000000000000000000000000000000000000000000000000000000081610a4b60015490565b610a55919061362e565b1115610ab35760405162461bcd60e51b815260206004820152602760248201527f746f6f206d616e7920616c7265616479206d696e746564206265666f72652064604482015266195d881b5a5b9d60ca1b60648201526084016108db565b6000610adf7f000000000000000000000000000000000000000000000000000000000000000083613646565b905060005b81811015610b2857610b16337f0000000000000000000000000000000000000000000000000000000000000000611da2565b80610b2081613730565b915050610ae4565b50610b537f00000000000000000000000000000000000000000000000000000000000000008361374b565b15610b8b57610b8b33610b867f00000000000000000000000000000000000000000000000000000000000000008561374b565b611da2565b5050565b610a13838383611dbc565b6000610ba7826001541190565b610bc35760405162461bcd60e51b81526004016108db906135cc565b506000908152600a602052604090205490565b610bde611d48565b6002600c541415610c315760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016108db565b6002600c55610c3f81612142565b506001600c55565b6000610c52836110cc565b8210610cab5760405162461bcd60e51b815260206004820152602260248201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e604482015261647360f01b60648201526084016108db565b6000610cb660015490565b905060008060005b83811015610d5f576000818152600460209081526040918290208251808401909352546001600160a01b038116808452600160a01b9091046001600160401b03169183019190915215610d1057805192505b876001600160a01b0316836001600160a01b03161415610d4c5786841415610d3e575093506107d892505050565b83610d4881613730565b9450505b5080610d5781613730565b915050610cbe565b5060405162461bcd60e51b815260206004820152602e60248201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060448201526d0deeedccae440c4f240d2dcc8caf60931b60648201526084016108db565b610a13838383604051806020016040528060008152506115b8565b610de5816001541190565b610e015760405162461bcd60e51b81526004016108db906135cc565b6000610e0c8261102e565b610e158361102e565b610e1e8461102e565b610e28919061365a565b610e32919061362e565b610e43906605543df729c00061365a565b905080341015610e955760405162461bcd60e51b815260206004820152601a60248201527f496e73756666696369656e74207570677261646520636f73742e00000000000060448201526064016108db565b6000828152600a6020526040902054600311610eff5760405162461bcd60e51b8152602060048201526024808201527f4120666973682063616e206f6e6c79206265207570677261646564203320746960448201526336b2b99760e11b60648201526084016108db565b6000828152600a6020526040902054610f1990600161362e565b6000838152600a6020526040902055610f4d82610f358161102e565b610f3e85611c2c565b610f48919061362e565b61232b565b610f568261102e565b610f5f8361102e565b610f69919061365a565b610f7490600561365a565b610f7e904361362e565b610f8990600561362e565b6000928352600960205260409092209190915550565b6000610faa60015490565b82106110045760405162461bcd60e51b815260206004820152602360248201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f756044820152626e647360e81b60648201526084016108db565b5090565b611010611d48565b610a13600d8383612fd7565b600061102782612364565b5192915050565b600061103b826001541190565b6110575760405162461bcd60e51b81526004016108db906135cc565b600082815260086020819052604082205460029160019161108c9161107c919061365a565b61108790600161362e565b61250d565b61109691906136a1565b6110a09190613646565b6110ab90600161362e565b9050600a8111156110be5750600a6107d8565b806107d85750600192915050565b60006001600160a01b0382166111385760405162461bcd60e51b815260206004820152602b60248201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b60648201526084016108db565b506001600160a01b03166000908152600560205260409020546001600160801b031690565b611165611d48565b61116f6000612577565b565b60408051808201909152600080825260208201526107d882612364565b6060600380546107ed906136fb565b6001600160a01b0382163314156111f65760405162461bcd60e51b815260206004820152601a60248201527f455243373231413a20617070726f766520746f2063616c6c657200000000000060448201526064016108db565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61126a611d48565b6002600c5414156112bd5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016108db565b6002600c55604051600090339047908381818185875af1925050503d8060008114611304576040519150601f19603f3d011682016040523d82523d6000602084013e611309565b606091505b5050905080610c3f5760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b60448201526064016108db565b600e5460ff1661139f5760405162461bcd60e51b815260206004820152601c60248201527f5075626c69632073616c6520686173206e6f7420737461727465642e0000000060448201526064016108db565b7f0000000000000000000000000000000000000000000000000000000000000000816113ca60015490565b6113d4919061362e565b11156114185760405162461bcd60e51b815260206004820152601360248201527226b0bc1039bab838363c903932b0b1b432b21760691b60448201526064016108db565b80601054101561146a5760405162461bcd60e51b815260206004820152601a60248201527f5075626c69632073616c65206c696d697420726561636865642e00000000000060448201526064016108db565b7f00000000000000000000000000000000000000000000000000000000000000008111156114e45760405162461bcd60e51b815260206004820152602160248201527f53696e676c65207472616e73616374696f6e206c696d697420726561636865646044820152601760f91b60648201526084016108db565b60006114ef33611c68565b1115611527573481600f54611504919061365a565b11156115225760405162461bcd60e51b81526004016108db90613582565b611579565b61153033611c68565b15801561153d5750600181115b15611579573461154e6001836136a1565b600f5461155b919061365a565b11156115795760405162461bcd60e51b81526004016108db90613582565b6115833382611da2565b806010600082825461159591906136a1565b909155505050565b6115a5611d48565b600e805460ff1916911515919091179055565b6115c3848484611dbc565b6115cf848484846125c7565b6115eb5760405162461bcd60e51b81526004016108db9061352f565b50505050565b60006115fe826001541190565b61161a5760405162461bcd60e51b81526004016108db906135cc565b5060009081526009602052604090205490565b611638826001541190565b801561164a575061164a816001541190565b6116665760405162461bcd60e51b81526004016108db906135cc565b336116708361101c565b6001600160a01b0316146116bf5760405162461bcd60e51b81526020600482015260166024820152752a3434b99034b9903737ba103cb7bab9103334b9b41760511b60448201526064016108db565b61dead6116cb8261101c565b6001600160a01b031614156117225760405162461bcd60e51b815260206004820152601a60248201527f546869732066697368206973206465616420616c72656164792e00000000000060448201526064016108db565b600082815260096020526040902054158061174a575060008281526009602052604090205443115b6117965760405162461bcd60e51b815260206004820152601e60248201527f596f7572206669736820697320746f6f20746972656420746f206561742e000060448201526064016108db565b61179f8161102e565b6117a88361102e565b111561183c576117e88260016117bd84611c2c565b11156117dd5760026117ce84611c2c565b6117d89190613646565b610f35565b6001610f3e85611c2c565b6117f18261102e565b6117fa8361102e565b611804919061365a565b61180f90600561365a565b611819904361362e565b61182490600561362e565b600083815260096020526040902055610b8b816126d5565b6118458161102e565b61184e8361102e565b101561188757600061185f82611c2c565b111561187e5761187e81600161187484611c2c565b610f4891906136a1565b610b8b826126d5565b600061189283611c2c565b11156118f3576118a782600161187485611c2c565b6118b08261102e565b6118b98361102e565b6118c3919061365a565b6118ce90600561365a565b6118d8904361362e565b6118e390600561362e565b6000838152600960205260409020555b60006118fe82611c2c565b1115610b8b57610b8b81600161187484611c2c565b6000611920826001541190565b61193c5760405162461bcd60e51b81526004016108db906135cc565b6000604461194b84600561365a565b611955919061374b565b9050604281106119685750601292915050565b603e81106119795750601192915050565b603c811061198a5750601092915050565b603a811061199b5750600f92915050565b603781106119ac5750600e92915050565b603481106119bd5750600d92915050565b603381106119ce5750600c92915050565b603081106119df5750600b92915050565b602c81106119f05750600a92915050565b60288110611a015750600992915050565b60248110611a125750600892915050565b60208110611a235750600792915050565b601c8110611a345750600692915050565b60178110611a455750600592915050565b60128110611a565750600492915050565b600c8110611a675750600392915050565b60068110611a785750600292915050565b50600192915050565b50919050565b6060611a94826001541190565b611ab05760405162461bcd60e51b81526004016108db906135cc565b611ab8613057565b60408051808201909152601081526f7b226e616d65223a202246697368202360801b60208201528152611aea83612907565b81600160200201819052506040518060a001604052806067815260200161383e606791396040820152611b1b612a04565b611b2c611b2785611913565b612907565b611b38611b278661102e565b604051602001611b4a93929190613439565b60408051808303601f190181529181526060808401929092528051918201905260308082526137ce60208301396080820152611b88611b278461102e565b60a0820190815260408051808201825260038152627d5d7d60e81b60208083019190915260c08501829052845181860151848701516060880151608089015197519651600098611be498959794969395929490939091016133a7565b60405160208183030381529060405290506000611c0082612a13565b905080604051602001611c13919061349a565b60408051601f1981840301815291905295945050505050565b6000611c39826001541190565b611c555760405162461bcd60e51b81526004016108db906135cc565b5060009081526008602052604090205490565b60006107d882612b78565b611c7b611d48565b6001600160a01b038116611ce05760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108db565b611ce981612577565b50565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000546001600160a01b0316331461116f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108db565b610b8b828260405180602001604052806000815250612c16565b6000611dc782612364565b80519091506000906001600160a01b0316336001600160a01b03161480611dfe575033611df384610870565b6001600160a01b0316145b80611e1057508151611e109033610723565b905080611e7a5760405162461bcd60e51b815260206004820152603260248201527f455243373231413a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b60648201526084016108db565b846001600160a01b031682600001516001600160a01b031614611eee5760405162461bcd60e51b815260206004820152602660248201527f455243373231413a207472616e736665722066726f6d20696e636f72726563746044820152651037bbb732b960d11b60648201526084016108db565b6001600160a01b038416611f525760405162461bcd60e51b815260206004820152602560248201527f455243373231413a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b60648201526084016108db565b611f626000848460000151611cec565b6001600160a01b0385166000908152600560205260408120805460019290611f949084906001600160801b0316613679565b82546101009290920a6001600160801b038181021990931691831602179091556001600160a01b03861660009081526005602052604081208054600194509092611fe091859116613603565b82546001600160801b039182166101009390930a9283029190920219909116179055506040805180820182526001600160a01b0380871682526001600160401b03428116602080850191825260008981526004909152948520935184549151909216600160a01b026001600160e01b0319909116919092161717905561206784600161362e565b6000818152600460205260409020549091506001600160a01b03166120f857612091816001541190565b156120f85760408051808201825284516001600160a01b0390811682526020808701516001600160401b039081168285019081526000878152600490935294909120925183549451909116600160a01b026001600160e01b03199094169116179190911790555b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b600b54816121925760405162461bcd60e51b815260206004820152601860248201527f7175616e74697479206d757374206265206e6f6e7a65726f000000000000000060448201526064016108db565b600060016121a0848461362e565b6121aa91906136a1565b90506121d760017f00000000000000000000000000000000000000000000000000000000000000006136a1565b81111561220c5761220960017f00000000000000000000000000000000000000000000000000000000000000006136a1565b90505b612217816001541190565b6122725760405162461bcd60e51b815260206004820152602660248201527f6e6f7420656e6f756768206d696e7465642079657420666f722074686973206360448201526506c65616e75760d41b60648201526084016108db565b815b818111612317576000818152600460205260409020546001600160a01b03166123055760006122a282612364565b60408051808201825282516001600160a01b0390811682526020938401516001600160401b039081168584019081526000888152600490965293909420915182549351909416600160a01b026001600160e01b0319909316931692909217179055505b8061230f81613730565b915050612274565b5061232381600161362e565b600b55505050565b612336826001541190565b6123525760405162461bcd60e51b81526004016108db906135cc565b60009182526008602052604090912055565b6040805180820190915260008082526020820152612383826001541190565b6123e25760405162461bcd60e51b815260206004820152602a60248201527f455243373231413a206f776e657220717565727920666f72206e6f6e657869736044820152693a32b73a103a37b5b2b760b11b60648201526084016108db565b60007f00000000000000000000000000000000000000000000000000000000000000008310612443576124357f0000000000000000000000000000000000000000000000000000000000000000846136a1565b61244090600161362e565b90505b825b8181106124ac576000818152600460209081526040918290208251808401909352546001600160a01b038116808452600160a01b9091046001600160401b0316918301919091521561249957949350505050565b50806124a4816136e4565b915050612445565b5060405162461bcd60e51b815260206004820152602f60248201527f455243373231413a20756e61626c6520746f2064657465726d696e652074686560448201526e1037bbb732b91037b3103a37b5b2b760891b60648201526084016108db565b600060038211156125685750806000612527600283613646565b61253290600161362e565b90505b81811015611a815790508060028161254d8186613646565b612557919061362e565b6125619190613646565b9050612535565b8115612572575060015b919050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006001600160a01b0384163b156126c957604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061260b9033908990889088906004016134df565b602060405180830381600087803b15801561262557600080fd5b505af1925050508015612655575060408051601f3d908101601f19168201909252612652918101906132b2565b60015b6126af573d808015612683576040519150601f19603f3d011682016040523d82523d6000602084013e612688565b606091505b5080516126a75760405162461bcd60e51b81526004016108db9061352f565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506126cd565b5060015b949350505050565b6126e0816001541190565b6126fc5760405162461bcd60e51b81526004016108db906135cc565b60006127078261101c565b905061dead600061271784612364565b90506127296000858360000151611cec565b6001600160a01b038316600090815260056020526040812080546001929061275b9084906001600160801b0316613679565b82546101009290920a6001600160801b038181021990931691831602179091556001600160a01b038416600090815260056020526040812080546001945090926127a791859116613603565b82546001600160801b039182166101009390930a9283029190920219909116179055506040805180820182526001600160a01b0380851682526001600160401b03428116602080850191825260008a81526004909152948520935184549151909216600160a01b026001600160e01b0319909116919092161717905561282e85600161362e565b6000818152600460205260409020549091506001600160a01b03166128bf57612858816001541190565b156128bf5760408051808201825283516001600160a01b0390811682526020808601516001600160401b039081168285019081526000878152600490935294909120925183549451909116600160a01b026001600160e01b03199094169116179190911790555b84836001600160a01b0316856001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050505050565b60608161292b5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612955578061293f81613730565b915061294e9050600a83613646565b915061292f565b6000816001600160401b0381111561296f5761296f6137a1565b6040519080825280601f01601f191660200182016040528015612999576020820181803683370190505b5090505b84156126cd576129ae6001836136a1565b91506129bb600a8661374b565b6129c690603061362e565b60f81b8183815181106129db576129db61378b565b60200101906001600160f81b031916908160001a9053506129fd600a86613646565b945061299d565b6060600d80546107ed906136fb565b805160609080612a33575050604080516020810190915260008152919050565b60006003612a4283600261362e565b612a4c9190613646565b612a5790600461365a565b90506000612a6682602061362e565b6001600160401b03811115612a7d57612a7d6137a1565b6040519080825280601f01601f191660200182016040528015612aa7576020820181803683370190505b50905060006040518060600160405280604081526020016137fe604091399050600181016020830160005b86811015612b33576003818a01810151603f601282901c8116860151600c83901c8216870151600684901c831688015192909316870151600891821b60ff94851601821b92841692909201901b91160160e01b835260049092019101612ad2565b506003860660018114612b4d5760028114612b5e57612b6a565b613d3d60f01b600119830152612b6a565b603d60f81b6000198301525b505050918152949350505050565b60006001600160a01b038216612bea5760405162461bcd60e51b815260206004820152603160248201527f455243373231413a206e756d626572206d696e74656420717565727920666f7260448201527020746865207a65726f206164647265737360781b60648201526084016108db565b506001600160a01b0316600090815260056020526040902054600160801b90046001600160801b031690565b6001546001600160a01b038416612c795760405162461bcd60e51b815260206004820152602160248201527f455243373231413a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b60648201526084016108db565b612c84816001541190565b15612cd15760405162461bcd60e51b815260206004820152601d60248201527f455243373231413a20746f6b656e20616c7265616479206d696e74656400000060448201526064016108db565b7f0000000000000000000000000000000000000000000000000000000000000000831115612d4c5760405162461bcd60e51b815260206004820152602260248201527f455243373231413a207175616e7469747920746f206d696e7420746f6f2068696044820152610ced60f31b60648201526084016108db565b6001600160a01b0384166000908152600560209081526040918290208251808401845290546001600160801b038082168352600160801b9091041691810191909152815180830190925280519091908190612da8908790613603565b6001600160801b03168152602001858360200151612dc69190613603565b6001600160801b039081169091526001600160a01b0380881660008181526005602090815260408083208751978301518716600160801b029790961696909617909455845180860186529182526001600160401b034281168386019081528883526004909552948120915182549451909516600160a01b026001600160e01b031990941694909216939093179190911790915582905b85811015612fcc5760008185612e7333434061362e565b612e7d919061362e565b612e87919061362e565b9050612e9460038261374b565b612ebe57600160086000612ea8858961362e565b8152602081019190915260400160002055612f04565b660aa87bee5380003410158015612edd5750612edb60058261374b565b155b15612f0457600260086000612ef2858961362e565b81526020810191909152604001600020555b661550f7dca700003410158015612f235750612f21600a8261374b565b155b15612f4a57600360086000612f38858961362e565b81526020810191909152604001600020555b60405183906001600160a01b038a16906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4612f8f60008985896125c7565b612fab5760405162461bcd60e51b81526004016108db9061352f565b82612fb581613730565b935050508080612fc490613730565b915050612e5c565b50600181905561213a565b828054612fe3906136fb565b90600052602060002090601f016020900481019282613005576000855561304b565b82601f1061301e5782800160ff1982351617855561304b565b8280016001018555821561304b579182015b8281111561304b578235825591602001919060010190613030565b5061100492915061307e565b6040518060e001604052806007905b60608152602001906001900390816130665790505090565b5b80821115611004576000815560010161307f565b80356001600160a01b038116811461257257600080fd5b8035801515811461257257600080fd5b6000602082840312156130cc57600080fd5b6130d582613093565b9392505050565b600080604083850312156130ef57600080fd5b6130f883613093565b915061310660208401613093565b90509250929050565b60008060006060848603121561312457600080fd5b61312d84613093565b925061313b60208501613093565b9150604084013590509250925092565b6000806000806080858703121561316157600080fd5b61316a85613093565b935061317860208601613093565b92506040850135915060608501356001600160401b038082111561319b57600080fd5b818701915087601f8301126131af57600080fd5b8135818111156131c1576131c16137a1565b604051601f8201601f19908116603f011681019083821181831017156131e9576131e96137a1565b816040528281528a602084870101111561320257600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806040838503121561323957600080fd5b61324283613093565b9150613106602084016130aa565b6000806040838503121561326357600080fd5b61326c83613093565b946020939093013593505050565b60006020828403121561328c57600080fd5b6130d5826130aa565b6000602082840312156132a757600080fd5b81356130d5816137b7565b6000602082840312156132c457600080fd5b81516130d5816137b7565b600080602083850312156132e257600080fd5b82356001600160401b03808211156132f957600080fd5b818501915085601f83011261330d57600080fd5b81358181111561331c57600080fd5b86602082850101111561332e57600080fd5b60209290920196919550909350505050565b60006020828403121561335257600080fd5b5035919050565b6000806040838503121561336c57600080fd5b50508035926020909101359150565b600081518084526133938160208601602086016136b8565b601f01601f19169290920160200192915050565b6000885160206133ba8285838e016136b8565b8951918401916133cd8184848e016136b8565b89519201916133df8184848d016136b8565b88519201916133f18184848c016136b8565b87519201916134038184848b016136b8565b86519201916134158184848a016136b8565b855192019161342781848489016136b8565b919091019a9950505050505050505050565b6000845161344b8184602089016136b8565b84519083019061345f8183602089016136b8565b602d60f81b9101908152835161347c8160018401602088016136b8565b632e73766760e01b6001929091019182015260050195945050505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c0000008152600082516134d281601d8501602087016136b8565b91909101601d0192915050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906135129083018461337b565b9695505050505050565b6020815260006130d5602083018461337b565b60208082526033908201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260408201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b606082015260800190565b6020808252602a908201527f4e656564206d6f7265204554482c206f6e6c792031206672656520666f7220656040820152691858da081dd85b1b195d60b21b606082015260800190565b60208082526019908201527f54686973206669736820646f6573206e6f742065786973742e00000000000000604082015260600190565b60006001600160801b038083168185168083038211156136255761362561375f565b01949350505050565b600082198211156136415761364161375f565b500190565b60008261365557613655613775565b500490565b60008160001904831182151516156136745761367461375f565b500290565b60006001600160801b03838116908316818110156136995761369961375f565b039392505050565b6000828210156136b3576136b361375f565b500390565b60005b838110156136d35781810151838201526020016136bb565b838111156115eb5750506000910152565b6000816136f3576136f361375f565b506000190190565b600181811c9082168061370f57607f821691505b60208210811415611a8157634e487b7160e01b600052602260045260246000fd5b60006000198214156137445761374461375f565b5060010190565b60008261375a5761375a613775565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114611ce957600080fdfe222c2261747472696275746573223a205b7b2274726169745f74797065223a20224c6576656c222c2276616c7565223a4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f222c226465736372697074696f6e223a20225377696d20616e642063686f7720646f776e206f6e20736d616c6c657220666973682c20616e642063686f6d7020796f75722077617920746f206f6365616e2073757072656d6163792e222c22696d616765223a22a2646970667358221220552f4b5dc28f602edcc7ec4d17a46dda2400e1f0c468986c6aa712f8491fc10d64736f6c63430008070033

Deployed Bytecode

0x60806040526004361061023b5760003560e01c80638da5cb5b1161012e578063b88d4fde116100ab578063d07866d21161006f578063d07866d2146106b2578063d7224ba0146106d2578063dc33e681146106e8578063e985e9c514610708578063f2fde38b1461075157600080fd5b8063b88d4fde14610612578063bfce98c714610632578063c1b52ee214610652578063c588ff8b14610672578063c87b56dd1461069257600080fd5b8063a945bf80116100f2578063a945bf801461059a578063ac446002146105b0578063b3ab66b0146105c5578063b423fe67146105d8578063b6c693e5146105f857600080fd5b80638da5cb5b146104e45780639231ab2a1461050257806395d89b411461054f5780639dc74e6314610564578063a22cb4651461057a57600080fd5b80633ba5ae24116101bc57806355f804b31161018057806355f804b31461044f5780636352211e1461046f5780636d5e30321461048f57806370a08231146104af578063715018a6146104cf57600080fd5b80633ba5ae24146103b057806342842e0e146103e457806345977d0314610404578063499e8eec146104175780634f6ccce71461042f57600080fd5b806318160ddd1161020357806318160ddd1461031157806323b872dd146103305780632828b4bc146103505780632d20fb60146103705780632f745c591461039057600080fd5b806301ffc9a71461024057806306fdde0314610275578063081812fc14610297578063095ea7b3146102cf5780631342ff4c146102f1575b600080fd5b34801561024c57600080fd5b5061026061025b366004613295565b610771565b60405190151581526020015b60405180910390f35b34801561028157600080fd5b5061028a6107de565b60405161026c919061351c565b3480156102a357600080fd5b506102b76102b2366004613340565b610870565b6040516001600160a01b03909116815260200161026c565b3480156102db57600080fd5b506102ef6102ea366004613250565b610900565b005b3480156102fd57600080fd5b506102ef61030c366004613340565b610a18565b34801561031d57600080fd5b506001545b60405190815260200161026c565b34801561033c57600080fd5b506102ef61034b36600461310f565b610b8f565b34801561035c57600080fd5b5061032261036b366004613340565b610b9a565b34801561037c57600080fd5b506102ef61038b366004613340565b610bd6565b34801561039c57600080fd5b506103226103ab366004613250565b610c47565b3480156103bc57600080fd5b506103227f000000000000000000000000000000000000000000000000000000000000000a81565b3480156103f057600080fd5b506102ef6103ff36600461310f565b610dbf565b6102ef610412366004613340565b610dda565b34801561042357600080fd5b50600e5460ff16610260565b34801561043b57600080fd5b5061032261044a366004613340565b610f9f565b34801561045b57600080fd5b506102ef61046a3660046132cf565b611008565b34801561047b57600080fd5b506102b761048a366004613340565b61101c565b34801561049b57600080fd5b506103226104aa366004613340565b61102e565b3480156104bb57600080fd5b506103226104ca3660046130ba565b6110cc565b3480156104db57600080fd5b506102ef61115d565b3480156104f057600080fd5b506000546001600160a01b03166102b7565b34801561050e57600080fd5b5061052261051d366004613340565b611171565b6040805182516001600160a01b031681526020928301516001600160401b0316928101929092520161026c565b34801561055b57600080fd5b5061028a61118e565b34801561057057600080fd5b5061032260105481565b34801561058657600080fd5b506102ef610595366004613226565b61119d565b3480156105a657600080fd5b50610322600f5481565b3480156105bc57600080fd5b506102ef611262565b6102ef6105d3366004613340565b61134d565b3480156105e457600080fd5b506102ef6105f336600461327a565b61159d565b34801561060457600080fd5b50600e546102609060ff1681565b34801561061e57600080fd5b506102ef61062d36600461314b565b6115b8565b34801561063e57600080fd5b5061032261064d366004613340565b6115f1565b34801561065e57600080fd5b506102ef61066d366004613359565b61162d565b34801561067e57600080fd5b5061032261068d366004613340565b611913565b34801561069e57600080fd5b5061028a6106ad366004613340565b611a87565b3480156106be57600080fd5b506103226106cd366004613340565b611c2c565b3480156106de57600080fd5b50610322600b5481565b3480156106f457600080fd5b506103226107033660046130ba565b611c68565b34801561071457600080fd5b506102606107233660046130dc565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561075d57600080fd5b506102ef61076c3660046130ba565b611c73565b60006001600160e01b031982166380ac58cd60e01b14806107a257506001600160e01b03198216635b5e139f60e01b145b806107bd57506001600160e01b0319821663780e9d6360e01b145b806107d857506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600280546107ed906136fb565b80601f0160208091040260200160405190810160405280929190818152602001828054610819906136fb565b80156108665780601f1061083b57610100808354040283529160200191610866565b820191906000526020600020905b81548152906001019060200180831161084957829003601f168201915b5050505050905090565b600061087d826001541190565b6108e45760405162461bcd60e51b815260206004820152602d60248201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560448201526c3c34b9ba32b73a103a37b5b2b760991b60648201526084015b60405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061090b8261101c565b9050806001600160a01b0316836001600160a01b0316141561097a5760405162461bcd60e51b815260206004820152602260248201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60448201526132b960f11b60648201526084016108db565b336001600160a01b038216148061099657506109968133610723565b610a085760405162461bcd60e51b815260206004820152603960248201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656420666f7220616c6c0000000000000060648201526084016108db565b610a13838383611cec565b505050565b610a20611d48565b7f0000000000000000000000000000000000000000000000000000000000000d0581610a4b60015490565b610a55919061362e565b1115610ab35760405162461bcd60e51b815260206004820152602760248201527f746f6f206d616e7920616c7265616479206d696e746564206265666f72652064604482015266195d881b5a5b9d60ca1b60648201526084016108db565b6000610adf7f000000000000000000000000000000000000000000000000000000000000000a83613646565b905060005b81811015610b2857610b16337f000000000000000000000000000000000000000000000000000000000000000a611da2565b80610b2081613730565b915050610ae4565b50610b537f000000000000000000000000000000000000000000000000000000000000000a8361374b565b15610b8b57610b8b33610b867f000000000000000000000000000000000000000000000000000000000000000a8561374b565b611da2565b5050565b610a13838383611dbc565b6000610ba7826001541190565b610bc35760405162461bcd60e51b81526004016108db906135cc565b506000908152600a602052604090205490565b610bde611d48565b6002600c541415610c315760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016108db565b6002600c55610c3f81612142565b506001600c55565b6000610c52836110cc565b8210610cab5760405162461bcd60e51b815260206004820152602260248201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e604482015261647360f01b60648201526084016108db565b6000610cb660015490565b905060008060005b83811015610d5f576000818152600460209081526040918290208251808401909352546001600160a01b038116808452600160a01b9091046001600160401b03169183019190915215610d1057805192505b876001600160a01b0316836001600160a01b03161415610d4c5786841415610d3e575093506107d892505050565b83610d4881613730565b9450505b5080610d5781613730565b915050610cbe565b5060405162461bcd60e51b815260206004820152602e60248201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060448201526d0deeedccae440c4f240d2dcc8caf60931b60648201526084016108db565b610a13838383604051806020016040528060008152506115b8565b610de5816001541190565b610e015760405162461bcd60e51b81526004016108db906135cc565b6000610e0c8261102e565b610e158361102e565b610e1e8461102e565b610e28919061365a565b610e32919061362e565b610e43906605543df729c00061365a565b905080341015610e955760405162461bcd60e51b815260206004820152601a60248201527f496e73756666696369656e74207570677261646520636f73742e00000000000060448201526064016108db565b6000828152600a6020526040902054600311610eff5760405162461bcd60e51b8152602060048201526024808201527f4120666973682063616e206f6e6c79206265207570677261646564203320746960448201526336b2b99760e11b60648201526084016108db565b6000828152600a6020526040902054610f1990600161362e565b6000838152600a6020526040902055610f4d82610f358161102e565b610f3e85611c2c565b610f48919061362e565b61232b565b610f568261102e565b610f5f8361102e565b610f69919061365a565b610f7490600561365a565b610f7e904361362e565b610f8990600561362e565b6000928352600960205260409092209190915550565b6000610faa60015490565b82106110045760405162461bcd60e51b815260206004820152602360248201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f756044820152626e647360e81b60648201526084016108db565b5090565b611010611d48565b610a13600d8383612fd7565b600061102782612364565b5192915050565b600061103b826001541190565b6110575760405162461bcd60e51b81526004016108db906135cc565b600082815260086020819052604082205460029160019161108c9161107c919061365a565b61108790600161362e565b61250d565b61109691906136a1565b6110a09190613646565b6110ab90600161362e565b9050600a8111156110be5750600a6107d8565b806107d85750600192915050565b60006001600160a01b0382166111385760405162461bcd60e51b815260206004820152602b60248201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b60648201526084016108db565b506001600160a01b03166000908152600560205260409020546001600160801b031690565b611165611d48565b61116f6000612577565b565b60408051808201909152600080825260208201526107d882612364565b6060600380546107ed906136fb565b6001600160a01b0382163314156111f65760405162461bcd60e51b815260206004820152601a60248201527f455243373231413a20617070726f766520746f2063616c6c657200000000000060448201526064016108db565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61126a611d48565b6002600c5414156112bd5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016108db565b6002600c55604051600090339047908381818185875af1925050503d8060008114611304576040519150601f19603f3d011682016040523d82523d6000602084013e611309565b606091505b5050905080610c3f5760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b60448201526064016108db565b600e5460ff1661139f5760405162461bcd60e51b815260206004820152601c60248201527f5075626c69632073616c6520686173206e6f7420737461727465642e0000000060448201526064016108db565b7f0000000000000000000000000000000000000000000000000000000000000d05816113ca60015490565b6113d4919061362e565b11156114185760405162461bcd60e51b815260206004820152601360248201527226b0bc1039bab838363c903932b0b1b432b21760691b60448201526064016108db565b80601054101561146a5760405162461bcd60e51b815260206004820152601a60248201527f5075626c69632073616c65206c696d697420726561636865642e00000000000060448201526064016108db565b7f000000000000000000000000000000000000000000000000000000000000000a8111156114e45760405162461bcd60e51b815260206004820152602160248201527f53696e676c65207472616e73616374696f6e206c696d697420726561636865646044820152601760f91b60648201526084016108db565b60006114ef33611c68565b1115611527573481600f54611504919061365a565b11156115225760405162461bcd60e51b81526004016108db90613582565b611579565b61153033611c68565b15801561153d5750600181115b15611579573461154e6001836136a1565b600f5461155b919061365a565b11156115795760405162461bcd60e51b81526004016108db90613582565b6115833382611da2565b806010600082825461159591906136a1565b909155505050565b6115a5611d48565b600e805460ff1916911515919091179055565b6115c3848484611dbc565b6115cf848484846125c7565b6115eb5760405162461bcd60e51b81526004016108db9061352f565b50505050565b60006115fe826001541190565b61161a5760405162461bcd60e51b81526004016108db906135cc565b5060009081526009602052604090205490565b611638826001541190565b801561164a575061164a816001541190565b6116665760405162461bcd60e51b81526004016108db906135cc565b336116708361101c565b6001600160a01b0316146116bf5760405162461bcd60e51b81526020600482015260166024820152752a3434b99034b9903737ba103cb7bab9103334b9b41760511b60448201526064016108db565b61dead6116cb8261101c565b6001600160a01b031614156117225760405162461bcd60e51b815260206004820152601a60248201527f546869732066697368206973206465616420616c72656164792e00000000000060448201526064016108db565b600082815260096020526040902054158061174a575060008281526009602052604090205443115b6117965760405162461bcd60e51b815260206004820152601e60248201527f596f7572206669736820697320746f6f20746972656420746f206561742e000060448201526064016108db565b61179f8161102e565b6117a88361102e565b111561183c576117e88260016117bd84611c2c565b11156117dd5760026117ce84611c2c565b6117d89190613646565b610f35565b6001610f3e85611c2c565b6117f18261102e565b6117fa8361102e565b611804919061365a565b61180f90600561365a565b611819904361362e565b61182490600561362e565b600083815260096020526040902055610b8b816126d5565b6118458161102e565b61184e8361102e565b101561188757600061185f82611c2c565b111561187e5761187e81600161187484611c2c565b610f4891906136a1565b610b8b826126d5565b600061189283611c2c565b11156118f3576118a782600161187485611c2c565b6118b08261102e565b6118b98361102e565b6118c3919061365a565b6118ce90600561365a565b6118d8904361362e565b6118e390600561362e565b6000838152600960205260409020555b60006118fe82611c2c565b1115610b8b57610b8b81600161187484611c2c565b6000611920826001541190565b61193c5760405162461bcd60e51b81526004016108db906135cc565b6000604461194b84600561365a565b611955919061374b565b9050604281106119685750601292915050565b603e81106119795750601192915050565b603c811061198a5750601092915050565b603a811061199b5750600f92915050565b603781106119ac5750600e92915050565b603481106119bd5750600d92915050565b603381106119ce5750600c92915050565b603081106119df5750600b92915050565b602c81106119f05750600a92915050565b60288110611a015750600992915050565b60248110611a125750600892915050565b60208110611a235750600792915050565b601c8110611a345750600692915050565b60178110611a455750600592915050565b60128110611a565750600492915050565b600c8110611a675750600392915050565b60068110611a785750600292915050565b50600192915050565b50919050565b6060611a94826001541190565b611ab05760405162461bcd60e51b81526004016108db906135cc565b611ab8613057565b60408051808201909152601081526f7b226e616d65223a202246697368202360801b60208201528152611aea83612907565b81600160200201819052506040518060a001604052806067815260200161383e606791396040820152611b1b612a04565b611b2c611b2785611913565b612907565b611b38611b278661102e565b604051602001611b4a93929190613439565b60408051808303601f190181529181526060808401929092528051918201905260308082526137ce60208301396080820152611b88611b278461102e565b60a0820190815260408051808201825260038152627d5d7d60e81b60208083019190915260c08501829052845181860151848701516060880151608089015197519651600098611be498959794969395929490939091016133a7565b60405160208183030381529060405290506000611c0082612a13565b905080604051602001611c13919061349a565b60408051601f1981840301815291905295945050505050565b6000611c39826001541190565b611c555760405162461bcd60e51b81526004016108db906135cc565b5060009081526008602052604090205490565b60006107d882612b78565b611c7b611d48565b6001600160a01b038116611ce05760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108db565b611ce981612577565b50565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000546001600160a01b0316331461116f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108db565b610b8b828260405180602001604052806000815250612c16565b6000611dc782612364565b80519091506000906001600160a01b0316336001600160a01b03161480611dfe575033611df384610870565b6001600160a01b0316145b80611e1057508151611e109033610723565b905080611e7a5760405162461bcd60e51b815260206004820152603260248201527f455243373231413a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b60648201526084016108db565b846001600160a01b031682600001516001600160a01b031614611eee5760405162461bcd60e51b815260206004820152602660248201527f455243373231413a207472616e736665722066726f6d20696e636f72726563746044820152651037bbb732b960d11b60648201526084016108db565b6001600160a01b038416611f525760405162461bcd60e51b815260206004820152602560248201527f455243373231413a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b60648201526084016108db565b611f626000848460000151611cec565b6001600160a01b0385166000908152600560205260408120805460019290611f949084906001600160801b0316613679565b82546101009290920a6001600160801b038181021990931691831602179091556001600160a01b03861660009081526005602052604081208054600194509092611fe091859116613603565b82546001600160801b039182166101009390930a9283029190920219909116179055506040805180820182526001600160a01b0380871682526001600160401b03428116602080850191825260008981526004909152948520935184549151909216600160a01b026001600160e01b0319909116919092161717905561206784600161362e565b6000818152600460205260409020549091506001600160a01b03166120f857612091816001541190565b156120f85760408051808201825284516001600160a01b0390811682526020808701516001600160401b039081168285019081526000878152600490935294909120925183549451909116600160a01b026001600160e01b03199094169116179190911790555b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b600b54816121925760405162461bcd60e51b815260206004820152601860248201527f7175616e74697479206d757374206265206e6f6e7a65726f000000000000000060448201526064016108db565b600060016121a0848461362e565b6121aa91906136a1565b90506121d760017f0000000000000000000000000000000000000000000000000000000000000d056136a1565b81111561220c5761220960017f0000000000000000000000000000000000000000000000000000000000000d056136a1565b90505b612217816001541190565b6122725760405162461bcd60e51b815260206004820152602660248201527f6e6f7420656e6f756768206d696e7465642079657420666f722074686973206360448201526506c65616e75760d41b60648201526084016108db565b815b818111612317576000818152600460205260409020546001600160a01b03166123055760006122a282612364565b60408051808201825282516001600160a01b0390811682526020938401516001600160401b039081168584019081526000888152600490965293909420915182549351909416600160a01b026001600160e01b0319909316931692909217179055505b8061230f81613730565b915050612274565b5061232381600161362e565b600b55505050565b612336826001541190565b6123525760405162461bcd60e51b81526004016108db906135cc565b60009182526008602052604090912055565b6040805180820190915260008082526020820152612383826001541190565b6123e25760405162461bcd60e51b815260206004820152602a60248201527f455243373231413a206f776e657220717565727920666f72206e6f6e657869736044820152693a32b73a103a37b5b2b760b11b60648201526084016108db565b60007f000000000000000000000000000000000000000000000000000000000000000a8310612443576124357f000000000000000000000000000000000000000000000000000000000000000a846136a1565b61244090600161362e565b90505b825b8181106124ac576000818152600460209081526040918290208251808401909352546001600160a01b038116808452600160a01b9091046001600160401b0316918301919091521561249957949350505050565b50806124a4816136e4565b915050612445565b5060405162461bcd60e51b815260206004820152602f60248201527f455243373231413a20756e61626c6520746f2064657465726d696e652074686560448201526e1037bbb732b91037b3103a37b5b2b760891b60648201526084016108db565b600060038211156125685750806000612527600283613646565b61253290600161362e565b90505b81811015611a815790508060028161254d8186613646565b612557919061362e565b6125619190613646565b9050612535565b8115612572575060015b919050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006001600160a01b0384163b156126c957604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061260b9033908990889088906004016134df565b602060405180830381600087803b15801561262557600080fd5b505af1925050508015612655575060408051601f3d908101601f19168201909252612652918101906132b2565b60015b6126af573d808015612683576040519150601f19603f3d011682016040523d82523d6000602084013e612688565b606091505b5080516126a75760405162461bcd60e51b81526004016108db9061352f565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506126cd565b5060015b949350505050565b6126e0816001541190565b6126fc5760405162461bcd60e51b81526004016108db906135cc565b60006127078261101c565b905061dead600061271784612364565b90506127296000858360000151611cec565b6001600160a01b038316600090815260056020526040812080546001929061275b9084906001600160801b0316613679565b82546101009290920a6001600160801b038181021990931691831602179091556001600160a01b038416600090815260056020526040812080546001945090926127a791859116613603565b82546001600160801b039182166101009390930a9283029190920219909116179055506040805180820182526001600160a01b0380851682526001600160401b03428116602080850191825260008a81526004909152948520935184549151909216600160a01b026001600160e01b0319909116919092161717905561282e85600161362e565b6000818152600460205260409020549091506001600160a01b03166128bf57612858816001541190565b156128bf5760408051808201825283516001600160a01b0390811682526020808601516001600160401b039081168285019081526000878152600490935294909120925183549451909116600160a01b026001600160e01b03199094169116179190911790555b84836001600160a01b0316856001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050505050565b60608161292b5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612955578061293f81613730565b915061294e9050600a83613646565b915061292f565b6000816001600160401b0381111561296f5761296f6137a1565b6040519080825280601f01601f191660200182016040528015612999576020820181803683370190505b5090505b84156126cd576129ae6001836136a1565b91506129bb600a8661374b565b6129c690603061362e565b60f81b8183815181106129db576129db61378b565b60200101906001600160f81b031916908160001a9053506129fd600a86613646565b945061299d565b6060600d80546107ed906136fb565b805160609080612a33575050604080516020810190915260008152919050565b60006003612a4283600261362e565b612a4c9190613646565b612a5790600461365a565b90506000612a6682602061362e565b6001600160401b03811115612a7d57612a7d6137a1565b6040519080825280601f01601f191660200182016040528015612aa7576020820181803683370190505b50905060006040518060600160405280604081526020016137fe604091399050600181016020830160005b86811015612b33576003818a01810151603f601282901c8116860151600c83901c8216870151600684901c831688015192909316870151600891821b60ff94851601821b92841692909201901b91160160e01b835260049092019101612ad2565b506003860660018114612b4d5760028114612b5e57612b6a565b613d3d60f01b600119830152612b6a565b603d60f81b6000198301525b505050918152949350505050565b60006001600160a01b038216612bea5760405162461bcd60e51b815260206004820152603160248201527f455243373231413a206e756d626572206d696e74656420717565727920666f7260448201527020746865207a65726f206164647265737360781b60648201526084016108db565b506001600160a01b0316600090815260056020526040902054600160801b90046001600160801b031690565b6001546001600160a01b038416612c795760405162461bcd60e51b815260206004820152602160248201527f455243373231413a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b60648201526084016108db565b612c84816001541190565b15612cd15760405162461bcd60e51b815260206004820152601d60248201527f455243373231413a20746f6b656e20616c7265616479206d696e74656400000060448201526064016108db565b7f000000000000000000000000000000000000000000000000000000000000000a831115612d4c5760405162461bcd60e51b815260206004820152602260248201527f455243373231413a207175616e7469747920746f206d696e7420746f6f2068696044820152610ced60f31b60648201526084016108db565b6001600160a01b0384166000908152600560209081526040918290208251808401845290546001600160801b038082168352600160801b9091041691810191909152815180830190925280519091908190612da8908790613603565b6001600160801b03168152602001858360200151612dc69190613603565b6001600160801b039081169091526001600160a01b0380881660008181526005602090815260408083208751978301518716600160801b029790961696909617909455845180860186529182526001600160401b034281168386019081528883526004909552948120915182549451909516600160a01b026001600160e01b031990941694909216939093179190911790915582905b85811015612fcc5760008185612e7333434061362e565b612e7d919061362e565b612e87919061362e565b9050612e9460038261374b565b612ebe57600160086000612ea8858961362e565b8152602081019190915260400160002055612f04565b660aa87bee5380003410158015612edd5750612edb60058261374b565b155b15612f0457600260086000612ef2858961362e565b81526020810191909152604001600020555b661550f7dca700003410158015612f235750612f21600a8261374b565b155b15612f4a57600360086000612f38858961362e565b81526020810191909152604001600020555b60405183906001600160a01b038a16906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4612f8f60008985896125c7565b612fab5760405162461bcd60e51b81526004016108db9061352f565b82612fb581613730565b935050508080612fc490613730565b915050612e5c565b50600181905561213a565b828054612fe3906136fb565b90600052602060002090601f016020900481019282613005576000855561304b565b82601f1061301e5782800160ff1982351617855561304b565b8280016001018555821561304b579182015b8281111561304b578235825591602001919060010190613030565b5061100492915061307e565b6040518060e001604052806007905b60608152602001906001900390816130665790505090565b5b80821115611004576000815560010161307f565b80356001600160a01b038116811461257257600080fd5b8035801515811461257257600080fd5b6000602082840312156130cc57600080fd5b6130d582613093565b9392505050565b600080604083850312156130ef57600080fd5b6130f883613093565b915061310660208401613093565b90509250929050565b60008060006060848603121561312457600080fd5b61312d84613093565b925061313b60208501613093565b9150604084013590509250925092565b6000806000806080858703121561316157600080fd5b61316a85613093565b935061317860208601613093565b92506040850135915060608501356001600160401b038082111561319b57600080fd5b818701915087601f8301126131af57600080fd5b8135818111156131c1576131c16137a1565b604051601f8201601f19908116603f011681019083821181831017156131e9576131e96137a1565b816040528281528a602084870101111561320257600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806040838503121561323957600080fd5b61324283613093565b9150613106602084016130aa565b6000806040838503121561326357600080fd5b61326c83613093565b946020939093013593505050565b60006020828403121561328c57600080fd5b6130d5826130aa565b6000602082840312156132a757600080fd5b81356130d5816137b7565b6000602082840312156132c457600080fd5b81516130d5816137b7565b600080602083850312156132e257600080fd5b82356001600160401b03808211156132f957600080fd5b818501915085601f83011261330d57600080fd5b81358181111561331c57600080fd5b86602082850101111561332e57600080fd5b60209290920196919550909350505050565b60006020828403121561335257600080fd5b5035919050565b6000806040838503121561336c57600080fd5b50508035926020909101359150565b600081518084526133938160208601602086016136b8565b601f01601f19169290920160200192915050565b6000885160206133ba8285838e016136b8565b8951918401916133cd8184848e016136b8565b89519201916133df8184848d016136b8565b88519201916133f18184848c016136b8565b87519201916134038184848b016136b8565b86519201916134158184848a016136b8565b855192019161342781848489016136b8565b919091019a9950505050505050505050565b6000845161344b8184602089016136b8565b84519083019061345f8183602089016136b8565b602d60f81b9101908152835161347c8160018401602088016136b8565b632e73766760e01b6001929091019182015260050195945050505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c0000008152600082516134d281601d8501602087016136b8565b91909101601d0192915050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906135129083018461337b565b9695505050505050565b6020815260006130d5602083018461337b565b60208082526033908201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260408201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b606082015260800190565b6020808252602a908201527f4e656564206d6f7265204554482c206f6e6c792031206672656520666f7220656040820152691858da081dd85b1b195d60b21b606082015260800190565b60208082526019908201527f54686973206669736820646f6573206e6f742065786973742e00000000000000604082015260600190565b60006001600160801b038083168185168083038211156136255761362561375f565b01949350505050565b600082198211156136415761364161375f565b500190565b60008261365557613655613775565b500490565b60008160001904831182151516156136745761367461375f565b500290565b60006001600160801b03838116908316818110156136995761369961375f565b039392505050565b6000828210156136b3576136b361375f565b500390565b60005b838110156136d35781810151838201526020016136bb565b838111156115eb5750506000910152565b6000816136f3576136f361375f565b506000190190565b600181811c9082168061370f57607f821691505b60208210811415611a8157634e487b7160e01b600052602260045260246000fd5b60006000198214156137445761374461375f565b5060010190565b60008261375a5761375a613775565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114611ce957600080fdfe222c2261747472696275746573223a205b7b2274726169745f74797065223a20224c6576656c222c2276616c7565223a4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f222c226465736372697074696f6e223a20225377696d20616e642063686f7720646f776e206f6e20736d616c6c657220666973682c20616e642063686f6d7020796f75722077617920746f206f6365616e2073757072656d6163792e222c22696d616765223a22a2646970667358221220552f4b5dc28f602edcc7ec4d17a46dda2400e1f0c468986c6aa712f8491fc10d64736f6c63430008070033

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.