ETH Price: $3,306.36 (-3.72%)
Gas: 15 Gwei

Token

Vitoshis Castle OutTakes (VCOT)
 

Overview

Max Total Supply

2,109 VCOT

Holders

195

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
12 VCOT
0x0a7c79e15737d5c307ad5ba0021433cb1142c97c
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
vitoshi_721A_opensea_v2

Compiler Version
v0.8.13+commit.abaa5c0e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 16 : vitoshi_721A_opensea.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.2;

import './extensions/ERC721AQueryable_opensea.sol';
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/token/common/ERC2981.sol";
  

contract vitoshi_721A_opensea_v2 is ERC721AQueryable, Ownable,ERC2981, ReentrancyGuard {  

  bytes32 public constant merkleRoot = 0x61cb7d0b6537f0bb8d59c9749976290b171575119ca652ed984934f8cc281d68;
  uint256 public constant TOTAL_SUPPLY_LIMIT = 6302;
  uint256 public constant WHITELIST_LIMIT_PER_WALLET = 12;
  uint256 public constant TOTAL_LIMIT_PER_WALLET = 30;
  string public baseTokenURI ="";
  bool public publicMintingOpen;
  bool public whitelistMintingOpen;
  address public royaltyAddress;
  uint96 public royaltyFee = 1000;
   
	constructor() ERC721A("Vitoshis Castle OutTakes", "VCOT") {
      royaltyAddress = msg.sender;
      _setDefaultRoyalty(msg.sender, royaltyFee);
  }

     function airdrop(address[] memory airdrops, uint256 tokensForEach) external onlyOwner {
  
    require(tokensForEach <= 30,"<30/batch");
    for(uint i = 0; i < airdrops.length; i++) {
	    _mint(airdrops[i], tokensForEach);
        require(i + totalSupply() <= TOTAL_SUPPLY_LIMIT, "Exceeds Max Supply");
    }
  }

    function mintFromWhitelist(bytes32[] calldata _merkleProof,uint64 contestantsToMint) public {
    require(whitelistMintingOpen == true, "Whitelist Sale Off");
    require(contestantsToMint + totalSupply() <= TOTAL_SUPPLY_LIMIT, "Exceeds Max Supply");
    require(MerkleProof.verify(_merkleProof, merkleRoot, keccak256(abi.encodePacked(msg.sender))), "Not whitelisted");
    require( (_getAux(msg.sender) + contestantsToMint) <= WHITELIST_LIMIT_PER_WALLET , "Exceeds Whitelist Limit / Wallet");
    require(balanceOf(msg.sender) + contestantsToMint <= TOTAL_LIMIT_PER_WALLET,"Exceeds limit - 30/wallet");

    _setAux(msg.sender, _getAux(msg.sender) + contestantsToMint);

    _mint(msg.sender,contestantsToMint);

  }

  function mintFromSale(uint contestantsToMint) public  {
    require(contestantsToMint + totalSupply() <= TOTAL_SUPPLY_LIMIT, "Exceeds Max Supply");
    require(publicMintingOpen == true, "Public Sale Off");
  require(balanceOf(msg.sender) + contestantsToMint <= TOTAL_LIMIT_PER_WALLET,"Exceeds limit - 30/wallet");
    require(contestantsToMint <= 30,"<30/batch");

    _mint(msg.sender,contestantsToMint);
  }

  function togglePublicSale() external onlyOwner {
	  publicMintingOpen = !publicMintingOpen;
  }

  function toggleWhitelistSale() external onlyOwner {
	  whitelistMintingOpen = !whitelistMintingOpen;
  }

  function retrieveFunds() external onlyOwner nonReentrant {
    payable(owner()).transfer(address(this).balance);
  }

  /// @dev Returns an URI for a given token ID
  function _baseURI() internal view virtual override returns (string memory) {
    return baseTokenURI;
  }

  /// @dev Sets the base token URI prefix.
  function setBaseTokenURI(string memory _baseTokenURI) external onlyOwner {
    baseTokenURI = _baseTokenURI;
  }

      function setRoyaltyFee(uint96 _feeNumerator) external onlyOwner {
        royaltyFee = _feeNumerator;
        _setDefaultRoyalty(royaltyAddress, royaltyFee);
    }

    //Change the royalty address where royalty payouts are sent
    function setRoyaltyAddress(address _royaltyAddress) external onlyOwner {
        royaltyAddress = _royaltyAddress;
        _setDefaultRoyalty(royaltyAddress, royaltyFee);
    }

        function supportsInterface(
        bytes4 interfaceId
    ) public view virtual override(IERC721A, ERC721A, ERC2981) returns (bool) {
        // Supports the following `interfaceId`s:
        // - IERC165: 0x01ffc9a7
        // - IERC721: 0x80ac58cd
        // - IERC721Metadata: 0x5b5e139f
        // - IERC2981: 0x2a55205a
        return
            ERC721A.supportsInterface(interfaceId) ||
            ERC2981.supportsInterface(interfaceId);
    }  
}

File 2 of 16 : ERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/common/ERC2981.sol)

pragma solidity ^0.8.0;

import "../../interfaces/IERC2981.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information.
 *
 * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for
 * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first.
 *
 * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the
 * fee is specified in basis points by default.
 *
 * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See
 * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to
 * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported.
 *
 * _Available since v4.5._
 */
abstract contract ERC2981 is IERC2981, ERC165 {
    struct RoyaltyInfo {
        address receiver;
        uint96 royaltyFraction;
    }

    RoyaltyInfo private _defaultRoyaltyInfo;
    mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo;

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

    /**
     * @inheritdoc IERC2981
     */
    function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view virtual override returns (address, uint256) {
        RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId];

        if (royalty.receiver == address(0)) {
            royalty = _defaultRoyaltyInfo;
        }

        uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) / _feeDenominator();

        return (royalty.receiver, royaltyAmount);
    }

    /**
     * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a
     * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an
     * override.
     */
    function _feeDenominator() internal pure virtual returns (uint96) {
        return 10000;
    }

    /**
     * @dev Sets the royalty information that all ids in this contract will default to.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: invalid receiver");

        _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Removes default royalty information.
     */
    function _deleteDefaultRoyalty() internal virtual {
        delete _defaultRoyaltyInfo;
    }

    /**
     * @dev Sets the royalty information for a specific token id, overriding the global default.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setTokenRoyalty(
        uint256 tokenId,
        address receiver,
        uint96 feeNumerator
    ) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: Invalid parameters");

        _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Resets royalty information for the token id back to the global default.
     */
    function _resetTokenRoyalty(uint256 tokenId) internal virtual {
        delete _tokenRoyaltyInfo[tokenId];
    }
}

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

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Tree proofs.
 *
 * The tree and the proofs can be generated using our
 * https://github.com/OpenZeppelin/merkle-tree[JavaScript library].
 * You will find a quickstart guide in the readme.
 *
 * WARNING: You should avoid using leaf values that are 64 bytes long prior to
 * hashing, or use a hash function other than keccak256 for hashing leaves.
 * This is because the concatenation of a sorted pair of internal nodes in
 * the merkle tree could be reinterpreted as a leaf value.
 * OpenZeppelin's JavaScript library generates merkle trees that are safe
 * against this attack out of the box.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

    /**
     * @dev Calldata version of {verify}
     *
     * _Available since v4.7._
     */
    function verifyCalldata(
        bytes32[] calldata proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProofCalldata(proof, leaf) == root;
    }

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

    /**
     * @dev Calldata version of {processProof}
     *
     * _Available since v4.7._
     */
    function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Returns true if the `leaves` can be simultaneously proven to be a part of a merkle tree defined by
     * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}.
     *
     * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details.
     *
     * _Available since v4.7._
     */
    function multiProofVerify(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProof(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Calldata version of {multiProofVerify}
     *
     * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details.
     *
     * _Available since v4.7._
     */
    function multiProofVerifyCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProofCalldata(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Returns the root of a tree reconstructed from `leaves` and sibling nodes in `proof`. The reconstruction
     * proceeds by incrementally reconstructing all inner nodes by combining a leaf/inner node with either another
     * leaf/inner node or a proof sibling node, depending on whether each `proofFlags` item is true or false
     * respectively.
     *
     * CAUTION: Not all merkle trees admit multiproofs. To use multiproofs, it is sufficient to ensure that: 1) the tree
     * is complete (but not necessarily perfect), 2) the leaves to be proven are in the opposite order they are in the
     * tree (i.e., as seen from right to left starting at the deepest layer and continuing at the next layer).
     *
     * _Available since v4.7._
     */
    function processMultiProof(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    /**
     * @dev Calldata version of {processMultiProof}.
     *
     * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details.
     *
     * _Available since v4.7._
     */
    function processMultiProofCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) {
        return a < b ? _efficientHash(a, b) : _efficientHash(b, a);
    }

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        /// @solidity memory-safe-assembly
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}

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

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

File 6 of 16 : ERC721AQueryable_opensea.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.3
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import './IERC721AQueryable.sol';
import '../ERC721A_opensea.sol';

/**
 * @title ERC721AQueryable.
 *
 * @dev ERC721A subclass with convenience query functions.
 */
abstract contract ERC721AQueryable is ERC721A, IERC721AQueryable {
    /**
     * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting.
     *
     * If the `tokenId` is out of bounds:
     *
     * - `addr = address(0)`
     * - `startTimestamp = 0`
     * - `burned = false`
     * - `extraData = 0`
     *
     * If the `tokenId` is burned:
     *
     * - `addr = <Address of owner before token was burned>`
     * - `startTimestamp = <Timestamp when token was burned>`
     * - `burned = true`
     * - `extraData = <Extra data when token was burned>`
     *
     * Otherwise:
     *
     * - `addr = <Address of owner>`
     * - `startTimestamp = <Timestamp of start of ownership>`
     * - `burned = false`
     * - `extraData = <Extra data at start of ownership>`
     */
    function explicitOwnershipOf(uint256 tokenId) public view virtual override returns (TokenOwnership memory) {
        TokenOwnership memory ownership;
        if (tokenId < _startTokenId() || tokenId >= _nextTokenId()) {
            return ownership;
        }
        ownership = _ownershipAt(tokenId);
        if (ownership.burned) {
            return ownership;
        }
        return _ownershipOf(tokenId);
    }

    /**
     * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order.
     * See {ERC721AQueryable-explicitOwnershipOf}
     */
    function explicitOwnershipsOf(uint256[] calldata tokenIds)
        external
        view
        virtual
        override
        returns (TokenOwnership[] memory)
    {
        unchecked {
            uint256 tokenIdsLength = tokenIds.length;
            TokenOwnership[] memory ownerships = new TokenOwnership[](tokenIdsLength);
            for (uint256 i; i != tokenIdsLength; ++i) {
                ownerships[i] = explicitOwnershipOf(tokenIds[i]);
            }
            return ownerships;
        }
    }

    /**
     * @dev Returns an array of token IDs owned by `owner`,
     * in the range [`start`, `stop`)
     * (i.e. `start <= tokenId < stop`).
     *
     * This function allows for tokens to be queried if the collection
     * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}.
     *
     * Requirements:
     *
     * - `start < stop`
     */
    function tokensOfOwnerIn(
        address owner,
        uint256 start,
        uint256 stop
    ) external view virtual override returns (uint256[] memory) {
        unchecked {
            if (start >= stop) revert InvalidQueryRange();
            uint256 tokenIdsIdx;
            uint256 stopLimit = _nextTokenId();
            // Set `start = max(start, _startTokenId())`.
            if (start < _startTokenId()) {
                start = _startTokenId();
            }
            // Set `stop = min(stop, stopLimit)`.
            if (stop > stopLimit) {
                stop = stopLimit;
            }
            uint256 tokenIdsMaxLength = balanceOf(owner);
            // Set `tokenIdsMaxLength = min(balanceOf(owner), stop - start)`,
            // to cater for cases where `balanceOf(owner)` is too big.
            if (start < stop) {
                uint256 rangeLength = stop - start;
                if (rangeLength < tokenIdsMaxLength) {
                    tokenIdsMaxLength = rangeLength;
                }
            } else {
                tokenIdsMaxLength = 0;
            }
            uint256[] memory tokenIds = new uint256[](tokenIdsMaxLength);
            if (tokenIdsMaxLength == 0) {
                return tokenIds;
            }
            // We need to call `explicitOwnershipOf(start)`,
            // because the slot at `start` may not be initialized.
            TokenOwnership memory ownership = explicitOwnershipOf(start);
            address currOwnershipAddr;
            // If the starting slot exists (i.e. not burned), initialize `currOwnershipAddr`.
            // `ownership.address` will not be zero, as `start` is clamped to the valid token ID range.
            if (!ownership.burned) {
                currOwnershipAddr = ownership.addr;
            }
            for (uint256 i = start; i != stop && tokenIdsIdx != tokenIdsMaxLength; ++i) {
                ownership = _ownershipAt(i);
                if (ownership.burned) {
                    continue;
                }
                if (ownership.addr != address(0)) {
                    currOwnershipAddr = ownership.addr;
                }
                if (currOwnershipAddr == owner) {
                    tokenIds[tokenIdsIdx++] = i;
                }
            }
            // Downsize the array to fit.
            assembly {
                mstore(tokenIds, tokenIdsIdx)
            }
            return tokenIds;
        }
    }

    /**
     * @dev Returns an array of token IDs owned by `owner`.
     *
     * This function scans the ownership mapping and is O(`totalSupply`) in complexity.
     * It is meant to be called off-chain.
     *
     * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into
     * multiple smaller scans if the collection is large enough to cause
     * an out-of-gas error (10K collections should be fine).
     */
    function tokensOfOwner(address owner) external view virtual override returns (uint256[] memory) {
        unchecked {
            uint256 tokenIdsIdx;
            address currOwnershipAddr;
            uint256 tokenIdsLength = balanceOf(owner);
            uint256[] memory tokenIds = new uint256[](tokenIdsLength);
            TokenOwnership memory ownership;
            for (uint256 i = _startTokenId(); tokenIdsIdx != tokenIdsLength; ++i) {
                ownership = _ownershipAt(i);
                if (ownership.burned) {
                    continue;
                }
                if (ownership.addr != address(0)) {
                    currOwnershipAddr = ownership.addr;
                }
                if (currOwnershipAddr == owner) {
                    tokenIds[tokenIdsIdx++] = i;
                }
            }
            return tokenIds;
        }
    }
}

File 7 of 16 : ERC721A_opensea.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.3
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import './IERC721A.sol';
import './DefaultOperatorFilterer.sol';


/**
 * @dev Interface of ERC721 token receiver.
 */
interface ERC721A__IERC721Receiver {
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

/**
 * @title ERC721A
 *
 * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721)
 * Non-Fungible Token Standard, including the Metadata extension.
 * Optimized for lower gas during batch mints.
 *
 * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...)
 * starting from `_startTokenId()`.
 *
 * Assumptions:
 *
 * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
 * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256).
 */
contract ERC721A is IERC721A,DefaultOperatorFilterer {
    // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364).
    struct TokenApprovalRef {
        address value;
    }

    // =============================================================
    //                           CONSTANTS
    // =============================================================

    // Mask of an entry in packed address data.
    uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1;

    // The bit position of `numberMinted` in packed address data.
    uint256 private constant _BITPOS_NUMBER_MINTED = 64;

    // The bit position of `numberBurned` in packed address data.
    uint256 private constant _BITPOS_NUMBER_BURNED = 128;

    // The bit position of `aux` in packed address data.
    uint256 private constant _BITPOS_AUX = 192;

    // Mask of all 256 bits in packed address data except the 64 bits for `aux`.
    uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1;

    // The bit position of `startTimestamp` in packed ownership.
    uint256 private constant _BITPOS_START_TIMESTAMP = 160;

    // The bit mask of the `burned` bit in packed ownership.
    uint256 private constant _BITMASK_BURNED = 1 << 224;

    // The bit position of the `nextInitialized` bit in packed ownership.
    uint256 private constant _BITPOS_NEXT_INITIALIZED = 225;

    // The bit mask of the `nextInitialized` bit in packed ownership.
    uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225;

    // The bit position of `extraData` in packed ownership.
    uint256 private constant _BITPOS_EXTRA_DATA = 232;

    // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`.
    uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1;

    // The mask of the lower 160 bits for addresses.
    uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1;

    // The maximum `quantity` that can be minted with {_mintERC2309}.
    // This limit is to prevent overflows on the address data entries.
    // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309}
    // is required to cause an overflow, which is unrealistic.
    uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000;

    // The `Transfer` event signature is given by:
    // `keccak256(bytes("Transfer(address,address,uint256)"))`.
    bytes32 private constant _TRANSFER_EVENT_SIGNATURE =
        0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef;

    // =============================================================
    //                            STORAGE
    // =============================================================

    // The next token ID to be minted.
    uint256 private _currentIndex;

    // The number of tokens burned.
    uint256 private _burnCounter;

    // 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 {_packedOwnershipOf} implementation for details.
    //
    // Bits Layout:
    // - [0..159]   `addr`
    // - [160..223] `startTimestamp`
    // - [224]      `burned`
    // - [225]      `nextInitialized`
    // - [232..255] `extraData`
    mapping(uint256 => uint256) private _packedOwnerships;

    // Mapping owner address to address data.
    //
    // Bits Layout:
    // - [0..63]    `balance`
    // - [64..127]  `numberMinted`
    // - [128..191] `numberBurned`
    // - [192..255] `aux`
    mapping(address => uint256) private _packedAddressData;

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

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

    // =============================================================
    //                          CONSTRUCTOR
    // =============================================================

    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
        _currentIndex = _startTokenId();
    }

    // =============================================================
    //                   TOKEN COUNTING OPERATIONS
    // =============================================================

    /**
     * @dev Returns the starting token ID.
     * To change the starting token ID, please override this function.
     */
    function _startTokenId() internal view virtual returns (uint256) {
        return 0;
    }

    /**
     * @dev Returns the next token ID to be minted.
     */
    function _nextTokenId() internal view virtual returns (uint256) {
        return _currentIndex;
    }

    /**
     * @dev Returns the total number of tokens in existence.
     * Burned tokens will reduce the count.
     * To get the total number of tokens minted, please see {_totalMinted}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than `_currentIndex - _startTokenId()` times.
        unchecked {
            return _currentIndex - _burnCounter - _startTokenId();
        }
    }

    /**
     * @dev Returns the total amount of tokens minted in the contract.
     */
    function _totalMinted() internal view virtual returns (uint256) {
        // Counter underflow is impossible as `_currentIndex` does not decrement,
        // and it is initialized to `_startTokenId()`.
        unchecked {
            return _currentIndex - _startTokenId();
        }
    }

    /**
     * @dev Returns the total number of tokens burned.
     */
    function _totalBurned() internal view virtual returns (uint256) {
        return _burnCounter;
    }

    // =============================================================
    //                    ADDRESS DATA OPERATIONS
    // =============================================================

    /**
     * @dev Returns the number of tokens in `owner`'s account.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        if (owner == address(0)) revert BalanceQueryForZeroAddress();
        return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the number of tokens minted by `owner`.
     */
    function _numberMinted(address owner) internal view returns (uint256) {
        return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the number of tokens burned by or on behalf of `owner`.
     */
    function _numberBurned(address owner) internal view returns (uint256) {
        return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used).
     */
    function _getAux(address owner) internal view returns (uint64) {
        return uint64(_packedAddressData[owner] >> _BITPOS_AUX);
    }

    /**
     * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used).
     * If there are multiple variables, please pack them into a uint64.
     */
    function _setAux(address owner, uint64 aux) internal virtual {
        uint256 packed = _packedAddressData[owner];
        uint256 auxCasted;
        // Cast `aux` with assembly to avoid redundant masking.
        assembly {
            auxCasted := aux
        }
        packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX);
        _packedAddressData[owner] = packed;
    }

    // =============================================================
    //                            IERC165
    // =============================================================

    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified)
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30000 gas.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        // The interface IDs are constants representing the first 4 bytes
        // of the XOR of all function selectors in the interface.
        // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165)
        // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`)
        return
            interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165.
            interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721.
            interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata.
    }

    // =============================================================
    //                        IERC721Metadata
    // =============================================================

    /**
     * @dev Returns the token collection name.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

        string memory baseURI = _baseURI();
        return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : '';
    }

    /**
     * @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, it can be overridden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return '';
    }

    // =============================================================
    //                     OWNERSHIPS OPERATIONS
    // =============================================================

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        return address(uint160(_packedOwnershipOf(tokenId)));
    }

    /**
     * @dev Gas spent here starts off proportional to the maximum mint batch size.
     * It gradually moves to O(1) as tokens get transferred around over time.
     */
    function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) {
        return _unpackedOwnership(_packedOwnershipOf(tokenId));
    }

    /**
     * @dev Returns the unpacked `TokenOwnership` struct at `index`.
     */
    function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) {
        return _unpackedOwnership(_packedOwnerships[index]);
    }

    /**
     * @dev Initializes the ownership slot minted at `index` for efficiency purposes.
     */
    function _initializeOwnershipAt(uint256 index) internal virtual {
        if (_packedOwnerships[index] == 0) {
            _packedOwnerships[index] = _packedOwnershipOf(index);
        }
    }

    /**
     * Returns the packed ownership data of `tokenId`.
     */
    function _packedOwnershipOf(uint256 tokenId) private view returns (uint256 packed) {
        if (_startTokenId() <= tokenId) {
            packed = _packedOwnerships[tokenId];
            // If not burned.
            if (packed & _BITMASK_BURNED == 0) {
                // If the data at the starting slot does not exist, start the scan.
                if (packed == 0) {
                    if (tokenId >= _currentIndex) revert OwnerQueryForNonexistentToken();
                    // Invariant:
                    // There will always be an initialized ownership slot
                    // (i.e. `ownership.addr != address(0) && ownership.burned == false`)
                    // before an unintialized ownership slot
                    // (i.e. `ownership.addr == address(0) && ownership.burned == false`)
                    // Hence, `tokenId` will not underflow.
                    //
                    // We can directly compare the packed value.
                    // If the address is zero, packed will be zero.
                    for (;;) {
                        unchecked {
                            packed = _packedOwnerships[--tokenId];
                        }
                        if (packed == 0) continue;
                        return packed;
                    }
                }
                // Otherwise, the data exists and is not burned. We can skip the scan.
                // This is possible because we have already achieved the target condition.
                // This saves 2143 gas on transfers of initialized tokens.
                return packed;
            }
        }
        revert OwnerQueryForNonexistentToken();
    }

    /**
     * @dev Returns the unpacked `TokenOwnership` struct from `packed`.
     */
    function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) {
        ownership.addr = address(uint160(packed));
        ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP);
        ownership.burned = packed & _BITMASK_BURNED != 0;
        ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA);
    }

    /**
     * @dev Packs ownership data into a single uint256.
     */
    function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) {
        assembly {
            // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean.
            owner := and(owner, _BITMASK_ADDRESS)
            // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`.
            result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags))
        }
    }

    /**
     * @dev Returns the `nextInitialized` flag set if `quantity` equals 1.
     */
    function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) {
        // For branchless setting of the `nextInitialized` flag.
        assembly {
            // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`.
            result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1))
        }
    }

    // =============================================================
    //                      APPROVAL OPERATIONS
    // =============================================================

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account. See {ERC721A-_approve}.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     */
    function approve(address to, uint256 tokenId) public payable virtual override {
        _approve(to, tokenId, true);
    }

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();

        return _tokenApprovals[tokenId].value;
    }

    /**
     * @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) public virtual override onlyAllowedOperatorApproval(operator) {
        _operatorApprovals[_msgSenderERC721A()][operator] = approved;
        emit ApprovalForAll(_msgSenderERC721A(), operator, approved);
    }

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

    /**
     * @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. See {_mint}.
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return
            _startTokenId() <= tokenId &&
            tokenId < _currentIndex && // If within bounds,
            _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned.
    }

    /**
     * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`.
     */
    function _isSenderApprovedOrOwner(
        address approvedAddress,
        address owner,
        address msgSender
    ) private pure returns (bool result) {
        assembly {
            // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean.
            owner := and(owner, _BITMASK_ADDRESS)
            // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean.
            msgSender := and(msgSender, _BITMASK_ADDRESS)
            // `msgSender == owner || msgSender == approvedAddress`.
            result := or(eq(msgSender, owner), eq(msgSender, approvedAddress))
        }
    }

    /**
     * @dev Returns the storage slot and value for the approved address of `tokenId`.
     */
    function _getApprovedSlotAndAddress(uint256 tokenId)
        private
        view
        returns (uint256 approvedAddressSlot, address approvedAddress)
    {
        TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId];
        // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`.
        assembly {
            approvedAddressSlot := tokenApproval.slot
            approvedAddress := sload(approvedAddressSlot)
        }
    }

    // =============================================================
    //                      TRANSFER OPERATIONS
    // =============================================================

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * 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
    ) public payable virtual override onlyAllowedOperator(from) {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

        if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner();

        (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId);

        // The nested ifs save around 20+ gas over a compound boolean condition.
        if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A()))
            if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved();

        if (to == address(0)) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

        // Clear approvals from the previous owner.
        assembly {
            if approvedAddress {
                // This is equivalent to `delete _tokenApprovals[tokenId]`.
                sstore(approvedAddressSlot, 0)
            }
        }

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256.
        unchecked {
            // We can directly increment and decrement the balances.
            --_packedAddressData[from]; // Updates: `balance -= 1`.
            ++_packedAddressData[to]; // Updates: `balance += 1`.

            // Updates:
            // - `address` to the next owner.
            // - `startTimestamp` to the timestamp of transfering.
            // - `burned` to `false`.
            // - `nextInitialized` to `true`.
            _packedOwnerships[tokenId] = _packOwnershipData(
                to,
                _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked)
            );

            // If the next slot may not have been initialized (i.e. `nextInitialized == false`) .
            if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) {
                uint256 nextTokenId = tokenId + 1;
                // If the next slot's address is zero and not burned (i.e. packed value is zero).
                if (_packedOwnerships[nextTokenId] == 0) {
                    // If the next slot is within bounds.
                    if (nextTokenId != _currentIndex) {
                        // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`.
                        _packedOwnerships[nextTokenId] = prevOwnershipPacked;
                    }
                }
            }
        }

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

    /**
     * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public payable virtual override onlyAllowedOperator(from) {
        safeTransferFrom(from, to, tokenId, '');
    }

    /**
     * @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 memory _data
    ) public payable virtual override onlyAllowedOperator(from){
        transferFrom(from, to, tokenId);
        if (to.code.length != 0)
            if (!_checkContractOnERC721Received(from, to, tokenId, _data)) {
                revert TransferToNonERC721ReceiverImplementer();
            }
    }

    /**
     * @dev Hook that is called before a set of serially-ordered token IDs
     * are about to be transferred. This includes minting.
     * And also called before burning one token.
     *
     * `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`.
     * - When `to` is zero, `tokenId` will be burned by `from`.
     * - `from` and `to` are never both zero.
     */
    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.
     * And also called after one token has been burned.
     *
     * `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` has been
     * transferred to `to`.
     * - When `from` is zero, `tokenId` has been minted for `to`.
     * - When `to` is zero, `tokenId` has been burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _afterTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}

    /**
     * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract.
     *
     * `from` - Previous owner of the given token ID.
     * `to` - Target address that will receive the token.
     * `tokenId` - Token ID to be transferred.
     * `_data` - Optional data to send along with the call.
     *
     * Returns whether the call correctly returned the expected magic value.
     */
    function _checkContractOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns (
            bytes4 retval
        ) {
            return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector;
        } catch (bytes memory reason) {
            if (reason.length == 0) {
                revert TransferToNonERC721ReceiverImplementer();
            } else {
                assembly {
                    revert(add(32, reason), mload(reason))
                }
            }
        }
    }

    // =============================================================
    //                        MINT OPERATIONS
    // =============================================================

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event for each mint.
     */
    function _mint(address to, uint256 quantity) internal virtual {
        uint256 startTokenId = _currentIndex;
        if (quantity == 0) revert MintZeroQuantity();

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

        // Overflows are incredibly unrealistic.
        // `balance` and `numberMinted` have a maximum limit of 2**64.
        // `tokenId` has a maximum limit of 2**256.
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the `balance` and `numberMinted`.
            _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1);

            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `quantity == 1`.
            _packedOwnerships[startTokenId] = _packOwnershipData(
                to,
                _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0)
            );

            uint256 toMasked;
            uint256 end = startTokenId + quantity;

            // Use assembly to loop and emit the `Transfer` event for gas savings.
            // The duplicated `log4` removes an extra check and reduces stack juggling.
            // The assembly, together with the surrounding Solidity code, have been
            // delicately arranged to nudge the compiler into producing optimized opcodes.
            assembly {
                // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean.
                toMasked := and(to, _BITMASK_ADDRESS)
                // Emit the `Transfer` event.
                log4(
                    0, // Start of data (0, since no data).
                    0, // End of data (0, since no data).
                    _TRANSFER_EVENT_SIGNATURE, // Signature.
                    0, // `address(0)`.
                    toMasked, // `to`.
                    startTokenId // `tokenId`.
                )

                // The `iszero(eq(,))` check ensures that large values of `quantity`
                // that overflows uint256 will make the loop run out of gas.
                // The compiler will optimize the `iszero` away for performance.
                for {
                    let tokenId := add(startTokenId, 1)
                } iszero(eq(tokenId, end)) {
                    tokenId := add(tokenId, 1)
                } {
                    // Emit the `Transfer` event. Similar to above.
                    log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId)
                }
            }
            if (toMasked == 0) revert MintToZeroAddress();

            _currentIndex = end;
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * This function is intended for efficient minting only during contract creation.
     *
     * It emits only one {ConsecutiveTransfer} as defined in
     * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309),
     * instead of a sequence of {Transfer} event(s).
     *
     * Calling this function outside of contract creation WILL make your contract
     * non-compliant with the ERC721 standard.
     * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309
     * {ConsecutiveTransfer} event is only permissible during contract creation.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {ConsecutiveTransfer} event.
     */
    function _mintERC2309(address to, uint256 quantity) internal virtual {
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();
        if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit();

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

        // Overflows are unrealistic due to the above check for `quantity` to be below the limit.
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the `balance` and `numberMinted`.
            _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1);

            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `quantity == 1`.
            _packedOwnerships[startTokenId] = _packOwnershipData(
                to,
                _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0)
            );

            emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to);

            _currentIndex = startTokenId + quantity;
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @dev Safely mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement
     * {IERC721Receiver-onERC721Received}, which is called for each safe transfer.
     * - `quantity` must be greater than 0.
     *
     * See {_mint}.
     *
     * Emits a {Transfer} event for each mint.
     */
    function _safeMint(
        address to,
        uint256 quantity,
        bytes memory _data
    ) internal virtual {
        _mint(to, quantity);

        unchecked {
            if (to.code.length != 0) {
                uint256 end = _currentIndex;
                uint256 index = end - quantity;
                do {
                    if (!_checkContractOnERC721Received(address(0), to, index++, _data)) {
                        revert TransferToNonERC721ReceiverImplementer();
                    }
                } while (index < end);
                // Reentrancy protection.
                if (_currentIndex != end) revert();
            }
        }
    }

    /**
     * @dev Equivalent to `_safeMint(to, quantity, '')`.
     */
    function _safeMint(address to, uint256 quantity) internal virtual {
        _safeMint(to, quantity, '');
    }

    // =============================================================
    //                       APPROVAL OPERATIONS
    // =============================================================

    /**
     * @dev Equivalent to `_approve(to, tokenId, false)`.
     */
    function _approve(address to, uint256 tokenId) internal virtual {
        _approve(to, tokenId, false);
    }

    /**
     * @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:
     *
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function _approve(
        address to,
        uint256 tokenId,
        bool approvalCheck
    ) internal virtual {
        address owner = ownerOf(tokenId);

        if (approvalCheck)
            if (_msgSenderERC721A() != owner)
                if (!isApprovedForAll(owner, _msgSenderERC721A())) {
                    revert ApprovalCallerNotOwnerNorApproved();
                }

        _tokenApprovals[tokenId].value = to;
        emit Approval(owner, to, tokenId);
    }

    // =============================================================
    //                        BURN OPERATIONS
    // =============================================================

    /**
     * @dev Equivalent to `_burn(tokenId, false)`.
     */
    function _burn(uint256 tokenId) internal virtual {
        _burn(tokenId, false);
    }

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

        address from = address(uint160(prevOwnershipPacked));

        (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId);

        if (approvalCheck) {
            // The nested ifs save around 20+ gas over a compound boolean condition.
            if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A()))
                if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved();
        }

        _beforeTokenTransfers(from, address(0), tokenId, 1);

        // Clear approvals from the previous owner.
        assembly {
            if approvedAddress {
                // This is equivalent to `delete _tokenApprovals[tokenId]`.
                sstore(approvedAddressSlot, 0)
            }
        }

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256.
        unchecked {
            // Updates:
            // - `balance -= 1`.
            // - `numberBurned += 1`.
            //
            // We can directly decrement the balance, and increment the number burned.
            // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`.
            _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1;

            // Updates:
            // - `address` to the last owner.
            // - `startTimestamp` to the timestamp of burning.
            // - `burned` to `true`.
            // - `nextInitialized` to `true`.
            _packedOwnerships[tokenId] = _packOwnershipData(
                from,
                (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked)
            );

            // If the next slot may not have been initialized (i.e. `nextInitialized == false`) .
            if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) {
                uint256 nextTokenId = tokenId + 1;
                // If the next slot's address is zero and not burned (i.e. packed value is zero).
                if (_packedOwnerships[nextTokenId] == 0) {
                    // If the next slot is within bounds.
                    if (nextTokenId != _currentIndex) {
                        // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`.
                        _packedOwnerships[nextTokenId] = prevOwnershipPacked;
                    }
                }
            }
        }

        emit Transfer(from, address(0), tokenId);
        _afterTokenTransfers(from, address(0), tokenId, 1);

        // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times.
        unchecked {
            _burnCounter++;
        }
    }

    // =============================================================
    //                     EXTRA DATA OPERATIONS
    // =============================================================

    /**
     * @dev Directly sets the extra data for the ownership data `index`.
     */
    function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual {
        uint256 packed = _packedOwnerships[index];
        if (packed == 0) revert OwnershipNotInitializedForExtraData();
        uint256 extraDataCasted;
        // Cast `extraData` with assembly to avoid redundant masking.
        assembly {
            extraDataCasted := extraData
        }
        packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA);
        _packedOwnerships[index] = packed;
    }

    /**
     * @dev Called during each token transfer to set the 24bit `extraData` field.
     * Intended to be overridden by the cosumer contract.
     *
     * `previousExtraData` - the value of `extraData` before transfer.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, `tokenId` will be burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _extraData(
        address from,
        address to,
        uint24 previousExtraData
    ) internal view virtual returns (uint24) {}

    /**
     * @dev Returns the next extra data for the packed ownership data.
     * The returned result is shifted into position.
     */
    function _nextExtraData(
        address from,
        address to,
        uint256 prevOwnershipPacked
    ) private view returns (uint256) {
        uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA);
        return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA;
    }

    // =============================================================
    //                       OTHER OPERATIONS
    // =============================================================

    /**
     * @dev Returns the message sender (defaults to `msg.sender`).
     *
     * If you are writing GSN compatible contracts, you need to override this function.
     */
    function _msgSenderERC721A() internal view virtual returns (address) {
        return msg.sender;
    }

    /**
     * @dev Converts a uint256 to its ASCII string decimal representation.
     */
    function _toString(uint256 value) internal pure virtual returns (string memory str) {
        assembly {
            // The maximum value of a uint256 contains 78 digits (1 byte per digit), but
            // we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned.
            // We will need 1 word for the trailing zeros padding, 1 word for the length,
            // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0.
            let m := add(mload(0x40), 0xa0)
            // Update the free memory pointer to allocate.
            mstore(0x40, m)
            // Assign the `str` to the end.
            str := sub(m, 0x20)
            // Zeroize the slot after the string.
            mstore(str, 0)

            // Cache the end of the memory to calculate the length later.
            let end := str

            // We write the string from rightmost digit to leftmost digit.
            // The following is essentially a do-while loop that also handles the zero case.
            // prettier-ignore
            for { let temp := value } 1 {} {
                str := sub(str, 1)
                // Write the character to the pointer.
                // The ASCII index of the '0' character is 48.
                mstore8(str, add(48, mod(temp, 10)))
                // Keep dividing `temp` until zero.
                temp := div(temp, 10)
                // prettier-ignore
                if iszero(temp) { break }
            }

            let length := sub(end, str)
            // Move the pointer 32 bytes leftwards to make room for the length.
            str := sub(str, 0x20)
            // Store the length.
            mstore(str, length)
        }
    }
}

File 8 of 16 : IERC721AQueryable.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.3
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import '../IERC721A.sol';

/**
 * @dev Interface of ERC721AQueryable.
 */
interface IERC721AQueryable is IERC721A {
    /**
     * Invalid query range (`start` >= `stop`).
     */
    error InvalidQueryRange();

    /**
     * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting.
     *
     * If the `tokenId` is out of bounds:
     *
     * - `addr = address(0)`
     * - `startTimestamp = 0`
     * - `burned = false`
     * - `extraData = 0`
     *
     * If the `tokenId` is burned:
     *
     * - `addr = <Address of owner before token was burned>`
     * - `startTimestamp = <Timestamp when token was burned>`
     * - `burned = true`
     * - `extraData = <Extra data when token was burned>`
     *
     * Otherwise:
     *
     * - `addr = <Address of owner>`
     * - `startTimestamp = <Timestamp of start of ownership>`
     * - `burned = false`
     * - `extraData = <Extra data at start of ownership>`
     */
    function explicitOwnershipOf(uint256 tokenId) external view returns (TokenOwnership memory);

    /**
     * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order.
     * See {ERC721AQueryable-explicitOwnershipOf}
     */
    function explicitOwnershipsOf(uint256[] memory tokenIds) external view returns (TokenOwnership[] memory);

    /**
     * @dev Returns an array of token IDs owned by `owner`,
     * in the range [`start`, `stop`)
     * (i.e. `start <= tokenId < stop`).
     *
     * This function allows for tokens to be queried if the collection
     * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}.
     *
     * Requirements:
     *
     * - `start < stop`
     */
    function tokensOfOwnerIn(
        address owner,
        uint256 start,
        uint256 stop
    ) external view returns (uint256[] memory);

    /**
     * @dev Returns an array of token IDs owned by `owner`.
     *
     * This function scans the ownership mapping and is O(`totalSupply`) in complexity.
     * It is meant to be called off-chain.
     *
     * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into
     * multiple smaller scans if the collection is large enough to cause
     * an out-of-gas error (10K collections should be fine).
     */
    function tokensOfOwner(address owner) external view returns (uint256[] memory);
}

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 10 of 16 : IERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Interface for the NFT Royalty Standard.
 *
 * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal
 * support for royalty payments across all NFT marketplaces and ecosystem participants.
 *
 * _Available since v4.5._
 */
interface IERC2981 is IERC165 {
    /**
     * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of
     * exchange. The royalty amount is denominated and should be paid in that same unit of exchange.
     */
    function royaltyInfo(uint256 tokenId, uint256 salePrice)
        external
        view
        returns (address receiver, uint256 royaltyAmount);
}

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

pragma solidity ^0.8.0;

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

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

File 12 of 16 : IERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.3
// Creator: Chiru Labs

pragma solidity ^0.8.4;

/**
 * @dev Interface of ERC721A.
 */
interface IERC721A {
    /**
     * The caller must own the token or be an approved operator.
     */
    error ApprovalCallerNotOwnerNorApproved();

    /**
     * The token does not exist.
     */
    error ApprovalQueryForNonexistentToken();

    /**
     * Cannot query the balance for the zero address.
     */
    error BalanceQueryForZeroAddress();

    /**
     * Cannot mint to the zero address.
     */
    error MintToZeroAddress();

    /**
     * The quantity of tokens minted must be more than zero.
     */
    error MintZeroQuantity();

    /**
     * The token does not exist.
     */
    error OwnerQueryForNonexistentToken();

    /**
     * The caller must own the token or be an approved operator.
     */
    error TransferCallerNotOwnerNorApproved();

    /**
     * The token must be owned by `from`.
     */
    error TransferFromIncorrectOwner();

    /**
     * Cannot safely transfer to a contract that does not implement the
     * ERC721Receiver interface.
     */
    error TransferToNonERC721ReceiverImplementer();

    /**
     * Cannot transfer to the zero address.
     */
    error TransferToZeroAddress();

    /**
     * The token does not exist.
     */
    error URIQueryForNonexistentToken();

    /**
     * The `quantity` minted with ERC2309 exceeds the safety limit.
     */
    error MintERC2309QuantityExceedsLimit();

    /**
     * The `extraData` cannot be set on an unintialized ownership slot.
     */
    error OwnershipNotInitializedForExtraData();

    // =============================================================
    //                            STRUCTS
    // =============================================================

    struct TokenOwnership {
        // The address of the owner.
        address addr;
        // Stores the start time of ownership with minimal overhead for tokenomics.
        uint64 startTimestamp;
        // Whether the token has been burned.
        bool burned;
        // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}.
        uint24 extraData;
    }

    // =============================================================
    //                         TOKEN COUNTERS
    // =============================================================

    /**
     * @dev Returns the total number of tokens in existence.
     * Burned tokens will reduce the count.
     * To get the total number of tokens minted, please see {_totalMinted}.
     */
    function totalSupply() external view returns (uint256);

    // =============================================================
    //                            IERC165
    // =============================================================

    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified)
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);

    // =============================================================
    //                            IERC721
    // =============================================================

    /**
     * @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,
        bytes calldata data
    ) external payable;

    /**
     * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external payable;

    /**
     * @dev Transfers `tokenId` 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 payable;

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

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

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

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

    // =============================================================
    //                        IERC721Metadata
    // =============================================================

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

    // =============================================================
    //                           IERC2309
    // =============================================================

    /**
     * @dev Emitted when tokens in `fromTokenId` to `toTokenId`
     * (inclusive) is transferred from `from` to `to`, as defined in the
     * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard.
     *
     * See {_mintERC2309} for more details.
     */
    event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to);
}

File 13 of 16 : DefaultOperatorFilterer.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

import {OperatorFilterer} from "./OperatorFilterer.sol";

/**
 * @title  DefaultOperatorFilterer
 * @notice Inherits from OperatorFilterer and automatically subscribes to the default OpenSea subscription.
 */
abstract contract DefaultOperatorFilterer is OperatorFilterer {
    address constant DEFAULT_SUBSCRIPTION = address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6);

    constructor() OperatorFilterer(DEFAULT_SUBSCRIPTION, true) {}
}

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

pragma solidity ^0.8.0;

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

File 15 of 16 : OperatorFilterer.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

import {IOperatorFilterRegistry} from "./IOperatorFilterRegistry.sol";

/**
 * @title  OperatorFilterer
 * @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another
 *         registrant's entries in the OperatorFilterRegistry.
 * @dev    This smart contract is meant to be inherited by token contracts so they can use the following:
 *         - `onlyAllowedOperator` modifier for `transferFrom` and `safeTransferFrom` methods.
 *         - `onlyAllowedOperatorApproval` modifier for `approve` and `setApprovalForAll` methods.
 */
abstract contract OperatorFilterer {
    error OperatorNotAllowed(address operator);

    IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY =
        IOperatorFilterRegistry(0x000000000000AAeB6D7670E522A718067333cd4E);

    constructor(address subscriptionOrRegistrantToCopy, bool subscribe) {
        // If an inheriting token contract is deployed to a network without the registry deployed, the modifier
        // will not revert, but the contract will need to be registered with the registry once it is deployed in
        // order for the modifier to filter addresses.
        if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) {
            if (subscribe) {
                OPERATOR_FILTER_REGISTRY.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy);
            } else {
                if (subscriptionOrRegistrantToCopy != address(0)) {
                    OPERATOR_FILTER_REGISTRY.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy);
                } else {
                    OPERATOR_FILTER_REGISTRY.register(address(this));
                }
            }
        }
    }

    modifier onlyAllowedOperator(address from) virtual {
        // Allow spending tokens from addresses with balance
        // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred
        // from an EOA.
        if (from != msg.sender) {
            _checkFilterOperator(msg.sender);
        }
        _;
    }

    modifier onlyAllowedOperatorApproval(address operator) virtual {
        _checkFilterOperator(operator);
        _;
    }
    
    function _checkFilterOperator(address operator) internal view virtual {
        // Check registry code length to facilitate testing in environments without a deployed registry.
        if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) {
            if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), operator)) {
                revert OperatorNotAllowed(operator);
            }
        }
    }
}

File 16 of 16 : IOperatorFilterRegistry.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

interface IOperatorFilterRegistry {
    function isOperatorAllowed(address registrant, address operator) external view returns (bool);
    function register(address registrant) external;
    function registerAndSubscribe(address registrant, address subscription) external;
    function registerAndCopyEntries(address registrant, address registrantToCopy) external;
    function unregister(address addr) external;
    function updateOperator(address registrant, address operator, bool filtered) external;
    function updateOperators(address registrant, address[] calldata operators, bool filtered) external;
    function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external;
    function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external;
    function subscribe(address registrant, address registrantToSubscribe) external;
    function unsubscribe(address registrant, bool copyExistingEntries) external;
    function subscriptionOf(address addr) external returns (address registrant);
    function subscribers(address registrant) external returns (address[] memory);
    function subscriberAt(address registrant, uint256 index) external returns (address);
    function copyEntriesOf(address registrant, address registrantToCopy) external;
    function isOperatorFiltered(address registrant, address operator) external returns (bool);
    function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool);
    function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool);
    function filteredOperators(address addr) external returns (address[] memory);
    function filteredCodeHashes(address addr) external returns (bytes32[] memory);
    function filteredOperatorAt(address registrant, uint256 index) external returns (address);
    function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32);
    function isRegistered(address addr) external returns (bool);
    function codeHashOf(address addr) external returns (bytes32);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"InvalidQueryRange","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"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":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOTAL_LIMIT_PER_WALLET","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOTAL_SUPPLY_LIMIT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WHITELIST_LIMIT_PER_WALLET","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"airdrops","type":"address[]"},{"internalType":"uint256","name":"tokensForEach","type":"uint256"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"explicitOwnershipOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"explicitOwnershipsOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"contestantsToMint","type":"uint256"}],"name":"mintFromSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"},{"internalType":"uint64","name":"contestantsToMint","type":"uint64"}],"name":"mintFromWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicMintingOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"retrieveFunds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"royaltyAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"royaltyFee","outputs":[{"internalType":"uint96","name":"","type":"uint96"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"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":"safeTransferFrom","outputs":[],"stateMutability":"payable","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":"payable","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":"_baseTokenURI","type":"string"}],"name":"setBaseTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_royaltyAddress","type":"address"}],"name":"setRoyaltyAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint96","name":"_feeNumerator","type":"uint96"}],"name":"setRoyaltyFee","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":[],"name":"togglePublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleWhitelistSale","outputs":[],"stateMutability":"nonpayable","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":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"start","type":"uint256"},{"internalType":"uint256","name":"stop","type":"uint256"}],"name":"tokensOfOwnerIn","outputs":[{"internalType":"uint256[]","name":"","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":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"whitelistMintingOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]

608060405260405180602001604052806000815250600c90805190602001906200002b9291906200064c565b506103e8600e60006101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055503480156200006c57600080fd5b506040518060400160405280601881526020017f5669746f7368697320436173746c65204f757454616b657300000000000000008152506040518060400160405280600481526020017f56434f5400000000000000000000000000000000000000000000000000000000815250733cc6cdda760b79bafa08df41ecfa224f810dceb6600160006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115620002e5578015620001ab576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16637d3e3dbe30846040518363ffffffff1660e01b81526004016200017192919062000741565b600060405180830381600087803b1580156200018c57600080fd5b505af1158015620001a1573d6000803e3d6000fd5b50505050620002e4565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161462000265576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663a0af290330846040518363ffffffff1660e01b81526004016200022b92919062000741565b600060405180830381600087803b1580156200024657600080fd5b505af11580156200025b573d6000803e3d6000fd5b50505050620002e3565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16634420e486306040518263ffffffff1660e01b8152600401620002ae91906200076e565b600060405180830381600087803b158015620002c957600080fd5b505af1158015620002de573d6000803e3d6000fd5b505050505b5b5b50508160029080519060200190620002ff9291906200064c565b508060039080519060200190620003189291906200064c565b5062000329620003cc60201b60201c565b60008190555050506200035162000345620003d160201b60201c565b620003d960201b60201c565b6001600b8190555033600d60026101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550620003c633600e60009054906101000a90046bffffffffffffffffffffffff166200049f60201b60201c565b6200090a565b600090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620004af6200064260201b60201c565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff16111562000510576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620005079062000812565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160362000582576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620005799062000884565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600960008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b6000612710905090565b8280546200065a90620008d5565b90600052602060002090601f0160209004810192826200067e5760008555620006ca565b82601f106200069957805160ff1916838001178555620006ca565b82800160010185558215620006ca579182015b82811115620006c9578251825591602001919060010190620006ac565b5b509050620006d99190620006dd565b5090565b5b80821115620006f8576000816000905550600101620006de565b5090565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200072982620006fc565b9050919050565b6200073b816200071c565b82525050565b600060408201905062000758600083018562000730565b62000767602083018462000730565b9392505050565b600060208201905062000785600083018462000730565b92915050565b600082825260208201905092915050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b6000620007fa602a836200078b565b915062000807826200079c565b604082019050919050565b600060208201905081810360008301526200082d81620007eb565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b60006200086c6019836200078b565b9150620008798262000834565b602082019050919050565b600060208201905081810360008301526200089f816200085d565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620008ee57607f821691505b602082108103620009045762000903620008a6565b5b50919050565b614b0b806200091a6000396000f3fe6080604052600436106102465760003560e01c806370a0823111610139578063c204642c116100b6578063e222c7f91161007a578063e222c7f91461085d578063e985e9c514610874578063f0dff7d3146108b1578063f2fde38b146108dc578063f78942f314610905578063f8b4d9811461093057610246565b8063c204642c14610764578063c23dc68f1461078d578063c87b56dd146107ca578063cc3bde3d14610807578063d547cfb71461083257610246565b806399a2557a116100fd57806399a2557a1461068c578063a22cb465146106c9578063ad2f852a146106f2578063b88d4fde1461071d578063b8997a971461073957610246565b806370a08231146105a5578063715018a6146105e25780638462151c146105f95780638da5cb5b1461063657806395d89b411461066157610246565b806330176e13116101c757806346f95b5d1161018b57806346f95b5d146104d257806359eda1b5146104fd5780635bbb21771461051457806361b20d8c146105515780636352211e1461056857610246565b806330176e131461040e57806331faafb4146104375780634031252f1461046057806341f434341461048b57806342842e0e146104b657610246565b806318160ddd1161020e57806318160ddd1461033557806323b872dd146103605780632933f21a1461037c5780632a55205a146103a55780632eb4a7ab146103e357610246565b806301ffc9a71461024b57806306d254da1461028857806306fdde03146102b1578063081812fc146102dc578063095ea7b314610319575b600080fd5b34801561025757600080fd5b50610272600480360381019061026d919061334b565b610959565b60405161027f9190613393565b60405180910390f35b34801561029457600080fd5b506102af60048036038101906102aa919061340c565b61097b565b005b3480156102bd57600080fd5b506102c6610a0d565b6040516102d391906134d2565b60405180910390f35b3480156102e857600080fd5b5061030360048036038101906102fe919061352a565b610a9f565b6040516103109190613566565b60405180910390f35b610333600480360381019061032e9190613581565b610b1e565b005b34801561034157600080fd5b5061034a610b2e565b60405161035791906135d0565b60405180910390f35b61037a600480360381019061037591906135eb565b610b45565b005b34801561038857600080fd5b506103a3600480360381019061039e91906136e3565b610ea6565b005b3480156103b157600080fd5b506103cc60048036038101906103c79190613743565b611129565b6040516103da929190613783565b60405180910390f35b3480156103ef57600080fd5b506103f8611313565b60405161040591906137c5565b60405180910390f35b34801561041a57600080fd5b5061043560048036038101906104309190613910565b61133a565b005b34801561044357600080fd5b5061045e6004803603810190610459919061399d565b61135c565b005b34801561046c57600080fd5b506104756113de565b60405161048291906135d0565b60405180910390f35b34801561049757600080fd5b506104a06113e3565b6040516104ad9190613a29565b60405180910390f35b6104d060048036038101906104cb91906135eb565b6113f5565b005b3480156104de57600080fd5b506104e7611454565b6040516104f491906135d0565b60405180910390f35b34801561050957600080fd5b50610512611459565b005b34801561052057600080fd5b5061053b60048036038101906105369190613a9a565b61148d565b6040516105489190613c36565b60405180910390f35b34801561055d57600080fd5b50610566611550565b005b34801561057457600080fd5b5061058f600480360381019061058a919061352a565b6115b8565b60405161059c9190613566565b60405180910390f35b3480156105b157600080fd5b506105cc60048036038101906105c7919061340c565b6115ca565b6040516105d991906135d0565b60405180910390f35b3480156105ee57600080fd5b506105f7611682565b005b34801561060557600080fd5b50610620600480360381019061061b919061340c565b611696565b60405161062d9190613d16565b60405180910390f35b34801561064257600080fd5b5061064b6117d9565b6040516106589190613566565b60405180910390f35b34801561066d57600080fd5b50610676611803565b60405161068391906134d2565b60405180910390f35b34801561069857600080fd5b506106b360048036038101906106ae9190613d38565b611895565b6040516106c09190613d16565b60405180910390f35b3480156106d557600080fd5b506106f060048036038101906106eb9190613db7565b611aa1565b005b3480156106fe57600080fd5b50610707611bb7565b6040516107149190613566565b60405180910390f35b61073760048036038101906107329190613e98565b611bdd565b005b34801561074557600080fd5b5061074e611c8f565b60405161075b9190613f2a565b60405180910390f35b34801561077057600080fd5b5061078b60048036038101906107869190614008565b611cad565b005b34801561079957600080fd5b506107b460048036038101906107af919061352a565b611d98565b6040516107c191906140b9565b60405180910390f35b3480156107d657600080fd5b506107f160048036038101906107ec919061352a565b611e02565b6040516107fe91906134d2565b60405180910390f35b34801561081357600080fd5b5061081c611ea0565b60405161082991906135d0565b60405180910390f35b34801561083e57600080fd5b50610847611ea6565b60405161085491906134d2565b60405180910390f35b34801561086957600080fd5b50610872611f34565b005b34801561088057600080fd5b5061089b600480360381019061089691906140d4565b611f68565b6040516108a89190613393565b60405180910390f35b3480156108bd57600080fd5b506108c6611ffc565b6040516108d39190613393565b60405180910390f35b3480156108e857600080fd5b5061090360048036038101906108fe919061340c565b61200f565b005b34801561091157600080fd5b5061091a612092565b6040516109279190613393565b60405180910390f35b34801561093c57600080fd5b506109576004803603810190610952919061352a565b6120a5565b005b6000610964826121fa565b8061097457506109738261228c565b5b9050919050565b610983612306565b80600d60026101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550610a0a600d60029054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600e60009054906101000a90046bffffffffffffffffffffffff16612384565b50565b606060028054610a1c90614143565b80601f0160208091040260200160405190810160405280929190818152602001828054610a4890614143565b8015610a955780601f10610a6a57610100808354040283529160200191610a95565b820191906000526020600020905b815481529060010190602001808311610a7857829003601f168201915b5050505050905090565b6000610aaa82612519565b610ae0576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b610b2a82826001612578565b5050565b6000610b386126c4565b6001546000540303905090565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610b8357610b82336126c9565b5b6000610b8e836127c6565b90508473ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610bf5576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610c01856128be565b91509150610c178188610c126128e5565b6128ed565b610c6357610c2c87610c276128e5565b611f68565b610c62576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1603610cc9576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610cd68787876001612931565b8015610ce157600082555b600560008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550610daf86610d8b898987612937565b7c02000000000000000000000000000000000000000000000000000000001761295f565b600460008781526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000841603610e355760006001860190506000600460008381526020019081526020016000205403610e33576000548114610e32578360046000838152602001908152602001600020819055505b5b505b848673ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610e9d878787600161298a565b50505050505050565b60011515600d60019054906101000a900460ff16151514610efc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ef3906141c0565b60405180910390fd5b61189e610f07610b2e565b8267ffffffffffffffff16610f1c919061420f565b1115610f5d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f54906142b1565b60405180910390fd5b610ff2838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050507f61cb7d0b6537f0bb8d59c9749976290b171575119ca652ed984934f8cc281d6860001b33604051602001610fd79190614319565b60405160208183030381529060405280519060200120612990565b611031576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102890614380565b60405180910390fd5b600c8161103d336129a7565b61104791906143a0565b67ffffffffffffffff161115611092576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110899061442a565b60405180910390fd5b601e8167ffffffffffffffff166110a8336115ca565b6110b2919061420f565b11156110f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ea90614496565b60405180910390fd5b6111103382611101336129a7565b61110b91906143a0565b6129f4565b611124338267ffffffffffffffff16612aaa565b505050565b6000806000600a60008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16036112be5760096040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b60006112c8612c65565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff16866112f491906144b6565b6112fe919061453f565b90508160000151819350935050509250929050565b7f61cb7d0b6537f0bb8d59c9749976290b171575119ca652ed984934f8cc281d6860001b81565b611342612306565b80600c90805190602001906113589291906131ed565b5050565b611364612306565b80600e60006101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055506113db600d60029054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600e60009054906101000a90046bffffffffffffffffffffffff16612384565b50565b601e81565b6daaeb6d7670e522a718067333cd4e81565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461143357611432336126c9565b5b61144e84848460405180602001604052806000815250611bdd565b50505050565b600c81565b611461612306565b600d60019054906101000a900460ff1615600d60016101000a81548160ff021916908315150217905550565b6060600083839050905060008167ffffffffffffffff8111156114b3576114b26137e5565b5b6040519080825280602002602001820160405280156114ec57816020015b6114d9613273565b8152602001906001900390816114d15790505b50905060005b8281146115445761151b86868381811061150f5761150e614570565b5b90506020020135611d98565b82828151811061152e5761152d614570565b5b60200260200101819052508060010190506114f2565b50809250505092915050565b611558612306565b611560612c6f565b6115686117d9565b73ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f193505050501580156115ad573d6000803e3d6000fd5b506115b6612cbe565b565b60006115c3826127c6565b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611631576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b61168a612306565b6116946000612cc8565b565b606060008060006116a6856115ca565b905060008167ffffffffffffffff8111156116c4576116c36137e5565b5b6040519080825280602002602001820160405280156116f25781602001602082028036833780820191505090505b5090506116fd613273565b60006117076126c4565b90505b8386146117cb5761171a81612d8e565b915081604001516117c057600073ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff161461176557816000015194505b8773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16036117bf57808387806001019850815181106117b2576117b1614570565b5b6020026020010181815250505b5b80600101905061170a565b508195505050505050919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606003805461181290614143565b80601f016020809104026020016040519081016040528092919081815260200182805461183e90614143565b801561188b5780601f106118605761010080835404028352916020019161188b565b820191906000526020600020905b81548152906001019060200180831161186e57829003601f168201915b5050505050905090565b60608183106118d0576040517f32c1995a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000806118db612db9565b90506118e56126c4565b8510156118f7576118f46126c4565b94505b80841115611903578093505b600061190e876115ca565b90508486101561193157600086860390508181101561192b578091505b50611936565b600090505b60008167ffffffffffffffff811115611952576119516137e5565b5b6040519080825280602002602001820160405280156119805781602001602082028036833780820191505090505b509050600082036119975780945050505050611a9a565b60006119a288611d98565b9050600081604001516119b757816000015190505b60008990505b8881141580156119cd5750848714155b15611a8c576119db81612d8e565b92508260400151611a8157600073ffffffffffffffffffffffffffffffffffffffff16836000015173ffffffffffffffffffffffffffffffffffffffff1614611a2657826000015191505b8a73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611a805780848880600101995081518110611a7357611a72614570565b5b6020026020010181815250505b5b8060010190506119bd565b508583528296505050505050505b9392505050565b81611aab816126c9565b8160076000611ab86128e5565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508273ffffffffffffffffffffffffffffffffffffffff16611b656128e5565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3184604051611baa9190613393565b60405180910390a3505050565b600d60029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b833373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611c1b57611c1a336126c9565b5b611c26858585610b45565b60008473ffffffffffffffffffffffffffffffffffffffff163b14611c8857611c5185858585612dc2565b611c87576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b5050505050565b600e60009054906101000a90046bffffffffffffffffffffffff1681565b611cb5612306565b601e811115611cf9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cf0906145eb565b60405180910390fd5b60005b8251811015611d9357611d29838281518110611d1b57611d1a614570565b5b602002602001015183612aaa565b61189e611d34610b2e565b82611d3f919061420f565b1115611d80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d77906142b1565b60405180910390fd5b8080611d8b9061460b565b915050611cfc565b505050565b611da0613273565b611da8613273565b611db06126c4565b831080611dc45750611dc0612db9565b8310155b15611dd25780915050611dfd565b611ddb83612d8e565b9050806040015115611df05780915050611dfd565b611df983612f12565b9150505b919050565b6060611e0d82612519565b611e43576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611e4d612f32565b90506000815103611e6d5760405180602001604052806000815250611e98565b80611e7784612fc4565b604051602001611e8892919061468f565b6040516020818303038152906040525b915050919050565b61189e81565b600c8054611eb390614143565b80601f0160208091040260200160405190810160405280929190818152602001828054611edf90614143565b8015611f2c5780601f10611f0157610100808354040283529160200191611f2c565b820191906000526020600020905b815481529060010190602001808311611f0f57829003601f168201915b505050505081565b611f3c612306565b600d60009054906101000a900460ff1615600d60006101000a81548160ff021916908315150217905550565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600d60009054906101000a900460ff1681565b612017612306565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612086576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161207d90614725565b60405180910390fd5b61208f81612cc8565b50565b600d60019054906101000a900460ff1681565b61189e6120b0610b2e565b826120bb919061420f565b11156120fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120f3906142b1565b60405180910390fd5b60011515600d60009054906101000a900460ff16151514612152576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161214990614791565b60405180910390fd5b601e8161215e336115ca565b612168919061420f565b11156121a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121a090614496565b60405180910390fd5b601e8111156121ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121e4906145eb565b60405180910390fd5b6121f73382612aaa565b50565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061225557506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806122855750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806122ff57506122fe82613014565b5b9050919050565b61230e61307e565b73ffffffffffffffffffffffffffffffffffffffff1661232c6117d9565b73ffffffffffffffffffffffffffffffffffffffff1614612382576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612379906147fd565b60405180910390fd5b565b61238c612c65565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff1611156123ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123e19061488f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612459576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612450906148fb565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600960008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b6000816125246126c4565b11158015612533575060005482105b8015612571575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b6000612583836115b8565b9050811561260e578073ffffffffffffffffffffffffffffffffffffffff166125aa6128e5565b73ffffffffffffffffffffffffffffffffffffffff161461260d576125d6816125d16128e5565b611f68565b61260c576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b5b836006600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550828473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a450505050565b600090565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b11156127c3576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b815260040161274092919061491b565b602060405180830381865afa15801561275d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127819190614959565b6127c257806040517fede71dcc0000000000000000000000000000000000000000000000000000000081526004016127b99190613566565b60405180910390fd5b5b50565b6000816127d16126c4565b11612887576004600083815260200190815260200160002054905060007c01000000000000000000000000000000000000000000000000000000008216036128865760008103612881576000548210612856576040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b6004600083600190039350838152602001908152602001600020549050600081036128b957612857565b6128b9565b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e861294e868684613086565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b60008261299d858461308f565b1490509392505050565b600060c0600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054901c9050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050600082905060c081901b77ffffffffffffffffffffffffffffffffffffffffffffffff831617915081600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050505050565b60008054905060008203612aea576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612af76000848385612931565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550612b6e83612b5f6000866000612937565b612b68856130e5565b1761295f565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b818114612c0f57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050612bd4565b5060008203612c4a576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806000819055505050612c60600084838561298a565b505050565b6000612710905090565b6002600b5403612cb4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cab906149d2565b60405180910390fd5b6002600b81905550565b6001600b81905550565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612d96613273565b612db260046000848152602001908152602001600020546130f5565b9050919050565b60008054905090565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612de86128e5565b8786866040518563ffffffff1660e01b8152600401612e0a9493929190614a47565b6020604051808303816000875af1925050508015612e4657506040513d601f19601f82011682018060405250810190612e439190614aa8565b60015b612ebf573d8060008114612e76576040519150601f19603f3d011682016040523d82523d6000602084013e612e7b565b606091505b506000815103612eb7576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b612f1a613273565b612f2b612f26836127c6565b6130f5565b9050919050565b6060600c8054612f4190614143565b80601f0160208091040260200160405190810160405280929190818152602001828054612f6d90614143565b8015612fba5780601f10612f8f57610100808354040283529160200191612fba565b820191906000526020600020905b815481529060010190602001808311612f9d57829003601f168201915b5050505050905090565b606060a060405101806040526020810391506000825281835b600115612fff57600184039350600a81066030018453600a8104905080612fdd575b50828103602084039350808452505050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b60009392505050565b60008082905060005b84518110156130da576130c5828683815181106130b8576130b7614570565b5b60200260200101516131ab565b915080806130d29061460b565b915050613098565b508091505092915050565b60006001821460e11b9050919050565b6130fd613273565b81816000019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505060a082901c816020019067ffffffffffffffff16908167ffffffffffffffff168152505060007c01000000000000000000000000000000000000000000000000000000008316141581604001901515908115158152505060e882901c816060019062ffffff16908162ffffff1681525050919050565b60008183106131c3576131be82846131d6565b6131ce565b6131cd83836131d6565b5b905092915050565b600082600052816020526040600020905092915050565b8280546131f990614143565b90600052602060002090601f01602090048101928261321b5760008555613262565b82601f1061323457805160ff1916838001178555613262565b82800160010185558215613262579182015b82811115613261578251825591602001919060010190613246565b5b50905061326f91906132c2565b5090565b6040518060800160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff168152602001600015158152602001600062ffffff1681525090565b5b808211156132db5760008160009055506001016132c3565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613328816132f3565b811461333357600080fd5b50565b6000813590506133458161331f565b92915050565b600060208284031215613361576133606132e9565b5b600061336f84828501613336565b91505092915050565b60008115159050919050565b61338d81613378565b82525050565b60006020820190506133a86000830184613384565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006133d9826133ae565b9050919050565b6133e9816133ce565b81146133f457600080fd5b50565b600081359050613406816133e0565b92915050565b600060208284031215613422576134216132e9565b5b6000613430848285016133f7565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613473578082015181840152602081019050613458565b83811115613482576000848401525b50505050565b6000601f19601f8301169050919050565b60006134a482613439565b6134ae8185613444565b93506134be818560208601613455565b6134c781613488565b840191505092915050565b600060208201905081810360008301526134ec8184613499565b905092915050565b6000819050919050565b613507816134f4565b811461351257600080fd5b50565b600081359050613524816134fe565b92915050565b6000602082840312156135405761353f6132e9565b5b600061354e84828501613515565b91505092915050565b613560816133ce565b82525050565b600060208201905061357b6000830184613557565b92915050565b60008060408385031215613598576135976132e9565b5b60006135a6858286016133f7565b92505060206135b785828601613515565b9150509250929050565b6135ca816134f4565b82525050565b60006020820190506135e560008301846135c1565b92915050565b600080600060608486031215613604576136036132e9565b5b6000613612868287016133f7565b9350506020613623868287016133f7565b925050604061363486828701613515565b9150509250925092565b600080fd5b600080fd5b600080fd5b60008083601f8401126136635761366261363e565b5b8235905067ffffffffffffffff8111156136805761367f613643565b5b60208301915083602082028301111561369c5761369b613648565b5b9250929050565b600067ffffffffffffffff82169050919050565b6136c0816136a3565b81146136cb57600080fd5b50565b6000813590506136dd816136b7565b92915050565b6000806000604084860312156136fc576136fb6132e9565b5b600084013567ffffffffffffffff81111561371a576137196132ee565b5b6137268682870161364d565b93509350506020613739868287016136ce565b9150509250925092565b6000806040838503121561375a576137596132e9565b5b600061376885828601613515565b925050602061377985828601613515565b9150509250929050565b60006040820190506137986000830185613557565b6137a560208301846135c1565b9392505050565b6000819050919050565b6137bf816137ac565b82525050565b60006020820190506137da60008301846137b6565b92915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61381d82613488565b810181811067ffffffffffffffff8211171561383c5761383b6137e5565b5b80604052505050565b600061384f6132df565b905061385b8282613814565b919050565b600067ffffffffffffffff82111561387b5761387a6137e5565b5b61388482613488565b9050602081019050919050565b82818337600083830152505050565b60006138b36138ae84613860565b613845565b9050828152602081018484840111156138cf576138ce6137e0565b5b6138da848285613891565b509392505050565b600082601f8301126138f7576138f661363e565b5b81356139078482602086016138a0565b91505092915050565b600060208284031215613926576139256132e9565b5b600082013567ffffffffffffffff811115613944576139436132ee565b5b613950848285016138e2565b91505092915050565b60006bffffffffffffffffffffffff82169050919050565b61397a81613959565b811461398557600080fd5b50565b60008135905061399781613971565b92915050565b6000602082840312156139b3576139b26132e9565b5b60006139c184828501613988565b91505092915050565b6000819050919050565b60006139ef6139ea6139e5846133ae565b6139ca565b6133ae565b9050919050565b6000613a01826139d4565b9050919050565b6000613a13826139f6565b9050919050565b613a2381613a08565b82525050565b6000602082019050613a3e6000830184613a1a565b92915050565b60008083601f840112613a5a57613a5961363e565b5b8235905067ffffffffffffffff811115613a7757613a76613643565b5b602083019150836020820283011115613a9357613a92613648565b5b9250929050565b60008060208385031215613ab157613ab06132e9565b5b600083013567ffffffffffffffff811115613acf57613ace6132ee565b5b613adb85828601613a44565b92509250509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613b1c816133ce565b82525050565b613b2b816136a3565b82525050565b613b3a81613378565b82525050565b600062ffffff82169050919050565b613b5881613b40565b82525050565b608082016000820151613b746000850182613b13565b506020820151613b876020850182613b22565b506040820151613b9a6040850182613b31565b506060820151613bad6060850182613b4f565b50505050565b6000613bbf8383613b5e565b60808301905092915050565b6000602082019050919050565b6000613be382613ae7565b613bed8185613af2565b9350613bf883613b03565b8060005b83811015613c29578151613c108882613bb3565b9750613c1b83613bcb565b925050600181019050613bfc565b5085935050505092915050565b60006020820190508181036000830152613c508184613bd8565b905092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613c8d816134f4565b82525050565b6000613c9f8383613c84565b60208301905092915050565b6000602082019050919050565b6000613cc382613c58565b613ccd8185613c63565b9350613cd883613c74565b8060005b83811015613d09578151613cf08882613c93565b9750613cfb83613cab565b925050600181019050613cdc565b5085935050505092915050565b60006020820190508181036000830152613d308184613cb8565b905092915050565b600080600060608486031215613d5157613d506132e9565b5b6000613d5f868287016133f7565b9350506020613d7086828701613515565b9250506040613d8186828701613515565b9150509250925092565b613d9481613378565b8114613d9f57600080fd5b50565b600081359050613db181613d8b565b92915050565b60008060408385031215613dce57613dcd6132e9565b5b6000613ddc858286016133f7565b9250506020613ded85828601613da2565b9150509250929050565b600067ffffffffffffffff821115613e1257613e116137e5565b5b613e1b82613488565b9050602081019050919050565b6000613e3b613e3684613df7565b613845565b905082815260208101848484011115613e5757613e566137e0565b5b613e62848285613891565b509392505050565b600082601f830112613e7f57613e7e61363e565b5b8135613e8f848260208601613e28565b91505092915050565b60008060008060808587031215613eb257613eb16132e9565b5b6000613ec0878288016133f7565b9450506020613ed1878288016133f7565b9350506040613ee287828801613515565b925050606085013567ffffffffffffffff811115613f0357613f026132ee565b5b613f0f87828801613e6a565b91505092959194509250565b613f2481613959565b82525050565b6000602082019050613f3f6000830184613f1b565b92915050565b600067ffffffffffffffff821115613f6057613f5f6137e5565b5b602082029050602081019050919050565b6000613f84613f7f84613f45565b613845565b90508083825260208201905060208402830185811115613fa757613fa6613648565b5b835b81811015613fd05780613fbc88826133f7565b845260208401935050602081019050613fa9565b5050509392505050565b600082601f830112613fef57613fee61363e565b5b8135613fff848260208601613f71565b91505092915050565b6000806040838503121561401f5761401e6132e9565b5b600083013567ffffffffffffffff81111561403d5761403c6132ee565b5b61404985828601613fda565b925050602061405a85828601613515565b9150509250929050565b60808201600082015161407a6000850182613b13565b50602082015161408d6020850182613b22565b5060408201516140a06040850182613b31565b5060608201516140b36060850182613b4f565b50505050565b60006080820190506140ce6000830184614064565b92915050565b600080604083850312156140eb576140ea6132e9565b5b60006140f9858286016133f7565b925050602061410a858286016133f7565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061415b57607f821691505b60208210810361416e5761416d614114565b5b50919050565b7f57686974656c6973742053616c65204f66660000000000000000000000000000600082015250565b60006141aa601283613444565b91506141b582614174565b602082019050919050565b600060208201905081810360008301526141d98161419d565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061421a826134f4565b9150614225836134f4565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561425a576142596141e0565b5b828201905092915050565b7f45786365656473204d617820537570706c790000000000000000000000000000600082015250565b600061429b601283613444565b91506142a682614265565b602082019050919050565b600060208201905081810360008301526142ca8161428e565b9050919050565b60008160601b9050919050565b60006142e9826142d1565b9050919050565b60006142fb826142de565b9050919050565b61431361430e826133ce565b6142f0565b82525050565b60006143258284614302565b60148201915081905092915050565b7f4e6f742077686974656c69737465640000000000000000000000000000000000600082015250565b600061436a600f83613444565b915061437582614334565b602082019050919050565b600060208201905081810360008301526143998161435d565b9050919050565b60006143ab826136a3565b91506143b6836136a3565b92508267ffffffffffffffff038211156143d3576143d26141e0565b5b828201905092915050565b7f457863656564732057686974656c697374204c696d6974202f2057616c6c6574600082015250565b6000614414602083613444565b915061441f826143de565b602082019050919050565b6000602082019050818103600083015261444381614407565b9050919050565b7f45786365656473206c696d6974202d2033302f77616c6c657400000000000000600082015250565b6000614480601983613444565b915061448b8261444a565b602082019050919050565b600060208201905081810360008301526144af81614473565b9050919050565b60006144c1826134f4565b91506144cc836134f4565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614505576145046141e0565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061454a826134f4565b9150614555836134f4565b92508261456557614564614510565b5b828204905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f3c33302f62617463680000000000000000000000000000000000000000000000600082015250565b60006145d5600983613444565b91506145e08261459f565b602082019050919050565b60006020820190508181036000830152614604816145c8565b9050919050565b6000614616826134f4565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203614648576146476141e0565b5b600182019050919050565b600081905092915050565b600061466982613439565b6146738185614653565b9350614683818560208601613455565b80840191505092915050565b600061469b828561465e565b91506146a7828461465e565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061470f602683613444565b915061471a826146b3565b604082019050919050565b6000602082019050818103600083015261473e81614702565b9050919050565b7f5075626c69632053616c65204f66660000000000000000000000000000000000600082015250565b600061477b600f83613444565b915061478682614745565b602082019050919050565b600060208201905081810360008301526147aa8161476e565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006147e7602083613444565b91506147f2826147b1565b602082019050919050565b60006020820190508181036000830152614816816147da565b9050919050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b6000614879602a83613444565b91506148848261481d565b604082019050919050565b600060208201905081810360008301526148a88161486c565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b60006148e5601983613444565b91506148f0826148af565b602082019050919050565b60006020820190508181036000830152614914816148d8565b9050919050565b60006040820190506149306000830185613557565b61493d6020830184613557565b9392505050565b60008151905061495381613d8b565b92915050565b60006020828403121561496f5761496e6132e9565b5b600061497d84828501614944565b91505092915050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b60006149bc601f83613444565b91506149c782614986565b602082019050919050565b600060208201905081810360008301526149eb816149af565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000614a19826149f2565b614a2381856149fd565b9350614a33818560208601613455565b614a3c81613488565b840191505092915050565b6000608082019050614a5c6000830187613557565b614a696020830186613557565b614a7660408301856135c1565b8181036060830152614a888184614a0e565b905095945050505050565b600081519050614aa28161331f565b92915050565b600060208284031215614abe57614abd6132e9565b5b6000614acc84828501614a93565b9150509291505056fea26469706673582212206004a8b100d678f73053e3de61034dbc9785f179e8e7aaa43ec22068a702b91f64736f6c634300080d0033

Deployed Bytecode

0x6080604052600436106102465760003560e01c806370a0823111610139578063c204642c116100b6578063e222c7f91161007a578063e222c7f91461085d578063e985e9c514610874578063f0dff7d3146108b1578063f2fde38b146108dc578063f78942f314610905578063f8b4d9811461093057610246565b8063c204642c14610764578063c23dc68f1461078d578063c87b56dd146107ca578063cc3bde3d14610807578063d547cfb71461083257610246565b806399a2557a116100fd57806399a2557a1461068c578063a22cb465146106c9578063ad2f852a146106f2578063b88d4fde1461071d578063b8997a971461073957610246565b806370a08231146105a5578063715018a6146105e25780638462151c146105f95780638da5cb5b1461063657806395d89b411461066157610246565b806330176e13116101c757806346f95b5d1161018b57806346f95b5d146104d257806359eda1b5146104fd5780635bbb21771461051457806361b20d8c146105515780636352211e1461056857610246565b806330176e131461040e57806331faafb4146104375780634031252f1461046057806341f434341461048b57806342842e0e146104b657610246565b806318160ddd1161020e57806318160ddd1461033557806323b872dd146103605780632933f21a1461037c5780632a55205a146103a55780632eb4a7ab146103e357610246565b806301ffc9a71461024b57806306d254da1461028857806306fdde03146102b1578063081812fc146102dc578063095ea7b314610319575b600080fd5b34801561025757600080fd5b50610272600480360381019061026d919061334b565b610959565b60405161027f9190613393565b60405180910390f35b34801561029457600080fd5b506102af60048036038101906102aa919061340c565b61097b565b005b3480156102bd57600080fd5b506102c6610a0d565b6040516102d391906134d2565b60405180910390f35b3480156102e857600080fd5b5061030360048036038101906102fe919061352a565b610a9f565b6040516103109190613566565b60405180910390f35b610333600480360381019061032e9190613581565b610b1e565b005b34801561034157600080fd5b5061034a610b2e565b60405161035791906135d0565b60405180910390f35b61037a600480360381019061037591906135eb565b610b45565b005b34801561038857600080fd5b506103a3600480360381019061039e91906136e3565b610ea6565b005b3480156103b157600080fd5b506103cc60048036038101906103c79190613743565b611129565b6040516103da929190613783565b60405180910390f35b3480156103ef57600080fd5b506103f8611313565b60405161040591906137c5565b60405180910390f35b34801561041a57600080fd5b5061043560048036038101906104309190613910565b61133a565b005b34801561044357600080fd5b5061045e6004803603810190610459919061399d565b61135c565b005b34801561046c57600080fd5b506104756113de565b60405161048291906135d0565b60405180910390f35b34801561049757600080fd5b506104a06113e3565b6040516104ad9190613a29565b60405180910390f35b6104d060048036038101906104cb91906135eb565b6113f5565b005b3480156104de57600080fd5b506104e7611454565b6040516104f491906135d0565b60405180910390f35b34801561050957600080fd5b50610512611459565b005b34801561052057600080fd5b5061053b60048036038101906105369190613a9a565b61148d565b6040516105489190613c36565b60405180910390f35b34801561055d57600080fd5b50610566611550565b005b34801561057457600080fd5b5061058f600480360381019061058a919061352a565b6115b8565b60405161059c9190613566565b60405180910390f35b3480156105b157600080fd5b506105cc60048036038101906105c7919061340c565b6115ca565b6040516105d991906135d0565b60405180910390f35b3480156105ee57600080fd5b506105f7611682565b005b34801561060557600080fd5b50610620600480360381019061061b919061340c565b611696565b60405161062d9190613d16565b60405180910390f35b34801561064257600080fd5b5061064b6117d9565b6040516106589190613566565b60405180910390f35b34801561066d57600080fd5b50610676611803565b60405161068391906134d2565b60405180910390f35b34801561069857600080fd5b506106b360048036038101906106ae9190613d38565b611895565b6040516106c09190613d16565b60405180910390f35b3480156106d557600080fd5b506106f060048036038101906106eb9190613db7565b611aa1565b005b3480156106fe57600080fd5b50610707611bb7565b6040516107149190613566565b60405180910390f35b61073760048036038101906107329190613e98565b611bdd565b005b34801561074557600080fd5b5061074e611c8f565b60405161075b9190613f2a565b60405180910390f35b34801561077057600080fd5b5061078b60048036038101906107869190614008565b611cad565b005b34801561079957600080fd5b506107b460048036038101906107af919061352a565b611d98565b6040516107c191906140b9565b60405180910390f35b3480156107d657600080fd5b506107f160048036038101906107ec919061352a565b611e02565b6040516107fe91906134d2565b60405180910390f35b34801561081357600080fd5b5061081c611ea0565b60405161082991906135d0565b60405180910390f35b34801561083e57600080fd5b50610847611ea6565b60405161085491906134d2565b60405180910390f35b34801561086957600080fd5b50610872611f34565b005b34801561088057600080fd5b5061089b600480360381019061089691906140d4565b611f68565b6040516108a89190613393565b60405180910390f35b3480156108bd57600080fd5b506108c6611ffc565b6040516108d39190613393565b60405180910390f35b3480156108e857600080fd5b5061090360048036038101906108fe919061340c565b61200f565b005b34801561091157600080fd5b5061091a612092565b6040516109279190613393565b60405180910390f35b34801561093c57600080fd5b506109576004803603810190610952919061352a565b6120a5565b005b6000610964826121fa565b8061097457506109738261228c565b5b9050919050565b610983612306565b80600d60026101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550610a0a600d60029054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600e60009054906101000a90046bffffffffffffffffffffffff16612384565b50565b606060028054610a1c90614143565b80601f0160208091040260200160405190810160405280929190818152602001828054610a4890614143565b8015610a955780601f10610a6a57610100808354040283529160200191610a95565b820191906000526020600020905b815481529060010190602001808311610a7857829003601f168201915b5050505050905090565b6000610aaa82612519565b610ae0576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b610b2a82826001612578565b5050565b6000610b386126c4565b6001546000540303905090565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610b8357610b82336126c9565b5b6000610b8e836127c6565b90508473ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610bf5576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610c01856128be565b91509150610c178188610c126128e5565b6128ed565b610c6357610c2c87610c276128e5565b611f68565b610c62576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1603610cc9576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610cd68787876001612931565b8015610ce157600082555b600560008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550610daf86610d8b898987612937565b7c02000000000000000000000000000000000000000000000000000000001761295f565b600460008781526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000841603610e355760006001860190506000600460008381526020019081526020016000205403610e33576000548114610e32578360046000838152602001908152602001600020819055505b5b505b848673ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610e9d878787600161298a565b50505050505050565b60011515600d60019054906101000a900460ff16151514610efc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ef3906141c0565b60405180910390fd5b61189e610f07610b2e565b8267ffffffffffffffff16610f1c919061420f565b1115610f5d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f54906142b1565b60405180910390fd5b610ff2838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050507f61cb7d0b6537f0bb8d59c9749976290b171575119ca652ed984934f8cc281d6860001b33604051602001610fd79190614319565b60405160208183030381529060405280519060200120612990565b611031576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102890614380565b60405180910390fd5b600c8161103d336129a7565b61104791906143a0565b67ffffffffffffffff161115611092576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110899061442a565b60405180910390fd5b601e8167ffffffffffffffff166110a8336115ca565b6110b2919061420f565b11156110f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ea90614496565b60405180910390fd5b6111103382611101336129a7565b61110b91906143a0565b6129f4565b611124338267ffffffffffffffff16612aaa565b505050565b6000806000600a60008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16036112be5760096040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b60006112c8612c65565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff16866112f491906144b6565b6112fe919061453f565b90508160000151819350935050509250929050565b7f61cb7d0b6537f0bb8d59c9749976290b171575119ca652ed984934f8cc281d6860001b81565b611342612306565b80600c90805190602001906113589291906131ed565b5050565b611364612306565b80600e60006101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055506113db600d60029054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600e60009054906101000a90046bffffffffffffffffffffffff16612384565b50565b601e81565b6daaeb6d7670e522a718067333cd4e81565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461143357611432336126c9565b5b61144e84848460405180602001604052806000815250611bdd565b50505050565b600c81565b611461612306565b600d60019054906101000a900460ff1615600d60016101000a81548160ff021916908315150217905550565b6060600083839050905060008167ffffffffffffffff8111156114b3576114b26137e5565b5b6040519080825280602002602001820160405280156114ec57816020015b6114d9613273565b8152602001906001900390816114d15790505b50905060005b8281146115445761151b86868381811061150f5761150e614570565b5b90506020020135611d98565b82828151811061152e5761152d614570565b5b60200260200101819052508060010190506114f2565b50809250505092915050565b611558612306565b611560612c6f565b6115686117d9565b73ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f193505050501580156115ad573d6000803e3d6000fd5b506115b6612cbe565b565b60006115c3826127c6565b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611631576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b61168a612306565b6116946000612cc8565b565b606060008060006116a6856115ca565b905060008167ffffffffffffffff8111156116c4576116c36137e5565b5b6040519080825280602002602001820160405280156116f25781602001602082028036833780820191505090505b5090506116fd613273565b60006117076126c4565b90505b8386146117cb5761171a81612d8e565b915081604001516117c057600073ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff161461176557816000015194505b8773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16036117bf57808387806001019850815181106117b2576117b1614570565b5b6020026020010181815250505b5b80600101905061170a565b508195505050505050919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606003805461181290614143565b80601f016020809104026020016040519081016040528092919081815260200182805461183e90614143565b801561188b5780601f106118605761010080835404028352916020019161188b565b820191906000526020600020905b81548152906001019060200180831161186e57829003601f168201915b5050505050905090565b60608183106118d0576040517f32c1995a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000806118db612db9565b90506118e56126c4565b8510156118f7576118f46126c4565b94505b80841115611903578093505b600061190e876115ca565b90508486101561193157600086860390508181101561192b578091505b50611936565b600090505b60008167ffffffffffffffff811115611952576119516137e5565b5b6040519080825280602002602001820160405280156119805781602001602082028036833780820191505090505b509050600082036119975780945050505050611a9a565b60006119a288611d98565b9050600081604001516119b757816000015190505b60008990505b8881141580156119cd5750848714155b15611a8c576119db81612d8e565b92508260400151611a8157600073ffffffffffffffffffffffffffffffffffffffff16836000015173ffffffffffffffffffffffffffffffffffffffff1614611a2657826000015191505b8a73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611a805780848880600101995081518110611a7357611a72614570565b5b6020026020010181815250505b5b8060010190506119bd565b508583528296505050505050505b9392505050565b81611aab816126c9565b8160076000611ab86128e5565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508273ffffffffffffffffffffffffffffffffffffffff16611b656128e5565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3184604051611baa9190613393565b60405180910390a3505050565b600d60029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b833373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611c1b57611c1a336126c9565b5b611c26858585610b45565b60008473ffffffffffffffffffffffffffffffffffffffff163b14611c8857611c5185858585612dc2565b611c87576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b5050505050565b600e60009054906101000a90046bffffffffffffffffffffffff1681565b611cb5612306565b601e811115611cf9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cf0906145eb565b60405180910390fd5b60005b8251811015611d9357611d29838281518110611d1b57611d1a614570565b5b602002602001015183612aaa565b61189e611d34610b2e565b82611d3f919061420f565b1115611d80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d77906142b1565b60405180910390fd5b8080611d8b9061460b565b915050611cfc565b505050565b611da0613273565b611da8613273565b611db06126c4565b831080611dc45750611dc0612db9565b8310155b15611dd25780915050611dfd565b611ddb83612d8e565b9050806040015115611df05780915050611dfd565b611df983612f12565b9150505b919050565b6060611e0d82612519565b611e43576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611e4d612f32565b90506000815103611e6d5760405180602001604052806000815250611e98565b80611e7784612fc4565b604051602001611e8892919061468f565b6040516020818303038152906040525b915050919050565b61189e81565b600c8054611eb390614143565b80601f0160208091040260200160405190810160405280929190818152602001828054611edf90614143565b8015611f2c5780601f10611f0157610100808354040283529160200191611f2c565b820191906000526020600020905b815481529060010190602001808311611f0f57829003601f168201915b505050505081565b611f3c612306565b600d60009054906101000a900460ff1615600d60006101000a81548160ff021916908315150217905550565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600d60009054906101000a900460ff1681565b612017612306565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612086576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161207d90614725565b60405180910390fd5b61208f81612cc8565b50565b600d60019054906101000a900460ff1681565b61189e6120b0610b2e565b826120bb919061420f565b11156120fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120f3906142b1565b60405180910390fd5b60011515600d60009054906101000a900460ff16151514612152576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161214990614791565b60405180910390fd5b601e8161215e336115ca565b612168919061420f565b11156121a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121a090614496565b60405180910390fd5b601e8111156121ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121e4906145eb565b60405180910390fd5b6121f73382612aaa565b50565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061225557506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806122855750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806122ff57506122fe82613014565b5b9050919050565b61230e61307e565b73ffffffffffffffffffffffffffffffffffffffff1661232c6117d9565b73ffffffffffffffffffffffffffffffffffffffff1614612382576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612379906147fd565b60405180910390fd5b565b61238c612c65565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff1611156123ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123e19061488f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612459576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612450906148fb565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600960008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b6000816125246126c4565b11158015612533575060005482105b8015612571575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b6000612583836115b8565b9050811561260e578073ffffffffffffffffffffffffffffffffffffffff166125aa6128e5565b73ffffffffffffffffffffffffffffffffffffffff161461260d576125d6816125d16128e5565b611f68565b61260c576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b5b836006600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550828473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a450505050565b600090565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b11156127c3576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b815260040161274092919061491b565b602060405180830381865afa15801561275d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127819190614959565b6127c257806040517fede71dcc0000000000000000000000000000000000000000000000000000000081526004016127b99190613566565b60405180910390fd5b5b50565b6000816127d16126c4565b11612887576004600083815260200190815260200160002054905060007c01000000000000000000000000000000000000000000000000000000008216036128865760008103612881576000548210612856576040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b6004600083600190039350838152602001908152602001600020549050600081036128b957612857565b6128b9565b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e861294e868684613086565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b60008261299d858461308f565b1490509392505050565b600060c0600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054901c9050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050600082905060c081901b77ffffffffffffffffffffffffffffffffffffffffffffffff831617915081600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050505050565b60008054905060008203612aea576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612af76000848385612931565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550612b6e83612b5f6000866000612937565b612b68856130e5565b1761295f565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b818114612c0f57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050612bd4565b5060008203612c4a576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806000819055505050612c60600084838561298a565b505050565b6000612710905090565b6002600b5403612cb4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cab906149d2565b60405180910390fd5b6002600b81905550565b6001600b81905550565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612d96613273565b612db260046000848152602001908152602001600020546130f5565b9050919050565b60008054905090565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612de86128e5565b8786866040518563ffffffff1660e01b8152600401612e0a9493929190614a47565b6020604051808303816000875af1925050508015612e4657506040513d601f19601f82011682018060405250810190612e439190614aa8565b60015b612ebf573d8060008114612e76576040519150601f19603f3d011682016040523d82523d6000602084013e612e7b565b606091505b506000815103612eb7576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b612f1a613273565b612f2b612f26836127c6565b6130f5565b9050919050565b6060600c8054612f4190614143565b80601f0160208091040260200160405190810160405280929190818152602001828054612f6d90614143565b8015612fba5780601f10612f8f57610100808354040283529160200191612fba565b820191906000526020600020905b815481529060010190602001808311612f9d57829003601f168201915b5050505050905090565b606060a060405101806040526020810391506000825281835b600115612fff57600184039350600a81066030018453600a8104905080612fdd575b50828103602084039350808452505050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b60009392505050565b60008082905060005b84518110156130da576130c5828683815181106130b8576130b7614570565b5b60200260200101516131ab565b915080806130d29061460b565b915050613098565b508091505092915050565b60006001821460e11b9050919050565b6130fd613273565b81816000019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505060a082901c816020019067ffffffffffffffff16908167ffffffffffffffff168152505060007c01000000000000000000000000000000000000000000000000000000008316141581604001901515908115158152505060e882901c816060019062ffffff16908162ffffff1681525050919050565b60008183106131c3576131be82846131d6565b6131ce565b6131cd83836131d6565b5b905092915050565b600082600052816020526040600020905092915050565b8280546131f990614143565b90600052602060002090601f01602090048101928261321b5760008555613262565b82601f1061323457805160ff1916838001178555613262565b82800160010185558215613262579182015b82811115613261578251825591602001919060010190613246565b5b50905061326f91906132c2565b5090565b6040518060800160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff168152602001600015158152602001600062ffffff1681525090565b5b808211156132db5760008160009055506001016132c3565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613328816132f3565b811461333357600080fd5b50565b6000813590506133458161331f565b92915050565b600060208284031215613361576133606132e9565b5b600061336f84828501613336565b91505092915050565b60008115159050919050565b61338d81613378565b82525050565b60006020820190506133a86000830184613384565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006133d9826133ae565b9050919050565b6133e9816133ce565b81146133f457600080fd5b50565b600081359050613406816133e0565b92915050565b600060208284031215613422576134216132e9565b5b6000613430848285016133f7565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613473578082015181840152602081019050613458565b83811115613482576000848401525b50505050565b6000601f19601f8301169050919050565b60006134a482613439565b6134ae8185613444565b93506134be818560208601613455565b6134c781613488565b840191505092915050565b600060208201905081810360008301526134ec8184613499565b905092915050565b6000819050919050565b613507816134f4565b811461351257600080fd5b50565b600081359050613524816134fe565b92915050565b6000602082840312156135405761353f6132e9565b5b600061354e84828501613515565b91505092915050565b613560816133ce565b82525050565b600060208201905061357b6000830184613557565b92915050565b60008060408385031215613598576135976132e9565b5b60006135a6858286016133f7565b92505060206135b785828601613515565b9150509250929050565b6135ca816134f4565b82525050565b60006020820190506135e560008301846135c1565b92915050565b600080600060608486031215613604576136036132e9565b5b6000613612868287016133f7565b9350506020613623868287016133f7565b925050604061363486828701613515565b9150509250925092565b600080fd5b600080fd5b600080fd5b60008083601f8401126136635761366261363e565b5b8235905067ffffffffffffffff8111156136805761367f613643565b5b60208301915083602082028301111561369c5761369b613648565b5b9250929050565b600067ffffffffffffffff82169050919050565b6136c0816136a3565b81146136cb57600080fd5b50565b6000813590506136dd816136b7565b92915050565b6000806000604084860312156136fc576136fb6132e9565b5b600084013567ffffffffffffffff81111561371a576137196132ee565b5b6137268682870161364d565b93509350506020613739868287016136ce565b9150509250925092565b6000806040838503121561375a576137596132e9565b5b600061376885828601613515565b925050602061377985828601613515565b9150509250929050565b60006040820190506137986000830185613557565b6137a560208301846135c1565b9392505050565b6000819050919050565b6137bf816137ac565b82525050565b60006020820190506137da60008301846137b6565b92915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61381d82613488565b810181811067ffffffffffffffff8211171561383c5761383b6137e5565b5b80604052505050565b600061384f6132df565b905061385b8282613814565b919050565b600067ffffffffffffffff82111561387b5761387a6137e5565b5b61388482613488565b9050602081019050919050565b82818337600083830152505050565b60006138b36138ae84613860565b613845565b9050828152602081018484840111156138cf576138ce6137e0565b5b6138da848285613891565b509392505050565b600082601f8301126138f7576138f661363e565b5b81356139078482602086016138a0565b91505092915050565b600060208284031215613926576139256132e9565b5b600082013567ffffffffffffffff811115613944576139436132ee565b5b613950848285016138e2565b91505092915050565b60006bffffffffffffffffffffffff82169050919050565b61397a81613959565b811461398557600080fd5b50565b60008135905061399781613971565b92915050565b6000602082840312156139b3576139b26132e9565b5b60006139c184828501613988565b91505092915050565b6000819050919050565b60006139ef6139ea6139e5846133ae565b6139ca565b6133ae565b9050919050565b6000613a01826139d4565b9050919050565b6000613a13826139f6565b9050919050565b613a2381613a08565b82525050565b6000602082019050613a3e6000830184613a1a565b92915050565b60008083601f840112613a5a57613a5961363e565b5b8235905067ffffffffffffffff811115613a7757613a76613643565b5b602083019150836020820283011115613a9357613a92613648565b5b9250929050565b60008060208385031215613ab157613ab06132e9565b5b600083013567ffffffffffffffff811115613acf57613ace6132ee565b5b613adb85828601613a44565b92509250509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613b1c816133ce565b82525050565b613b2b816136a3565b82525050565b613b3a81613378565b82525050565b600062ffffff82169050919050565b613b5881613b40565b82525050565b608082016000820151613b746000850182613b13565b506020820151613b876020850182613b22565b506040820151613b9a6040850182613b31565b506060820151613bad6060850182613b4f565b50505050565b6000613bbf8383613b5e565b60808301905092915050565b6000602082019050919050565b6000613be382613ae7565b613bed8185613af2565b9350613bf883613b03565b8060005b83811015613c29578151613c108882613bb3565b9750613c1b83613bcb565b925050600181019050613bfc565b5085935050505092915050565b60006020820190508181036000830152613c508184613bd8565b905092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613c8d816134f4565b82525050565b6000613c9f8383613c84565b60208301905092915050565b6000602082019050919050565b6000613cc382613c58565b613ccd8185613c63565b9350613cd883613c74565b8060005b83811015613d09578151613cf08882613c93565b9750613cfb83613cab565b925050600181019050613cdc565b5085935050505092915050565b60006020820190508181036000830152613d308184613cb8565b905092915050565b600080600060608486031215613d5157613d506132e9565b5b6000613d5f868287016133f7565b9350506020613d7086828701613515565b9250506040613d8186828701613515565b9150509250925092565b613d9481613378565b8114613d9f57600080fd5b50565b600081359050613db181613d8b565b92915050565b60008060408385031215613dce57613dcd6132e9565b5b6000613ddc858286016133f7565b9250506020613ded85828601613da2565b9150509250929050565b600067ffffffffffffffff821115613e1257613e116137e5565b5b613e1b82613488565b9050602081019050919050565b6000613e3b613e3684613df7565b613845565b905082815260208101848484011115613e5757613e566137e0565b5b613e62848285613891565b509392505050565b600082601f830112613e7f57613e7e61363e565b5b8135613e8f848260208601613e28565b91505092915050565b60008060008060808587031215613eb257613eb16132e9565b5b6000613ec0878288016133f7565b9450506020613ed1878288016133f7565b9350506040613ee287828801613515565b925050606085013567ffffffffffffffff811115613f0357613f026132ee565b5b613f0f87828801613e6a565b91505092959194509250565b613f2481613959565b82525050565b6000602082019050613f3f6000830184613f1b565b92915050565b600067ffffffffffffffff821115613f6057613f5f6137e5565b5b602082029050602081019050919050565b6000613f84613f7f84613f45565b613845565b90508083825260208201905060208402830185811115613fa757613fa6613648565b5b835b81811015613fd05780613fbc88826133f7565b845260208401935050602081019050613fa9565b5050509392505050565b600082601f830112613fef57613fee61363e565b5b8135613fff848260208601613f71565b91505092915050565b6000806040838503121561401f5761401e6132e9565b5b600083013567ffffffffffffffff81111561403d5761403c6132ee565b5b61404985828601613fda565b925050602061405a85828601613515565b9150509250929050565b60808201600082015161407a6000850182613b13565b50602082015161408d6020850182613b22565b5060408201516140a06040850182613b31565b5060608201516140b36060850182613b4f565b50505050565b60006080820190506140ce6000830184614064565b92915050565b600080604083850312156140eb576140ea6132e9565b5b60006140f9858286016133f7565b925050602061410a858286016133f7565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061415b57607f821691505b60208210810361416e5761416d614114565b5b50919050565b7f57686974656c6973742053616c65204f66660000000000000000000000000000600082015250565b60006141aa601283613444565b91506141b582614174565b602082019050919050565b600060208201905081810360008301526141d98161419d565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061421a826134f4565b9150614225836134f4565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561425a576142596141e0565b5b828201905092915050565b7f45786365656473204d617820537570706c790000000000000000000000000000600082015250565b600061429b601283613444565b91506142a682614265565b602082019050919050565b600060208201905081810360008301526142ca8161428e565b9050919050565b60008160601b9050919050565b60006142e9826142d1565b9050919050565b60006142fb826142de565b9050919050565b61431361430e826133ce565b6142f0565b82525050565b60006143258284614302565b60148201915081905092915050565b7f4e6f742077686974656c69737465640000000000000000000000000000000000600082015250565b600061436a600f83613444565b915061437582614334565b602082019050919050565b600060208201905081810360008301526143998161435d565b9050919050565b60006143ab826136a3565b91506143b6836136a3565b92508267ffffffffffffffff038211156143d3576143d26141e0565b5b828201905092915050565b7f457863656564732057686974656c697374204c696d6974202f2057616c6c6574600082015250565b6000614414602083613444565b915061441f826143de565b602082019050919050565b6000602082019050818103600083015261444381614407565b9050919050565b7f45786365656473206c696d6974202d2033302f77616c6c657400000000000000600082015250565b6000614480601983613444565b915061448b8261444a565b602082019050919050565b600060208201905081810360008301526144af81614473565b9050919050565b60006144c1826134f4565b91506144cc836134f4565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614505576145046141e0565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061454a826134f4565b9150614555836134f4565b92508261456557614564614510565b5b828204905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f3c33302f62617463680000000000000000000000000000000000000000000000600082015250565b60006145d5600983613444565b91506145e08261459f565b602082019050919050565b60006020820190508181036000830152614604816145c8565b9050919050565b6000614616826134f4565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203614648576146476141e0565b5b600182019050919050565b600081905092915050565b600061466982613439565b6146738185614653565b9350614683818560208601613455565b80840191505092915050565b600061469b828561465e565b91506146a7828461465e565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061470f602683613444565b915061471a826146b3565b604082019050919050565b6000602082019050818103600083015261473e81614702565b9050919050565b7f5075626c69632053616c65204f66660000000000000000000000000000000000600082015250565b600061477b600f83613444565b915061478682614745565b602082019050919050565b600060208201905081810360008301526147aa8161476e565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006147e7602083613444565b91506147f2826147b1565b602082019050919050565b60006020820190508181036000830152614816816147da565b9050919050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b6000614879602a83613444565b91506148848261481d565b604082019050919050565b600060208201905081810360008301526148a88161486c565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b60006148e5601983613444565b91506148f0826148af565b602082019050919050565b60006020820190508181036000830152614914816148d8565b9050919050565b60006040820190506149306000830185613557565b61493d6020830184613557565b9392505050565b60008151905061495381613d8b565b92915050565b60006020828403121561496f5761496e6132e9565b5b600061497d84828501614944565b91505092915050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b60006149bc601f83613444565b91506149c782614986565b602082019050919050565b600060208201905081810360008301526149eb816149af565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000614a19826149f2565b614a2381856149fd565b9350614a33818560208601613455565b614a3c81613488565b840191505092915050565b6000608082019050614a5c6000830187613557565b614a696020830186613557565b614a7660408301856135c1565b8181036060830152614a888184614a0e565b905095945050505050565b600081519050614aa28161331f565b92915050565b600060208284031215614abe57614abd6132e9565b5b6000614acc84828501614a93565b9150509291505056fea26469706673582212206004a8b100d678f73053e3de61034dbc9785f179e8e7aaa43ec22068a702b91f64736f6c634300080d0033

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.