ETH Price: $2,394.50 (-3.70%)

Token

KingdomWarriors (KW)
 

Overview

Max Total Supply

8,888 KW

Holders

745

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Balance
25 KW
0x95ADB10e60280921d7405d9CA5a64140CCF551dD
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.

Contract Source Code Verified (Exact Match)

Contract Name:
KingdomWarriors

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
No with 200 runs

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

pragma solidity ^0.8.0;
import "./Ownable.sol";
import "./ReentrancyGuard.sol";
import "./ERC721A.sol";
import "./ToStringLib.sol";
import "./ECDSA.sol"; 

/*
 *           =%*+.                      ::                      .+*%+                 
 *            @@@@#:                   -@@-                   .*@@@@.                 
 *            .*@@@@#-         +-     -@@@@=     :+         :#@@@@*.                  
 *              .#@@@@%-       =@@#   .@@@@:   *@@+       -#@@@@#:                    
 *                :%@@@@%= -##= %@@=..=@@@@+..=@@% =##= -%@@@@%-                      
 *              .##.-%@@@@@=    :@@@@@@@@@@@@@@@@:    =%@@@@@=.*#.                    
 *              :@:   =@+----:   +%*+=-:..:-=+*#*   :----+@+   .@-                    
 *              :@:     -@@%#*+=                  =+*#%@@=     .@-                    
 *              .@-     -.  :.    -*@@*.  .+@@*-     :. .-     :@:                    
 *               @+  .+#%@@%-   +@@@@@@@##@@@@@@@*   :#@@%#+.  =@                     
 *               *% :@@@#=:=*  -@#@@@@@@@@@@@@@@#@=  +=:=#@@@- ##                     
 *               :@:-@@--*@@.   .. .=%@@@@@@%=. ..   .%@#-:@@=.@-                     
 *                ## %=%@@*=:  *@@**=:@@@@@@:=+*@@*  :=*@@%-@.*%                      
 *                .@- %@@@@#   :@@@@@#@@@@@@#@@@@@:   *@@@@% :@:                      
 *                 =@.=@@#-  =*  +%+@@%@@@@%@@+%+  ++  -#@@+ @+                       
 *                  #% #-  +@@+   .%@@*:..:*@@@.   =@@+  :* ##                        
 *                   %*   %@@%.#+ =@@@@@+=@@@@@+ =#.#@@%   *%                         
 *                    %* :@@@#@@@  +%*--++=-+%*  @@@#@@@- *%.                         
 *                     ## =@@@+#@    +@@@@@@+    %#+@@@= *%                           
 *                      *%.:%: @*    *@@@@@@*    +@..%-.##                            
 *                       =@-   =% .+   :##-   =: #=   -@+                             
 *                     +#..%*   :::@-        :@-.-   *%: *+                           
 *                 .:.#@%-  =%=    @@++.  .*=@@.   -%+  :%@%.:.                       
 *               %@@@@=::    .*%:  +@@@@::%@@@*  :%#.    ::=%@@@@.                    
 *              +@@@@@@        :%#: -=%@@@@@=- .*%:        @@@@@@*                    
 *              -@@@@@+          -%#:  =@@=  :#%-          =%@@@@=                    
 *                ..               :#%=    -##-               ..                    
 *                                   .+@*+@*.                                         
 *                                      -=                                            
 */


contract KingdomWarriors is Ownable, ERC721A, ReentrancyGuard {

    uint256 private maxPhaseTokens = 0;
    uint256 private walletMintLimit = 2;
    mapping (address => mapping(uint256 => uint256)) phaseWalletList;
    address[] private allWallets;
    uint256 private phaseId = 1;
    bool private phaseRestricted = true;
    bool private phaseOpen = false;
    uint256 public phasePrice = 0.08 ether; // 0.08 ETH

    address accessAuthority = 0x840f44e23194c6e1fBb29a9cB802526eaef90bD6;

    constructor() ERC721A("KingdomWarriors", "KW", 100, 8888) {}

    /* Config */
    function getConfig() external view returns(uint256, uint256, uint256, bool, bool, uint256) {
        return (phaseId, maxPhaseTokens, walletMintLimit, phaseRestricted, phaseOpen, phasePrice);
    }

    function getCollectionSize() external view returns(uint256) {
        return collectionSize;
    }

    /* Accessor */
    function isValidAccessMessage(bytes memory signature) private view returns (bool) {
        bytes32 internalHash = keccak256(bytes(interalAccessor()));
        bytes32 messageHash = ECDSA.toEthSignedMessageHash(internalHash);
        return accessAuthority == ECDSA.recover(messageHash, signature);
    }

    function interalAccessor() private view returns(string memory) {
        return string(abi.encodePacked(ToStringLib.toString(address(this)), ToStringLib.toString(msg.sender)));
    }

    /* Mint */
    function warrionMintPrecheck(uint256 numberOfTokens, bool isOwner) private {
        require(numberOfTokens <= walletMintLimit, "Cannot mint more than the max mint limit");
        require(numberOfTokens > 0, "Must mint at least one token");
	    require(totalSupply() + numberOfTokens <= collectionSize, "Not enough tokens left to mint that many");
        require(totalSupply() + numberOfTokens <= maxPhaseTokens, "Not enough phase tokens left to mint that many");
        if(isOwner == false) { require(phasePrice * numberOfTokens == msg.value, "Not enough ETH for mint"); }
    }

    function warriorMint(address to, uint256 numberOfTokens) private {
        _safeMint(to, numberOfTokens);
    }

    /* Phase Mint */
    function preMint(uint256 numberOfTokens, bytes memory signature) external payable nonReentrant {
        require(phaseRestricted, "Minting is not active");
        require(isValidAccessMessage(signature), "Mint access not granted!");
        processMint(numberOfTokens, false);
    }

    function publicMint(uint256 numberOfTokens) external payable nonReentrant {
        require(phaseOpen, "Minting is not active");
        processMint(numberOfTokens, false);
    }

    function ownerMint(uint256 numberOfTokens) external nonReentrant onlyOwner {
        processMint(numberOfTokens, true);
    }

    function processMint(uint256 numberOfTokens, bool isOwner) private {
        require(phaseWalletList[msg.sender][phaseId] + numberOfTokens <= walletMintLimit, "You can't mint over your limit!");
        warrionMintPrecheck(numberOfTokens, isOwner);
        warriorMint(msg.sender, numberOfTokens); 
        phaseWalletList[msg.sender][phaseId] += numberOfTokens;
    }

    function getMintsPerPhase(address owner, uint256 phase) external view returns(uint256) {
        return phaseWalletList[owner][phase];
    }

    /* Metadata */
    string private _baseTokenURI;

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

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

    /* Owner */
    function setAccessAuthority(address addr) external onlyOwner {
        accessAuthority = addr;
    }

    function setPhase(uint256 id, uint256 maxTokens, uint256 walletLimit, bool restricted, bool open, uint256 price) external onlyOwner {
        if(phaseId != id) { phaseId = id; }
        if(maxPhaseTokens != maxTokens) { maxPhaseTokens = maxTokens; }
        if(walletMintLimit != walletLimit) { walletMintLimit = walletLimit; }
        if(phaseRestricted != restricted) { phaseRestricted = restricted; }
        if(phaseOpen != open) { phaseOpen = open; }
        if(phasePrice != price) { phasePrice = price; }
    }

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

    /* Search */
    function tokensOfOwner(address _owner) external view returns(uint256[] memory ownerTokens) {
        uint256 tokenCount = balanceOf(_owner);

        if (tokenCount == 0) {
            // Return an empty array
            return new uint256[](0);
        } else {
            uint256[] memory result = new uint256[](tokenCount);
            uint256 total = totalSupply();
            uint256 resultIndex = 0;
            uint256 id;

            for (id = 0; id < total; id++) {
                if (ownerOf(id) == _owner) {
                    result[resultIndex] = id;
                    resultIndex++;
                }
            }

            return result;
        }
    }

}

File 2 of 15 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./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() {
        _setOwner(_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 {
        _setOwner(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");
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 3 of 15 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and make it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

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

        _;

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

File 4 of 15 : ERC721A.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./IERC721Metadata.sol";
import "./IERC721Enumerable.sol";
import "./Address.sol";
import "./Context.sol";
import "./Strings.sol";
import "./ERC165.sol";

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

  struct TokenOwnership {
    address addr;
    uint64 startTimestamp;
  }

  struct AddressData {
    uint128 balance;
    uint128 numberMinted;
  }

  uint256 private currentIndex = 0;

  uint256 internal immutable collectionSize;
  uint256 internal immutable maxBatchSize;

  // Token name
  string private _name;

  // Token symbol
  string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    revert("ERC721A: unable to determine the owner of token");
  }

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

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

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

  /**
   * @dev See {IERC721Metadata-tokenURI}.
   */
  function tokenURI(uint256 tokenId)
    public
    view
    virtual
    override
    returns (string memory)
  {
    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 override {
    address owner = ERC721A.ownerOf(tokenId);
    require(to != owner, "ERC721A: approval to current owner");

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

    _approve(to, tokenId, owner);
  }

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

    return _tokenApprovals[tokenId];
  }

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

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

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

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

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

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

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

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

  /**
   * @dev Mints `quantity` tokens and transfers them to `to`.
   *
   * Requirements:
   *
   * - there must be `quantity` tokens remaining unminted in the total collection.
   * - `to` cannot be the zero address.
   * - `quantity` cannot be larger than the max batch size.
   *
   * Emits a {Transfer} event.
   */
  function _safeMint(
    address to,
    uint256 quantity,
    bytes memory _data
  ) internal {
    uint256 startTokenId = currentIndex;
    require(to != address(0), "ERC721A: mint to the zero address");
    // We know if the first token in the batch doesn't exist, the other ones don't as well, because of serial ordering.
    require(!_exists(startTokenId), "ERC721A: token already minted");
    require(quantity <= maxBatchSize, "ERC721A: quantity to mint too high");

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

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

    uint256 updatedIndex = startTokenId;

    for (uint256 i = 0; i < quantity; i++) {
      emit Transfer(address(0), to, updatedIndex);
      require(
        _checkOnERC721Received(address(0), to, updatedIndex, _data),
        "ERC721A: transfer to non ERC721Receiver implementer"
      );
      updatedIndex++;
    }

    currentIndex = updatedIndex;
    _afterTokenTransfers(address(0), to, startTokenId, quantity);
  }

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

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

    require(
      isApprovedOrOwner,
      "ERC721A: transfer caller is not owner nor approved"
    );

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

    _beforeTokenTransfers(from, to, tokenId, 1);

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

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

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

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

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

  uint256 public nextOwnerToExplicitlySet = 0;

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

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

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

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

File 5 of 15 : ToStringLib.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;


library ToStringLib {
    
    function toString(address account) internal pure returns(string memory) {
        return toString(abi.encodePacked(account));
    }

    function toString(uint256 value) internal pure returns(string memory) {
        return toString(abi.encodePacked(value));
    }

    function toString(bytes32 value) internal pure returns(string memory) {
        return toString(abi.encodePacked(value));
    }

    function toString(bytes memory data) internal pure returns(string memory) {
        bytes memory alphabet = "0123456789abcdef";

        bytes memory str = new bytes(2 + data.length * 2);
        str[0] = "0";
        str[1] = "x";
        for (uint i = 0; i < data.length; i++) {
            str[2+i*2] = alphabet[uint(uint8(data[i] >> 4))];
            str[3+i*2] = alphabet[uint(uint8(data[i] & 0x0f))];
        }
        return string(str);
    }
}

File 6 of 15 : ECDSA.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/cryptography/ECDSA.sol)

pragma solidity ^0.8.0;

import "./Strings.sol";

/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
    enum RecoverError {
        NoError,
        InvalidSignature,
        InvalidSignatureLength,
        InvalidSignatureS,
        InvalidSignatureV
    }

    function _throwError(RecoverError error) private pure {
        if (error == RecoverError.NoError) {
            return; // no error: do nothing
        } else if (error == RecoverError.InvalidSignature) {
            revert("ECDSA: invalid signature");
        } else if (error == RecoverError.InvalidSignatureLength) {
            revert("ECDSA: invalid signature length");
        } else if (error == RecoverError.InvalidSignatureS) {
            revert("ECDSA: invalid signature 's' value");
        } else if (error == RecoverError.InvalidSignatureV) {
            revert("ECDSA: invalid signature 'v' value");
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature` or error string. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     *
     * Documentation for signature generation:
     * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
     * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
     *
     * _Available since v4.3._
     */
    function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {
        // Check the signature length
        // - case 65: r,s,v signature (standard)
        // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._
        if (signature.length == 65) {
            bytes32 r;
            bytes32 s;
            uint8 v;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
            return tryRecover(hash, v, r, s);
        } else if (signature.length == 64) {
            bytes32 r;
            bytes32 vs;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                vs := mload(add(signature, 0x40))
            }
            return tryRecover(hash, r, vs);
        } else {
            return (address(0), RecoverError.InvalidSignatureLength);
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, signature);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
     *
     * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address, RecoverError) {
        bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);
        uint8 v = uint8((uint256(vs) >> 255) + 27);
        return tryRecover(hash, v, r, s);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.
     *
     * _Available since v4.2._
     */
    function recover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, r, vs);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `v`,
     * `r` and `s` signature fields separately.
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address, RecoverError) {
        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most
        // signatures from current libraries generate a unique signature with an s-value in the lower half order.
        //
        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
        // these malleable signatures as well.
        if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
            return (address(0), RecoverError.InvalidSignatureS);
        }
        if (v != 27 && v != 28) {
            return (address(0), RecoverError.InvalidSignatureV);
        }

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        if (signer == address(0)) {
            return (address(0), RecoverError.InvalidSignature);
        }

        return (signer, RecoverError.NoError);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function recover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, v, r, s);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from `s`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s));
    }

    /**
     * @dev Returns an Ethereum Signed Typed Data, created from a
     * `domainSeparator` and a `structHash`. This produces hash corresponding
     * to the one signed with the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
     * JSON-RPC method as part of EIP-712.
     *
     * See {recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
    }
}

File 7 of 15 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

File 8 of 15 : IERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./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 9 of 15 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT

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 10 of 15 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC721.sol";

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

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

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

File 11 of 15 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT

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 tokenId);

    /**
     * @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 15 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @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
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 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);
    }

    function _verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) private 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 13 of 15 : Strings.sol
// SPDX-License-Identifier: MIT

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 14 of 15 : ERC165.sol
// SPDX-License-Identifier: MIT

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 15 of 15 : IERC165.sol
// SPDX-License-Identifier: MIT

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": false,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "metadata": {
    "useLiteralContent": true
  },
  "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":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getCollectionSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getConfig","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bool","name":"","type":"bool"},{"internalType":"bool","name":"","type":"bool"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"phase","type":"uint256"}],"name":"getMintsPerPhase","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextOwnerToExplicitlySet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","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":"phasePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"preMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","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":"addr","type":"address"}],"name":"setAccessAuthority","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"maxTokens","type":"uint256"},{"internalType":"uint256","name":"walletLimit","type":"uint256"},{"internalType":"bool","name":"restricted","type":"bool"},{"internalType":"bool","name":"open","type":"bool"},{"internalType":"uint256","name":"price","type":"uint256"}],"name":"setPhase","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":"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":[{"internalType":"address","name":"_owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"ownerTokens","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawBalance","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60c0604052600060015560006008556000600a556002600b556001600e556001600f60006101000a81548160ff0219169083151502179055506000600f60016101000a81548160ff02191690831515021790555067011c37937e08000060105573840f44e23194c6e1fbb29a9cb802526eaef90bd6601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550348015620000c157600080fd5b506040518060400160405280600f81526020017f4b696e67646f6d57617272696f727300000000000000000000000000000000008152506040518060400160405280600281526020017f4b5700000000000000000000000000000000000000000000000000000000000081525060646122b862000153620001476200023360201b60201c565b6200023b60201b60201c565b6000811162000199576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200019090620004a1565b60405180910390fd5b60008211620001df576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620001d6906200047f565b60405180910390fd5b8360029080519060200190620001f7929190620002ff565b50826003908051906020019062000210929190620002ff565b508160a08181525050806080818152505050505050600160098190555062000539565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200030d90620004d4565b90600052602060002090601f0160209004810192826200033157600085556200037d565b82601f106200034c57805160ff19168380011785556200037d565b828001600101855582156200037d579182015b828111156200037c5782518255916020019190600101906200035f565b5b5090506200038c919062000390565b5090565b5b80821115620003ab57600081600090555060010162000391565b5090565b6000620003be602783620004c3565b91507f455243373231413a206d61782062617463682073697a65206d7573742062652060008301527f6e6f6e7a65726f000000000000000000000000000000000000000000000000006020830152604082019050919050565b600062000426602e83620004c3565b91507f455243373231413a20636f6c6c656374696f6e206d757374206861766520612060008301527f6e6f6e7a65726f20737570706c790000000000000000000000000000000000006020830152604082019050919050565b600060208201905081810360008301526200049a81620003af565b9050919050565b60006020820190508181036000830152620004bc8162000417565b9050919050565b600082825260208201905092915050565b60006002820490506001821680620004ed57607f821691505b602082108114156200050457620005036200050a565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60805160a051615ca36200057460003960008181612599015281816125c201526133bd0152600081816112c30152612cfc0152615ca36000f3fe6080604052600436106101e35760003560e01c8063715018a611610102578063b9a87bd911610095578063d7224ba011610064578063d7224ba0146106ed578063e985e9c514610718578063f19e75d414610755578063f2fde38b1461077e576101e3565b8063b9a87bd914610627578063c3f909d414610664578063c43a799314610694578063c87b56dd146106b0576101e3565b806395d89b41116100d157806395d89b4114610581578063a22cb465146105ac578063ac204af4146105d5578063b88d4fde146105fe576101e3565b8063715018a6146104d75780637155c1ea146104ee5780638462151c146105195780638da5cb5b14610556576101e3565b80632db115441161017a57806355f804b31161014957806355f804b31461041d5780635fd8c710146104465780636352211e1461045d57806370a082311461049a576101e3565b80632db115441461035e5780632f745c591461037a57806342842e0e146103b75780634f6ccce7146103e0576101e3565b8063095ea7b3116101b6578063095ea7b3146102b85780630b28cac5146102e157806318160ddd1461030a57806323b872dd14610335576101e3565b806301ffc9a7146101e85780630628faf11461022557806306fdde0314610250578063081812fc1461027b575b600080fd5b3480156101f457600080fd5b5061020f600480360381019061020a9190614136565b6107a7565b60405161021c9190615195565b60405180910390f35b34801561023157600080fd5b5061023a6108f1565b6040516102479190615657565b60405180910390f35b34801561025c57600080fd5b506102656108f7565b60405161027291906151f5565b60405180910390f35b34801561028757600080fd5b506102a2600480360381019061029d91906141cd565b610989565b6040516102af919061510c565b60405180910390f35b3480156102c457600080fd5b506102df60048036038101906102da91906140fa565b610a0e565b005b3480156102ed57600080fd5b5061030860048036038101906103039190613f8f565b610b27565b005b34801561031657600080fd5b5061031f610be7565b60405161032c9190615657565b60405180910390f35b34801561034157600080fd5b5061035c60048036038101906103579190613ff4565b610bf1565b005b610378600480360381019061037391906141cd565b610c01565b005b34801561038657600080fd5b506103a1600480360381019061039c91906140fa565b610cb4565b6040516103ae9190615657565b60405180910390f35b3480156103c357600080fd5b506103de60048036038101906103d99190613ff4565b610eb2565b005b3480156103ec57600080fd5b50610407600480360381019061040291906141cd565b610ed2565b6040516104149190615657565b60405180910390f35b34801561042957600080fd5b50610444600480360381019061043f9190614188565b610f25565b005b34801561045257600080fd5b5061045b610fb7565b005b34801561046957600080fd5b50610484600480360381019061047f91906141cd565b611138565b604051610491919061510c565b60405180910390f35b3480156104a657600080fd5b506104c160048036038101906104bc9190613f8f565b61114e565b6040516104ce9190615657565b60405180910390f35b3480156104e357600080fd5b506104ec611237565b005b3480156104fa57600080fd5b506105036112bf565b6040516105109190615657565b60405180910390f35b34801561052557600080fd5b50610540600480360381019061053b9190613f8f565b6112e7565b60405161054d9190615173565b60405180910390f35b34801561056257600080fd5b5061056b6114b4565b604051610578919061510c565b60405180910390f35b34801561058d57600080fd5b506105966114dd565b6040516105a391906151f5565b60405180910390f35b3480156105b857600080fd5b506105d360048036038101906105ce91906140be565b61156f565b005b3480156105e157600080fd5b506105fc60048036038101906105f7919061424a565b6116f0565b005b34801561060a57600080fd5b5061062560048036038101906106209190614043565b611822565b005b34801561063357600080fd5b5061064e600480360381019061064991906140fa565b61187e565b60405161065b9190615657565b60405180910390f35b34801561067057600080fd5b506106796118d9565b60405161068b96959493929190615672565b60405180910390f35b6106ae60048036038101906106a991906141f6565b611922565b005b3480156106bc57600080fd5b506106d760048036038101906106d291906141cd565b611a1e565b6040516106e491906151f5565b60405180910390f35b3480156106f957600080fd5b50610702611ac5565b60405161070f9190615657565b60405180910390f35b34801561072457600080fd5b5061073f600480360381019061073a9190613fb8565b611acb565b60405161074c9190615195565b60405180910390f35b34801561076157600080fd5b5061077c600480360381019061077791906141cd565b611b5f565b005b34801561078a57600080fd5b506107a560048036038101906107a09190613f8f565b611c3f565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061087257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806108da57507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806108ea57506108e982611d37565b5b9050919050565b60105481565b60606002805461090690615a5d565b80601f016020809104026020016040519081016040528092919081815260200182805461093290615a5d565b801561097f5780601f106109545761010080835404028352916020019161097f565b820191906000526020600020905b81548152906001019060200180831161096257829003601f168201915b5050505050905090565b600061099482611da1565b6109d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109ca90615617565b60405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a1982611138565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a81906154b7565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610aa9611daf565b73ffffffffffffffffffffffffffffffffffffffff161480610ad85750610ad781610ad2611daf565b611acb565b5b610b17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b0e90615357565b60405180910390fd5b610b22838383611db7565b505050565b610b2f611daf565b73ffffffffffffffffffffffffffffffffffffffff16610b4d6114b4565b73ffffffffffffffffffffffffffffffffffffffff1614610ba3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9a906153d7565b60405180910390fd5b80601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600154905090565b610bfc838383611e69565b505050565b60026009541415610c47576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3e906155d7565b60405180910390fd5b6002600981905550600f60019054906101000a900460ff16610c9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c95906153f7565b60405180910390fd5b610ca9816000612422565b600160098190555050565b6000610cbf8361114e565b8210610d00576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cf790615237565b60405180910390fd5b6000610d0a610be7565b905060008060005b83811015610e70576000600460008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614610e0457806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610e5c5786841415610e4d578195505050505050610eac565b8380610e5890615a8f565b9450505b508080610e6890615a8f565b915050610d12565b506040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ea390615597565b60405180910390fd5b92915050565b610ecd83838360405180602001604052806000815250611822565b505050565b6000610edc610be7565b8210610f1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f14906152d7565b60405180910390fd5b819050919050565b610f2d611daf565b73ffffffffffffffffffffffffffffffffffffffff16610f4b6114b4565b73ffffffffffffffffffffffffffffffffffffffff1614610fa1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f98906153d7565b60405180910390fd5b818160129190610fb2929190613d97565b505050565b610fbf611daf565b73ffffffffffffffffffffffffffffffffffffffff16610fdd6114b4565b73ffffffffffffffffffffffffffffffffffffffff1614611033576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102a906153d7565b60405180910390fd5b60026009541415611079576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611070906155d7565b60405180910390fd5b600260098190555060003373ffffffffffffffffffffffffffffffffffffffff16476040516110a7906150f7565b60006040518083038185875af1925050503d80600081146110e4576040519150601f19603f3d011682016040523d82523d6000602084013e6110e9565b606091505b505090508061112d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611124906154f7565b60405180910390fd5b506001600981905550565b600061114382612545565b600001519050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156111bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b690615377565b60405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050919050565b61123f611daf565b73ffffffffffffffffffffffffffffffffffffffff1661125d6114b4565b73ffffffffffffffffffffffffffffffffffffffff16146112b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112aa906153d7565b60405180910390fd5b6112bd6000612748565b565b60007f0000000000000000000000000000000000000000000000000000000000000000905090565b606060006112f48361114e565b9050600081141561137757600067ffffffffffffffff811115611340577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60405190808252806020026020018201604052801561136e5781602001602082028036833780820191505090505b509150506114af565b60008167ffffffffffffffff8111156113b9577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156113e75781602001602082028036833780820191505090505b50905060006113f4610be7565b90506000805b828110156114a6578673ffffffffffffffffffffffffffffffffffffffff1661142282611138565b73ffffffffffffffffffffffffffffffffffffffff1614156114935780848381518110611478577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001018181525050818061148f90615a8f565b9250505b808061149e90615a8f565b9150506113fa565b83955050505050505b919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600380546114ec90615a5d565b80601f016020809104026020016040519081016040528092919081815260200182805461151890615a5d565b80156115655780601f1061153a57610100808354040283529160200191611565565b820191906000526020600020905b81548152906001019060200180831161154857829003601f168201915b5050505050905090565b611577611daf565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156115e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115dc90615437565b60405180910390fd5b80600760006115f2611daf565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661169f611daf565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516116e49190615195565b60405180910390a35050565b6116f8611daf565b73ffffffffffffffffffffffffffffffffffffffff166117166114b4565b73ffffffffffffffffffffffffffffffffffffffff161461176c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611763906153d7565b60405180910390fd5b85600e541461177d5785600e819055505b84600a541461178e5784600a819055505b83600b541461179f5783600b819055505b821515600f60009054906101000a900460ff161515146117d45782600f60006101000a81548160ff0219169083151502179055505b811515600f60019054906101000a900460ff161515146118095781600f60016101000a81548160ff0219169083151502179055505b806010541461181a57806010819055505b505050505050565b61182d848484611e69565b6118398484848461280c565b611878576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161186f90615517565b60405180910390fd5b50505050565b6000600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b600080600080600080600e54600a54600b54600f60009054906101000a900460ff16600f60019054906101000a900460ff16601054955095509550955095509550909192939495565b60026009541415611968576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161195f906155d7565b60405180910390fd5b6002600981905550600f60009054906101000a900460ff166119bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119b6906153f7565b60405180910390fd5b6119c8816129a3565b611a07576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119fe90615337565b60405180910390fd5b611a12826000612422565b60016009819055505050565b6060611a2982611da1565b611a68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a5f90615417565b60405180910390fd5b6000611a72612a27565b90506000815111611a925760405180602001604052806000815250611abd565b80611a9c84612ab9565b604051602001611aad9291906150ad565b6040516020818303038152906040525b915050919050565b60085481565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60026009541415611ba5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b9c906155d7565b60405180910390fd5b6002600981905550611bb5611daf565b73ffffffffffffffffffffffffffffffffffffffff16611bd36114b4565b73ffffffffffffffffffffffffffffffffffffffff1614611c29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c20906153d7565b60405180910390fd5b611c34816001612422565b600160098190555050565b611c47611daf565b73ffffffffffffffffffffffffffffffffffffffff16611c656114b4565b73ffffffffffffffffffffffffffffffffffffffff1614611cbb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cb2906153d7565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611d2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d2290615297565b60405180910390fd5b611d3481612748565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600060015482109050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000611e7482612545565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff16611e9b611daf565b73ffffffffffffffffffffffffffffffffffffffff161480611ef75750611ec0611daf565b73ffffffffffffffffffffffffffffffffffffffff16611edf84610989565b73ffffffffffffffffffffffffffffffffffffffff16145b80611f135750611f128260000151611f0d611daf565b611acb565b5b905080611f55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f4c90615457565b60405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614611fc7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fbe906153b7565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612037576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161202e906152f7565b60405180910390fd5b6120448585856001612c66565b6120546000848460000151611db7565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff166120c291906158e2565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff1661216691906157bb565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060405180604001604052808573ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506004600085815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550905050600060018461226c9190615801565b9050600073ffffffffffffffffffffffffffffffffffffffff166004600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156123b2576122e281611da1565b156123b1576040518060400160405280846000015173ffffffffffffffffffffffffffffffffffffffff168152602001846020015167ffffffffffffffff168152506004600083815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055509050505b5b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461241a8686866001612c6c565b505050505050565b600b5482600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000600e548152602001908152602001600020546124839190615801565b11156124c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124bb906154d7565b60405180910390fd5b6124ce8282612c72565b6124d83383612e27565b81600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000600e548152602001908152602001600020600082825461253a9190615801565b925050819055505050565b61254d613e1d565b61255682611da1565b612595576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161258c906152b7565b60405180910390fd5b60007f000000000000000000000000000000000000000000000000000000000000000083106125f95760017f0000000000000000000000000000000000000000000000000000000000000000846125ec9190615916565b6125f69190615801565b90505b60008390505b818110612707576000600460008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146126f357809350505050612743565b5080806126ff90615a33565b9150506125ff565b506040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161273a906155f7565b60405180910390fd5b919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600061282d8473ffffffffffffffffffffffffffffffffffffffff16612e35565b15612996578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612856611daf565b8786866040518563ffffffff1660e01b81526004016128789493929190615127565b602060405180830381600087803b15801561289257600080fd5b505af19250505080156128c357506040513d601f19601f820116820180604052508101906128c0919061415f565b60015b612946573d80600081146128f3576040519150601f19603f3d011682016040523d82523d6000602084013e6128f8565b606091505b5060008151141561293e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161293590615517565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061299b565b600190505b949350505050565b6000806129ae612e48565b80519060200120905060006129c282612e81565b90506129ce8185612eb1565b73ffffffffffffffffffffffffffffffffffffffff16601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161492505050919050565b606060128054612a3690615a5d565b80601f0160208091040260200160405190810160405280929190818152602001828054612a6290615a5d565b8015612aaf5780601f10612a8457610100808354040283529160200191612aaf565b820191906000526020600020905b815481529060010190602001808311612a9257829003601f168201915b5050505050905090565b60606000821415612b01576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612c61565b600082905060005b60008214612b33578080612b1c90615a8f565b915050600a82612b2c9190615857565b9150612b09565b60008167ffffffffffffffff811115612b75577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612ba75781602001600182028036833780820191505090505b5090505b60008514612c5a57600182612bc09190615916565b9150600a85612bcf9190615b06565b6030612bdb9190615801565b60f81b818381518110612c17577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612c539190615857565b9450612bab565b8093505050505b919050565b50505050565b50505050565b600b54821115612cb7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cae90615497565b60405180910390fd5b60008211612cfa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cf190615477565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000082612d24610be7565b612d2e9190615801565b1115612d6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d6690615257565b60405180910390fd5b600a5482612d7b610be7565b612d859190615801565b1115612dc6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dbd906155b7565b60405180910390fd5b600015158115151415612e23573482601054612de29190615888565b14612e22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e1990615577565b60405180910390fd5b5b5050565b612e318282612ed8565b5050565b600080823b905060008111915050919050565b6060612e5330612ef6565b612e5c33612ef6565b604051602001612e6d9291906150ad565b604051602081830303815290604052905090565b600081604051602001612e9491906150d1565b604051602081830303815290604052805190602001209050919050565b6000806000612ec08585612f27565b91509150612ecd81612faa565b819250505092915050565b612ef28282604051806020016040528060008152506132fb565b5050565b6060612f2082604051602001612f0c9190615092565b6040516020818303038152906040526137db565b9050919050565b600080604183511415612f695760008060006020860151925060408601519150606086015160001a9050612f5d87828585613c2b565b94509450505050612fa3565b604083511415612f9a576000806020850151915060408501519050612f8f868383613d38565b935093505050612fa3565b60006002915091505b9250929050565b60006004811115612fe4577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b81600481111561301d577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415613028576132f8565b60016004811115613062577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b81600481111561309b577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14156130dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130d390615217565b60405180910390fd5b60026004811115613116577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b81600481111561314f577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415613190576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161318790615277565b60405180910390fd5b600360048111156131ca577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115613203577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415613244576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161323b90615317565b60405180910390fd5b60048081111561327d577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b8160048111156132b6577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14156132f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132ee90615397565b60405180910390fd5b5b50565b60006001549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415613372576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161336990615557565b60405180910390fd5b61337b81611da1565b156133bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133b290615537565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000083111561341e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161341590615637565b60405180910390fd5b61342b6000858386612c66565b6000600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060400160405290816000820160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1681526020016000820160109054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16815250509050604051806040016040528085836000015161352891906157bb565b6fffffffffffffffffffffffffffffffff16815260200185836020015161354f91906157bb565b6fffffffffffffffffffffffffffffffff16815250600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008201518160000160006101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060208201518160000160106101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555090505060405180604001604052808673ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506004600084815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550905050600082905060005b858110156137be57818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461375e600088848861280c565b61379d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161379490615517565b60405180910390fd5b81806137a890615a8f565b92505080806137b690615a8f565b9150506136ed565b50806001819055506137d36000878588612c6c565b505050505050565b606060006040518060400160405280601081526020017f303132333435363738396162636465660000000000000000000000000000000081525090506000600284516138279190615888565b60026138339190615801565b67ffffffffffffffff811115613872577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156138a45781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110613902577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f78000000000000000000000000000000000000000000000000000000000000008160018151811061398c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060005b8451811015613c2057826004868381518110613a03577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916901c60f81c60ff1681518110613a6f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b82600283613a889190615888565b6002613a949190615801565b81518110613acb577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535082600f60f81b868381518110613b39577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b1660f81c60ff1681518110613b82577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b82600283613b9b9190615888565b6003613ba79190615801565b81518110613bde577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053508080613c1890615a8f565b9150506139be565b508092505050919050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c1115613c66576000600391509150613d2f565b601b8560ff1614158015613c7e5750601c8560ff1614155b15613c90576000600491509150613d2f565b600060018787878760405160008152602001604052604051613cb594939291906151b0565b6020604051602081039080840390855afa158015613cd7573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415613d2657600060019250925050613d2f565b80600092509250505b94509492505050565b60008060007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60001b841690506000601b60ff8660001c901c613d7b9190615801565b9050613d8987828885613c2b565b935093505050935093915050565b828054613da390615a5d565b90600052602060002090601f016020900481019282613dc55760008555613e0c565b82601f10613dde57803560ff1916838001178555613e0c565b82800160010185558215613e0c579182015b82811115613e0b578235825591602001919060010190613df0565b5b509050613e199190613e57565b5090565b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681525090565b5b80821115613e70576000816000905550600101613e58565b5090565b6000613e87613e8284615704565b6156d3565b905082815260208101848484011115613e9f57600080fd5b613eaa8482856159f1565b509392505050565b600081359050613ec181615c11565b92915050565b600081359050613ed681615c28565b92915050565b600081359050613eeb81615c3f565b92915050565b600081519050613f0081615c3f565b92915050565b600082601f830112613f1757600080fd5b8135613f27848260208601613e74565b91505092915050565b60008083601f840112613f4257600080fd5b8235905067ffffffffffffffff811115613f5b57600080fd5b602083019150836001820283011115613f7357600080fd5b9250929050565b600081359050613f8981615c56565b92915050565b600060208284031215613fa157600080fd5b6000613faf84828501613eb2565b91505092915050565b60008060408385031215613fcb57600080fd5b6000613fd985828601613eb2565b9250506020613fea85828601613eb2565b9150509250929050565b60008060006060848603121561400957600080fd5b600061401786828701613eb2565b935050602061402886828701613eb2565b925050604061403986828701613f7a565b9150509250925092565b6000806000806080858703121561405957600080fd5b600061406787828801613eb2565b945050602061407887828801613eb2565b935050604061408987828801613f7a565b925050606085013567ffffffffffffffff8111156140a657600080fd5b6140b287828801613f06565b91505092959194509250565b600080604083850312156140d157600080fd5b60006140df85828601613eb2565b92505060206140f085828601613ec7565b9150509250929050565b6000806040838503121561410d57600080fd5b600061411b85828601613eb2565b925050602061412c85828601613f7a565b9150509250929050565b60006020828403121561414857600080fd5b600061415684828501613edc565b91505092915050565b60006020828403121561417157600080fd5b600061417f84828501613ef1565b91505092915050565b6000806020838503121561419b57600080fd5b600083013567ffffffffffffffff8111156141b557600080fd5b6141c185828601613f30565b92509250509250929050565b6000602082840312156141df57600080fd5b60006141ed84828501613f7a565b91505092915050565b6000806040838503121561420957600080fd5b600061421785828601613f7a565b925050602083013567ffffffffffffffff81111561423457600080fd5b61424085828601613f06565b9150509250929050565b60008060008060008060c0878903121561426357600080fd5b600061427189828a01613f7a565b965050602061428289828a01613f7a565b955050604061429389828a01613f7a565b94505060606142a489828a01613ec7565b93505060806142b589828a01613ec7565b92505060a06142c689828a01613f7a565b9150509295509295509295565b60006142df8383615065565b60208301905092915050565b6142f48161594a565b82525050565b61430b6143068261594a565b615ad8565b82525050565b600061431c82615744565b6143268185615772565b935061433183615734565b8060005b8381101561436257815161434988826142d3565b975061435483615765565b925050600181019050614335565b5085935050505092915050565b6143788161595c565b82525050565b61438781615968565b82525050565b61439e61439982615968565b615aea565b82525050565b60006143af8261574f565b6143b98185615783565b93506143c9818560208601615a00565b6143d281615bf3565b840191505092915050565b60006143e88261575a565b6143f2818561579f565b9350614402818560208601615a00565b61440b81615bf3565b840191505092915050565b60006144218261575a565b61442b81856157b0565b935061443b818560208601615a00565b80840191505092915050565b600061445460188361579f565b91507f45434453413a20696e76616c6964207369676e617475726500000000000000006000830152602082019050919050565b600061449460228361579f565b91507f455243373231413a206f776e657220696e646578206f7574206f6620626f756e60008301527f64730000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006144fa60288361579f565b91507f4e6f7420656e6f75676820746f6b656e73206c65667420746f206d696e74207460008301527f686174206d616e790000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614560601f8361579f565b91507f45434453413a20696e76616c6964207369676e6174757265206c656e677468006000830152602082019050919050565b60006145a0601c836157b0565b91507f19457468657265756d205369676e6564204d6573736167653a0a3332000000006000830152601c82019050919050565b60006145e060268361579f565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614646602a8361579f565b91507f455243373231413a206f776e657220717565727920666f72206e6f6e6578697360008301527f74656e7420746f6b656e000000000000000000000000000000000000000000006020830152604082019050919050565b60006146ac60238361579f565b91507f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f7560008301527f6e647300000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061471260258361579f565b91507f455243373231413a207472616e7366657220746f20746865207a65726f20616460008301527f64726573730000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061477860228361579f565b91507f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008301527f75650000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006147de60188361579f565b91507f4d696e7420616363657373206e6f74206772616e7465642100000000000000006000830152602082019050919050565b600061481e60398361579f565b91507f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f76656420666f7220616c6c000000000000006020830152604082019050919050565b6000614884602b8361579f565b91507f455243373231413a2062616c616e636520717565727920666f7220746865207a60008301527f65726f20616464726573730000000000000000000000000000000000000000006020830152604082019050919050565b60006148ea60228361579f565b91507f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008301527f75650000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061495060268361579f565b91507f455243373231413a207472616e736665722066726f6d20696e636f727265637460008301527f206f776e657200000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006149b660208361579f565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b60006149f660158361579f565b91507f4d696e74696e67206973206e6f742061637469766500000000000000000000006000830152602082019050919050565b6000614a36602f8361579f565b91507f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008301527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006020830152604082019050919050565b6000614a9c601a8361579f565b91507f455243373231413a20617070726f766520746f2063616c6c65720000000000006000830152602082019050919050565b6000614adc60328361579f565b91507f455243373231413a207472616e736665722063616c6c6572206973206e6f742060008301527f6f776e6572206e6f7220617070726f76656400000000000000000000000000006020830152604082019050919050565b6000614b42601c8361579f565b91507f4d757374206d696e74206174206c65617374206f6e6520746f6b656e000000006000830152602082019050919050565b6000614b8260288361579f565b91507f43616e6e6f74206d696e74206d6f7265207468616e20746865206d6178206d6960008301527f6e74206c696d69740000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614be860228361579f565b91507f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60008301527f65720000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614c4e601f8361579f565b91507f596f752063616e2774206d696e74206f76657220796f7572206c696d697421006000830152602082019050919050565b6000614c8e600083615794565b9150600082019050919050565b6000614ca860108361579f565b91507f5472616e73666572206661696c65642e000000000000000000000000000000006000830152602082019050919050565b6000614ce860338361579f565b91507f455243373231413a207472616e7366657220746f206e6f6e204552433732315260008301527f6563656976657220696d706c656d656e746572000000000000000000000000006020830152604082019050919050565b6000614d4e601d8361579f565b91507f455243373231413a20746f6b656e20616c7265616479206d696e7465640000006000830152602082019050919050565b6000614d8e60218361579f565b91507f455243373231413a206d696e7420746f20746865207a65726f2061646472657360008301527f73000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614df460178361579f565b91507f4e6f7420656e6f7567682045544820666f72206d696e740000000000000000006000830152602082019050919050565b6000614e34602e8361579f565b91507f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060008301527f6f776e657220627920696e6465780000000000000000000000000000000000006020830152604082019050919050565b6000614e9a602e8361579f565b91507f4e6f7420656e6f75676820706861736520746f6b656e73206c65667420746f2060008301527f6d696e742074686174206d616e790000000000000000000000000000000000006020830152604082019050919050565b6000614f00601f8361579f565b91507f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006000830152602082019050919050565b6000614f40602f8361579f565b91507f455243373231413a20756e61626c6520746f2064657465726d696e652074686560008301527f206f776e6572206f6620746f6b656e00000000000000000000000000000000006020830152604082019050919050565b6000614fa6602d8361579f565b91507f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560008301527f78697374656e7420746f6b656e000000000000000000000000000000000000006020830152604082019050919050565b600061500c60228361579f565b91507f455243373231413a207175616e7469747920746f206d696e7420746f6f20686960008301527f67680000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b61506e816159da565b82525050565b61507d816159da565b82525050565b61508c816159e4565b82525050565b600061509e82846142fa565b60148201915081905092915050565b60006150b98285614416565b91506150c58284614416565b91508190509392505050565b60006150dc82614593565b91506150e8828461438d565b60208201915081905092915050565b600061510282614c81565b9150819050919050565b600060208201905061512160008301846142eb565b92915050565b600060808201905061513c60008301876142eb565b61514960208301866142eb565b6151566040830185615074565b818103606083015261516881846143a4565b905095945050505050565b6000602082019050818103600083015261518d8184614311565b905092915050565b60006020820190506151aa600083018461436f565b92915050565b60006080820190506151c5600083018761437e565b6151d26020830186615083565b6151df604083018561437e565b6151ec606083018461437e565b95945050505050565b6000602082019050818103600083015261520f81846143dd565b905092915050565b6000602082019050818103600083015261523081614447565b9050919050565b6000602082019050818103600083015261525081614487565b9050919050565b60006020820190508181036000830152615270816144ed565b9050919050565b6000602082019050818103600083015261529081614553565b9050919050565b600060208201905081810360008301526152b0816145d3565b9050919050565b600060208201905081810360008301526152d081614639565b9050919050565b600060208201905081810360008301526152f08161469f565b9050919050565b6000602082019050818103600083015261531081614705565b9050919050565b600060208201905081810360008301526153308161476b565b9050919050565b60006020820190508181036000830152615350816147d1565b9050919050565b6000602082019050818103600083015261537081614811565b9050919050565b6000602082019050818103600083015261539081614877565b9050919050565b600060208201905081810360008301526153b0816148dd565b9050919050565b600060208201905081810360008301526153d081614943565b9050919050565b600060208201905081810360008301526153f0816149a9565b9050919050565b60006020820190508181036000830152615410816149e9565b9050919050565b6000602082019050818103600083015261543081614a29565b9050919050565b6000602082019050818103600083015261545081614a8f565b9050919050565b6000602082019050818103600083015261547081614acf565b9050919050565b6000602082019050818103600083015261549081614b35565b9050919050565b600060208201905081810360008301526154b081614b75565b9050919050565b600060208201905081810360008301526154d081614bdb565b9050919050565b600060208201905081810360008301526154f081614c41565b9050919050565b6000602082019050818103600083015261551081614c9b565b9050919050565b6000602082019050818103600083015261553081614cdb565b9050919050565b6000602082019050818103600083015261555081614d41565b9050919050565b6000602082019050818103600083015261557081614d81565b9050919050565b6000602082019050818103600083015261559081614de7565b9050919050565b600060208201905081810360008301526155b081614e27565b9050919050565b600060208201905081810360008301526155d081614e8d565b9050919050565b600060208201905081810360008301526155f081614ef3565b9050919050565b6000602082019050818103600083015261561081614f33565b9050919050565b6000602082019050818103600083015261563081614f99565b9050919050565b6000602082019050818103600083015261565081614fff565b9050919050565b600060208201905061566c6000830184615074565b92915050565b600060c0820190506156876000830189615074565b6156946020830188615074565b6156a16040830187615074565b6156ae606083018661436f565b6156bb608083018561436f565b6156c860a0830184615074565b979650505050505050565b6000604051905081810181811067ffffffffffffffff821117156156fa576156f9615bc4565b5b8060405250919050565b600067ffffffffffffffff82111561571f5761571e615bc4565b5b601f19601f8301169050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006157c68261599e565b91506157d18361599e565b9250826fffffffffffffffffffffffffffffffff038211156157f6576157f5615b37565b5b828201905092915050565b600061580c826159da565b9150615817836159da565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561584c5761584b615b37565b5b828201905092915050565b6000615862826159da565b915061586d836159da565b92508261587d5761587c615b66565b5b828204905092915050565b6000615893826159da565b915061589e836159da565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156158d7576158d6615b37565b5b828202905092915050565b60006158ed8261599e565b91506158f88361599e565b92508282101561590b5761590a615b37565b5b828203905092915050565b6000615921826159da565b915061592c836159da565b92508282101561593f5761593e615b37565b5b828203905092915050565b6000615955826159ba565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b60006fffffffffffffffffffffffffffffffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b83811015615a1e578082015181840152602081019050615a03565b83811115615a2d576000848401525b50505050565b6000615a3e826159da565b91506000821415615a5257615a51615b37565b5b600182039050919050565b60006002820490506001821680615a7557607f821691505b60208210811415615a8957615a88615b95565b5b50919050565b6000615a9a826159da565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415615acd57615acc615b37565b5b600182019050919050565b6000615ae382615af4565b9050919050565b6000819050919050565b6000615aff82615c04565b9050919050565b6000615b11826159da565b9150615b1c836159da565b925082615b2c57615b2b615b66565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b615c1a8161594a565b8114615c2557600080fd5b50565b615c318161595c565b8114615c3c57600080fd5b50565b615c4881615972565b8114615c5357600080fd5b50565b615c5f816159da565b8114615c6a57600080fd5b5056fea2646970667358221220945602dcb884673304117944da10141728ee471d2e5306de9a1d1b107df0059264736f6c63430008000033

Deployed Bytecode

0x6080604052600436106101e35760003560e01c8063715018a611610102578063b9a87bd911610095578063d7224ba011610064578063d7224ba0146106ed578063e985e9c514610718578063f19e75d414610755578063f2fde38b1461077e576101e3565b8063b9a87bd914610627578063c3f909d414610664578063c43a799314610694578063c87b56dd146106b0576101e3565b806395d89b41116100d157806395d89b4114610581578063a22cb465146105ac578063ac204af4146105d5578063b88d4fde146105fe576101e3565b8063715018a6146104d75780637155c1ea146104ee5780638462151c146105195780638da5cb5b14610556576101e3565b80632db115441161017a57806355f804b31161014957806355f804b31461041d5780635fd8c710146104465780636352211e1461045d57806370a082311461049a576101e3565b80632db115441461035e5780632f745c591461037a57806342842e0e146103b75780634f6ccce7146103e0576101e3565b8063095ea7b3116101b6578063095ea7b3146102b85780630b28cac5146102e157806318160ddd1461030a57806323b872dd14610335576101e3565b806301ffc9a7146101e85780630628faf11461022557806306fdde0314610250578063081812fc1461027b575b600080fd5b3480156101f457600080fd5b5061020f600480360381019061020a9190614136565b6107a7565b60405161021c9190615195565b60405180910390f35b34801561023157600080fd5b5061023a6108f1565b6040516102479190615657565b60405180910390f35b34801561025c57600080fd5b506102656108f7565b60405161027291906151f5565b60405180910390f35b34801561028757600080fd5b506102a2600480360381019061029d91906141cd565b610989565b6040516102af919061510c565b60405180910390f35b3480156102c457600080fd5b506102df60048036038101906102da91906140fa565b610a0e565b005b3480156102ed57600080fd5b5061030860048036038101906103039190613f8f565b610b27565b005b34801561031657600080fd5b5061031f610be7565b60405161032c9190615657565b60405180910390f35b34801561034157600080fd5b5061035c60048036038101906103579190613ff4565b610bf1565b005b610378600480360381019061037391906141cd565b610c01565b005b34801561038657600080fd5b506103a1600480360381019061039c91906140fa565b610cb4565b6040516103ae9190615657565b60405180910390f35b3480156103c357600080fd5b506103de60048036038101906103d99190613ff4565b610eb2565b005b3480156103ec57600080fd5b50610407600480360381019061040291906141cd565b610ed2565b6040516104149190615657565b60405180910390f35b34801561042957600080fd5b50610444600480360381019061043f9190614188565b610f25565b005b34801561045257600080fd5b5061045b610fb7565b005b34801561046957600080fd5b50610484600480360381019061047f91906141cd565b611138565b604051610491919061510c565b60405180910390f35b3480156104a657600080fd5b506104c160048036038101906104bc9190613f8f565b61114e565b6040516104ce9190615657565b60405180910390f35b3480156104e357600080fd5b506104ec611237565b005b3480156104fa57600080fd5b506105036112bf565b6040516105109190615657565b60405180910390f35b34801561052557600080fd5b50610540600480360381019061053b9190613f8f565b6112e7565b60405161054d9190615173565b60405180910390f35b34801561056257600080fd5b5061056b6114b4565b604051610578919061510c565b60405180910390f35b34801561058d57600080fd5b506105966114dd565b6040516105a391906151f5565b60405180910390f35b3480156105b857600080fd5b506105d360048036038101906105ce91906140be565b61156f565b005b3480156105e157600080fd5b506105fc60048036038101906105f7919061424a565b6116f0565b005b34801561060a57600080fd5b5061062560048036038101906106209190614043565b611822565b005b34801561063357600080fd5b5061064e600480360381019061064991906140fa565b61187e565b60405161065b9190615657565b60405180910390f35b34801561067057600080fd5b506106796118d9565b60405161068b96959493929190615672565b60405180910390f35b6106ae60048036038101906106a991906141f6565b611922565b005b3480156106bc57600080fd5b506106d760048036038101906106d291906141cd565b611a1e565b6040516106e491906151f5565b60405180910390f35b3480156106f957600080fd5b50610702611ac5565b60405161070f9190615657565b60405180910390f35b34801561072457600080fd5b5061073f600480360381019061073a9190613fb8565b611acb565b60405161074c9190615195565b60405180910390f35b34801561076157600080fd5b5061077c600480360381019061077791906141cd565b611b5f565b005b34801561078a57600080fd5b506107a560048036038101906107a09190613f8f565b611c3f565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061087257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806108da57507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806108ea57506108e982611d37565b5b9050919050565b60105481565b60606002805461090690615a5d565b80601f016020809104026020016040519081016040528092919081815260200182805461093290615a5d565b801561097f5780601f106109545761010080835404028352916020019161097f565b820191906000526020600020905b81548152906001019060200180831161096257829003601f168201915b5050505050905090565b600061099482611da1565b6109d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109ca90615617565b60405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a1982611138565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a81906154b7565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610aa9611daf565b73ffffffffffffffffffffffffffffffffffffffff161480610ad85750610ad781610ad2611daf565b611acb565b5b610b17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b0e90615357565b60405180910390fd5b610b22838383611db7565b505050565b610b2f611daf565b73ffffffffffffffffffffffffffffffffffffffff16610b4d6114b4565b73ffffffffffffffffffffffffffffffffffffffff1614610ba3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9a906153d7565b60405180910390fd5b80601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600154905090565b610bfc838383611e69565b505050565b60026009541415610c47576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3e906155d7565b60405180910390fd5b6002600981905550600f60019054906101000a900460ff16610c9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c95906153f7565b60405180910390fd5b610ca9816000612422565b600160098190555050565b6000610cbf8361114e565b8210610d00576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cf790615237565b60405180910390fd5b6000610d0a610be7565b905060008060005b83811015610e70576000600460008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614610e0457806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610e5c5786841415610e4d578195505050505050610eac565b8380610e5890615a8f565b9450505b508080610e6890615a8f565b915050610d12565b506040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ea390615597565b60405180910390fd5b92915050565b610ecd83838360405180602001604052806000815250611822565b505050565b6000610edc610be7565b8210610f1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f14906152d7565b60405180910390fd5b819050919050565b610f2d611daf565b73ffffffffffffffffffffffffffffffffffffffff16610f4b6114b4565b73ffffffffffffffffffffffffffffffffffffffff1614610fa1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f98906153d7565b60405180910390fd5b818160129190610fb2929190613d97565b505050565b610fbf611daf565b73ffffffffffffffffffffffffffffffffffffffff16610fdd6114b4565b73ffffffffffffffffffffffffffffffffffffffff1614611033576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102a906153d7565b60405180910390fd5b60026009541415611079576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611070906155d7565b60405180910390fd5b600260098190555060003373ffffffffffffffffffffffffffffffffffffffff16476040516110a7906150f7565b60006040518083038185875af1925050503d80600081146110e4576040519150601f19603f3d011682016040523d82523d6000602084013e6110e9565b606091505b505090508061112d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611124906154f7565b60405180910390fd5b506001600981905550565b600061114382612545565b600001519050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156111bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b690615377565b60405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050919050565b61123f611daf565b73ffffffffffffffffffffffffffffffffffffffff1661125d6114b4565b73ffffffffffffffffffffffffffffffffffffffff16146112b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112aa906153d7565b60405180910390fd5b6112bd6000612748565b565b60007f00000000000000000000000000000000000000000000000000000000000022b8905090565b606060006112f48361114e565b9050600081141561137757600067ffffffffffffffff811115611340577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60405190808252806020026020018201604052801561136e5781602001602082028036833780820191505090505b509150506114af565b60008167ffffffffffffffff8111156113b9577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156113e75781602001602082028036833780820191505090505b50905060006113f4610be7565b90506000805b828110156114a6578673ffffffffffffffffffffffffffffffffffffffff1661142282611138565b73ffffffffffffffffffffffffffffffffffffffff1614156114935780848381518110611478577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001018181525050818061148f90615a8f565b9250505b808061149e90615a8f565b9150506113fa565b83955050505050505b919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600380546114ec90615a5d565b80601f016020809104026020016040519081016040528092919081815260200182805461151890615a5d565b80156115655780601f1061153a57610100808354040283529160200191611565565b820191906000526020600020905b81548152906001019060200180831161154857829003601f168201915b5050505050905090565b611577611daf565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156115e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115dc90615437565b60405180910390fd5b80600760006115f2611daf565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661169f611daf565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516116e49190615195565b60405180910390a35050565b6116f8611daf565b73ffffffffffffffffffffffffffffffffffffffff166117166114b4565b73ffffffffffffffffffffffffffffffffffffffff161461176c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611763906153d7565b60405180910390fd5b85600e541461177d5785600e819055505b84600a541461178e5784600a819055505b83600b541461179f5783600b819055505b821515600f60009054906101000a900460ff161515146117d45782600f60006101000a81548160ff0219169083151502179055505b811515600f60019054906101000a900460ff161515146118095781600f60016101000a81548160ff0219169083151502179055505b806010541461181a57806010819055505b505050505050565b61182d848484611e69565b6118398484848461280c565b611878576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161186f90615517565b60405180910390fd5b50505050565b6000600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b600080600080600080600e54600a54600b54600f60009054906101000a900460ff16600f60019054906101000a900460ff16601054955095509550955095509550909192939495565b60026009541415611968576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161195f906155d7565b60405180910390fd5b6002600981905550600f60009054906101000a900460ff166119bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119b6906153f7565b60405180910390fd5b6119c8816129a3565b611a07576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119fe90615337565b60405180910390fd5b611a12826000612422565b60016009819055505050565b6060611a2982611da1565b611a68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a5f90615417565b60405180910390fd5b6000611a72612a27565b90506000815111611a925760405180602001604052806000815250611abd565b80611a9c84612ab9565b604051602001611aad9291906150ad565b6040516020818303038152906040525b915050919050565b60085481565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60026009541415611ba5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b9c906155d7565b60405180910390fd5b6002600981905550611bb5611daf565b73ffffffffffffffffffffffffffffffffffffffff16611bd36114b4565b73ffffffffffffffffffffffffffffffffffffffff1614611c29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c20906153d7565b60405180910390fd5b611c34816001612422565b600160098190555050565b611c47611daf565b73ffffffffffffffffffffffffffffffffffffffff16611c656114b4565b73ffffffffffffffffffffffffffffffffffffffff1614611cbb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cb2906153d7565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611d2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d2290615297565b60405180910390fd5b611d3481612748565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600060015482109050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000611e7482612545565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff16611e9b611daf565b73ffffffffffffffffffffffffffffffffffffffff161480611ef75750611ec0611daf565b73ffffffffffffffffffffffffffffffffffffffff16611edf84610989565b73ffffffffffffffffffffffffffffffffffffffff16145b80611f135750611f128260000151611f0d611daf565b611acb565b5b905080611f55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f4c90615457565b60405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614611fc7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fbe906153b7565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612037576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161202e906152f7565b60405180910390fd5b6120448585856001612c66565b6120546000848460000151611db7565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff166120c291906158e2565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff1661216691906157bb565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060405180604001604052808573ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506004600085815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550905050600060018461226c9190615801565b9050600073ffffffffffffffffffffffffffffffffffffffff166004600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156123b2576122e281611da1565b156123b1576040518060400160405280846000015173ffffffffffffffffffffffffffffffffffffffff168152602001846020015167ffffffffffffffff168152506004600083815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055509050505b5b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461241a8686866001612c6c565b505050505050565b600b5482600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000600e548152602001908152602001600020546124839190615801565b11156124c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124bb906154d7565b60405180910390fd5b6124ce8282612c72565b6124d83383612e27565b81600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000600e548152602001908152602001600020600082825461253a9190615801565b925050819055505050565b61254d613e1d565b61255682611da1565b612595576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161258c906152b7565b60405180910390fd5b60007f000000000000000000000000000000000000000000000000000000000000006483106125f95760017f0000000000000000000000000000000000000000000000000000000000000064846125ec9190615916565b6125f69190615801565b90505b60008390505b818110612707576000600460008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146126f357809350505050612743565b5080806126ff90615a33565b9150506125ff565b506040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161273a906155f7565b60405180910390fd5b919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600061282d8473ffffffffffffffffffffffffffffffffffffffff16612e35565b15612996578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612856611daf565b8786866040518563ffffffff1660e01b81526004016128789493929190615127565b602060405180830381600087803b15801561289257600080fd5b505af19250505080156128c357506040513d601f19601f820116820180604052508101906128c0919061415f565b60015b612946573d80600081146128f3576040519150601f19603f3d011682016040523d82523d6000602084013e6128f8565b606091505b5060008151141561293e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161293590615517565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061299b565b600190505b949350505050565b6000806129ae612e48565b80519060200120905060006129c282612e81565b90506129ce8185612eb1565b73ffffffffffffffffffffffffffffffffffffffff16601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161492505050919050565b606060128054612a3690615a5d565b80601f0160208091040260200160405190810160405280929190818152602001828054612a6290615a5d565b8015612aaf5780601f10612a8457610100808354040283529160200191612aaf565b820191906000526020600020905b815481529060010190602001808311612a9257829003601f168201915b5050505050905090565b60606000821415612b01576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612c61565b600082905060005b60008214612b33578080612b1c90615a8f565b915050600a82612b2c9190615857565b9150612b09565b60008167ffffffffffffffff811115612b75577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612ba75781602001600182028036833780820191505090505b5090505b60008514612c5a57600182612bc09190615916565b9150600a85612bcf9190615b06565b6030612bdb9190615801565b60f81b818381518110612c17577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612c539190615857565b9450612bab565b8093505050505b919050565b50505050565b50505050565b600b54821115612cb7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cae90615497565b60405180910390fd5b60008211612cfa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cf190615477565b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000022b882612d24610be7565b612d2e9190615801565b1115612d6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d6690615257565b60405180910390fd5b600a5482612d7b610be7565b612d859190615801565b1115612dc6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dbd906155b7565b60405180910390fd5b600015158115151415612e23573482601054612de29190615888565b14612e22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e1990615577565b60405180910390fd5b5b5050565b612e318282612ed8565b5050565b600080823b905060008111915050919050565b6060612e5330612ef6565b612e5c33612ef6565b604051602001612e6d9291906150ad565b604051602081830303815290604052905090565b600081604051602001612e9491906150d1565b604051602081830303815290604052805190602001209050919050565b6000806000612ec08585612f27565b91509150612ecd81612faa565b819250505092915050565b612ef28282604051806020016040528060008152506132fb565b5050565b6060612f2082604051602001612f0c9190615092565b6040516020818303038152906040526137db565b9050919050565b600080604183511415612f695760008060006020860151925060408601519150606086015160001a9050612f5d87828585613c2b565b94509450505050612fa3565b604083511415612f9a576000806020850151915060408501519050612f8f868383613d38565b935093505050612fa3565b60006002915091505b9250929050565b60006004811115612fe4577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b81600481111561301d577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415613028576132f8565b60016004811115613062577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b81600481111561309b577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14156130dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130d390615217565b60405180910390fd5b60026004811115613116577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b81600481111561314f577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415613190576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161318790615277565b60405180910390fd5b600360048111156131ca577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115613203577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415613244576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161323b90615317565b60405180910390fd5b60048081111561327d577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b8160048111156132b6577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14156132f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132ee90615397565b60405180910390fd5b5b50565b60006001549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415613372576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161336990615557565b60405180910390fd5b61337b81611da1565b156133bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133b290615537565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000006483111561341e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161341590615637565b60405180910390fd5b61342b6000858386612c66565b6000600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060400160405290816000820160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1681526020016000820160109054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16815250509050604051806040016040528085836000015161352891906157bb565b6fffffffffffffffffffffffffffffffff16815260200185836020015161354f91906157bb565b6fffffffffffffffffffffffffffffffff16815250600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008201518160000160006101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060208201518160000160106101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555090505060405180604001604052808673ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506004600084815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550905050600082905060005b858110156137be57818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461375e600088848861280c565b61379d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161379490615517565b60405180910390fd5b81806137a890615a8f565b92505080806137b690615a8f565b9150506136ed565b50806001819055506137d36000878588612c6c565b505050505050565b606060006040518060400160405280601081526020017f303132333435363738396162636465660000000000000000000000000000000081525090506000600284516138279190615888565b60026138339190615801565b67ffffffffffffffff811115613872577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156138a45781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110613902577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f78000000000000000000000000000000000000000000000000000000000000008160018151811061398c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060005b8451811015613c2057826004868381518110613a03577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916901c60f81c60ff1681518110613a6f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b82600283613a889190615888565b6002613a949190615801565b81518110613acb577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535082600f60f81b868381518110613b39577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b1660f81c60ff1681518110613b82577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602001015160f81c60f81b82600283613b9b9190615888565b6003613ba79190615801565b81518110613bde577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053508080613c1890615a8f565b9150506139be565b508092505050919050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c1115613c66576000600391509150613d2f565b601b8560ff1614158015613c7e5750601c8560ff1614155b15613c90576000600491509150613d2f565b600060018787878760405160008152602001604052604051613cb594939291906151b0565b6020604051602081039080840390855afa158015613cd7573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415613d2657600060019250925050613d2f565b80600092509250505b94509492505050565b60008060007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60001b841690506000601b60ff8660001c901c613d7b9190615801565b9050613d8987828885613c2b565b935093505050935093915050565b828054613da390615a5d565b90600052602060002090601f016020900481019282613dc55760008555613e0c565b82601f10613dde57803560ff1916838001178555613e0c565b82800160010185558215613e0c579182015b82811115613e0b578235825591602001919060010190613df0565b5b509050613e199190613e57565b5090565b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681525090565b5b80821115613e70576000816000905550600101613e58565b5090565b6000613e87613e8284615704565b6156d3565b905082815260208101848484011115613e9f57600080fd5b613eaa8482856159f1565b509392505050565b600081359050613ec181615c11565b92915050565b600081359050613ed681615c28565b92915050565b600081359050613eeb81615c3f565b92915050565b600081519050613f0081615c3f565b92915050565b600082601f830112613f1757600080fd5b8135613f27848260208601613e74565b91505092915050565b60008083601f840112613f4257600080fd5b8235905067ffffffffffffffff811115613f5b57600080fd5b602083019150836001820283011115613f7357600080fd5b9250929050565b600081359050613f8981615c56565b92915050565b600060208284031215613fa157600080fd5b6000613faf84828501613eb2565b91505092915050565b60008060408385031215613fcb57600080fd5b6000613fd985828601613eb2565b9250506020613fea85828601613eb2565b9150509250929050565b60008060006060848603121561400957600080fd5b600061401786828701613eb2565b935050602061402886828701613eb2565b925050604061403986828701613f7a565b9150509250925092565b6000806000806080858703121561405957600080fd5b600061406787828801613eb2565b945050602061407887828801613eb2565b935050604061408987828801613f7a565b925050606085013567ffffffffffffffff8111156140a657600080fd5b6140b287828801613f06565b91505092959194509250565b600080604083850312156140d157600080fd5b60006140df85828601613eb2565b92505060206140f085828601613ec7565b9150509250929050565b6000806040838503121561410d57600080fd5b600061411b85828601613eb2565b925050602061412c85828601613f7a565b9150509250929050565b60006020828403121561414857600080fd5b600061415684828501613edc565b91505092915050565b60006020828403121561417157600080fd5b600061417f84828501613ef1565b91505092915050565b6000806020838503121561419b57600080fd5b600083013567ffffffffffffffff8111156141b557600080fd5b6141c185828601613f30565b92509250509250929050565b6000602082840312156141df57600080fd5b60006141ed84828501613f7a565b91505092915050565b6000806040838503121561420957600080fd5b600061421785828601613f7a565b925050602083013567ffffffffffffffff81111561423457600080fd5b61424085828601613f06565b9150509250929050565b60008060008060008060c0878903121561426357600080fd5b600061427189828a01613f7a565b965050602061428289828a01613f7a565b955050604061429389828a01613f7a565b94505060606142a489828a01613ec7565b93505060806142b589828a01613ec7565b92505060a06142c689828a01613f7a565b9150509295509295509295565b60006142df8383615065565b60208301905092915050565b6142f48161594a565b82525050565b61430b6143068261594a565b615ad8565b82525050565b600061431c82615744565b6143268185615772565b935061433183615734565b8060005b8381101561436257815161434988826142d3565b975061435483615765565b925050600181019050614335565b5085935050505092915050565b6143788161595c565b82525050565b61438781615968565b82525050565b61439e61439982615968565b615aea565b82525050565b60006143af8261574f565b6143b98185615783565b93506143c9818560208601615a00565b6143d281615bf3565b840191505092915050565b60006143e88261575a565b6143f2818561579f565b9350614402818560208601615a00565b61440b81615bf3565b840191505092915050565b60006144218261575a565b61442b81856157b0565b935061443b818560208601615a00565b80840191505092915050565b600061445460188361579f565b91507f45434453413a20696e76616c6964207369676e617475726500000000000000006000830152602082019050919050565b600061449460228361579f565b91507f455243373231413a206f776e657220696e646578206f7574206f6620626f756e60008301527f64730000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006144fa60288361579f565b91507f4e6f7420656e6f75676820746f6b656e73206c65667420746f206d696e74207460008301527f686174206d616e790000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614560601f8361579f565b91507f45434453413a20696e76616c6964207369676e6174757265206c656e677468006000830152602082019050919050565b60006145a0601c836157b0565b91507f19457468657265756d205369676e6564204d6573736167653a0a3332000000006000830152601c82019050919050565b60006145e060268361579f565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614646602a8361579f565b91507f455243373231413a206f776e657220717565727920666f72206e6f6e6578697360008301527f74656e7420746f6b656e000000000000000000000000000000000000000000006020830152604082019050919050565b60006146ac60238361579f565b91507f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f7560008301527f6e647300000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061471260258361579f565b91507f455243373231413a207472616e7366657220746f20746865207a65726f20616460008301527f64726573730000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061477860228361579f565b91507f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008301527f75650000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006147de60188361579f565b91507f4d696e7420616363657373206e6f74206772616e7465642100000000000000006000830152602082019050919050565b600061481e60398361579f565b91507f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f76656420666f7220616c6c000000000000006020830152604082019050919050565b6000614884602b8361579f565b91507f455243373231413a2062616c616e636520717565727920666f7220746865207a60008301527f65726f20616464726573730000000000000000000000000000000000000000006020830152604082019050919050565b60006148ea60228361579f565b91507f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008301527f75650000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061495060268361579f565b91507f455243373231413a207472616e736665722066726f6d20696e636f727265637460008301527f206f776e657200000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006149b660208361579f565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b60006149f660158361579f565b91507f4d696e74696e67206973206e6f742061637469766500000000000000000000006000830152602082019050919050565b6000614a36602f8361579f565b91507f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008301527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006020830152604082019050919050565b6000614a9c601a8361579f565b91507f455243373231413a20617070726f766520746f2063616c6c65720000000000006000830152602082019050919050565b6000614adc60328361579f565b91507f455243373231413a207472616e736665722063616c6c6572206973206e6f742060008301527f6f776e6572206e6f7220617070726f76656400000000000000000000000000006020830152604082019050919050565b6000614b42601c8361579f565b91507f4d757374206d696e74206174206c65617374206f6e6520746f6b656e000000006000830152602082019050919050565b6000614b8260288361579f565b91507f43616e6e6f74206d696e74206d6f7265207468616e20746865206d6178206d6960008301527f6e74206c696d69740000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614be860228361579f565b91507f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60008301527f65720000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614c4e601f8361579f565b91507f596f752063616e2774206d696e74206f76657220796f7572206c696d697421006000830152602082019050919050565b6000614c8e600083615794565b9150600082019050919050565b6000614ca860108361579f565b91507f5472616e73666572206661696c65642e000000000000000000000000000000006000830152602082019050919050565b6000614ce860338361579f565b91507f455243373231413a207472616e7366657220746f206e6f6e204552433732315260008301527f6563656976657220696d706c656d656e746572000000000000000000000000006020830152604082019050919050565b6000614d4e601d8361579f565b91507f455243373231413a20746f6b656e20616c7265616479206d696e7465640000006000830152602082019050919050565b6000614d8e60218361579f565b91507f455243373231413a206d696e7420746f20746865207a65726f2061646472657360008301527f73000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614df460178361579f565b91507f4e6f7420656e6f7567682045544820666f72206d696e740000000000000000006000830152602082019050919050565b6000614e34602e8361579f565b91507f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060008301527f6f776e657220627920696e6465780000000000000000000000000000000000006020830152604082019050919050565b6000614e9a602e8361579f565b91507f4e6f7420656e6f75676820706861736520746f6b656e73206c65667420746f2060008301527f6d696e742074686174206d616e790000000000000000000000000000000000006020830152604082019050919050565b6000614f00601f8361579f565b91507f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006000830152602082019050919050565b6000614f40602f8361579f565b91507f455243373231413a20756e61626c6520746f2064657465726d696e652074686560008301527f206f776e6572206f6620746f6b656e00000000000000000000000000000000006020830152604082019050919050565b6000614fa6602d8361579f565b91507f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560008301527f78697374656e7420746f6b656e000000000000000000000000000000000000006020830152604082019050919050565b600061500c60228361579f565b91507f455243373231413a207175616e7469747920746f206d696e7420746f6f20686960008301527f67680000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b61506e816159da565b82525050565b61507d816159da565b82525050565b61508c816159e4565b82525050565b600061509e82846142fa565b60148201915081905092915050565b60006150b98285614416565b91506150c58284614416565b91508190509392505050565b60006150dc82614593565b91506150e8828461438d565b60208201915081905092915050565b600061510282614c81565b9150819050919050565b600060208201905061512160008301846142eb565b92915050565b600060808201905061513c60008301876142eb565b61514960208301866142eb565b6151566040830185615074565b818103606083015261516881846143a4565b905095945050505050565b6000602082019050818103600083015261518d8184614311565b905092915050565b60006020820190506151aa600083018461436f565b92915050565b60006080820190506151c5600083018761437e565b6151d26020830186615083565b6151df604083018561437e565b6151ec606083018461437e565b95945050505050565b6000602082019050818103600083015261520f81846143dd565b905092915050565b6000602082019050818103600083015261523081614447565b9050919050565b6000602082019050818103600083015261525081614487565b9050919050565b60006020820190508181036000830152615270816144ed565b9050919050565b6000602082019050818103600083015261529081614553565b9050919050565b600060208201905081810360008301526152b0816145d3565b9050919050565b600060208201905081810360008301526152d081614639565b9050919050565b600060208201905081810360008301526152f08161469f565b9050919050565b6000602082019050818103600083015261531081614705565b9050919050565b600060208201905081810360008301526153308161476b565b9050919050565b60006020820190508181036000830152615350816147d1565b9050919050565b6000602082019050818103600083015261537081614811565b9050919050565b6000602082019050818103600083015261539081614877565b9050919050565b600060208201905081810360008301526153b0816148dd565b9050919050565b600060208201905081810360008301526153d081614943565b9050919050565b600060208201905081810360008301526153f0816149a9565b9050919050565b60006020820190508181036000830152615410816149e9565b9050919050565b6000602082019050818103600083015261543081614a29565b9050919050565b6000602082019050818103600083015261545081614a8f565b9050919050565b6000602082019050818103600083015261547081614acf565b9050919050565b6000602082019050818103600083015261549081614b35565b9050919050565b600060208201905081810360008301526154b081614b75565b9050919050565b600060208201905081810360008301526154d081614bdb565b9050919050565b600060208201905081810360008301526154f081614c41565b9050919050565b6000602082019050818103600083015261551081614c9b565b9050919050565b6000602082019050818103600083015261553081614cdb565b9050919050565b6000602082019050818103600083015261555081614d41565b9050919050565b6000602082019050818103600083015261557081614d81565b9050919050565b6000602082019050818103600083015261559081614de7565b9050919050565b600060208201905081810360008301526155b081614e27565b9050919050565b600060208201905081810360008301526155d081614e8d565b9050919050565b600060208201905081810360008301526155f081614ef3565b9050919050565b6000602082019050818103600083015261561081614f33565b9050919050565b6000602082019050818103600083015261563081614f99565b9050919050565b6000602082019050818103600083015261565081614fff565b9050919050565b600060208201905061566c6000830184615074565b92915050565b600060c0820190506156876000830189615074565b6156946020830188615074565b6156a16040830187615074565b6156ae606083018661436f565b6156bb608083018561436f565b6156c860a0830184615074565b979650505050505050565b6000604051905081810181811067ffffffffffffffff821117156156fa576156f9615bc4565b5b8060405250919050565b600067ffffffffffffffff82111561571f5761571e615bc4565b5b601f19601f8301169050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006157c68261599e565b91506157d18361599e565b9250826fffffffffffffffffffffffffffffffff038211156157f6576157f5615b37565b5b828201905092915050565b600061580c826159da565b9150615817836159da565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561584c5761584b615b37565b5b828201905092915050565b6000615862826159da565b915061586d836159da565b92508261587d5761587c615b66565b5b828204905092915050565b6000615893826159da565b915061589e836159da565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156158d7576158d6615b37565b5b828202905092915050565b60006158ed8261599e565b91506158f88361599e565b92508282101561590b5761590a615b37565b5b828203905092915050565b6000615921826159da565b915061592c836159da565b92508282101561593f5761593e615b37565b5b828203905092915050565b6000615955826159ba565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b60006fffffffffffffffffffffffffffffffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b83811015615a1e578082015181840152602081019050615a03565b83811115615a2d576000848401525b50505050565b6000615a3e826159da565b91506000821415615a5257615a51615b37565b5b600182039050919050565b60006002820490506001821680615a7557607f821691505b60208210811415615a8957615a88615b95565b5b50919050565b6000615a9a826159da565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415615acd57615acc615b37565b5b600182019050919050565b6000615ae382615af4565b9050919050565b6000819050919050565b6000615aff82615c04565b9050919050565b6000615b11826159da565b9150615b1c836159da565b925082615b2c57615b2b615b66565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b615c1a8161594a565b8114615c2557600080fd5b50565b615c318161595c565b8114615c3c57600080fd5b50565b615c4881615972565b8114615c5357600080fd5b50565b615c5f816159da565b8114615c6a57600080fd5b5056fea2646970667358221220945602dcb884673304117944da10141728ee471d2e5306de9a1d1b107df0059264736f6c63430008000033

Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.