ETH Price: $3,404.49 (+1.04%)

Ghxsts Cxmics (CXMIC)
 

Overview

TokenID

620

Total Transfers

-

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

The world of Ghxsts has been building in GxngYxng's mind for years, and the epic tale will be told over multiple chapters.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
GhxstsComic

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 16 : GhxstsComic.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "base64-sol/base64.sol";

//////////////////////////////////////////////////////////////////////////////////////////
//                                                                                      //
//                                                                                      //
//   @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@   //
//  @@@@          @@@     @@@@     @@@    @@@@@                                    @    //
//  @@       //   @@@     @@@@     @@    @@@@          @@@@   @@@    @@/      @@@* @    //
//  @     @@@@@@@@@@@     @@@@     @@     @@@    .     @@@@@@@@@@    @@@@     @@@@@@    //
//  @    /@@@@@@@@@@@     @@@@     @@@/   /     @@@      @@@@@@@@    @@@@@      @@@@    //
//       @@@@@      @              @@@@       @@@@@@@      @@@@@@    @@@@@@*      @@    //
//       @@@@@@    @@     @@@@     @@@@      @@@@@@@@@@     .@@@@    @@@@@@@@@     @    //
//  @     @@@@@    @@     @@@@     @@@        @@@@@@@@@@&    @@@@    @@@@@@@@@@         //
//  @      @@@@    @@     @@@@          @     @@@@@@@@@@@     @@@    @@@@@@@@@@@        //
//  @@(      /     @@     @@@@        @@@     @@@@% .@@@     @@@@    @@@@  #@@@         //
//  @@@@@         @@@     @@@@       @@@@@    (@@@%        %@@@@     @@@@         @@    //
//                                                                                      //
//                                                                                      //
//////////////////////////////////////////////////////////////////////////////////////////

/* Created with love for the Pxin Gxng, by Rxmmy */

contract GhxstsComic is ERC721Enumerable, Ownable, ERC721Burnable {
  // Datapacking all chapter data.
  struct Chapter {
    string name;
    string image;
    string description;
    string metadataURI;
    bytes32 merkleRoot; // Merkle root for each chapter.
    bool active;
    bool frozen; // These chapters can no longer be minted or modified in any way.
    bool isSaleOpen; // Is the private sale open for a chapter.
    bool isPublicSaleOpen; // Is a public sale open for a chapter.
    uint256 price; // Max price: 10 ether or 10000000000000000000 wei
    uint256 discountPrice; // Max price: 10 ether or 10000000000000000000 wei
    uint256 supply; // Current supply for each chapter.
    uint256 maxSupply; // Max supply for each chapter.
    uint256 firstTokenId; // Starting tokenId for this chapter.
  }

  struct ChapterStrings {
    string name;
    string image;
    string metadataURI;
    string description;
    bytes32 merkleRoot;
  }

  // Chapter data by ID.
  mapping(uint256 => uint256) public _chapterDetails;
  mapping(uint256 => ChapterStrings) public _chapterStrings;

  mapping(uint256 => string) public _customTokenURIs;

  // Quantity of public mints claimed by wallet.
  // Address => Chapter => Quantity
  mapping(address => mapping(uint256 => uint256)) public minted;
  mapping(address => mapping(uint256 => uint256)) public allowListMinted;
  mapping(address => mapping(uint256 => uint256)) public discountMinted;
  mapping(address => mapping(uint256 => uint256)) public auctionMinted;

  // Max mint per wallet.
  uint256 public MAX_MINT = 4;

  uint256 public latestChapter;

  string public ghxstsWebsite = "https://ghxstscomics.com";

  uint256 public TOTAL_MINTED = 0;

  constructor() ERC721("Ghxsts Cxmics", "CXMIC") {}

  modifier callerIsUser() {
    require(tx.origin == msg.sender, "The caller is another contract");
    _;
  }

  modifier chapterExists(uint256 chapterId) {
    require(_chapterDetails[chapterId] > 0, "Chapter does not exist.");
    _;
  }

  // Create datapacked values in the Chapter struct.
  function setChapter(Chapter memory chapter, uint256 chapterId) internal {
    uint256 supply = chapter.supply;
    uint256 maxSupply = chapter.maxSupply;
    uint256 price = chapter.price;
    uint256 discountPrice = chapter.discountPrice;
    uint256 firstTokenId = chapter.firstTokenId;

    require(supply < 65535, "MaxSupply exceeds uint16.");
    require(maxSupply < 65535, "MaxSupply exceeds uint16.");
    require(price < 2**64, "Price exceeds uint64.");
    require(discountPrice < 2**64, "DiscountPrice exceeds uint64.");
    require(firstTokenId < 2**64, "FirstToken exceeds uint64.");

    uint256 details = chapter.active ? uint256(1) : uint256(0);
    details |= (chapter.frozen ? uint256(1) : uint256(0)) << 8;
    details |= (chapter.isSaleOpen ? uint256(1) : uint256(0)) << 16;
    details |= (chapter.isPublicSaleOpen ? uint256(1) : uint256(0)) << 24;
    details |= supply << 32;
    details |= maxSupply << 48;
    details |= price << 64;
    details |= discountPrice << 128;
    details |= firstTokenId << 192;

    // Save the chapter data
    _chapterDetails[chapterId] = details;
  }

  // Retrieve datapacked values and build the Chapter struct.
  function getChapter(uint256 chapterId) public view returns (Chapter memory _chapter) {
    uint256 chapterDetails = _chapterDetails[chapterId];
    _chapter.active = uint8(uint256(chapterDetails)) == 1;
    _chapter.frozen = uint8(uint256(chapterDetails >> 8)) == 1;
    _chapter.isSaleOpen = uint8(uint256(chapterDetails >> 16)) == 1;
    _chapter.isPublicSaleOpen = uint8(uint256(chapterDetails >> 24)) == 1;
    _chapter.supply = uint256(uint16(chapterDetails >> 32));
    _chapter.maxSupply = uint256(uint16(chapterDetails >> 48));
    _chapter.price = uint256(uint64(chapterDetails >> 64));
    _chapter.discountPrice = uint256(uint64(chapterDetails >> 128));
    _chapter.firstTokenId = uint256(uint64(chapterDetails >> 192));

    // Get _chapterStrings
    ChapterStrings memory chapterString = _chapterStrings[chapterId];
    _chapter.name = chapterString.name;
    _chapter.image = chapterString.image;
    _chapter.description = chapterString.description;
    _chapter.metadataURI = chapterString.metadataURI;
    _chapter.merkleRoot = chapterString.merkleRoot;

    return _chapter;
  }

  function createChapter(
    uint256 chapterId,
    string calldata name,
    string calldata description,
    string calldata image,
    uint256 maxSupply,
    uint256 price,
    uint256 discountPrice
  ) external onlyOwner {
    require(_chapterDetails[chapterId] == 0, "Chapter already exists.");

    if (chapterId > 1) {
      Chapter memory prevChapter = getChapter(chapterId - 1);
      require(prevChapter.frozen, "Previous chapter still open.");
    }

    Chapter memory newChapter;
    newChapter.active = true;
    newChapter.price = price;
    newChapter.discountPrice = discountPrice;
    newChapter.maxSupply = maxSupply;
    newChapter.firstTokenId = TOTAL_MINTED;

    setChapter(newChapter, chapterId);

    _chapterStrings[chapterId].name = name;
    _chapterStrings[chapterId].image = image;
    _chapterStrings[chapterId].description = description;

    latestChapter = chapterId;
  }

  // Update the supply of a chapter.
  function updateSupply(uint256 chapterId, uint256 supply) internal {
    // Check supply size
    require(supply < 65535, "Supply exceeds uint16.");
    Chapter memory chapter = getChapter(chapterId);
    chapter.supply = chapter.supply + supply;
    setChapter(chapter, chapterId);
  }

  /**
   * @notice Set the max supply for a chapter.
   */
  function updateMaxSupply(uint256 chapterId, uint256 maxSupply) external chapterExists(chapterId) onlyOwner {
    require(maxSupply < 65535, "maxSupply exceeds uint16.");
    Chapter memory chapter = getChapter(chapterId);
    require(chapter.supply <= maxSupply, "Must be higher than the existing supply");

    chapter.maxSupply = maxSupply;
    setChapter(chapter, chapterId);
  }

  /**
   * @notice Set the price for a chapter.
   */
  function updatePrice(uint256 chapterId, uint256 price) external chapterExists(chapterId) onlyOwner {
    require(price < 2**64, "Price exceeds uint64.");
    Chapter memory chapter = getChapter(chapterId);
    chapter.price = price;
    setChapter(chapter, chapterId);
  }

  /**
   * @notice Set the discount price for a chapter.
   */
  function updateDiscountPrice(uint256 chapterId, uint256 discountPrice) external chapterExists(chapterId) onlyOwner {
    require(discountPrice < 2**64, "Price exceeds uint64.");
    Chapter memory chapter = getChapter(chapterId);
    chapter.discountPrice = discountPrice;
    setChapter(chapter, chapterId);
  }

  /**
   * @notice Toggle the allowList sale on / off.
   */
  function togglePrivateSale(uint256 chapterId) external chapterExists(chapterId) onlyOwner {
    Chapter memory chapter = getChapter(chapterId);
    require(!chapter.frozen, "Chapter frozen.");
    chapter.isSaleOpen = chapter.isSaleOpen ? false : true;
    setChapter(chapter, chapterId);
  }

  /**
   * @notice Toggle the public sale on / off.
   */
  function togglePublicSale(uint256 chapterId) external chapterExists(chapterId) onlyOwner {
    Chapter memory chapter = getChapter(chapterId);
    require(!chapter.frozen, "Chapter frozen.");
    require(chapter.maxSupply > 0, "Max supply not set");
    require(chapter.price > 0, "Price not set");
    chapter.isPublicSaleOpen = chapter.isPublicSaleOpen ? false : true;
    setChapter(chapter, chapterId);
  }

  /**
   * @notice Freeze a chapter forever. Irreversible.
   */
  function freezeChapterPermanently(uint256 chapterId) external chapterExists(chapterId) onlyOwner {
    Chapter memory chapter = getChapter(chapterId);
    chapter.frozen = true; // Salute.gif
    setChapter(chapter, chapterId);
  }

  /**
   * @notice Update the name of a chapter.
   */
  function updateChapterName(uint256 chapterId, string calldata name) external chapterExists(chapterId) onlyOwner {
    Chapter memory chapter = getChapter(chapterId);
    require(!chapter.frozen, "Chapter is frozen");
    _chapterStrings[chapterId].name = name;
  }

  /**
   * @notice Update the image URL of a chapter.
   */
  function updateChapterImage(uint256 chapterId, string calldata image) external chapterExists(chapterId) onlyOwner {
    Chapter memory chapter = getChapter(chapterId);
    require(!chapter.frozen, "Chapter is frozen");
    _chapterStrings[chapterId].image = image;
  }

  /**
   * @notice Update the metadata URL of a chapter.
   */
  function updateChapterMetadataUri(uint256 chapterId, string calldata uri)
    external
    chapterExists(chapterId)
    onlyOwner
  {
    Chapter memory chapter = getChapter(chapterId);
    require(!chapter.frozen, "Chapter is frozen");
    _chapterStrings[chapterId].metadataURI = uri;
  }

  /**
   * @notice Update the metadata URL of a single token.
   */
  function updateTokenMetadataUri(uint256 tokenId, string calldata uri) external onlyOwner {
    require(_exists(tokenId), "Token does not exist.");
    Chapter memory chapter = findChapter(tokenId);
    require(!chapter.frozen, "Chapter is frozen");
    _customTokenURIs[tokenId] = uri;
  }

  /**
   * @notice Update the description of a chapter.
   */
  function updateChapterDescription(uint256 chapterId, string calldata description)
    external
    chapterExists(chapterId)
    onlyOwner
  {
    Chapter memory chapter = getChapter(chapterId);
    require(!chapter.frozen, "Chapter is frozen");
    _chapterStrings[chapterId].description = description;
  }

  /**
   * @notice Set the merkle root for a chapter.
   */
  function updateMerkleRoot(uint256 chapterId, bytes32 merkleRoot) external chapterExists(chapterId) onlyOwner {
    // chapterMerkle[chapterId] = merkleRoot;
    _chapterStrings[chapterId].merkleRoot = merkleRoot;
  }

  /**
   * @notice Mint for owner.
   */
  function ownerMint(uint256 quantity, uint256 chapterId) external chapterExists(chapterId) onlyOwner {
    Chapter memory chapter = getChapter(chapterId);
    require(!chapter.frozen, "Chapter frozen.");
    require((chapter.supply + quantity) <= chapter.maxSupply, "Exceeds chapter maximum supply.");

    // Update the supply of this chapter.
    updateSupply(chapterId, quantity);

    for (uint256 i = 0; i < quantity; i++) {
      // Mint it.
      _safeMint(msg.sender, TOTAL_MINTED);
      TOTAL_MINTED++;
    }
  }

  /**
   * @notice Mint tokens.
   */
  function mint(uint256 quantity, uint256 chapterId) external payable chapterExists(chapterId) callerIsUser {
    Chapter memory chapter = getChapter(chapterId);
    require(!chapter.frozen, "Chapter frozen.");
    require(chapter.isPublicSaleOpen, "Public sale not open");
    require(msg.value == (chapter.price * quantity), "Payment incorrect");
    require((chapter.supply + quantity) <= chapter.maxSupply, "Max purchase supply exceeded");
    require((minted[msg.sender][chapterId] + quantity) <= MAX_MINT, "Quantity exceeded");

    minted[msg.sender][chapterId] = minted[msg.sender][chapterId] + quantity;
    updateSupply(chapterId, quantity);

    for (uint256 i; i < quantity; i++) {
      _safeMint(msg.sender, TOTAL_MINTED);
      TOTAL_MINTED++;
    }
  }

  /**
   * @notice Mint tokens.
   */
  function allowListMint(
    uint256 chapterId,
    uint256 amount,
    uint256 discountAmount,
    uint256 ticket,
    uint256 maxQty,
    uint256 maxDiscountQty,
    bytes32[] calldata merkleProof
  ) external payable chapterExists(chapterId) callerIsUser {
    Chapter memory chapter = getChapter(chapterId);
    require(chapter.isSaleOpen, "Sale not open");
    require((chapter.supply + amount + discountAmount) <= chapter.maxSupply, "Max purchase supply exceeded");
    require((allowListMinted[msg.sender][chapterId] + amount) <= maxQty, "Amount exceeded.");
    require((discountMinted[msg.sender][chapterId] + discountAmount) <= maxDiscountQty, "Discount amount exceeded.");
    require(msg.value == (chapter.price * amount) + (chapter.discountPrice * discountAmount), "Payment incorrect");
    bytes32 leaf = keccak256(abi.encodePacked(msg.sender, ticket, maxQty, maxDiscountQty));
    require(MerkleProof.verify(merkleProof, chapter.merkleRoot, leaf), "Invalid proof.");

    allowListMinted[msg.sender][chapterId] = allowListMinted[msg.sender][chapterId] + amount;
    discountMinted[msg.sender][chapterId] = discountMinted[msg.sender][chapterId] + discountAmount;

    // Update the supply of this chapter.
    updateSupply(chapterId, amount + discountAmount);

    for (uint256 i; i < amount + discountAmount; i++) {
      _safeMint(msg.sender, TOTAL_MINTED);
      TOTAL_MINTED++;
    }
  }

  // ** - ADMIN - ** //
  function withdrawEther(address payable _to, uint256 _amount) external onlyOwner {
    _to.transfer(_amount);
  }

  /**
   * @notice Set the maximum number of mints per wallet.
   */
  function setMAX_MINT(uint256 max) external onlyOwner {
    MAX_MINT = max;
  }

  /**
   * @notice Updated the web URL.
   */
  function setWebsite(string calldata url) external onlyOwner {
    ghxstsWebsite = url;
  }

  /**
   * @notice Find which chapter this token belongs to.
   */
  function findChapter(uint256 tokenId) public view returns (Chapter memory chapter) {
    for (uint256 i = 1; i <= latestChapter; i++) {
      chapter = getChapter(i);
      if (chapter.firstTokenId <= tokenId && chapter.firstTokenId + chapter.maxSupply > tokenId) {
        return chapter;
      }
    }
  }

  // ** - MISC - ** //
  function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
    require(_exists(tokenId), "URI query for nonexistent token");
    Chapter memory chapter = findChapter(tokenId);
    uint256 chapterStart = chapter.firstTokenId;
    uint256 edition = tokenId - chapterStart;
    string memory editionNumber = Strings.toString(edition);
    string memory chapterUri = chapter.metadataURI;
    string memory tokenUri = _customTokenURIs[tokenId];

    // Check for token specific metadata
    if (bytes(tokenUri).length > 0) {
      return tokenUri;
    }
    // Check for chapter override metadata
    if (bytes(chapterUri).length > 0) {
      return chapterUri;
    }

    // Build default metadata.
    // Prepend any zeroes for edition numbers. Purely aesthetic.
    if (edition == 0) {
      editionNumber = "0";
    } else if (edition < 10) {
      editionNumber = string(abi.encodePacked("00", editionNumber));
    } else if (edition < 100) {
      editionNumber = string(abi.encodePacked("0", editionNumber));
    }

    // Default metadata
    string memory json = Base64.encode(
      bytes(
        string(
          abi.encodePacked(
            '{"name": "',
            chapter.name,
            " - #",
            editionNumber,
            '", "description": "',
            chapter.description,
            '", "image": "',
            chapter.image,
            '", "external_url": "',
            ghxstsWebsite,
            '", "attributes": [{"trait_type": "Chapter","value": "',
            chapter.name,
            '"},{"trait_type": "Edition","value": "#',
            editionNumber,
            '"}]}'
          )
        )
      )
    );
    return string(abi.encodePacked("data:application/json;base64,", json));
  }

  mapping(uint256 => uint256) public chapterAuctionSupply;
  mapping(uint256 => uint256) public chapterAuctionMinted;
  mapping(uint256 => uint32) public chapterAuctionStartTime;
  mapping(uint256 => uint256) public chapterAuctionStartPrice;
  mapping(uint256 => uint256) public chapterAuctionEndPrice;
  mapping(uint256 => uint256) public chapterAuctionPriceCurveLength;
  mapping(uint256 => uint256) public chapterAuctionDropInterval;
  mapping(uint256 => uint256) public chapterAuctionDropPerStep;

  function auctionMint(uint256 chapterId, uint256 amount) external payable chapterExists(chapterId) callerIsUser {
    uint256 _saleStartTime = chapterAuctionStartTime[chapterId];
    require(_saleStartTime != 0 && block.timestamp >= _saleStartTime, "Sale has not started yet");
    require(
      chapterAuctionMinted[chapterId] + amount <= chapterAuctionSupply[chapterId],
      "Max auction supply exceeded."
    );
    Chapter memory chapter = getChapter(chapterId);
    require((chapter.supply + amount) <= chapter.maxSupply, "Max purchase supply exceeded");
    require(auctionMinted[msg.sender][chapterId] + amount <= MAX_MINT, "Max mint qty exceeded");
    uint256 totalCost = getAuctionPrice(chapterId, _saleStartTime) * amount;
    auctionMinted[msg.sender][chapterId] = auctionMinted[msg.sender][chapterId] + amount;

    // Update the supply of this chapter.
    updateSupply(chapterId, amount);

    for (uint256 i; i < amount; i++) {
      _safeMint(msg.sender, TOTAL_MINTED);
      TOTAL_MINTED++;
    }
    refundIfOver(totalCost);
  }

  function refundIfOver(uint256 price) private {
    require(msg.value >= price, "Need to send more ETH.");
    if (msg.value > price) {
      payable(msg.sender).transfer(msg.value - price);
    }
  }

  // getAuctionPrice
  function getAuctionPrice(uint256 chapterId, uint256 _saleStartTime)
    public
    view
    chapterExists(chapterId)
    returns (uint256)
  {
    if (block.timestamp < _saleStartTime) {
      return chapterAuctionStartPrice[chapterId];
    }
    if (block.timestamp - _saleStartTime >= chapterAuctionPriceCurveLength[chapterId]) {
      return chapterAuctionEndPrice[chapterId];
    } else {
      uint256 steps = (block.timestamp - _saleStartTime) / chapterAuctionDropInterval[chapterId];
      return chapterAuctionStartPrice[chapterId] - (steps * chapterAuctionDropPerStep[chapterId]);
    }
  }

  function createChapterAuction(
    uint256 chapterId,
    uint256 auctionSupply,
    uint32 startTime,
    uint256 startPrice,
    uint256 endPrice,
    uint256 priceCurveLength,
    uint256 dropInterval
  ) external chapterExists(chapterId) onlyOwner {
    chapterAuctionSupply[chapterId] = auctionSupply;
    chapterAuctionStartTime[chapterId] = startTime;
    chapterAuctionStartPrice[chapterId] = startPrice;
    chapterAuctionEndPrice[chapterId] = endPrice;
    chapterAuctionPriceCurveLength[chapterId] = priceCurveLength;
    chapterAuctionDropInterval[chapterId] = dropInterval;
    chapterAuctionDropPerStep[chapterId] = (startPrice - endPrice) / (priceCurveLength / dropInterval);
  }

  function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721, ERC721Enumerable) returns (bool) {
    return super.supportsInterface(interfaceId);
  }

  function _beforeTokenTransfer(
    address from,
    address to,
    uint256 tokenId
  ) internal virtual override(ERC721, ERC721Enumerable) {
    super._beforeTokenTransfer(from, to, tokenId);
  }

  function getMintedQty(
    uint256 chapterId,
    address addr,
    uint256 mintType // 1: Minted, 2: allowListMinted, 3: discountMinted, 4: auctionMinted
  ) external view chapterExists(chapterId) returns (uint256) {
    if (mintType == 1) {
      return minted[addr][chapterId];
    } else if (mintType == 2) {
      return allowListMinted[addr][chapterId];
    } else if (mintType == 3) {
      return discountMinted[addr][chapterId];
    } else {
      return auctionMinted[addr][chapterId];
    }
  }
}

File 2 of 16 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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 Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        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 3 of 16 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol)

pragma solidity ^0.8.0;

import "../ERC721.sol";
import "./IERC721Enumerable.sol";

/**
 * @dev This implements an optional extension of {ERC721} defined in the EIP that adds
 * enumerability of all the token ids in the contract as well as all token ids owned by each
 * account.
 */
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
    // Mapping from owner to list of owned token IDs
    mapping(address => mapping(uint256 => uint256)) private _ownedTokens;

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

    // Array with all token ids, used for enumeration
    uint256[] private _allTokens;

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

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

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds");
        return _ownedTokens[owner][index];
    }

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

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds");
        return _allTokens[index];
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * 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`.
     * - When `to` is zero, ``from``'s `tokenId` will be burned.
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual override {
        super._beforeTokenTransfer(from, to, tokenId);

        if (from == address(0)) {
            _addTokenToAllTokensEnumeration(tokenId);
        } else if (from != to) {
            _removeTokenFromOwnerEnumeration(from, tokenId);
        }
        if (to == address(0)) {
            _removeTokenFromAllTokensEnumeration(tokenId);
        } else if (to != from) {
            _addTokenToOwnerEnumeration(to, tokenId);
        }
    }

    /**
     * @dev Private function to add a token to this extension's ownership-tracking data structures.
     * @param to address representing the new owner of the given token ID
     * @param tokenId uint256 ID of the token to be added to the tokens list of the given address
     */
    function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {
        uint256 length = ERC721.balanceOf(to);
        _ownedTokens[to][length] = tokenId;
        _ownedTokensIndex[tokenId] = length;
    }

    /**
     * @dev Private function to add a token to this extension's token tracking data structures.
     * @param tokenId uint256 ID of the token to be added to the tokens list
     */
    function _addTokenToAllTokensEnumeration(uint256 tokenId) private {
        _allTokensIndex[tokenId] = _allTokens.length;
        _allTokens.push(tokenId);
    }

    /**
     * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that
     * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for
     * gas optimizations e.g. when performing a transfer operation (avoiding double writes).
     * This has O(1) time complexity, but alters the order of the _ownedTokens array.
     * @param from address representing the previous owner of the given token ID
     * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address
     */
    function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private {
        // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = ERC721.balanceOf(from) - 1;
        uint256 tokenIndex = _ownedTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary
        if (tokenIndex != lastTokenIndex) {
            uint256 lastTokenId = _ownedTokens[from][lastTokenIndex];

            _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
            _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
        }

        // This also deletes the contents at the last position of the array
        delete _ownedTokensIndex[tokenId];
        delete _ownedTokens[from][lastTokenIndex];
    }

    /**
     * @dev Private function to remove a token from this extension's token tracking data structures.
     * This has O(1) time complexity, but alters the order of the _allTokens array.
     * @param tokenId uint256 ID of the token to be removed from the tokens list
     */
    function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private {
        // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = _allTokens.length - 1;
        uint256 tokenIndex = _allTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so
        // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding
        // an 'if' statement (like in _removeTokenFromOwnerEnumeration)
        uint256 lastTokenId = _allTokens[lastTokenIndex];

        _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
        _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index

        // This also deletes the contents at the last position of the array
        delete _allTokensIndex[tokenId];
        _allTokens.pop();
    }
}

File 4 of 16 : ERC721Burnable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Burnable.sol)

pragma solidity ^0.8.0;

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

/**
 * @title ERC721 Burnable Token
 * @dev ERC721 Token that can be irreversibly burned (destroyed).
 */
abstract contract ERC721Burnable is Context, ERC721 {
    /**
     * @dev Burns `tokenId`. See {ERC721-_burn}.
     *
     * Requirements:
     *
     * - The caller must own `tokenId` or be an approved operator.
     */
    function burn(uint256 tokenId) public virtual {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721Burnable: caller is not owner nor approved");
        _burn(tokenId);
    }
}

File 5 of 16 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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`, 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 be 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 Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @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 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);

    /**
     * @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;
}

File 6 of 16 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Trees proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up
     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
     * hash matches the root of the tree. When processing the proof, the pairs
     * of leafs & pre-images are assumed to be sorted.
     *
     * _Available since v4.4._
     */
    function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            bytes32 proofElement = proof[i];
            if (computedHash <= proofElement) {
                // Hash(current computed hash + current element of the proof)
                computedHash = _efficientHash(computedHash, proofElement);
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = _efficientHash(proofElement, computedHash);
            }
        }
        return computedHash;
    }

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}

File 7 of 16 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";

    /**
     * @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);
    }
}

File 8 of 16 : base64.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0;

/// @title Base64
/// @author Brecht Devos - <[email protected]>
/// @notice Provides functions for encoding/decoding base64
library Base64 {
    string internal constant TABLE_ENCODE = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';
    bytes  internal constant TABLE_DECODE = hex"0000000000000000000000000000000000000000000000000000000000000000"
                                            hex"00000000000000000000003e0000003f3435363738393a3b3c3d000000000000"
                                            hex"00000102030405060708090a0b0c0d0e0f101112131415161718190000000000"
                                            hex"001a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132330000000000";

    function encode(bytes memory data) internal pure returns (string memory) {
        if (data.length == 0) return '';

        // load the table into memory
        string memory table = TABLE_ENCODE;

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

        // add some extra buffer at the end required for the writing
        string memory result = new string(encodedLen + 32);

        assembly {
            // set the actual output length
            mstore(result, encodedLen)

            // prepare the lookup table
            let tablePtr := add(table, 1)

            // input ptr
            let dataPtr := data
            let endPtr := add(dataPtr, mload(data))

            // result ptr, jump over length
            let resultPtr := add(result, 32)

            // run over the input, 3 bytes at a time
            for {} lt(dataPtr, endPtr) {}
            {
                // read 3 bytes
                dataPtr := add(dataPtr, 3)
                let input := mload(dataPtr)

                // write 4 characters
                mstore8(resultPtr, mload(add(tablePtr, and(shr(18, input), 0x3F))))
                resultPtr := add(resultPtr, 1)
                mstore8(resultPtr, mload(add(tablePtr, and(shr(12, input), 0x3F))))
                resultPtr := add(resultPtr, 1)
                mstore8(resultPtr, mload(add(tablePtr, and(shr( 6, input), 0x3F))))
                resultPtr := add(resultPtr, 1)
                mstore8(resultPtr, mload(add(tablePtr, and(        input,  0x3F))))
                resultPtr := add(resultPtr, 1)
            }

            // padding with '='
            switch mod(mload(data), 3)
            case 1 { mstore(sub(resultPtr, 2), shl(240, 0x3d3d)) }
            case 2 { mstore(sub(resultPtr, 1), shl(248, 0x3d)) }
        }

        return result;
    }

    function decode(string memory _data) internal pure returns (bytes memory) {
        bytes memory data = bytes(_data);

        if (data.length == 0) return new bytes(0);
        require(data.length % 4 == 0, "invalid base64 decoder input");

        // load the table into memory
        bytes memory table = TABLE_DECODE;

        // every 4 characters represent 3 bytes
        uint256 decodedLen = (data.length / 4) * 3;

        // add some extra buffer at the end required for the writing
        bytes memory result = new bytes(decodedLen + 32);

        assembly {
            // padding with '='
            let lastBytes := mload(add(data, mload(data)))
            if eq(and(lastBytes, 0xFF), 0x3d) {
                decodedLen := sub(decodedLen, 1)
                if eq(and(lastBytes, 0xFFFF), 0x3d3d) {
                    decodedLen := sub(decodedLen, 1)
                }
            }

            // set the actual output length
            mstore(result, decodedLen)

            // prepare the lookup table
            let tablePtr := add(table, 1)

            // input ptr
            let dataPtr := data
            let endPtr := add(dataPtr, mload(data))

            // result ptr, jump over length
            let resultPtr := add(result, 32)

            // run over the input, 4 characters at a time
            for {} lt(dataPtr, endPtr) {}
            {
               // read 4 characters
               dataPtr := add(dataPtr, 4)
               let input := mload(dataPtr)

               // write 3 bytes
               let output := add(
                   add(
                       shl(18, and(mload(add(tablePtr, and(shr(24, input), 0xFF))), 0xFF)),
                       shl(12, and(mload(add(tablePtr, and(shr(16, input), 0xFF))), 0xFF))),
                   add(
                       shl( 6, and(mload(add(tablePtr, and(shr( 8, input), 0xFF))), 0xFF)),
                               and(mload(add(tablePtr, and(        input , 0xFF))), 0xFF)
                    )
                )
                mstore(resultPtr, shl(232, output))
                resultPtr := add(resultPtr, 3)
            }
        }

        return result;
    }
}

File 9 of 16 : 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 10 of 16 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _owners[tokenId];
        require(owner != address(0), "ERC721: owner query for nonexistent token");
        return owner;
    }

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

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

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

        _balances[to] += 1;
        _owners[tokenId] = to;

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

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

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual {
        address owner = ERC721.ownerOf(tokenId);

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

        // Clear approvals
        _approve(address(0), tokenId);

        _balances[owner] -= 1;
        delete _owners[tokenId];

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

        _balances[from] -= 1;
        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

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

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

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * The call is not executed if the target address is not a contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param _data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        if (to.isContract()) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
                return retval == IERC721Receiver.onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * 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`.
     * - When `to` is zero, ``from``'s `tokenId` will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}
}

File 11 of 16 : 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 12 of 16 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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 `IERC721.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

File 13 of 16 : 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 14 of 16 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.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

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 15 of 16 : 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 16 of 16 : 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"
      ]
    }
  },
  "libraries": {}
}

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":"MAX_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOTAL_MINTED","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"_chapterDetails","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"_chapterStrings","outputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"image","type":"string"},{"internalType":"string","name":"metadataURI","type":"string"},{"internalType":"string","name":"description","type":"string"},{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"_customTokenURIs","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"chapterId","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"discountAmount","type":"uint256"},{"internalType":"uint256","name":"ticket","type":"uint256"},{"internalType":"uint256","name":"maxQty","type":"uint256"},{"internalType":"uint256","name":"maxDiscountQty","type":"uint256"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"allowListMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"allowListMinted","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":"uint256","name":"chapterId","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"auctionMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"auctionMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"chapterAuctionDropInterval","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"chapterAuctionDropPerStep","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"chapterAuctionEndPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"chapterAuctionMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"chapterAuctionPriceCurveLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"chapterAuctionStartPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"chapterAuctionStartTime","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"chapterAuctionSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"chapterId","type":"uint256"},{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"description","type":"string"},{"internalType":"string","name":"image","type":"string"},{"internalType":"uint256","name":"maxSupply","type":"uint256"},{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"uint256","name":"discountPrice","type":"uint256"}],"name":"createChapter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"chapterId","type":"uint256"},{"internalType":"uint256","name":"auctionSupply","type":"uint256"},{"internalType":"uint32","name":"startTime","type":"uint32"},{"internalType":"uint256","name":"startPrice","type":"uint256"},{"internalType":"uint256","name":"endPrice","type":"uint256"},{"internalType":"uint256","name":"priceCurveLength","type":"uint256"},{"internalType":"uint256","name":"dropInterval","type":"uint256"}],"name":"createChapterAuction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"discountMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"findChapter","outputs":[{"components":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"image","type":"string"},{"internalType":"string","name":"description","type":"string"},{"internalType":"string","name":"metadataURI","type":"string"},{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"},{"internalType":"bool","name":"active","type":"bool"},{"internalType":"bool","name":"frozen","type":"bool"},{"internalType":"bool","name":"isSaleOpen","type":"bool"},{"internalType":"bool","name":"isPublicSaleOpen","type":"bool"},{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"uint256","name":"discountPrice","type":"uint256"},{"internalType":"uint256","name":"supply","type":"uint256"},{"internalType":"uint256","name":"maxSupply","type":"uint256"},{"internalType":"uint256","name":"firstTokenId","type":"uint256"}],"internalType":"struct GhxstsComic.Chapter","name":"chapter","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"chapterId","type":"uint256"}],"name":"freezeChapterPermanently","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":"chapterId","type":"uint256"},{"internalType":"uint256","name":"_saleStartTime","type":"uint256"}],"name":"getAuctionPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"chapterId","type":"uint256"}],"name":"getChapter","outputs":[{"components":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"image","type":"string"},{"internalType":"string","name":"description","type":"string"},{"internalType":"string","name":"metadataURI","type":"string"},{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"},{"internalType":"bool","name":"active","type":"bool"},{"internalType":"bool","name":"frozen","type":"bool"},{"internalType":"bool","name":"isSaleOpen","type":"bool"},{"internalType":"bool","name":"isPublicSaleOpen","type":"bool"},{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"uint256","name":"discountPrice","type":"uint256"},{"internalType":"uint256","name":"supply","type":"uint256"},{"internalType":"uint256","name":"maxSupply","type":"uint256"},{"internalType":"uint256","name":"firstTokenId","type":"uint256"}],"internalType":"struct GhxstsComic.Chapter","name":"_chapter","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"chapterId","type":"uint256"},{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint256","name":"mintType","type":"uint256"}],"name":"getMintedQty","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ghxstsWebsite","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"latestChapter","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"uint256","name":"chapterId","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"minted","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":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"uint256","name":"chapterId","type":"uint256"}],"name":"ownerMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"max","type":"uint256"}],"name":"setMAX_MINT","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"url","type":"string"}],"name":"setWebsite","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"chapterId","type":"uint256"}],"name":"togglePrivateSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"chapterId","type":"uint256"}],"name":"togglePublicSale","outputs":[],"stateMutability":"nonpayable","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":"chapterId","type":"uint256"},{"internalType":"string","name":"description","type":"string"}],"name":"updateChapterDescription","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"chapterId","type":"uint256"},{"internalType":"string","name":"image","type":"string"}],"name":"updateChapterImage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"chapterId","type":"uint256"},{"internalType":"string","name":"uri","type":"string"}],"name":"updateChapterMetadataUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"chapterId","type":"uint256"},{"internalType":"string","name":"name","type":"string"}],"name":"updateChapterName","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"chapterId","type":"uint256"},{"internalType":"uint256","name":"discountPrice","type":"uint256"}],"name":"updateDiscountPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"chapterId","type":"uint256"},{"internalType":"uint256","name":"maxSupply","type":"uint256"}],"name":"updateMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"chapterId","type":"uint256"},{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"}],"name":"updateMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"chapterId","type":"uint256"},{"internalType":"uint256","name":"price","type":"uint256"}],"name":"updatePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"uri","type":"string"}],"name":"updateTokenMetadataUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdrawEther","outputs":[],"stateMutability":"nonpayable","type":"function"}]

600460125560c0604052601860808190527f68747470733a2f2f676878737473636f6d6963732e636f6d000000000000000060a09081526200004591601491906200013a565b5060006015553480156200005857600080fd5b50604080518082018252600d81526c4768787374732043786d69637360981b60208083019182528351808501909452600584526443584d494360d81b908401528151919291620000ab916000916200013a565b508051620000c19060019060208401906200013a565b505050620000de620000d8620000e460201b60201c565b620000e8565b6200021d565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200014890620001e0565b90600052602060002090601f0160209004810192826200016c5760008555620001b7565b82601f106200018757805160ff1916838001178555620001b7565b82800160010185558215620001b7579182015b82811115620001b75782518255916020019190600101906200019a565b50620001c5929150620001c9565b5090565b5b80821115620001c55760008155600101620001ca565b600181811c90821680620001f557607f821691505b602082108114156200021757634e487b7160e01b600052602260045260246000fd5b50919050565b61536c806200022d6000396000f3fe6080604052600436106103c35760003560e01c806382367b2d116101f2578063be51996d1161010d578063e42a8259116100a0578063f26ea76d1161006f578063f26ea76d14610c3e578063f2fde38b14610c5e578063f87f44b914610c7e578063fc7434f014610c9e57600080fd5b8063e42a825914610b9f578063e985e9c514610bbf578063f0292a0314610c08578063f1e3311514610c1e57600080fd5b8063c87b56dd116100dc578063c87b56dd14610b05578063cdc565f314610b25578063d1aee95514610b52578063d47573d414610b7f57600080fd5b8063be51996d14610a8c578063bf9bf0ee14610aac578063c3256d4814610ac2578063c54d668f14610aef57600080fd5b806399f7b56711610185578063b88d4fde11610154578063b88d4fde146109f2578063b9f8911814610a12578063bd934ccf14610a32578063be307ae814610a5f57600080fd5b806399f7b5671461095a578063a22cb4651461097a578063a51694041461099a578063b7656808146109ba57600080fd5b80638da5cb5b116101c15780638da5cb5b146108e75780638fd13a7b14610905578063909b83221461092557806395d89b411461094557600080fd5b806382367b2d1461085a578063850566331461087a5780638afbb17d1461088f5780638cf7be7e146108c757600080fd5b806334790468116102e2578063522f68151161027557806370a082311161024457806370a08231146107e5578063715018a614610805578063748a11811461081a57806378838c081461083a57600080fd5b8063522f68151461074d5780635425e7741461076d5780636352211e1461078d57806370807a4e146107ad57600080fd5b806342966c68116102b157806342966c68146106c057806345368a01146106e05780634d6a071d146107005780634f6ccce71461072d57600080fd5b806334790468146106185780633bf6cebb146106385780633eab46bd1461065857806342842e0e146106a057600080fd5b8063127058091161035a578063238e875f11610329578063238e875f146105a557806323b872dd146105c55780632875ea3c146105e55780632f745c59146105f857600080fd5b8063127058091461051f57806318160ddd146105505780631b2ef1ca146105655780631ebc23ba1461057857600080fd5b8063095ea7b311610396578063095ea7b3146104775780630c96d38e146104995780630cfd404d146104ac5780630e90bc3a146104d957600080fd5b806301ffc9a7146103c85780630449a1ed146103fd57806306fdde031461042a578063081812fc1461043f575b600080fd5b3480156103d457600080fd5b506103e86103e336600461458c565b610ccb565b60405190151581526020015b60405180910390f35b34801561040957600080fd5b5061041d6104183660046145b0565b610cdc565b6040516103f49190614621565b34801561043657600080fd5b5061041d610d76565b34801561044b57600080fd5b5061045f61045a3660046145b0565b610e08565b6040516001600160a01b0390911681526020016103f4565b34801561048357600080fd5b50610497610492366004614649565b610ea2565b005b6104976104a7366004614675565b610fb8565b3480156104b857600080fd5b506104cc6104c73660046145b0565b61124f565b6040516103f49190614697565b3480156104e557600080fd5b506105116104f4366004614649565b601060209081526000928352604080842090915290825290205481565b6040519081526020016103f4565b34801561052b57600080fd5b5061053f61053a3660046145b0565b6112ba565b6040516103f49594939291906147ac565b34801561055c57600080fd5b50600854610511565b610497610573366004614675565b611508565b34801561058457600080fd5b506105116105933660046145b0565b60176020526000908152604090205481565b3480156105b157600080fd5b506104976105c0366004614675565b611750565b3480156105d157600080fd5b506104976105e036600461480c565b611882565b6104976105f336600461484d565b6118b4565b34801561060457600080fd5b50610511610613366004614649565b611ccd565b34801561062457600080fd5b506104976106333660046145b0565b611d63565b34801561064457600080fd5b50610511610653366004614675565b611e0d565b34801561066457600080fd5b5061068b6106733660046145b0565b60186020526000908152604090205463ffffffff1681565b60405163ffffffff90911681526020016103f4565b3480156106ac57600080fd5b506104976106bb36600461480c565b611eef565b3480156106cc57600080fd5b506104976106db3660046145b0565b611f0a565b3480156106ec57600080fd5b506105116106fb3660046148fc565b611f84565b34801561070c57600080fd5b5061051161071b3660046145b0565b601a6020526000908152604090205481565b34801561073957600080fd5b506105116107483660046145b0565b61207c565b34801561075957600080fd5b50610497610768366004614649565b61210f565b34801561077957600080fd5b5061049761078836600461496c565b61216f565b34801561079957600080fd5b5061045f6107a83660046145b0565b61220e565b3480156107b957600080fd5b506105116107c8366004614649565b601160209081526000928352604080842090915290825290205481565b3480156107f157600080fd5b506105116108003660046149b8565b612285565b34801561081157600080fd5b5061049761230c565b34801561082657600080fd5b506104976108353660046145b0565b612342565b34801561084657600080fd5b506104976108553660046145b0565b612371565b34801561086657600080fd5b50610497610875366004614675565b6123e6565b34801561088657600080fd5b5061041d61247f565b34801561089b57600080fd5b506105116108aa366004614649565b600f60209081526000928352604080842090915290825290205481565b3480156108d357600080fd5b506104976108e23660046145b0565b61248c565b3480156108f357600080fd5b50600a546001600160a01b031661045f565b34801561091157600080fd5b5061049761092036600461496c565b6125c7565b34801561093157600080fd5b50610497610940366004614675565b612669565b34801561095157600080fd5b5061041d612702565b34801561096657600080fd5b506104cc6109753660046145b0565b612711565b34801561098657600080fd5b506104976109953660046149d5565b612a50565b3480156109a657600080fd5b506104976109b536600461496c565b612a5f565b3480156109c657600080fd5b506105116109d5366004614649565b600e60209081526000928352604080842090915290825290205481565b3480156109fe57600080fd5b50610497610a0d366004614a29565b612b01565b348015610a1e57600080fd5b50610497610a2d366004614b09565b612b33565b348015610a3e57600080fd5b50610511610a4d3660046145b0565b601c6020526000908152604090205481565b348015610a6b57600080fd5b50610511610a7a3660046145b0565b601b6020526000908152604090205481565b348015610a9857600080fd5b50610497610aa736600461496c565b612cc7565b348015610ab857600080fd5b5061051160135481565b348015610ace57600080fd5b50610511610add3660046145b0565b600b6020526000908152604090205481565b348015610afb57600080fd5b5061051160155481565b348015610b1157600080fd5b5061041d610b203660046145b0565b612d69565b348015610b3157600080fd5b50610511610b403660046145b0565b60196020526000908152604090205481565b348015610b5e57600080fd5b50610511610b6d3660046145b0565b601d6020526000908152604090205481565b348015610b8b57600080fd5b50610497610b9a366004614675565b612fbc565b348015610bab57600080fd5b50610497610bba36600461496c565b6130f0565b348015610bcb57600080fd5b506103e8610bda366004614bc7565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b348015610c1457600080fd5b5061051160125481565b348015610c2a57600080fd5b50610497610c39366004614675565b6131be565b348015610c4a57600080fd5b50610497610c59366004614bf5565b61322b565b348015610c6a57600080fd5b50610497610c793660046149b8565b613312565b348015610c8a57600080fd5b50610497610c99366004614c5a565b6133aa565b348015610caa57600080fd5b50610511610cb93660046145b0565b60166020526000908152604090205481565b6000610cd6826133e0565b92915050565b600d6020526000908152604090208054610cf590614c9c565b80601f0160208091040260200160405190810160405280929190818152602001828054610d2190614c9c565b8015610d6e5780601f10610d4357610100808354040283529160200191610d6e565b820191906000526020600020905b815481529060010190602001808311610d5157829003601f168201915b505050505081565b606060008054610d8590614c9c565b80601f0160208091040260200160405190810160405280929190818152602001828054610db190614c9c565b8015610dfe5780601f10610dd357610100808354040283529160200191610dfe565b820191906000526020600020905b815481529060010190602001808311610de157829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b0316610e865760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6000610ead8261220e565b9050806001600160a01b0316836001600160a01b03161415610f1b5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610e7d565b336001600160a01b0382161480610f375750610f378133610bda565b610fa95760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610e7d565b610fb38383613405565b505050565b6000828152600b60205260409020548290610fe55760405162461bcd60e51b8152600401610e7d90614cd1565b3233146110045760405162461bcd60e51b8152600401610e7d90614d08565b60008381526018602052604090205463ffffffff1680158015906110285750804210155b6110745760405162461bcd60e51b815260206004820152601860248201527f53616c6520686173206e6f7420737461727465642079657400000000000000006044820152606401610e7d565b60008481526016602090815260408083205460179092529091205461109a908590614d55565b11156110e85760405162461bcd60e51b815260206004820152601c60248201527f4d61782061756374696f6e20737570706c792065786365656465642e000000006044820152606401610e7d565b60006110f385612711565b90508061018001518482610160015161110c9190614d55565b111561112a5760405162461bcd60e51b8152600401610e7d90614d6d565b601254336000908152601160209081526040808320898452909152902054611153908690614d55565b11156111995760405162461bcd60e51b815260206004820152601560248201527413585e081b5a5b9d081c5d1e48195e18d959591959605a1b6044820152606401610e7d565b6000846111a68785611e0d565b6111b09190614da4565b3360009081526011602090815260408083208a84529091529020549091506111d9908690614d55565b3360009081526011602090815260408083208a84529091529020556111fe8686613473565b60005b8581101561123d57611215336015546134eb565b6015805490600061122583614dc3565b9190505550808061123590614dc3565b915050611201565b5061124781613505565b505050505050565b611257614463565b60015b60135481116112b45761126c81612711565b915082826101a0015111158015611297575082826101800151836101a001516112959190614d55565b115b156112a25750919050565b806112ac81614dc3565b91505061125a565b50919050565b600c602052600090815260409020805481906112d590614c9c565b80601f016020809104026020016040519081016040528092919081815260200182805461130190614c9c565b801561134e5780601f106113235761010080835404028352916020019161134e565b820191906000526020600020905b81548152906001019060200180831161133157829003601f168201915b50505050509080600101805461136390614c9c565b80601f016020809104026020016040519081016040528092919081815260200182805461138f90614c9c565b80156113dc5780601f106113b1576101008083540402835291602001916113dc565b820191906000526020600020905b8154815290600101906020018083116113bf57829003601f168201915b5050505050908060020180546113f190614c9c565b80601f016020809104026020016040519081016040528092919081815260200182805461141d90614c9c565b801561146a5780601f1061143f5761010080835404028352916020019161146a565b820191906000526020600020905b81548152906001019060200180831161144d57829003601f168201915b50505050509080600301805461147f90614c9c565b80601f01602080910402602001604051908101604052809291908181526020018280546114ab90614c9c565b80156114f85780601f106114cd576101008083540402835291602001916114f8565b820191906000526020600020905b8154815290600101906020018083116114db57829003601f168201915b5050505050908060040154905085565b6000818152600b602052604090205481906115355760405162461bcd60e51b8152600401610e7d90614cd1565b3233146115545760405162461bcd60e51b8152600401610e7d90614d08565b600061155f83612711565b90508060c00151156115835760405162461bcd60e51b8152600401610e7d90614dde565b8061010001516115cc5760405162461bcd60e51b8152602060048201526014602482015273283ab13634b19039b0b632903737ba1037b832b760611b6044820152606401610e7d565b838161012001516115dd9190614da4565b341461161f5760405162461bcd60e51b815260206004820152601160248201527014185e5b595b9d081a5b98dbdc9c9958dd607a1b6044820152606401610e7d565b806101800151848261016001516116369190614d55565b11156116545760405162461bcd60e51b8152600401610e7d90614d6d565b601254336000908152600e6020908152604080832087845290915290205461167d908690614d55565b11156116bf5760405162461bcd60e51b8152602060048201526011602482015270145d585b9d1a5d1e48195e18d959591959607a1b6044820152606401610e7d565b336000908152600e602090815260408083208684529091529020546116e5908590614d55565b336000908152600e6020908152604080832087845290915290205561170a8385613473565b60005b8481101561174957611721336015546134eb565b6015805490600061173183614dc3565b9190505550808061174190614dc3565b91505061170d565b5050505050565b6000828152600b6020526040902054829061177d5760405162461bcd60e51b8152600401610e7d90614cd1565b600a546001600160a01b031633146117a75760405162461bcd60e51b8152600401610e7d90614e07565b61ffff82106117f85760405162461bcd60e51b815260206004820152601960248201527f6d6178537570706c7920657863656564732075696e7431362e000000000000006044820152606401610e7d565b600061180384612711565b905082816101600151111561186a5760405162461bcd60e51b815260206004820152602760248201527f4d75737420626520686967686572207468616e20746865206578697374696e6760448201526620737570706c7960c81b6064820152608401610e7d565b610180810183905261187c818561358c565b50505050565b61188d335b826137b3565b6118a95760405162461bcd60e51b8152600401610e7d90614e3c565b610fb38383836138aa565b6000888152600b602052604090205488906118e15760405162461bcd60e51b8152600401610e7d90614cd1565b3233146119005760405162461bcd60e51b8152600401610e7d90614d08565b600061190b8a612711565b90508060e0015161194e5760405162461bcd60e51b815260206004820152600d60248201526c29b0b632903737ba1037b832b760991b6044820152606401610e7d565b806101800151888a8361016001516119669190614d55565b6119709190614d55565b111561198e5760405162461bcd60e51b8152600401610e7d90614d6d565b336000908152600f602090815260408083208d845290915290205486906119b6908b90614d55565b11156119f75760405162461bcd60e51b815260206004820152601060248201526f20b6b7bab73a1032bc31b2b2b232b21760811b6044820152606401610e7d565b3360009081526010602090815260408083208d84529091529020548590611a1f908a90614d55565b1115611a6d5760405162461bcd60e51b815260206004820152601960248201527f446973636f756e7420616d6f756e742065786365656465642e000000000000006044820152606401610e7d565b87816101400151611a7e9190614da4565b89826101200151611a8f9190614da4565b611a999190614d55565b3414611adb5760405162461bcd60e51b815260206004820152601160248201527014185e5b595b9d081a5b98dbdc9c9958dd607a1b6044820152606401610e7d565b6040516bffffffffffffffffffffffff193360601b166020820152603481018890526054810187905260748101869052600090609401604051602081830303815290604052805190602001209050611b6a858580806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250505050608084015183613a51565b611ba75760405162461bcd60e51b815260206004820152600e60248201526d24b73b30b634b210383937b7b31760911b6044820152606401610e7d565b336000908152600f602090815260408083208e8452909152902054611bcd908b90614d55565b600f6000336001600160a01b03166001600160a01b0316815260200190815260200160002060008d8152602001908152602001600020819055508860106000336001600160a01b03166001600160a01b0316815260200190815260200160002060008d815260200190815260200160002054611c499190614d55565b3360009081526010602090815260408083208f8452909152902055611c778b611c728b8d614d55565b613473565b60005b611c848a8c614d55565b811015611cbf57611c97336015546134eb565b60158054906000611ca783614dc3565b91905055508080611cb790614dc3565b915050611c7a565b505050505050505050505050565b6000611cd883612285565b8210611d3a5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610e7d565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b6000818152600b60205260409020548190611d905760405162461bcd60e51b8152600401610e7d90614cd1565b600a546001600160a01b03163314611dba5760405162461bcd60e51b8152600401610e7d90614e07565b6000611dc583612711565b90508060c0015115611de95760405162461bcd60e51b8152600401610e7d90614dde565b8060e00151611df9576001611dfc565b60005b151560e0820152610fb3818461358c565b6000828152600b60205260408120548390611e3a5760405162461bcd60e51b8152600401610e7d90614cd1565b82421015611e58576000848152601960205260409020549150611ee8565b6000848152601b6020526040902054611e718442614e8d565b10611e8c576000848152601a60205260409020549150611ee8565b6000848152601c6020526040812054611ea58542614e8d565b611eaf9190614eba565b6000868152601d6020526040902054909150611ecb9082614da4565b600086815260196020526040902054611ee49190614e8d565b9250505b5092915050565b610fb383838360405180602001604052806000815250612b01565b611f1333611887565b611f785760405162461bcd60e51b815260206004820152603060248201527f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760448201526f1b995c881b9bdc88185c1c1c9bdd995960821b6064820152608401610e7d565b611f8181613a67565b50565b6000838152600b60205260408120548490611fb15760405162461bcd60e51b8152600401610e7d90614cd1565b8260011415611fe5576001600160a01b0384166000908152600e602090815260408083208884529091529020549150612074565b8260021415612019576001600160a01b0384166000908152600f602090815260408083208884529091529020549150612074565b826003141561204d576001600160a01b03841660009081526010602090815260408083208884529091529020549150612074565b6001600160a01b038416600090815260116020908152604080832088845290915290205491505b509392505050565b600061208760085490565b82106120ea5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610e7d565b600882815481106120fd576120fd614ece565b90600052602060002001549050919050565b600a546001600160a01b031633146121395760405162461bcd60e51b8152600401610e7d90614e07565b6040516001600160a01b0383169082156108fc029083906000818181858888f19350505050158015610fb3573d6000803e3d6000fd5b6000838152600b6020526040902054839061219c5760405162461bcd60e51b8152600401610e7d90614cd1565b600a546001600160a01b031633146121c65760405162461bcd60e51b8152600401610e7d90614e07565b60006121d185612711565b90508060c00151156121f55760405162461bcd60e51b8152600401610e7d90614ee4565b6000858152600c602052604090206112479085856144dd565b6000818152600260205260408120546001600160a01b031680610cd65760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610e7d565b60006001600160a01b0382166122f05760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610e7d565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b031633146123365760405162461bcd60e51b8152600401610e7d90614e07565b6123406000613b0e565b565b600a546001600160a01b0316331461236c5760405162461bcd60e51b8152600401610e7d90614e07565b601255565b6000818152600b6020526040902054819061239e5760405162461bcd60e51b8152600401610e7d90614cd1565b600a546001600160a01b031633146123c85760405162461bcd60e51b8152600401610e7d90614e07565b60006123d383612711565b600160c08201529050610fb3818461358c565b6000828152600b602052604090205482906124135760405162461bcd60e51b8152600401610e7d90614cd1565b600a546001600160a01b0316331461243d5760405162461bcd60e51b8152600401610e7d90614e07565b600160401b82106124605760405162461bcd60e51b8152600401610e7d90614f0f565b600061246b84612711565b6101208101849052905061187c818561358c565b60148054610cf590614c9c565b6000818152600b602052604090205481906124b95760405162461bcd60e51b8152600401610e7d90614cd1565b600a546001600160a01b031633146124e35760405162461bcd60e51b8152600401610e7d90614e07565b60006124ee83612711565b90508060c00151156125125760405162461bcd60e51b8152600401610e7d90614dde565b60008161018001511161255c5760405162461bcd60e51b815260206004820152601260248201527113585e081cdd5c1c1b1e481b9bdd081cd95d60721b6044820152606401610e7d565b6000816101200151116125a15760405162461bcd60e51b815260206004820152600d60248201526c141c9a58d9481b9bdd081cd95d609a1b6044820152606401610e7d565b8061010001516125b25760016125b5565b60005b1515610100820152610fb3818461358c565b6000838152600b602052604090205483906125f45760405162461bcd60e51b8152600401610e7d90614cd1565b600a546001600160a01b0316331461261e5760405162461bcd60e51b8152600401610e7d90614e07565b600061262985612711565b90508060c001511561264d5760405162461bcd60e51b8152600401610e7d90614ee4565b6000858152600c602052604090206112479060020185856144dd565b6000828152600b602052604090205482906126965760405162461bcd60e51b8152600401610e7d90614cd1565b600a546001600160a01b031633146126c05760405162461bcd60e51b8152600401610e7d90614e07565b600160401b82106126e35760405162461bcd60e51b8152600401610e7d90614f0f565b60006126ee84612711565b6101408101849052905061187c818561358c565b606060018054610d8590614c9c565b612719614463565b6000828152600b6020908152604080832054600160ff808316821460a080890191909152600884901c8216831460c0808a0191909152601085901c8316841460e08a0152601885901c90921690921461010088015261ffff83861c8116610160890152603084901c1661018088015267ffffffffffffffff83851c8116610120890152608084901c1661014088015282901c6101a0870152868552600c909352818420825193840190925281549093929190829082906127d890614c9c565b80601f016020809104026020016040519081016040528092919081815260200182805461280490614c9c565b80156128515780601f1061282657610100808354040283529160200191612851565b820191906000526020600020905b81548152906001019060200180831161283457829003601f168201915b5050505050815260200160018201805461286a90614c9c565b80601f016020809104026020016040519081016040528092919081815260200182805461289690614c9c565b80156128e35780601f106128b8576101008083540402835291602001916128e3565b820191906000526020600020905b8154815290600101906020018083116128c657829003601f168201915b505050505081526020016002820180546128fc90614c9c565b80601f016020809104026020016040519081016040528092919081815260200182805461292890614c9c565b80156129755780601f1061294a57610100808354040283529160200191612975565b820191906000526020600020905b81548152906001019060200180831161295857829003601f168201915b5050505050815260200160038201805461298e90614c9c565b80601f01602080910402602001604051908101604052809291908181526020018280546129ba90614c9c565b8015612a075780601f106129dc57610100808354040283529160200191612a07565b820191906000526020600020905b8154815290600101906020018083116129ea57829003601f168201915b5050509183525050600491909101546020918201528151855281810151908501526060808201516040808701919091528201519085015260809081015190840152509092915050565b612a5b338383613b60565b5050565b6000838152600b60205260409020548390612a8c5760405162461bcd60e51b8152600401610e7d90614cd1565b600a546001600160a01b03163314612ab65760405162461bcd60e51b8152600401610e7d90614e07565b6000612ac185612711565b90508060c0015115612ae55760405162461bcd60e51b8152600401610e7d90614ee4565b6000858152600c602052604090206112479060030185856144dd565b612b0b33836137b3565b612b275760405162461bcd60e51b8152600401610e7d90614e3c565b61187c84848484613c2f565b600a546001600160a01b03163314612b5d5760405162461bcd60e51b8152600401610e7d90614e07565b60008a8152600b602052604090205415612bb95760405162461bcd60e51b815260206004820152601760248201527f4368617074657220616c7265616479206578697374732e0000000000000000006044820152606401610e7d565b60018a1115612c27576000612bd261097560018d614e8d565b90508060c00151612c255760405162461bcd60e51b815260206004820152601c60248201527f50726576696f75732063686170746572207374696c6c206f70656e2e000000006044820152606401610e7d565b505b612c2f614463565b600160a08201526101208101839052610140810182905261018081018490526015546101a0820152612c61818c61358c565b60008b8152600c60205260409020612c7a908b8b6144dd565b5060008b8152600c60205260409020612c979060010187876144dd565b5060008b8152600c60205260409020612cb49060030189896144dd565b5050506013989098555050505050505050565b6000838152600b60205260409020548390612cf45760405162461bcd60e51b8152600401610e7d90614cd1565b600a546001600160a01b03163314612d1e5760405162461bcd60e51b8152600401610e7d90614e07565b6000612d2985612711565b90508060c0015115612d4d5760405162461bcd60e51b8152600401610e7d90614ee4565b6000858152600c602052604090206112479060010185856144dd565b6000818152600260205260409020546060906001600160a01b0316612dd05760405162461bcd60e51b815260206004820152601f60248201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e006044820152606401610e7d565b6000612ddb8361124f565b6101a08101519091506000612df08286614e8d565b90506000612dfd82613c62565b60608501516000888152600d6020526040812080549394509192909190612e2390614c9c565b80601f0160208091040260200160405190810160405280929190818152602001828054612e4f90614c9c565b8015612e9c5780601f10612e7157610100808354040283529160200191612e9c565b820191906000526020600020905b815481529060010190602001808311612e7f57829003601f168201915b50505050509050600081511115612eb857979650505050505050565b815115612eca57509695505050505050565b83612ef057604051806040016040528060018152602001600360fc1b8152509250612f4c565b600a841015612f205782604051602001612f0a9190614f5a565b6040516020818303038152906040529250612f4c565b6064841015612f4c5782604051602001612f3a9190614f84565b60405160208183030381529060405292505b85516040808801516020808a01519251600094612f8c94612f789491938a936014918691869101615047565b604051602081830303815290604052613d60565b905080604051602001612f9f91906151db565b604051602081830303815290604052975050505050505050919050565b6000818152600b60205260409020548190612fe95760405162461bcd60e51b8152600401610e7d90614cd1565b600a546001600160a01b031633146130135760405162461bcd60e51b8152600401610e7d90614e07565b600061301e83612711565b90508060c00151156130425760405162461bcd60e51b8152600401610e7d90614dde565b806101800151848261016001516130599190614d55565b11156130a75760405162461bcd60e51b815260206004820152601f60248201527f457863656564732063686170746572206d6178696d756d20737570706c792e006044820152606401610e7d565b6130b18385613473565b60005b84811015611749576130c8336015546134eb565b601580549060006130d883614dc3565b919050555080806130e890614dc3565b9150506130b4565b600a546001600160a01b0316331461311a5760405162461bcd60e51b8152600401610e7d90614e07565b6000838152600260205260409020546001600160a01b03166131765760405162461bcd60e51b81526020600482015260156024820152742a37b5b2b7103237b2b9903737ba1032bc34b9ba1760591b6044820152606401610e7d565b60006131818461124f565b90508060c00151156131a55760405162461bcd60e51b8152600401610e7d90614ee4565b6000848152600d602052604090206117499084846144dd565b6000828152600b602052604090205482906131eb5760405162461bcd60e51b8152600401610e7d90614cd1565b600a546001600160a01b031633146132155760405162461bcd60e51b8152600401610e7d90614e07565b506000918252600c602052604090912060040155565b6000878152600b602052604090205487906132585760405162461bcd60e51b8152600401610e7d90614cd1565b600a546001600160a01b031633146132825760405162461bcd60e51b8152600401610e7d90614e07565b60008881526016602090815260408083208a905560188252808320805463ffffffff191663ffffffff8b1617905560198252808320889055601a8252808320879055601b8252808320869055601c90915290208290556132e28284614eba565b6132ec8587614e8d565b6132f69190614eba565b6000988952601d60205260409098209790975550505050505050565b600a546001600160a01b0316331461333c5760405162461bcd60e51b8152600401610e7d90614e07565b6001600160a01b0381166133a15760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610e7d565b611f8181613b0e565b600a546001600160a01b031633146133d45760405162461bcd60e51b8152600401610e7d90614e07565b610fb3601483836144dd565b60006001600160e01b0319821663780e9d6360e01b1480610cd65750610cd682613ec6565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061343a8261220e565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b61ffff81106134bd5760405162461bcd60e51b815260206004820152601660248201527529bab838363c9032bc31b2b2b239903ab4b73a189b1760511b6044820152606401610e7d565b60006134c883612711565b9050818161016001516134db9190614d55565b610160820152610fb3818461358c565b612a5b828260405180602001604052806000815250613f16565b8034101561354e5760405162461bcd60e51b81526020600482015260166024820152752732b2b2103a379039b2b7321036b7b9329022aa241760511b6044820152606401610e7d565b80341115611f8157336108fc6135648334614e8d565b6040518115909202916000818181858888f19350505050158015612a5b573d6000803e3d6000fd5b6101608201516101808301516101208401516101408501516101a086015161ffff85106135f75760405162461bcd60e51b815260206004820152601960248201527826b0bc29bab838363c9032bc31b2b2b239903ab4b73a189b1760391b6044820152606401610e7d565b61ffff84106136445760405162461bcd60e51b815260206004820152601960248201527826b0bc29bab838363c9032bc31b2b2b239903ab4b73a189b1760391b6044820152606401610e7d565b600160401b83106136675760405162461bcd60e51b8152600401610e7d90614f0f565b600160401b82106136ba5760405162461bcd60e51b815260206004820152601d60248201527f446973636f756e74507269636520657863656564732075696e7436342e0000006044820152606401610e7d565b600160401b811061370d5760405162461bcd60e51b815260206004820152601a60248201527f4669727374546f6b656e20657863656564732075696e7436342e0000000000006044820152606401610e7d565b60008760a0015161371f576000613722565b60015b905060088860c00151613736576000613739565b60015b901b8117905060108860e00151613751576000613754565b60015b901b81179050601888610100015161376d576000613770565b60015b6000988952600b60209081526040998a902060c09590951b60809690961b9690991b60309790971b9790981b97901b179590951793909317919091171717905550565b6000818152600260205260408120546001600160a01b031661382c5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610e7d565b60006138378361220e565b9050806001600160a01b0316846001600160a01b031614806138725750836001600160a01b031661386784610e08565b6001600160a01b0316145b806138a257506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b03166138bd8261220e565b6001600160a01b0316146139215760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b6064820152608401610e7d565b6001600160a01b0382166139835760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610e7d565b61398e838383613f49565b613999600082613405565b6001600160a01b03831660009081526003602052604081208054600192906139c2908490614e8d565b90915550506001600160a01b03821660009081526003602052604081208054600192906139f0908490614d55565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600082613a5e8584613f54565b14949350505050565b6000613a728261220e565b9050613a8081600084613f49565b613a8b600083613405565b6001600160a01b0381166000908152600360205260408120805460019290613ab4908490614e8d565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b03161415613bc25760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610e7d565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b613c3a8484846138aa565b613c4684848484613fc0565b61187c5760405162461bcd60e51b8152600401610e7d90615220565b606081613c865750506040805180820190915260018152600360fc1b602082015290565b8160005b8115613cb05780613c9a81614dc3565b9150613ca99050600a83614eba565b9150613c8a565b60008167ffffffffffffffff811115613ccb57613ccb614a13565b6040519080825280601f01601f191660200182016040528015613cf5576020820181803683370190505b5090505b84156138a257613d0a600183614e8d565b9150613d17600a86615272565b613d22906030614d55565b60f81b818381518110613d3757613d37614ece565b60200101906001600160f81b031916908160001a905350613d59600a86614eba565b9450613cf9565b6060815160001415613d8057505060408051602081019091526000815290565b60006040518060600160405280604081526020016152f76040913990506000600384516002613daf9190614d55565b613db99190614eba565b613dc4906004614da4565b90506000613dd3826020614d55565b67ffffffffffffffff811115613deb57613deb614a13565b6040519080825280601f01601f191660200182016040528015613e15576020820181803683370190505b509050818152600183018586518101602084015b81831015613e81576003830192508251603f8160121c168501518253600182019150603f81600c1c168501518253600182019150603f8160061c168501518253600182019150603f8116850151825350600101613e29565b600389510660018114613e9b5760028114613eac57613eb8565b613d3d60f01b600119830152613eb8565b603d60f81b6000198301525b509398975050505050505050565b60006001600160e01b031982166380ac58cd60e01b1480613ef757506001600160e01b03198216635b5e139f60e01b145b80610cd657506301ffc9a760e01b6001600160e01b0319831614610cd6565b613f2083836140cd565b613f2d6000848484613fc0565b610fb35760405162461bcd60e51b8152600401610e7d90615220565b610fb383838361421b565b600081815b8451811015612074576000858281518110613f7657613f76614ece565b60200260200101519050808311613f9c5760008381526020829052604090209250613fad565b600081815260208490526040902092505b5080613fb881614dc3565b915050613f59565b60006001600160a01b0384163b156140c257604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290614004903390899088908890600401615286565b602060405180830381600087803b15801561401e57600080fd5b505af192505050801561404e575060408051601f3d908101601f1916820190925261404b918101906152c3565b60015b6140a8573d80801561407c576040519150601f19603f3d011682016040523d82523d6000602084013e614081565b606091505b5080516140a05760405162461bcd60e51b8152600401610e7d90615220565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506138a2565b506001949350505050565b6001600160a01b0382166141235760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610e7d565b6000818152600260205260409020546001600160a01b0316156141885760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610e7d565b61419460008383613f49565b6001600160a01b03821660009081526003602052604081208054600192906141bd908490614d55565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6001600160a01b0383166142765761427181600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b614299565b816001600160a01b0316836001600160a01b0316146142995761429983826142d3565b6001600160a01b0382166142b057610fb381614370565b826001600160a01b0316826001600160a01b031614610fb357610fb3828261441f565b600060016142e084612285565b6142ea9190614e8d565b60008381526007602052604090205490915080821461433d576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061438290600190614e8d565b600083815260096020526040812054600880549394509092849081106143aa576143aa614ece565b9060005260206000200154905080600883815481106143cb576143cb614ece565b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480614403576144036152e0565b6001900381819060005260206000200160009055905550505050565b600061442a83612285565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b604051806101c00160405280606081526020016060815260200160608152602001606081526020016000801916815260200160001515815260200160001515815260200160001515815260200160001515815260200160008152602001600081526020016000815260200160008152602001600081525090565b8280546144e990614c9c565b90600052602060002090601f01602090048101928261450b5760008555614551565b82601f106145245782800160ff19823516178555614551565b82800160010185558215614551579182015b82811115614551578235825591602001919060010190614536565b5061455d929150614561565b5090565b5b8082111561455d5760008155600101614562565b6001600160e01b031981168114611f8157600080fd5b60006020828403121561459e57600080fd5b81356145a981614576565b9392505050565b6000602082840312156145c257600080fd5b5035919050565b60005b838110156145e45781810151838201526020016145cc565b8381111561187c5750506000910152565b6000815180845261460d8160208601602086016145c9565b601f01601f19169290920160200192915050565b6020815260006145a960208301846145f5565b6001600160a01b0381168114611f8157600080fd5b6000806040838503121561465c57600080fd5b823561466781614634565b946020939093013593505050565b6000806040838503121561468857600080fd5b50508035926020909101359150565b60208152600082516101c08060208501526146b66101e08501836145f5565b91506020850151601f19808685030160408701526146d484836145f5565b935060408701519150808685030160608701526146f184836145f5565b935060608701519150808685030160808701525061470f83826145f5565b925050608085015160a085015260a085015161472f60c086018215159052565b5060c085015180151560e08601525060e08501516101006147538187018315159052565b86015190506101206147688682018315159052565b8601516101408681019190915286015161016080870191909152860151610180808701919091528601516101a0808701919091529095015193019290925250919050565b60a0815260006147bf60a08301886145f5565b82810360208401526147d181886145f5565b905082810360408401526147e581876145f5565b905082810360608401526147f981866145f5565b9150508260808301529695505050505050565b60008060006060848603121561482157600080fd5b833561482c81614634565b9250602084013561483c81614634565b929592945050506040919091013590565b60008060008060008060008060e0898b03121561486957600080fd5b883597506020890135965060408901359550606089013594506080890135935060a0890135925060c089013567ffffffffffffffff808211156148ab57600080fd5b818b0191508b601f8301126148bf57600080fd5b8135818111156148ce57600080fd5b8c60208260051b85010111156148e357600080fd5b6020830194508093505050509295985092959890939650565b60008060006060848603121561491157600080fd5b83359250602084013561483c81614634565b60008083601f84011261493557600080fd5b50813567ffffffffffffffff81111561494d57600080fd5b60208301915083602082850101111561496557600080fd5b9250929050565b60008060006040848603121561498157600080fd5b83359250602084013567ffffffffffffffff81111561499f57600080fd5b6149ab86828701614923565b9497909650939450505050565b6000602082840312156149ca57600080fd5b81356145a981614634565b600080604083850312156149e857600080fd5b82356149f381614634565b915060208301358015158114614a0857600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b60008060008060808587031215614a3f57600080fd5b8435614a4a81614634565b93506020850135614a5a81614634565b925060408501359150606085013567ffffffffffffffff80821115614a7e57600080fd5b818701915087601f830112614a9257600080fd5b813581811115614aa457614aa4614a13565b604051601f8201601f19908116603f01168101908382118183101715614acc57614acc614a13565b816040528281528a6020848701011115614ae557600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b60008060008060008060008060008060e08b8d031215614b2857600080fd5b8a35995060208b013567ffffffffffffffff80821115614b4757600080fd5b614b538e838f01614923565b909b50995060408d0135915080821115614b6c57600080fd5b614b788e838f01614923565b909950975060608d0135915080821115614b9157600080fd5b50614b9e8d828e01614923565b9b9e9a9d50989b979a9699969760808101359760a0820135975060c09091013595509350505050565b60008060408385031215614bda57600080fd5b8235614be581614634565b91506020830135614a0881614634565b600080600080600080600060e0888a031215614c1057600080fd5b8735965060208801359550604088013563ffffffff81168114614c3257600080fd5b969995985095966060810135965060808101359560a0820135955060c0909101359350915050565b60008060208385031215614c6d57600080fd5b823567ffffffffffffffff811115614c8457600080fd5b614c9085828601614923565b90969095509350505050565b600181811c90821680614cb057607f821691505b602082108114156112b457634e487b7160e01b600052602260045260246000fd5b60208082526017908201527f4368617074657220646f6573206e6f742065786973742e000000000000000000604082015260600190565b6020808252601e908201527f5468652063616c6c657220697320616e6f7468657220636f6e74726163740000604082015260600190565b634e487b7160e01b600052601160045260246000fd5b60008219821115614d6857614d68614d3f565b500190565b6020808252601c908201527f4d617820707572636861736520737570706c7920657863656564656400000000604082015260600190565b6000816000190483118215151615614dbe57614dbe614d3f565b500290565b6000600019821415614dd757614dd7614d3f565b5060010190565b6020808252600f908201526e21b430b83a32b910333937bd32b71760891b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b600082821015614e9f57614e9f614d3f565b500390565b634e487b7160e01b600052601260045260246000fd5b600082614ec957614ec9614ea4565b500490565b634e487b7160e01b600052603260045260246000fd5b60208082526011908201527021b430b83a32b91034b990333937bd32b760791b604082015260600190565b602080825260159082015274283934b1b29032bc31b2b2b239903ab4b73a1b1a1760591b604082015260600190565b60008151614f508185602086016145c9565b9290920192915050565b61030360f41b815260008251614f778160028501602087016145c9565b9190910160020192915050565b600360fc1b815260008251614fa08160018501602087016145c9565b9190910160010192915050565b8054600090600181811c9080831680614fc757607f831692505b6020808410821415614fe957634e487b7160e01b600052602260045260246000fd5b818015614ffd576001811461500e5761503b565b60ff1986168952848901965061503b565b60008881526020902060005b868110156150335781548b82015290850190830161501a565b505084890196505b50505050505092915050565b693d913730b6b2911d101160b11b8152875160009061506d81600a850160208d016145c9565b63202d202360e01b600a91840191820152885161509181600e840160208d016145c9565b72111610113232b9b1b934b83a34b7b7111d101160691b600e929091019182015287516150c5816021840160208c016145c9565b6c1116101134b6b0b3b2911d101160991b6021929091019182015286516150f381602e840160208b016145c9565b731116101132bc3a32b93730b62fbab936111d101160611b602e92909101918201526151cd6151bd6151b761517e615178615131604287018c614fad565b7f222c202261747472696275746573223a205b7b2274726169745f74797065223a815274101121b430b83a32b91116113b30b63ab2911d101160591b602082015260350190565b89614f3e565b7f227d2c7b2274726169745f74797065223a202245646974696f6e222c2276616c8152667565223a20222360c81b602082015260270190565b86614f3e565b63227d5d7d60e01b815260040190565b9a9950505050505050505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c00000081526000825161521381601d8501602087016145c9565b91909101601d0192915050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60008261528157615281614ea4565b500690565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906152b9908301846145f5565b9695505050505050565b6000602082840312156152d557600080fd5b81516145a981614576565b634e487b7160e01b600052603160045260246000fdfe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa26469706673582212205576dfaacc06d89e116b48ce34bcc2bc4cd4b078ff25a306bb5fd02175ae5c3064736f6c63430008090033

Deployed Bytecode

0x6080604052600436106103c35760003560e01c806382367b2d116101f2578063be51996d1161010d578063e42a8259116100a0578063f26ea76d1161006f578063f26ea76d14610c3e578063f2fde38b14610c5e578063f87f44b914610c7e578063fc7434f014610c9e57600080fd5b8063e42a825914610b9f578063e985e9c514610bbf578063f0292a0314610c08578063f1e3311514610c1e57600080fd5b8063c87b56dd116100dc578063c87b56dd14610b05578063cdc565f314610b25578063d1aee95514610b52578063d47573d414610b7f57600080fd5b8063be51996d14610a8c578063bf9bf0ee14610aac578063c3256d4814610ac2578063c54d668f14610aef57600080fd5b806399f7b56711610185578063b88d4fde11610154578063b88d4fde146109f2578063b9f8911814610a12578063bd934ccf14610a32578063be307ae814610a5f57600080fd5b806399f7b5671461095a578063a22cb4651461097a578063a51694041461099a578063b7656808146109ba57600080fd5b80638da5cb5b116101c15780638da5cb5b146108e75780638fd13a7b14610905578063909b83221461092557806395d89b411461094557600080fd5b806382367b2d1461085a578063850566331461087a5780638afbb17d1461088f5780638cf7be7e146108c757600080fd5b806334790468116102e2578063522f68151161027557806370a082311161024457806370a08231146107e5578063715018a614610805578063748a11811461081a57806378838c081461083a57600080fd5b8063522f68151461074d5780635425e7741461076d5780636352211e1461078d57806370807a4e146107ad57600080fd5b806342966c68116102b157806342966c68146106c057806345368a01146106e05780634d6a071d146107005780634f6ccce71461072d57600080fd5b806334790468146106185780633bf6cebb146106385780633eab46bd1461065857806342842e0e146106a057600080fd5b8063127058091161035a578063238e875f11610329578063238e875f146105a557806323b872dd146105c55780632875ea3c146105e55780632f745c59146105f857600080fd5b8063127058091461051f57806318160ddd146105505780631b2ef1ca146105655780631ebc23ba1461057857600080fd5b8063095ea7b311610396578063095ea7b3146104775780630c96d38e146104995780630cfd404d146104ac5780630e90bc3a146104d957600080fd5b806301ffc9a7146103c85780630449a1ed146103fd57806306fdde031461042a578063081812fc1461043f575b600080fd5b3480156103d457600080fd5b506103e86103e336600461458c565b610ccb565b60405190151581526020015b60405180910390f35b34801561040957600080fd5b5061041d6104183660046145b0565b610cdc565b6040516103f49190614621565b34801561043657600080fd5b5061041d610d76565b34801561044b57600080fd5b5061045f61045a3660046145b0565b610e08565b6040516001600160a01b0390911681526020016103f4565b34801561048357600080fd5b50610497610492366004614649565b610ea2565b005b6104976104a7366004614675565b610fb8565b3480156104b857600080fd5b506104cc6104c73660046145b0565b61124f565b6040516103f49190614697565b3480156104e557600080fd5b506105116104f4366004614649565b601060209081526000928352604080842090915290825290205481565b6040519081526020016103f4565b34801561052b57600080fd5b5061053f61053a3660046145b0565b6112ba565b6040516103f49594939291906147ac565b34801561055c57600080fd5b50600854610511565b610497610573366004614675565b611508565b34801561058457600080fd5b506105116105933660046145b0565b60176020526000908152604090205481565b3480156105b157600080fd5b506104976105c0366004614675565b611750565b3480156105d157600080fd5b506104976105e036600461480c565b611882565b6104976105f336600461484d565b6118b4565b34801561060457600080fd5b50610511610613366004614649565b611ccd565b34801561062457600080fd5b506104976106333660046145b0565b611d63565b34801561064457600080fd5b50610511610653366004614675565b611e0d565b34801561066457600080fd5b5061068b6106733660046145b0565b60186020526000908152604090205463ffffffff1681565b60405163ffffffff90911681526020016103f4565b3480156106ac57600080fd5b506104976106bb36600461480c565b611eef565b3480156106cc57600080fd5b506104976106db3660046145b0565b611f0a565b3480156106ec57600080fd5b506105116106fb3660046148fc565b611f84565b34801561070c57600080fd5b5061051161071b3660046145b0565b601a6020526000908152604090205481565b34801561073957600080fd5b506105116107483660046145b0565b61207c565b34801561075957600080fd5b50610497610768366004614649565b61210f565b34801561077957600080fd5b5061049761078836600461496c565b61216f565b34801561079957600080fd5b5061045f6107a83660046145b0565b61220e565b3480156107b957600080fd5b506105116107c8366004614649565b601160209081526000928352604080842090915290825290205481565b3480156107f157600080fd5b506105116108003660046149b8565b612285565b34801561081157600080fd5b5061049761230c565b34801561082657600080fd5b506104976108353660046145b0565b612342565b34801561084657600080fd5b506104976108553660046145b0565b612371565b34801561086657600080fd5b50610497610875366004614675565b6123e6565b34801561088657600080fd5b5061041d61247f565b34801561089b57600080fd5b506105116108aa366004614649565b600f60209081526000928352604080842090915290825290205481565b3480156108d357600080fd5b506104976108e23660046145b0565b61248c565b3480156108f357600080fd5b50600a546001600160a01b031661045f565b34801561091157600080fd5b5061049761092036600461496c565b6125c7565b34801561093157600080fd5b50610497610940366004614675565b612669565b34801561095157600080fd5b5061041d612702565b34801561096657600080fd5b506104cc6109753660046145b0565b612711565b34801561098657600080fd5b506104976109953660046149d5565b612a50565b3480156109a657600080fd5b506104976109b536600461496c565b612a5f565b3480156109c657600080fd5b506105116109d5366004614649565b600e60209081526000928352604080842090915290825290205481565b3480156109fe57600080fd5b50610497610a0d366004614a29565b612b01565b348015610a1e57600080fd5b50610497610a2d366004614b09565b612b33565b348015610a3e57600080fd5b50610511610a4d3660046145b0565b601c6020526000908152604090205481565b348015610a6b57600080fd5b50610511610a7a3660046145b0565b601b6020526000908152604090205481565b348015610a9857600080fd5b50610497610aa736600461496c565b612cc7565b348015610ab857600080fd5b5061051160135481565b348015610ace57600080fd5b50610511610add3660046145b0565b600b6020526000908152604090205481565b348015610afb57600080fd5b5061051160155481565b348015610b1157600080fd5b5061041d610b203660046145b0565b612d69565b348015610b3157600080fd5b50610511610b403660046145b0565b60196020526000908152604090205481565b348015610b5e57600080fd5b50610511610b6d3660046145b0565b601d6020526000908152604090205481565b348015610b8b57600080fd5b50610497610b9a366004614675565b612fbc565b348015610bab57600080fd5b50610497610bba36600461496c565b6130f0565b348015610bcb57600080fd5b506103e8610bda366004614bc7565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b348015610c1457600080fd5b5061051160125481565b348015610c2a57600080fd5b50610497610c39366004614675565b6131be565b348015610c4a57600080fd5b50610497610c59366004614bf5565b61322b565b348015610c6a57600080fd5b50610497610c793660046149b8565b613312565b348015610c8a57600080fd5b50610497610c99366004614c5a565b6133aa565b348015610caa57600080fd5b50610511610cb93660046145b0565b60166020526000908152604090205481565b6000610cd6826133e0565b92915050565b600d6020526000908152604090208054610cf590614c9c565b80601f0160208091040260200160405190810160405280929190818152602001828054610d2190614c9c565b8015610d6e5780601f10610d4357610100808354040283529160200191610d6e565b820191906000526020600020905b815481529060010190602001808311610d5157829003601f168201915b505050505081565b606060008054610d8590614c9c565b80601f0160208091040260200160405190810160405280929190818152602001828054610db190614c9c565b8015610dfe5780601f10610dd357610100808354040283529160200191610dfe565b820191906000526020600020905b815481529060010190602001808311610de157829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b0316610e865760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6000610ead8261220e565b9050806001600160a01b0316836001600160a01b03161415610f1b5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610e7d565b336001600160a01b0382161480610f375750610f378133610bda565b610fa95760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610e7d565b610fb38383613405565b505050565b6000828152600b60205260409020548290610fe55760405162461bcd60e51b8152600401610e7d90614cd1565b3233146110045760405162461bcd60e51b8152600401610e7d90614d08565b60008381526018602052604090205463ffffffff1680158015906110285750804210155b6110745760405162461bcd60e51b815260206004820152601860248201527f53616c6520686173206e6f7420737461727465642079657400000000000000006044820152606401610e7d565b60008481526016602090815260408083205460179092529091205461109a908590614d55565b11156110e85760405162461bcd60e51b815260206004820152601c60248201527f4d61782061756374696f6e20737570706c792065786365656465642e000000006044820152606401610e7d565b60006110f385612711565b90508061018001518482610160015161110c9190614d55565b111561112a5760405162461bcd60e51b8152600401610e7d90614d6d565b601254336000908152601160209081526040808320898452909152902054611153908690614d55565b11156111995760405162461bcd60e51b815260206004820152601560248201527413585e081b5a5b9d081c5d1e48195e18d959591959605a1b6044820152606401610e7d565b6000846111a68785611e0d565b6111b09190614da4565b3360009081526011602090815260408083208a84529091529020549091506111d9908690614d55565b3360009081526011602090815260408083208a84529091529020556111fe8686613473565b60005b8581101561123d57611215336015546134eb565b6015805490600061122583614dc3565b9190505550808061123590614dc3565b915050611201565b5061124781613505565b505050505050565b611257614463565b60015b60135481116112b45761126c81612711565b915082826101a0015111158015611297575082826101800151836101a001516112959190614d55565b115b156112a25750919050565b806112ac81614dc3565b91505061125a565b50919050565b600c602052600090815260409020805481906112d590614c9c565b80601f016020809104026020016040519081016040528092919081815260200182805461130190614c9c565b801561134e5780601f106113235761010080835404028352916020019161134e565b820191906000526020600020905b81548152906001019060200180831161133157829003601f168201915b50505050509080600101805461136390614c9c565b80601f016020809104026020016040519081016040528092919081815260200182805461138f90614c9c565b80156113dc5780601f106113b1576101008083540402835291602001916113dc565b820191906000526020600020905b8154815290600101906020018083116113bf57829003601f168201915b5050505050908060020180546113f190614c9c565b80601f016020809104026020016040519081016040528092919081815260200182805461141d90614c9c565b801561146a5780601f1061143f5761010080835404028352916020019161146a565b820191906000526020600020905b81548152906001019060200180831161144d57829003601f168201915b50505050509080600301805461147f90614c9c565b80601f01602080910402602001604051908101604052809291908181526020018280546114ab90614c9c565b80156114f85780601f106114cd576101008083540402835291602001916114f8565b820191906000526020600020905b8154815290600101906020018083116114db57829003601f168201915b5050505050908060040154905085565b6000818152600b602052604090205481906115355760405162461bcd60e51b8152600401610e7d90614cd1565b3233146115545760405162461bcd60e51b8152600401610e7d90614d08565b600061155f83612711565b90508060c00151156115835760405162461bcd60e51b8152600401610e7d90614dde565b8061010001516115cc5760405162461bcd60e51b8152602060048201526014602482015273283ab13634b19039b0b632903737ba1037b832b760611b6044820152606401610e7d565b838161012001516115dd9190614da4565b341461161f5760405162461bcd60e51b815260206004820152601160248201527014185e5b595b9d081a5b98dbdc9c9958dd607a1b6044820152606401610e7d565b806101800151848261016001516116369190614d55565b11156116545760405162461bcd60e51b8152600401610e7d90614d6d565b601254336000908152600e6020908152604080832087845290915290205461167d908690614d55565b11156116bf5760405162461bcd60e51b8152602060048201526011602482015270145d585b9d1a5d1e48195e18d959591959607a1b6044820152606401610e7d565b336000908152600e602090815260408083208684529091529020546116e5908590614d55565b336000908152600e6020908152604080832087845290915290205561170a8385613473565b60005b8481101561174957611721336015546134eb565b6015805490600061173183614dc3565b9190505550808061174190614dc3565b91505061170d565b5050505050565b6000828152600b6020526040902054829061177d5760405162461bcd60e51b8152600401610e7d90614cd1565b600a546001600160a01b031633146117a75760405162461bcd60e51b8152600401610e7d90614e07565b61ffff82106117f85760405162461bcd60e51b815260206004820152601960248201527f6d6178537570706c7920657863656564732075696e7431362e000000000000006044820152606401610e7d565b600061180384612711565b905082816101600151111561186a5760405162461bcd60e51b815260206004820152602760248201527f4d75737420626520686967686572207468616e20746865206578697374696e6760448201526620737570706c7960c81b6064820152608401610e7d565b610180810183905261187c818561358c565b50505050565b61188d335b826137b3565b6118a95760405162461bcd60e51b8152600401610e7d90614e3c565b610fb38383836138aa565b6000888152600b602052604090205488906118e15760405162461bcd60e51b8152600401610e7d90614cd1565b3233146119005760405162461bcd60e51b8152600401610e7d90614d08565b600061190b8a612711565b90508060e0015161194e5760405162461bcd60e51b815260206004820152600d60248201526c29b0b632903737ba1037b832b760991b6044820152606401610e7d565b806101800151888a8361016001516119669190614d55565b6119709190614d55565b111561198e5760405162461bcd60e51b8152600401610e7d90614d6d565b336000908152600f602090815260408083208d845290915290205486906119b6908b90614d55565b11156119f75760405162461bcd60e51b815260206004820152601060248201526f20b6b7bab73a1032bc31b2b2b232b21760811b6044820152606401610e7d565b3360009081526010602090815260408083208d84529091529020548590611a1f908a90614d55565b1115611a6d5760405162461bcd60e51b815260206004820152601960248201527f446973636f756e7420616d6f756e742065786365656465642e000000000000006044820152606401610e7d565b87816101400151611a7e9190614da4565b89826101200151611a8f9190614da4565b611a999190614d55565b3414611adb5760405162461bcd60e51b815260206004820152601160248201527014185e5b595b9d081a5b98dbdc9c9958dd607a1b6044820152606401610e7d565b6040516bffffffffffffffffffffffff193360601b166020820152603481018890526054810187905260748101869052600090609401604051602081830303815290604052805190602001209050611b6a858580806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250505050608084015183613a51565b611ba75760405162461bcd60e51b815260206004820152600e60248201526d24b73b30b634b210383937b7b31760911b6044820152606401610e7d565b336000908152600f602090815260408083208e8452909152902054611bcd908b90614d55565b600f6000336001600160a01b03166001600160a01b0316815260200190815260200160002060008d8152602001908152602001600020819055508860106000336001600160a01b03166001600160a01b0316815260200190815260200160002060008d815260200190815260200160002054611c499190614d55565b3360009081526010602090815260408083208f8452909152902055611c778b611c728b8d614d55565b613473565b60005b611c848a8c614d55565b811015611cbf57611c97336015546134eb565b60158054906000611ca783614dc3565b91905055508080611cb790614dc3565b915050611c7a565b505050505050505050505050565b6000611cd883612285565b8210611d3a5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610e7d565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b6000818152600b60205260409020548190611d905760405162461bcd60e51b8152600401610e7d90614cd1565b600a546001600160a01b03163314611dba5760405162461bcd60e51b8152600401610e7d90614e07565b6000611dc583612711565b90508060c0015115611de95760405162461bcd60e51b8152600401610e7d90614dde565b8060e00151611df9576001611dfc565b60005b151560e0820152610fb3818461358c565b6000828152600b60205260408120548390611e3a5760405162461bcd60e51b8152600401610e7d90614cd1565b82421015611e58576000848152601960205260409020549150611ee8565b6000848152601b6020526040902054611e718442614e8d565b10611e8c576000848152601a60205260409020549150611ee8565b6000848152601c6020526040812054611ea58542614e8d565b611eaf9190614eba565b6000868152601d6020526040902054909150611ecb9082614da4565b600086815260196020526040902054611ee49190614e8d565b9250505b5092915050565b610fb383838360405180602001604052806000815250612b01565b611f1333611887565b611f785760405162461bcd60e51b815260206004820152603060248201527f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760448201526f1b995c881b9bdc88185c1c1c9bdd995960821b6064820152608401610e7d565b611f8181613a67565b50565b6000838152600b60205260408120548490611fb15760405162461bcd60e51b8152600401610e7d90614cd1565b8260011415611fe5576001600160a01b0384166000908152600e602090815260408083208884529091529020549150612074565b8260021415612019576001600160a01b0384166000908152600f602090815260408083208884529091529020549150612074565b826003141561204d576001600160a01b03841660009081526010602090815260408083208884529091529020549150612074565b6001600160a01b038416600090815260116020908152604080832088845290915290205491505b509392505050565b600061208760085490565b82106120ea5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610e7d565b600882815481106120fd576120fd614ece565b90600052602060002001549050919050565b600a546001600160a01b031633146121395760405162461bcd60e51b8152600401610e7d90614e07565b6040516001600160a01b0383169082156108fc029083906000818181858888f19350505050158015610fb3573d6000803e3d6000fd5b6000838152600b6020526040902054839061219c5760405162461bcd60e51b8152600401610e7d90614cd1565b600a546001600160a01b031633146121c65760405162461bcd60e51b8152600401610e7d90614e07565b60006121d185612711565b90508060c00151156121f55760405162461bcd60e51b8152600401610e7d90614ee4565b6000858152600c602052604090206112479085856144dd565b6000818152600260205260408120546001600160a01b031680610cd65760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610e7d565b60006001600160a01b0382166122f05760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610e7d565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b031633146123365760405162461bcd60e51b8152600401610e7d90614e07565b6123406000613b0e565b565b600a546001600160a01b0316331461236c5760405162461bcd60e51b8152600401610e7d90614e07565b601255565b6000818152600b6020526040902054819061239e5760405162461bcd60e51b8152600401610e7d90614cd1565b600a546001600160a01b031633146123c85760405162461bcd60e51b8152600401610e7d90614e07565b60006123d383612711565b600160c08201529050610fb3818461358c565b6000828152600b602052604090205482906124135760405162461bcd60e51b8152600401610e7d90614cd1565b600a546001600160a01b0316331461243d5760405162461bcd60e51b8152600401610e7d90614e07565b600160401b82106124605760405162461bcd60e51b8152600401610e7d90614f0f565b600061246b84612711565b6101208101849052905061187c818561358c565b60148054610cf590614c9c565b6000818152600b602052604090205481906124b95760405162461bcd60e51b8152600401610e7d90614cd1565b600a546001600160a01b031633146124e35760405162461bcd60e51b8152600401610e7d90614e07565b60006124ee83612711565b90508060c00151156125125760405162461bcd60e51b8152600401610e7d90614dde565b60008161018001511161255c5760405162461bcd60e51b815260206004820152601260248201527113585e081cdd5c1c1b1e481b9bdd081cd95d60721b6044820152606401610e7d565b6000816101200151116125a15760405162461bcd60e51b815260206004820152600d60248201526c141c9a58d9481b9bdd081cd95d609a1b6044820152606401610e7d565b8061010001516125b25760016125b5565b60005b1515610100820152610fb3818461358c565b6000838152600b602052604090205483906125f45760405162461bcd60e51b8152600401610e7d90614cd1565b600a546001600160a01b0316331461261e5760405162461bcd60e51b8152600401610e7d90614e07565b600061262985612711565b90508060c001511561264d5760405162461bcd60e51b8152600401610e7d90614ee4565b6000858152600c602052604090206112479060020185856144dd565b6000828152600b602052604090205482906126965760405162461bcd60e51b8152600401610e7d90614cd1565b600a546001600160a01b031633146126c05760405162461bcd60e51b8152600401610e7d90614e07565b600160401b82106126e35760405162461bcd60e51b8152600401610e7d90614f0f565b60006126ee84612711565b6101408101849052905061187c818561358c565b606060018054610d8590614c9c565b612719614463565b6000828152600b6020908152604080832054600160ff808316821460a080890191909152600884901c8216831460c0808a0191909152601085901c8316841460e08a0152601885901c90921690921461010088015261ffff83861c8116610160890152603084901c1661018088015267ffffffffffffffff83851c8116610120890152608084901c1661014088015282901c6101a0870152868552600c909352818420825193840190925281549093929190829082906127d890614c9c565b80601f016020809104026020016040519081016040528092919081815260200182805461280490614c9c565b80156128515780601f1061282657610100808354040283529160200191612851565b820191906000526020600020905b81548152906001019060200180831161283457829003601f168201915b5050505050815260200160018201805461286a90614c9c565b80601f016020809104026020016040519081016040528092919081815260200182805461289690614c9c565b80156128e35780601f106128b8576101008083540402835291602001916128e3565b820191906000526020600020905b8154815290600101906020018083116128c657829003601f168201915b505050505081526020016002820180546128fc90614c9c565b80601f016020809104026020016040519081016040528092919081815260200182805461292890614c9c565b80156129755780601f1061294a57610100808354040283529160200191612975565b820191906000526020600020905b81548152906001019060200180831161295857829003601f168201915b5050505050815260200160038201805461298e90614c9c565b80601f01602080910402602001604051908101604052809291908181526020018280546129ba90614c9c565b8015612a075780601f106129dc57610100808354040283529160200191612a07565b820191906000526020600020905b8154815290600101906020018083116129ea57829003601f168201915b5050509183525050600491909101546020918201528151855281810151908501526060808201516040808701919091528201519085015260809081015190840152509092915050565b612a5b338383613b60565b5050565b6000838152600b60205260409020548390612a8c5760405162461bcd60e51b8152600401610e7d90614cd1565b600a546001600160a01b03163314612ab65760405162461bcd60e51b8152600401610e7d90614e07565b6000612ac185612711565b90508060c0015115612ae55760405162461bcd60e51b8152600401610e7d90614ee4565b6000858152600c602052604090206112479060030185856144dd565b612b0b33836137b3565b612b275760405162461bcd60e51b8152600401610e7d90614e3c565b61187c84848484613c2f565b600a546001600160a01b03163314612b5d5760405162461bcd60e51b8152600401610e7d90614e07565b60008a8152600b602052604090205415612bb95760405162461bcd60e51b815260206004820152601760248201527f4368617074657220616c7265616479206578697374732e0000000000000000006044820152606401610e7d565b60018a1115612c27576000612bd261097560018d614e8d565b90508060c00151612c255760405162461bcd60e51b815260206004820152601c60248201527f50726576696f75732063686170746572207374696c6c206f70656e2e000000006044820152606401610e7d565b505b612c2f614463565b600160a08201526101208101839052610140810182905261018081018490526015546101a0820152612c61818c61358c565b60008b8152600c60205260409020612c7a908b8b6144dd565b5060008b8152600c60205260409020612c979060010187876144dd565b5060008b8152600c60205260409020612cb49060030189896144dd565b5050506013989098555050505050505050565b6000838152600b60205260409020548390612cf45760405162461bcd60e51b8152600401610e7d90614cd1565b600a546001600160a01b03163314612d1e5760405162461bcd60e51b8152600401610e7d90614e07565b6000612d2985612711565b90508060c0015115612d4d5760405162461bcd60e51b8152600401610e7d90614ee4565b6000858152600c602052604090206112479060010185856144dd565b6000818152600260205260409020546060906001600160a01b0316612dd05760405162461bcd60e51b815260206004820152601f60248201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e006044820152606401610e7d565b6000612ddb8361124f565b6101a08101519091506000612df08286614e8d565b90506000612dfd82613c62565b60608501516000888152600d6020526040812080549394509192909190612e2390614c9c565b80601f0160208091040260200160405190810160405280929190818152602001828054612e4f90614c9c565b8015612e9c5780601f10612e7157610100808354040283529160200191612e9c565b820191906000526020600020905b815481529060010190602001808311612e7f57829003601f168201915b50505050509050600081511115612eb857979650505050505050565b815115612eca57509695505050505050565b83612ef057604051806040016040528060018152602001600360fc1b8152509250612f4c565b600a841015612f205782604051602001612f0a9190614f5a565b6040516020818303038152906040529250612f4c565b6064841015612f4c5782604051602001612f3a9190614f84565b60405160208183030381529060405292505b85516040808801516020808a01519251600094612f8c94612f789491938a936014918691869101615047565b604051602081830303815290604052613d60565b905080604051602001612f9f91906151db565b604051602081830303815290604052975050505050505050919050565b6000818152600b60205260409020548190612fe95760405162461bcd60e51b8152600401610e7d90614cd1565b600a546001600160a01b031633146130135760405162461bcd60e51b8152600401610e7d90614e07565b600061301e83612711565b90508060c00151156130425760405162461bcd60e51b8152600401610e7d90614dde565b806101800151848261016001516130599190614d55565b11156130a75760405162461bcd60e51b815260206004820152601f60248201527f457863656564732063686170746572206d6178696d756d20737570706c792e006044820152606401610e7d565b6130b18385613473565b60005b84811015611749576130c8336015546134eb565b601580549060006130d883614dc3565b919050555080806130e890614dc3565b9150506130b4565b600a546001600160a01b0316331461311a5760405162461bcd60e51b8152600401610e7d90614e07565b6000838152600260205260409020546001600160a01b03166131765760405162461bcd60e51b81526020600482015260156024820152742a37b5b2b7103237b2b9903737ba1032bc34b9ba1760591b6044820152606401610e7d565b60006131818461124f565b90508060c00151156131a55760405162461bcd60e51b8152600401610e7d90614ee4565b6000848152600d602052604090206117499084846144dd565b6000828152600b602052604090205482906131eb5760405162461bcd60e51b8152600401610e7d90614cd1565b600a546001600160a01b031633146132155760405162461bcd60e51b8152600401610e7d90614e07565b506000918252600c602052604090912060040155565b6000878152600b602052604090205487906132585760405162461bcd60e51b8152600401610e7d90614cd1565b600a546001600160a01b031633146132825760405162461bcd60e51b8152600401610e7d90614e07565b60008881526016602090815260408083208a905560188252808320805463ffffffff191663ffffffff8b1617905560198252808320889055601a8252808320879055601b8252808320869055601c90915290208290556132e28284614eba565b6132ec8587614e8d565b6132f69190614eba565b6000988952601d60205260409098209790975550505050505050565b600a546001600160a01b0316331461333c5760405162461bcd60e51b8152600401610e7d90614e07565b6001600160a01b0381166133a15760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610e7d565b611f8181613b0e565b600a546001600160a01b031633146133d45760405162461bcd60e51b8152600401610e7d90614e07565b610fb3601483836144dd565b60006001600160e01b0319821663780e9d6360e01b1480610cd65750610cd682613ec6565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061343a8261220e565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b61ffff81106134bd5760405162461bcd60e51b815260206004820152601660248201527529bab838363c9032bc31b2b2b239903ab4b73a189b1760511b6044820152606401610e7d565b60006134c883612711565b9050818161016001516134db9190614d55565b610160820152610fb3818461358c565b612a5b828260405180602001604052806000815250613f16565b8034101561354e5760405162461bcd60e51b81526020600482015260166024820152752732b2b2103a379039b2b7321036b7b9329022aa241760511b6044820152606401610e7d565b80341115611f8157336108fc6135648334614e8d565b6040518115909202916000818181858888f19350505050158015612a5b573d6000803e3d6000fd5b6101608201516101808301516101208401516101408501516101a086015161ffff85106135f75760405162461bcd60e51b815260206004820152601960248201527826b0bc29bab838363c9032bc31b2b2b239903ab4b73a189b1760391b6044820152606401610e7d565b61ffff84106136445760405162461bcd60e51b815260206004820152601960248201527826b0bc29bab838363c9032bc31b2b2b239903ab4b73a189b1760391b6044820152606401610e7d565b600160401b83106136675760405162461bcd60e51b8152600401610e7d90614f0f565b600160401b82106136ba5760405162461bcd60e51b815260206004820152601d60248201527f446973636f756e74507269636520657863656564732075696e7436342e0000006044820152606401610e7d565b600160401b811061370d5760405162461bcd60e51b815260206004820152601a60248201527f4669727374546f6b656e20657863656564732075696e7436342e0000000000006044820152606401610e7d565b60008760a0015161371f576000613722565b60015b905060088860c00151613736576000613739565b60015b901b8117905060108860e00151613751576000613754565b60015b901b81179050601888610100015161376d576000613770565b60015b6000988952600b60209081526040998a902060c09590951b60809690961b9690991b60309790971b9790981b97901b179590951793909317919091171717905550565b6000818152600260205260408120546001600160a01b031661382c5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610e7d565b60006138378361220e565b9050806001600160a01b0316846001600160a01b031614806138725750836001600160a01b031661386784610e08565b6001600160a01b0316145b806138a257506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b03166138bd8261220e565b6001600160a01b0316146139215760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b6064820152608401610e7d565b6001600160a01b0382166139835760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610e7d565b61398e838383613f49565b613999600082613405565b6001600160a01b03831660009081526003602052604081208054600192906139c2908490614e8d565b90915550506001600160a01b03821660009081526003602052604081208054600192906139f0908490614d55565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600082613a5e8584613f54565b14949350505050565b6000613a728261220e565b9050613a8081600084613f49565b613a8b600083613405565b6001600160a01b0381166000908152600360205260408120805460019290613ab4908490614e8d565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b03161415613bc25760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610e7d565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b613c3a8484846138aa565b613c4684848484613fc0565b61187c5760405162461bcd60e51b8152600401610e7d90615220565b606081613c865750506040805180820190915260018152600360fc1b602082015290565b8160005b8115613cb05780613c9a81614dc3565b9150613ca99050600a83614eba565b9150613c8a565b60008167ffffffffffffffff811115613ccb57613ccb614a13565b6040519080825280601f01601f191660200182016040528015613cf5576020820181803683370190505b5090505b84156138a257613d0a600183614e8d565b9150613d17600a86615272565b613d22906030614d55565b60f81b818381518110613d3757613d37614ece565b60200101906001600160f81b031916908160001a905350613d59600a86614eba565b9450613cf9565b6060815160001415613d8057505060408051602081019091526000815290565b60006040518060600160405280604081526020016152f76040913990506000600384516002613daf9190614d55565b613db99190614eba565b613dc4906004614da4565b90506000613dd3826020614d55565b67ffffffffffffffff811115613deb57613deb614a13565b6040519080825280601f01601f191660200182016040528015613e15576020820181803683370190505b509050818152600183018586518101602084015b81831015613e81576003830192508251603f8160121c168501518253600182019150603f81600c1c168501518253600182019150603f8160061c168501518253600182019150603f8116850151825350600101613e29565b600389510660018114613e9b5760028114613eac57613eb8565b613d3d60f01b600119830152613eb8565b603d60f81b6000198301525b509398975050505050505050565b60006001600160e01b031982166380ac58cd60e01b1480613ef757506001600160e01b03198216635b5e139f60e01b145b80610cd657506301ffc9a760e01b6001600160e01b0319831614610cd6565b613f2083836140cd565b613f2d6000848484613fc0565b610fb35760405162461bcd60e51b8152600401610e7d90615220565b610fb383838361421b565b600081815b8451811015612074576000858281518110613f7657613f76614ece565b60200260200101519050808311613f9c5760008381526020829052604090209250613fad565b600081815260208490526040902092505b5080613fb881614dc3565b915050613f59565b60006001600160a01b0384163b156140c257604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290614004903390899088908890600401615286565b602060405180830381600087803b15801561401e57600080fd5b505af192505050801561404e575060408051601f3d908101601f1916820190925261404b918101906152c3565b60015b6140a8573d80801561407c576040519150601f19603f3d011682016040523d82523d6000602084013e614081565b606091505b5080516140a05760405162461bcd60e51b8152600401610e7d90615220565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506138a2565b506001949350505050565b6001600160a01b0382166141235760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610e7d565b6000818152600260205260409020546001600160a01b0316156141885760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610e7d565b61419460008383613f49565b6001600160a01b03821660009081526003602052604081208054600192906141bd908490614d55565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6001600160a01b0383166142765761427181600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b614299565b816001600160a01b0316836001600160a01b0316146142995761429983826142d3565b6001600160a01b0382166142b057610fb381614370565b826001600160a01b0316826001600160a01b031614610fb357610fb3828261441f565b600060016142e084612285565b6142ea9190614e8d565b60008381526007602052604090205490915080821461433d576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061438290600190614e8d565b600083815260096020526040812054600880549394509092849081106143aa576143aa614ece565b9060005260206000200154905080600883815481106143cb576143cb614ece565b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480614403576144036152e0565b6001900381819060005260206000200160009055905550505050565b600061442a83612285565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b604051806101c00160405280606081526020016060815260200160608152602001606081526020016000801916815260200160001515815260200160001515815260200160001515815260200160001515815260200160008152602001600081526020016000815260200160008152602001600081525090565b8280546144e990614c9c565b90600052602060002090601f01602090048101928261450b5760008555614551565b82601f106145245782800160ff19823516178555614551565b82800160010185558215614551579182015b82811115614551578235825591602001919060010190614536565b5061455d929150614561565b5090565b5b8082111561455d5760008155600101614562565b6001600160e01b031981168114611f8157600080fd5b60006020828403121561459e57600080fd5b81356145a981614576565b9392505050565b6000602082840312156145c257600080fd5b5035919050565b60005b838110156145e45781810151838201526020016145cc565b8381111561187c5750506000910152565b6000815180845261460d8160208601602086016145c9565b601f01601f19169290920160200192915050565b6020815260006145a960208301846145f5565b6001600160a01b0381168114611f8157600080fd5b6000806040838503121561465c57600080fd5b823561466781614634565b946020939093013593505050565b6000806040838503121561468857600080fd5b50508035926020909101359150565b60208152600082516101c08060208501526146b66101e08501836145f5565b91506020850151601f19808685030160408701526146d484836145f5565b935060408701519150808685030160608701526146f184836145f5565b935060608701519150808685030160808701525061470f83826145f5565b925050608085015160a085015260a085015161472f60c086018215159052565b5060c085015180151560e08601525060e08501516101006147538187018315159052565b86015190506101206147688682018315159052565b8601516101408681019190915286015161016080870191909152860151610180808701919091528601516101a0808701919091529095015193019290925250919050565b60a0815260006147bf60a08301886145f5565b82810360208401526147d181886145f5565b905082810360408401526147e581876145f5565b905082810360608401526147f981866145f5565b9150508260808301529695505050505050565b60008060006060848603121561482157600080fd5b833561482c81614634565b9250602084013561483c81614634565b929592945050506040919091013590565b60008060008060008060008060e0898b03121561486957600080fd5b883597506020890135965060408901359550606089013594506080890135935060a0890135925060c089013567ffffffffffffffff808211156148ab57600080fd5b818b0191508b601f8301126148bf57600080fd5b8135818111156148ce57600080fd5b8c60208260051b85010111156148e357600080fd5b6020830194508093505050509295985092959890939650565b60008060006060848603121561491157600080fd5b83359250602084013561483c81614634565b60008083601f84011261493557600080fd5b50813567ffffffffffffffff81111561494d57600080fd5b60208301915083602082850101111561496557600080fd5b9250929050565b60008060006040848603121561498157600080fd5b83359250602084013567ffffffffffffffff81111561499f57600080fd5b6149ab86828701614923565b9497909650939450505050565b6000602082840312156149ca57600080fd5b81356145a981614634565b600080604083850312156149e857600080fd5b82356149f381614634565b915060208301358015158114614a0857600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b60008060008060808587031215614a3f57600080fd5b8435614a4a81614634565b93506020850135614a5a81614634565b925060408501359150606085013567ffffffffffffffff80821115614a7e57600080fd5b818701915087601f830112614a9257600080fd5b813581811115614aa457614aa4614a13565b604051601f8201601f19908116603f01168101908382118183101715614acc57614acc614a13565b816040528281528a6020848701011115614ae557600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b60008060008060008060008060008060e08b8d031215614b2857600080fd5b8a35995060208b013567ffffffffffffffff80821115614b4757600080fd5b614b538e838f01614923565b909b50995060408d0135915080821115614b6c57600080fd5b614b788e838f01614923565b909950975060608d0135915080821115614b9157600080fd5b50614b9e8d828e01614923565b9b9e9a9d50989b979a9699969760808101359760a0820135975060c09091013595509350505050565b60008060408385031215614bda57600080fd5b8235614be581614634565b91506020830135614a0881614634565b600080600080600080600060e0888a031215614c1057600080fd5b8735965060208801359550604088013563ffffffff81168114614c3257600080fd5b969995985095966060810135965060808101359560a0820135955060c0909101359350915050565b60008060208385031215614c6d57600080fd5b823567ffffffffffffffff811115614c8457600080fd5b614c9085828601614923565b90969095509350505050565b600181811c90821680614cb057607f821691505b602082108114156112b457634e487b7160e01b600052602260045260246000fd5b60208082526017908201527f4368617074657220646f6573206e6f742065786973742e000000000000000000604082015260600190565b6020808252601e908201527f5468652063616c6c657220697320616e6f7468657220636f6e74726163740000604082015260600190565b634e487b7160e01b600052601160045260246000fd5b60008219821115614d6857614d68614d3f565b500190565b6020808252601c908201527f4d617820707572636861736520737570706c7920657863656564656400000000604082015260600190565b6000816000190483118215151615614dbe57614dbe614d3f565b500290565b6000600019821415614dd757614dd7614d3f565b5060010190565b6020808252600f908201526e21b430b83a32b910333937bd32b71760891b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b600082821015614e9f57614e9f614d3f565b500390565b634e487b7160e01b600052601260045260246000fd5b600082614ec957614ec9614ea4565b500490565b634e487b7160e01b600052603260045260246000fd5b60208082526011908201527021b430b83a32b91034b990333937bd32b760791b604082015260600190565b602080825260159082015274283934b1b29032bc31b2b2b239903ab4b73a1b1a1760591b604082015260600190565b60008151614f508185602086016145c9565b9290920192915050565b61030360f41b815260008251614f778160028501602087016145c9565b9190910160020192915050565b600360fc1b815260008251614fa08160018501602087016145c9565b9190910160010192915050565b8054600090600181811c9080831680614fc757607f831692505b6020808410821415614fe957634e487b7160e01b600052602260045260246000fd5b818015614ffd576001811461500e5761503b565b60ff1986168952848901965061503b565b60008881526020902060005b868110156150335781548b82015290850190830161501a565b505084890196505b50505050505092915050565b693d913730b6b2911d101160b11b8152875160009061506d81600a850160208d016145c9565b63202d202360e01b600a91840191820152885161509181600e840160208d016145c9565b72111610113232b9b1b934b83a34b7b7111d101160691b600e929091019182015287516150c5816021840160208c016145c9565b6c1116101134b6b0b3b2911d101160991b6021929091019182015286516150f381602e840160208b016145c9565b731116101132bc3a32b93730b62fbab936111d101160611b602e92909101918201526151cd6151bd6151b761517e615178615131604287018c614fad565b7f222c202261747472696275746573223a205b7b2274726169745f74797065223a815274101121b430b83a32b91116113b30b63ab2911d101160591b602082015260350190565b89614f3e565b7f227d2c7b2274726169745f74797065223a202245646974696f6e222c2276616c8152667565223a20222360c81b602082015260270190565b86614f3e565b63227d5d7d60e01b815260040190565b9a9950505050505050505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c00000081526000825161521381601d8501602087016145c9565b91909101601d0192915050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60008261528157615281614ea4565b500690565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906152b9908301846145f5565b9695505050505050565b6000602082840312156152d557600080fd5b81516145a981614576565b634e487b7160e01b600052603160045260246000fdfe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa26469706673582212205576dfaacc06d89e116b48ce34bcc2bc4cd4b078ff25a306bb5fd02175ae5c3064736f6c63430008090033

Loading...
Loading
Loading...
Loading
[ 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.