ETH Price: $3,455.87 (-0.90%)
Gas: 3 Gwei

Token

Bubbly (BUB)
 

Overview

Max Total Supply

900 BUB

Holders

354

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
4 BUB
0x59008f0afb74047b4ac82d756832dd4fb87fc3ca
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:
BubblyNFT

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 15 : NFTa.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;

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

/// @title BaseNFT
contract BubblyNFT is ERC721AQueryable, ReentrancyGuard, ERC2981, Ownable {
    /// Constants
    uint256 public constant MAX_SUPPLY = 3333;
    uint256 public constant MAX_TEAM_MINT_QUANTIY = 200;

    address public constant DEV_ADDRESS =
        0xEc98863460e0FCdB528B6131869604AA0a1d4432;
    address public constant TEAM_ADDRESS =
        0x0508dA03cd0e523ccDED37Fa1E2D5fDF7773C0fD;

    uint256 private constant _SALES_ROUND_PAUSE = 0;
    uint256 private constant _SALES_ROUND_TEAM = 1;
    uint256 private constant _SALES_ROUND_WHITELIST = 2;
    uint256 private constant _SALES_ROUND_RAFFLE = 3;
    uint256 private constant _SALES_ROUND_PUBLIC = 4;

    /// Public Variables
    string public prefixURI = "ipfs://__CID__/";
    string public suffixURI = ".json";
    string public hiddenMetadataUri = "https://raw.githubusercontent.com/Artari-punk/Whitelist-Dapp/main/metadata.json";
   
    bool public revealed = false;
    bytes32 public merkleRoot = 0x0;
    uint256 public tokenPrice = 49000000000000000;
    uint256 public maxPerWallet = 3;
    uint256 public quantityForMint = 3133;
    uint256 public salesRound = 0;
    uint256 public isTeamMinted = 0;

    mapping(address => mapping(uint256 => uint256))
        public userRoundMintedAmount;

    /// Modifiers
    modifier callerIsUser() {
        require(tx.origin == msg.sender, "The caller is not wallet");
        _;
    }

    constructor() ERC721A("Bubbly", "BUB") {}

    /// Owner Methods
    function setMerkleRoot(bytes32 _merkleRoot) public onlyOwner {
        merkleRoot = _merkleRoot;
    }

    function setQuantityForMint(uint256 _quantityForMint) public onlyOwner {
        require(_quantityForMint <= MAX_SUPPLY, "exceed max supply");

        quantityForMint = _quantityForMint;
    }

    function setMaxPerWallet(uint256 _maxPerWallet) public onlyOwner {
        maxPerWallet = _maxPerWallet;
    }

    function setTokenPrice(uint256 _tokenPrice) public onlyOwner {
        tokenPrice = _tokenPrice;
    }

    function setPrefixURI(string memory _prefixURI) public onlyOwner {
        prefixURI = _prefixURI;
    }

    function setSuffixURI(string memory _suffixURI) public onlyOwner {
        suffixURI = _suffixURI;
    }

    function setSalesRound(uint256 _salesRound) public onlyOwner {
        salesRound = _salesRound;
    }

    function setHiddenMetadataUri(string memory _hiddenMetadataUri)
        public
        onlyOwner
    {
        hiddenMetadataUri = _hiddenMetadataUri;
    }

    function setRevealed(bool _state) public onlyOwner {
        revealed = _state;
    }

    function setDefaultRoyalty(address receiver, uint96 feeNumerator)
        external
        onlyOwner
    {
        _setDefaultRoyalty(receiver, feeNumerator);
    }

    function emergencySafe() public onlyOwner {
        selfdestruct(payable(TEAM_ADDRESS));
    }

    function withdraw() public onlyOwner {
        // Dev wallet
        (bool hs, ) = payable(DEV_ADDRESS).call{
            value: (address(this).balance * 5) / 100
        }("");
        require(hs);

        // Team wallet
        (bool os, ) = payable(TEAM_ADDRESS).call{value: address(this).balance}(
            ""
        );
        require(os);
    }

    /// Mint Methods
    function mintToTeam(address _to) public onlyOwner {
        require(_to != address(0), "invalid receiver");
        require(_SALES_ROUND_TEAM == salesRound, "invalid mint round");
        require(isTeamMinted == 0, "team minted");

        isTeamMinted = 1;

        _mint(_to, MAX_TEAM_MINT_QUANTIY);
    }

    function mint(
        bytes32[] memory _proof,
        uint256 _maxQuantity,
        uint256 _quantity
    ) public payable callerIsUser {
        require(
            _SALES_ROUND_WHITELIST == salesRound ||
                _SALES_ROUND_RAFFLE == salesRound ||
                _SALES_ROUND_PUBLIC == salesRound,
            "invalid mint round"
        );

        if (
            _SALES_ROUND_WHITELIST == salesRound ||
            _SALES_ROUND_RAFFLE == salesRound
        ) {
            require(merkleRoot != 0x0, "merkle root is not yet set");

            bytes32 leaf = keccak256(
                abi.encodePacked(
                    address(this),
                    _msgSender(),
                    _maxQuantity,
                    salesRound
                )
            );
            require(
                MerkleProof.verify(_proof, merkleRoot, leaf),
                "invalid merkle proof"
            );
        }

        if (_SALES_ROUND_PUBLIC == salesRound) {
            _maxQuantity = maxPerWallet;
        }

        require(
            _totalMinted() + _quantity <= quantityForMint,
            "exceed max quantity for mint"
        );
        require(
            userRoundMintedAmount[_msgSender()][salesRound] + _quantity <=
                _maxQuantity,
            "exceed mint amount"
        );
        require(msg.value >= tokenPrice * _quantity, "insufficient ether");

        userRoundMintedAmount[_msgSender()][salesRound] += _quantity;

        _mint(_msgSender(), _quantity);
    }

    /// Methods
    function tokenURI(uint256 tokenId)
        public
        view
        virtual
        override
        returns (string memory)
    {
        require(_exists(tokenId), "URI query for non existent token");

        if (revealed == false) {
            return hiddenMetadataUri;
        }

        return
            bytes(prefixURI).length != 0
                ? string(
                    abi.encodePacked(prefixURI, _toString(tokenId), suffixURI)
                )
                : "";
    }

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

File 2 of 15 : ERC721AQueryable.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.2
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import './IERC721AQueryable.sol';
import '../ERC721A.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 3 of 15 : 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 4 of 15 : 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 5 of 15 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Tree proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 *
 * 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.
 */
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 proved to be a part of a Merkle tree defined by
     * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}.
     *
     * _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}
     *
     * _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 the sibling nodes in `proof`,
     * consuming from one or the other at each step according to the instructions given by
     * `proofFlags`.
     *
     * _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}
     *
     * _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 6 of 15 : ECDSA.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/cryptography/ECDSA.sol)

pragma solidity ^0.8.0;

import "../Strings.sol";

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

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

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

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

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

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

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

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

        return (signer, RecoverError.NoError);
    }

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

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

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

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

File 7 of 15 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

File 8 of 15 : ERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.2
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import './IERC721A.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 {
    // Reference type for token approval.
    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) {
        uint256 curr = tokenId;

        unchecked {
            if (_startTokenId() <= curr)
                if (curr < _currentIndex) {
                    uint256 packed = _packedOwnerships[curr];
                    // If not burned.
                    if (packed & _BITMASK_BURNED == 0) {
                        // 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, `curr` will not underflow.
                        //
                        // We can directly compare the packed value.
                        // If the address is zero, packed will be zero.
                        while (packed == 0) {
                            packed = _packedOwnerships[--curr];
                        }
                        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.
     * 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) public virtual override {
        address owner = ownerOf(tokenId);

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

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

    /**
     * @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 {
        if (operator == _msgSenderERC721A()) revert ApproveToCaller();

        _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]`.
        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 virtual override {
        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 virtual override {
        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 virtual override {
        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.
            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`.
                )

                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, '');
    }

    // =============================================================
    //                        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 0x80 bytes to keep the free memory pointer 32-byte word aliged.
            // We will need 1 32-byte word to store the length,
            // and 3 32-byte words to store a maximum of 78 digits. Total: 0x20 + 3 * 0x20 = 0x80.
            str := add(mload(0x40), 0x80)
            // Update the free memory pointer to allocate.
            mstore(0x40, str)

            // 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 9 of 15 : IERC721AQueryable.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.2
// 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 10 of 15 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

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

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

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

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

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

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

File 11 of 15 : 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 12 of 15 : 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 13 of 15 : 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 14 of 15 : IERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.2
// 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();

    /**
     * The caller cannot approve to their own address.
     */
    error ApproveToCaller();

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

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

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

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

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

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

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

    // =============================================================
    //                        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 15 of 15 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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

Settings
{
  "optimizer": {
    "enabled": 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":"ApproveToCaller","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":[],"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":"DEV_ADDRESS","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_TEAM_MINT_QUANTIY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TEAM_ADDRESS","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"emergencySafe","outputs":[],"stateMutability":"nonpayable","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":[],"name":"hiddenMetadataUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isTeamMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"},{"internalType":"uint256","name":"_maxQuantity","type":"uint256"},{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"}],"name":"mintToTeam","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":"prefixURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"quantityForMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"salesRound","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint96","name":"feeNumerator","type":"uint96"}],"name":"setDefaultRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_hiddenMetadataUri","type":"string"}],"name":"setHiddenMetadataUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxPerWallet","type":"uint256"}],"name":"setMaxPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_prefixURI","type":"string"}],"name":"setPrefixURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantityForMint","type":"uint256"}],"name":"setQuantityForMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setRevealed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_salesRound","type":"uint256"}],"name":"setSalesRound","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_suffixURI","type":"string"}],"name":"setSuffixURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenPrice","type":"uint256"}],"name":"setTokenPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"suffixURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","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":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"userRoundMintedAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526040518060400160405280600f81526020017f697066733a2f2f5f5f4349445f5f2f0000000000000000000000000000000000815250600c908051906020019062000051929190620002d9565b506040518060400160405280600581526020017f2e6a736f6e000000000000000000000000000000000000000000000000000000815250600d90805190602001906200009f929190620002d9565b506040518060800160405280604f81526020016200519a604f9139600e9080519060200190620000d1929190620002d9565b506000600f60006101000a81548160ff0219169083151502179055506000801b60105566ae153d89fe80006011556003601255610c3d601355600060145560006015553480156200012157600080fd5b506040518060400160405280600681526020017f427562626c7900000000000000000000000000000000000000000000000000008152506040518060400160405280600381526020017f42554200000000000000000000000000000000000000000000000000000000008152508160029080519060200190620001a6929190620002d9565b508060039080519060200190620001bf929190620002d9565b50620001d06200020660201b60201c565b6000819055505050600160088190555062000200620001f46200020b60201b60201c565b6200021360201b60201c565b620003ee565b600090565b600033905090565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620002e790620003b8565b90600052602060002090601f0160209004810192826200030b576000855562000357565b82601f106200032657805160ff191683800117855562000357565b8280016001018555821562000357579182015b828111156200035657825182559160200191906001019062000339565b5b5090506200036691906200036a565b5090565b5b80821115620003855760008160009055506001016200036b565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620003d157607f821691505b60208210811415620003e857620003e762000389565b5b50919050565b614d9c80620003fe6000396000f3fe6080604052600436106102e45760003560e01c80636583c2d611610190578063a22cb465116100dc578063c87b56dd11610095578063e268e4d31161006f578063e268e4d314610b2e578063e985e9c514610b57578063f2fde38b14610b94578063f6a42ff314610bbd576102e4565b8063c87b56dd14610a9d578063d1eae80314610ada578063e0a8085314610b05576102e4565b8063a22cb4651461098f578063a45ba8e7146109b8578063b2c94ee6146109e3578063b3bcea4814610a0c578063b88d4fde14610a37578063c23dc68f14610a60576102e4565b80637ff9b596116101495780638da5cb5b116101235780638da5cb5b146108d157806395d89b41146108fc57806399a2557a14610927578063a0c5407814610964576102e4565b80637ff9b596146108405780638462151c1461086b5780638be18e57146108a8576102e4565b80636583c2d6146107465780636a04c90e1461076f5780636a61e5fc1461079a57806370a08231146107c3578063715018a6146108005780637cb6475914610817576102e4565b80632eb4a7ab1161024f578063453c23101161020857806351830227116101e257806351830227146106765780635639e8cf146106a15780635bbb2177146106cc5780636352211e14610709576102e4565b8063453c2310146105e5578063480d94a3146106105780634fdd43cb1461064d576102e4565b80632eb4a7ab146104f957806331c2a73d1461052457806332cb6b0c1461054f578063351509a81461057a5780633ccfd60b146105a557806342842e0e146105bc576102e4565b806314bf9af6116102a157806314bf9af61461040957806318160ddd146104255780631c9bfe4f146104505780631e8d53101461047b57806323b872dd146104925780632a55205a146104bb576102e4565b806301ffc9a7146102e957806304634d8d1461032657806306fdde031461034f578063081812fc1461037a578063095ea7b3146103b7578063110608b4146103e0575b600080fd5b3480156102f557600080fd5b50610310600480360381019061030b91906134de565b610be6565b60405161031d9190613526565b60405180910390f35b34801561033257600080fd5b5061034d600480360381019061034891906135e3565b610c08565b005b34801561035b57600080fd5b50610364610c1e565b60405161037191906136bc565b60405180910390f35b34801561038657600080fd5b506103a1600480360381019061039c9190613714565b610cb0565b6040516103ae9190613750565b60405180910390f35b3480156103c357600080fd5b506103de60048036038101906103d9919061376b565b610d2f565b005b3480156103ec57600080fd5b50610407600480360381019061040291906137ab565b610e73565b005b610423600480360381019061041e9190613956565b610f8b565b005b34801561043157600080fd5b5061043a611325565b60405161044791906139d4565b60405180910390f35b34801561045c57600080fd5b5061046561133c565b60405161047291906139d4565b60405180910390f35b34801561048757600080fd5b50610490611341565b005b34801561049e57600080fd5b506104b960048036038101906104b491906139ef565b611376565b005b3480156104c757600080fd5b506104e260048036038101906104dd9190613a42565b61169b565b6040516104f0929190613a82565b60405180910390f35b34801561050557600080fd5b5061050e611886565b60405161051b9190613aba565b60405180910390f35b34801561053057600080fd5b5061053961188c565b60405161054691906139d4565b60405180910390f35b34801561055b57600080fd5b50610564611892565b60405161057191906139d4565b60405180910390f35b34801561058657600080fd5b5061058f611898565b60405161059c9190613750565b60405180910390f35b3480156105b157600080fd5b506105ba6118b0565b005b3480156105c857600080fd5b506105e360048036038101906105de91906139ef565b6119e8565b005b3480156105f157600080fd5b506105fa611a08565b60405161060791906139d4565b60405180910390f35b34801561061c57600080fd5b506106376004803603810190610632919061376b565b611a0e565b60405161064491906139d4565b60405180910390f35b34801561065957600080fd5b50610674600480360381019061066f9190613b8a565b611a33565b005b34801561068257600080fd5b5061068b611a55565b6040516106989190613526565b60405180910390f35b3480156106ad57600080fd5b506106b6611a68565b6040516106c39190613750565b60405180910390f35b3480156106d857600080fd5b506106f360048036038101906106ee9190613c2e565b611a80565b6040516107009190613dde565b60405180910390f35b34801561071557600080fd5b50610730600480360381019061072b9190613714565b611b43565b60405161073d9190613750565b60405180910390f35b34801561075257600080fd5b5061076d60048036038101906107689190613714565b611b55565b005b34801561077b57600080fd5b50610784611bac565b60405161079191906139d4565b60405180910390f35b3480156107a657600080fd5b506107c160048036038101906107bc9190613714565b611bb2565b005b3480156107cf57600080fd5b506107ea60048036038101906107e591906137ab565b611bc4565b6040516107f791906139d4565b60405180910390f35b34801561080c57600080fd5b50610815611c7d565b005b34801561082357600080fd5b5061083e60048036038101906108399190613e00565b611c91565b005b34801561084c57600080fd5b50610855611ca3565b60405161086291906139d4565b60405180910390f35b34801561087757600080fd5b50610892600480360381019061088d91906137ab565b611ca9565b60405161089f9190613eeb565b60405180910390f35b3480156108b457600080fd5b506108cf60048036038101906108ca9190613b8a565b611df3565b005b3480156108dd57600080fd5b506108e6611e15565b6040516108f39190613750565b60405180910390f35b34801561090857600080fd5b50610911611e3f565b60405161091e91906136bc565b60405180910390f35b34801561093357600080fd5b5061094e60048036038101906109499190613f0d565b611ed1565b60405161095b9190613eeb565b60405180910390f35b34801561097057600080fd5b506109796120e5565b60405161098691906136bc565b60405180910390f35b34801561099b57600080fd5b506109b660048036038101906109b19190613f8c565b612173565b005b3480156109c457600080fd5b506109cd6122eb565b6040516109da91906136bc565b60405180910390f35b3480156109ef57600080fd5b50610a0a6004803603810190610a059190613b8a565b612379565b005b348015610a1857600080fd5b50610a2161239b565b604051610a2e91906136bc565b60405180910390f35b348015610a4357600080fd5b50610a5e6004803603810190610a59919061406d565b612429565b005b348015610a6c57600080fd5b50610a876004803603810190610a829190613714565b61249c565b604051610a949190614145565b60405180910390f35b348015610aa957600080fd5b50610ac46004803603810190610abf9190613714565b612506565b604051610ad191906136bc565b60405180910390f35b348015610ae657600080fd5b50610aef612661565b604051610afc91906139d4565b60405180910390f35b348015610b1157600080fd5b50610b2c6004803603810190610b279190614160565b612667565b005b348015610b3a57600080fd5b50610b556004803603810190610b509190613714565b61268c565b005b348015610b6357600080fd5b50610b7e6004803603810190610b79919061418d565b61269e565b604051610b8b9190613526565b60405180910390f35b348015610ba057600080fd5b50610bbb6004803603810190610bb691906137ab565b612732565b005b348015610bc957600080fd5b50610be46004803603810190610bdf9190613714565b6127b6565b005b6000610bf1826127c8565b80610c015750610c008261285a565b5b9050919050565b610c106128d4565b610c1a8282612952565b5050565b606060028054610c2d906141fc565b80601f0160208091040260200160405190810160405280929190818152602001828054610c59906141fc565b8015610ca65780601f10610c7b57610100808354040283529160200191610ca6565b820191906000526020600020905b815481529060010190602001808311610c8957829003601f168201915b5050505050905090565b6000610cbb82612ae8565b610cf1576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610d3a82611b43565b90508073ffffffffffffffffffffffffffffffffffffffff16610d5b612b47565b73ffffffffffffffffffffffffffffffffffffffff1614610dbe57610d8781610d82612b47565b61269e565b610dbd576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b610e7b6128d4565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610eeb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee29061427a565b60405180910390fd5b601454600114610f30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f27906142e6565b60405180910390fd5b600060155414610f75576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6c90614352565b60405180910390fd5b6001601581905550610f888160c8612b4f565b50565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614610ff9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ff0906143be565b60405180910390fd5b6014546002148061100c57506014546003145b8061101957506014546004145b611058576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104f906142e6565b60405180910390fd5b6014546002148061106b57506014546003145b15611140576000801b60105414156110b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110af9061442a565b60405180910390fd5b6000306110c3612d0c565b846014546040516020016110da94939291906144b3565b6040516020818303038152906040528051906020012090506110ff8460105483612d14565b61113e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111359061454d565b60405180910390fd5b505b601454600414156111515760125491505b6013548161115d612d2b565b611167919061459c565b11156111a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119f9061463e565b60405180910390fd5b8181601660006111b6612d0c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600060145481526020019081526020016000205461120e919061459c565b111561124f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611246906146aa565b60405180910390fd5b8060115461125d91906146ca565b34101561129f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129690614770565b60405180910390fd5b80601660006112ac612d0c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600060145481526020019081526020016000206000828254611308919061459c565b9250508190555061132061131a612d0c565b82612b4f565b505050565b600061132f612d3e565b6001546000540303905090565b60c881565b6113496128d4565b730508da03cd0e523ccded37fa1e2d5fdf7773c0fd73ffffffffffffffffffffffffffffffffffffffff16ff5b600061138182612d43565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146113e8576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000806113f484612e11565b9150915061140a8187611405612b47565b612e38565b6114565761141f8661141a612b47565b61269e565b611455576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156114bd576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6114ca8686866001612e7c565b80156114d557600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055506115a38561157f888887612e82565b7c020000000000000000000000000000000000000000000000000000000017612eaa565b600460008681526020019081526020016000208190555060007c02000000000000000000000000000000000000000000000000000000008416141561162b576000600185019050600060046000838152602001908152602001600020541415611629576000548114611628578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46116938686866001612ed5565b505050505050565b6000806000600a60008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614156118315760096040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b600061183b612edb565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff168661186791906146ca565b61187191906147bf565b90508160000151819350935050509250929050565b60105481565b60155481565b610d0581565b730508da03cd0e523ccded37fa1e2d5fdf7773c0fd81565b6118b86128d4565b600073ec98863460e0fcdb528b6131869604aa0a1d443273ffffffffffffffffffffffffffffffffffffffff1660646005476118f491906146ca565b6118fe91906147bf565b60405161190a90614821565b60006040518083038185875af1925050503d8060008114611947576040519150601f19603f3d011682016040523d82523d6000602084013e61194c565b606091505b505090508061195a57600080fd5b6000730508da03cd0e523ccded37fa1e2d5fdf7773c0fd73ffffffffffffffffffffffffffffffffffffffff164760405161199490614821565b60006040518083038185875af1925050503d80600081146119d1576040519150601f19603f3d011682016040523d82523d6000602084013e6119d6565b606091505b50509050806119e457600080fd5b5050565b611a0383838360405180602001604052806000815250612429565b505050565b60125481565b6016602052816000526040600020602052806000526040600020600091509150505481565b611a3b6128d4565b80600e9080519060200190611a51929190613380565b5050565b600f60009054906101000a900460ff1681565b73ec98863460e0fcdb528b6131869604aa0a1d443281565b6060600083839050905060008167ffffffffffffffff811115611aa657611aa56137dd565b5b604051908082528060200260200182016040528015611adf57816020015b611acc613406565b815260200190600190039081611ac45790505b50905060005b828114611b3757611b0e868683818110611b0257611b01614836565b5b9050602002013561249c565b828281518110611b2157611b20614836565b5b6020026020010181905250806001019050611ae5565b50809250505092915050565b6000611b4e82612d43565b9050919050565b611b5d6128d4565b610d05811115611ba2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b99906148b1565b60405180910390fd5b8060138190555050565b60145481565b611bba6128d4565b8060118190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611c2c576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611c856128d4565b611c8f6000612ee5565b565b611c996128d4565b8060108190555050565b60115481565b60606000806000611cb985611bc4565b905060008167ffffffffffffffff811115611cd757611cd66137dd565b5b604051908082528060200260200182016040528015611d055781602001602082028036833780820191505090505b509050611d10613406565b6000611d1a612d3e565b90505b838614611de557611d2d81612fab565b9150816040015115611d3e57611dda565b600073ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614611d7e57816000015194505b8773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415611dd95780838780600101985081518110611dcc57611dcb614836565b5b6020026020010181815250505b5b806001019050611d1d565b508195505050505050919050565b611dfb6128d4565b80600d9080519060200190611e11929190613380565b5050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060038054611e4e906141fc565b80601f0160208091040260200160405190810160405280929190818152602001828054611e7a906141fc565b8015611ec75780601f10611e9c57610100808354040283529160200191611ec7565b820191906000526020600020905b815481529060010190602001808311611eaa57829003601f168201915b5050505050905090565b6060818310611f0c576040517f32c1995a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080611f17612fd6565b9050611f21612d3e565b851015611f3357611f30612d3e565b94505b80841115611f3f578093505b6000611f4a87611bc4565b905084861015611f6d576000868603905081811015611f67578091505b50611f72565b600090505b60008167ffffffffffffffff811115611f8e57611f8d6137dd565b5b604051908082528060200260200182016040528015611fbc5781602001602082028036833780820191505090505b5090506000821415611fd457809450505050506120de565b6000611fdf8861249c565b905060008160400151611ff457816000015190505b60008990505b88811415801561200a5750848714155b156120d05761201881612fab565b9250826040015115612029576120c5565b600073ffffffffffffffffffffffffffffffffffffffff16836000015173ffffffffffffffffffffffffffffffffffffffff161461206957826000015191505b8a73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156120c457808488806001019950815181106120b7576120b6614836565b5b6020026020010181815250505b5b806001019050611ffa565b508583528296505050505050505b9392505050565b600c80546120f2906141fc565b80601f016020809104026020016040519081016040528092919081815260200182805461211e906141fc565b801561216b5780601f106121405761010080835404028352916020019161216b565b820191906000526020600020905b81548152906001019060200180831161214e57829003601f168201915b505050505081565b61217b612b47565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156121e0576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600760006121ed612b47565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661229a612b47565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516122df9190613526565b60405180910390a35050565b600e80546122f8906141fc565b80601f0160208091040260200160405190810160405280929190818152602001828054612324906141fc565b80156123715780601f1061234657610100808354040283529160200191612371565b820191906000526020600020905b81548152906001019060200180831161235457829003601f168201915b505050505081565b6123816128d4565b80600c9080519060200190612397929190613380565b5050565b600d80546123a8906141fc565b80601f01602080910402602001604051908101604052809291908181526020018280546123d4906141fc565b80156124215780601f106123f657610100808354040283529160200191612421565b820191906000526020600020905b81548152906001019060200180831161240457829003601f168201915b505050505081565b612434848484611376565b60008373ffffffffffffffffffffffffffffffffffffffff163b146124965761245f84848484612fdf565b612495576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b6124a4613406565b6124ac613406565b6124b4612d3e565b8310806124c857506124c4612fd6565b8310155b156124d65780915050612501565b6124df83612fab565b90508060400151156124f45780915050612501565b6124fd8361313f565b9150505b919050565b606061251182612ae8565b612550576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125479061491d565b60405180910390fd5b60001515600f60009054906101000a900460ff16151514156125fe57600e8054612579906141fc565b80601f01602080910402602001604051908101604052809291908181526020018280546125a5906141fc565b80156125f25780601f106125c7576101008083540402835291602001916125f2565b820191906000526020600020905b8154815290600101906020018083116125d557829003601f168201915b5050505050905061265c565b6000600c805461260d906141fc565b9050141561262a5760405180602001604052806000815250612659565b600c6126358361315f565b600d60405160200161264993929190614a0d565b6040516020818303038152906040525b90505b919050565b60135481565b61266f6128d4565b80600f60006101000a81548160ff02191690831515021790555050565b6126946128d4565b8060128190555050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61273a6128d4565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156127aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127a190614ab0565b60405180910390fd5b6127b381612ee5565b50565b6127be6128d4565b8060148190555050565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061282357506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806128535750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806128cd57506128cc826131af565b5b9050919050565b6128dc612d0c565b73ffffffffffffffffffffffffffffffffffffffff166128fa611e15565b73ffffffffffffffffffffffffffffffffffffffff1614612950576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161294790614b1c565b60405180910390fd5b565b61295a612edb565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff1611156129b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129af90614bae565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612a28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a1f90614c1a565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600960008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b600081612af3612d3e565b11158015612b02575060005482105b8015612b40575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b6000805490506000821415612b90576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612b9d6000848385612e7c565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550612c1483612c056000866000612e82565b612c0e85613219565b17612eaa565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b818114612cb557808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050612c7a565b506000821415612cf1576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806000819055505050612d076000848385612ed5565b505050565b600033905090565b600082612d218584613229565b1490509392505050565b6000612d35612d3e565b60005403905090565b600090565b60008082905080612d52612d3e565b11612dda57600054811015612dd95760006004600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082161415612dd7575b6000811415612dcd576004600083600190039350838152602001908152602001600020549050612da2565b8092505050612e0c565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8612e9986868461327f565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6000612710905090565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612fb3613406565b612fcf6004600084815260200190815260200160002054613288565b9050919050565b60008054905090565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613005612b47565b8786866040518563ffffffff1660e01b81526004016130279493929190614c8f565b602060405180830381600087803b15801561304157600080fd5b505af192505050801561307257506040513d601f19601f8201168201806040525081019061306f9190614cf0565b60015b6130ec573d80600081146130a2576040519150601f19603f3d011682016040523d82523d6000602084013e6130a7565b606091505b506000815114156130e4576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b613147613406565b61315861315383612d43565b613288565b9050919050565b606060806040510190508060405280825b60011561319b57600183039250600a81066030018353600a81049050806131965761319b565b613170565b508181036020830392508083525050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60006001821460e11b9050919050565b60008082905060005b84518110156132745761325f8286838151811061325257613251614836565b5b602002602001015161333e565b9150808061326c90614d1d565b915050613232565b508091505092915050565b60009392505050565b613290613406565b81816000019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505060a082901c816020019067ffffffffffffffff16908167ffffffffffffffff168152505060007c01000000000000000000000000000000000000000000000000000000008316141581604001901515908115158152505060e882901c816060019062ffffff16908162ffffff1681525050919050565b6000818310613356576133518284613369565b613361565b6133608383613369565b5b905092915050565b600082600052816020526040600020905092915050565b82805461338c906141fc565b90600052602060002090601f0160209004810192826133ae57600085556133f5565b82601f106133c757805160ff19168380011785556133f5565b828001600101855582156133f5579182015b828111156133f45782518255916020019190600101906133d9565b5b5090506134029190613455565b5090565b6040518060800160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff168152602001600015158152602001600062ffffff1681525090565b5b8082111561346e576000816000905550600101613456565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6134bb81613486565b81146134c657600080fd5b50565b6000813590506134d8816134b2565b92915050565b6000602082840312156134f4576134f361347c565b5b6000613502848285016134c9565b91505092915050565b60008115159050919050565b6135208161350b565b82525050565b600060208201905061353b6000830184613517565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061356c82613541565b9050919050565b61357c81613561565b811461358757600080fd5b50565b60008135905061359981613573565b92915050565b60006bffffffffffffffffffffffff82169050919050565b6135c08161359f565b81146135cb57600080fd5b50565b6000813590506135dd816135b7565b92915050565b600080604083850312156135fa576135f961347c565b5b60006136088582860161358a565b9250506020613619858286016135ce565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561365d578082015181840152602081019050613642565b8381111561366c576000848401525b50505050565b6000601f19601f8301169050919050565b600061368e82613623565b613698818561362e565b93506136a881856020860161363f565b6136b181613672565b840191505092915050565b600060208201905081810360008301526136d68184613683565b905092915050565b6000819050919050565b6136f1816136de565b81146136fc57600080fd5b50565b60008135905061370e816136e8565b92915050565b60006020828403121561372a5761372961347c565b5b6000613738848285016136ff565b91505092915050565b61374a81613561565b82525050565b60006020820190506137656000830184613741565b92915050565b600080604083850312156137825761378161347c565b5b60006137908582860161358a565b92505060206137a1858286016136ff565b9150509250929050565b6000602082840312156137c1576137c061347c565b5b60006137cf8482850161358a565b91505092915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61381582613672565b810181811067ffffffffffffffff82111715613834576138336137dd565b5b80604052505050565b6000613847613472565b9050613853828261380c565b919050565b600067ffffffffffffffff821115613873576138726137dd565b5b602082029050602081019050919050565b600080fd5b6000819050919050565b61389c81613889565b81146138a757600080fd5b50565b6000813590506138b981613893565b92915050565b60006138d26138cd84613858565b61383d565b905080838252602082019050602084028301858111156138f5576138f4613884565b5b835b8181101561391e578061390a88826138aa565b8452602084019350506020810190506138f7565b5050509392505050565b600082601f83011261393d5761393c6137d8565b5b813561394d8482602086016138bf565b91505092915050565b60008060006060848603121561396f5761396e61347c565b5b600084013567ffffffffffffffff81111561398d5761398c613481565b5b61399986828701613928565b93505060206139aa868287016136ff565b92505060406139bb868287016136ff565b9150509250925092565b6139ce816136de565b82525050565b60006020820190506139e960008301846139c5565b92915050565b600080600060608486031215613a0857613a0761347c565b5b6000613a168682870161358a565b9350506020613a278682870161358a565b9250506040613a38868287016136ff565b9150509250925092565b60008060408385031215613a5957613a5861347c565b5b6000613a67858286016136ff565b9250506020613a78858286016136ff565b9150509250929050565b6000604082019050613a976000830185613741565b613aa460208301846139c5565b9392505050565b613ab481613889565b82525050565b6000602082019050613acf6000830184613aab565b92915050565b600080fd5b600067ffffffffffffffff821115613af557613af46137dd565b5b613afe82613672565b9050602081019050919050565b82818337600083830152505050565b6000613b2d613b2884613ada565b61383d565b905082815260208101848484011115613b4957613b48613ad5565b5b613b54848285613b0b565b509392505050565b600082601f830112613b7157613b706137d8565b5b8135613b81848260208601613b1a565b91505092915050565b600060208284031215613ba057613b9f61347c565b5b600082013567ffffffffffffffff811115613bbe57613bbd613481565b5b613bca84828501613b5c565b91505092915050565b600080fd5b60008083601f840112613bee57613bed6137d8565b5b8235905067ffffffffffffffff811115613c0b57613c0a613bd3565b5b602083019150836020820283011115613c2757613c26613884565b5b9250929050565b60008060208385031215613c4557613c4461347c565b5b600083013567ffffffffffffffff811115613c6357613c62613481565b5b613c6f85828601613bd8565b92509250509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613cb081613561565b82525050565b600067ffffffffffffffff82169050919050565b613cd381613cb6565b82525050565b613ce28161350b565b82525050565b600062ffffff82169050919050565b613d0081613ce8565b82525050565b608082016000820151613d1c6000850182613ca7565b506020820151613d2f6020850182613cca565b506040820151613d426040850182613cd9565b506060820151613d556060850182613cf7565b50505050565b6000613d678383613d06565b60808301905092915050565b6000602082019050919050565b6000613d8b82613c7b565b613d958185613c86565b9350613da083613c97565b8060005b83811015613dd1578151613db88882613d5b565b9750613dc383613d73565b925050600181019050613da4565b5085935050505092915050565b60006020820190508181036000830152613df88184613d80565b905092915050565b600060208284031215613e1657613e1561347c565b5b6000613e24848285016138aa565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613e62816136de565b82525050565b6000613e748383613e59565b60208301905092915050565b6000602082019050919050565b6000613e9882613e2d565b613ea28185613e38565b9350613ead83613e49565b8060005b83811015613ede578151613ec58882613e68565b9750613ed083613e80565b925050600181019050613eb1565b5085935050505092915050565b60006020820190508181036000830152613f058184613e8d565b905092915050565b600080600060608486031215613f2657613f2561347c565b5b6000613f348682870161358a565b9350506020613f45868287016136ff565b9250506040613f56868287016136ff565b9150509250925092565b613f698161350b565b8114613f7457600080fd5b50565b600081359050613f8681613f60565b92915050565b60008060408385031215613fa357613fa261347c565b5b6000613fb18582860161358a565b9250506020613fc285828601613f77565b9150509250929050565b600067ffffffffffffffff821115613fe757613fe66137dd565b5b613ff082613672565b9050602081019050919050565b600061401061400b84613fcc565b61383d565b90508281526020810184848401111561402c5761402b613ad5565b5b614037848285613b0b565b509392505050565b600082601f830112614054576140536137d8565b5b8135614064848260208601613ffd565b91505092915050565b600080600080608085870312156140875761408661347c565b5b60006140958782880161358a565b94505060206140a68782880161358a565b93505060406140b7878288016136ff565b925050606085013567ffffffffffffffff8111156140d8576140d7613481565b5b6140e48782880161403f565b91505092959194509250565b6080820160008201516141066000850182613ca7565b5060208201516141196020850182613cca565b50604082015161412c6040850182613cd9565b50606082015161413f6060850182613cf7565b50505050565b600060808201905061415a60008301846140f0565b92915050565b6000602082840312156141765761417561347c565b5b600061418484828501613f77565b91505092915050565b600080604083850312156141a4576141a361347c565b5b60006141b28582860161358a565b92505060206141c38582860161358a565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061421457607f821691505b60208210811415614228576142276141cd565b5b50919050565b7f696e76616c696420726563656976657200000000000000000000000000000000600082015250565b600061426460108361362e565b915061426f8261422e565b602082019050919050565b6000602082019050818103600083015261429381614257565b9050919050565b7f696e76616c6964206d696e7420726f756e640000000000000000000000000000600082015250565b60006142d060128361362e565b91506142db8261429a565b602082019050919050565b600060208201905081810360008301526142ff816142c3565b9050919050565b7f7465616d206d696e746564000000000000000000000000000000000000000000600082015250565b600061433c600b8361362e565b915061434782614306565b602082019050919050565b6000602082019050818103600083015261436b8161432f565b9050919050565b7f5468652063616c6c6572206973206e6f742077616c6c65740000000000000000600082015250565b60006143a860188361362e565b91506143b382614372565b602082019050919050565b600060208201905081810360008301526143d78161439b565b9050919050565b7f6d65726b6c6520726f6f74206973206e6f742079657420736574000000000000600082015250565b6000614414601a8361362e565b915061441f826143de565b602082019050919050565b6000602082019050818103600083015261444381614407565b9050919050565b60008160601b9050919050565b60006144628261444a565b9050919050565b600061447482614457565b9050919050565b61448c61448782613561565b614469565b82525050565b6000819050919050565b6144ad6144a8826136de565b614492565b82525050565b60006144bf828761447b565b6014820191506144cf828661447b565b6014820191506144df828561449c565b6020820191506144ef828461449c565b60208201915081905095945050505050565b7f696e76616c6964206d65726b6c652070726f6f66000000000000000000000000600082015250565b600061453760148361362e565b915061454282614501565b602082019050919050565b600060208201905081810360008301526145668161452a565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006145a7826136de565b91506145b2836136de565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156145e7576145e661456d565b5b828201905092915050565b7f657863656564206d6178207175616e7469747920666f72206d696e7400000000600082015250565b6000614628601c8361362e565b9150614633826145f2565b602082019050919050565b600060208201905081810360008301526146578161461b565b9050919050565b7f657863656564206d696e7420616d6f756e740000000000000000000000000000600082015250565b600061469460128361362e565b915061469f8261465e565b602082019050919050565b600060208201905081810360008301526146c381614687565b9050919050565b60006146d5826136de565b91506146e0836136de565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156147195761471861456d565b5b828202905092915050565b7f696e73756666696369656e742065746865720000000000000000000000000000600082015250565b600061475a60128361362e565b915061476582614724565b602082019050919050565b600060208201905081810360008301526147898161474d565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006147ca826136de565b91506147d5836136de565b9250826147e5576147e4614790565b5b828204905092915050565b600081905092915050565b50565b600061480b6000836147f0565b9150614816826147fb565b600082019050919050565b600061482c826147fe565b9150819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f657863656564206d617820737570706c79000000000000000000000000000000600082015250565b600061489b60118361362e565b91506148a682614865565b602082019050919050565b600060208201905081810360008301526148ca8161488e565b9050919050565b7f55524920717565727920666f72206e6f6e206578697374656e7420746f6b656e600082015250565b600061490760208361362e565b9150614912826148d1565b602082019050919050565b60006020820190508181036000830152614936816148fa565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b6000815461496a816141fc565b614974818661493d565b9450600182166000811461498f57600181146149a0576149d3565b60ff198316865281860193506149d3565b6149a985614948565b60005b838110156149cb578154818901526001820191506020810190506149ac565b838801955050505b50505092915050565b60006149e782613623565b6149f1818561493d565b9350614a0181856020860161363f565b80840191505092915050565b6000614a19828661495d565b9150614a2582856149dc565b9150614a31828461495d565b9150819050949350505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614a9a60268361362e565b9150614aa582614a3e565b604082019050919050565b60006020820190508181036000830152614ac981614a8d565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614b0660208361362e565b9150614b1182614ad0565b602082019050919050565b60006020820190508181036000830152614b3581614af9565b9050919050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b6000614b98602a8361362e565b9150614ba382614b3c565b604082019050919050565b60006020820190508181036000830152614bc781614b8b565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b6000614c0460198361362e565b9150614c0f82614bce565b602082019050919050565b60006020820190508181036000830152614c3381614bf7565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000614c6182614c3a565b614c6b8185614c45565b9350614c7b81856020860161363f565b614c8481613672565b840191505092915050565b6000608082019050614ca46000830187613741565b614cb16020830186613741565b614cbe60408301856139c5565b8181036060830152614cd08184614c56565b905095945050505050565b600081519050614cea816134b2565b92915050565b600060208284031215614d0657614d0561347c565b5b6000614d1484828501614cdb565b91505092915050565b6000614d28826136de565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614d5b57614d5a61456d565b5b60018201905091905056fea2646970667358221220a4ca4cecb732d3e017cd8eb3b0faa8b4fd589add1afae295664f916d8ed61f0c64736f6c6343000809003368747470733a2f2f7261772e67697468756275736572636f6e74656e742e636f6d2f4172746172692d70756e6b2f57686974656c6973742d446170702f6d61696e2f6d657461646174612e6a736f6e

Deployed Bytecode

0x6080604052600436106102e45760003560e01c80636583c2d611610190578063a22cb465116100dc578063c87b56dd11610095578063e268e4d31161006f578063e268e4d314610b2e578063e985e9c514610b57578063f2fde38b14610b94578063f6a42ff314610bbd576102e4565b8063c87b56dd14610a9d578063d1eae80314610ada578063e0a8085314610b05576102e4565b8063a22cb4651461098f578063a45ba8e7146109b8578063b2c94ee6146109e3578063b3bcea4814610a0c578063b88d4fde14610a37578063c23dc68f14610a60576102e4565b80637ff9b596116101495780638da5cb5b116101235780638da5cb5b146108d157806395d89b41146108fc57806399a2557a14610927578063a0c5407814610964576102e4565b80637ff9b596146108405780638462151c1461086b5780638be18e57146108a8576102e4565b80636583c2d6146107465780636a04c90e1461076f5780636a61e5fc1461079a57806370a08231146107c3578063715018a6146108005780637cb6475914610817576102e4565b80632eb4a7ab1161024f578063453c23101161020857806351830227116101e257806351830227146106765780635639e8cf146106a15780635bbb2177146106cc5780636352211e14610709576102e4565b8063453c2310146105e5578063480d94a3146106105780634fdd43cb1461064d576102e4565b80632eb4a7ab146104f957806331c2a73d1461052457806332cb6b0c1461054f578063351509a81461057a5780633ccfd60b146105a557806342842e0e146105bc576102e4565b806314bf9af6116102a157806314bf9af61461040957806318160ddd146104255780631c9bfe4f146104505780631e8d53101461047b57806323b872dd146104925780632a55205a146104bb576102e4565b806301ffc9a7146102e957806304634d8d1461032657806306fdde031461034f578063081812fc1461037a578063095ea7b3146103b7578063110608b4146103e0575b600080fd5b3480156102f557600080fd5b50610310600480360381019061030b91906134de565b610be6565b60405161031d9190613526565b60405180910390f35b34801561033257600080fd5b5061034d600480360381019061034891906135e3565b610c08565b005b34801561035b57600080fd5b50610364610c1e565b60405161037191906136bc565b60405180910390f35b34801561038657600080fd5b506103a1600480360381019061039c9190613714565b610cb0565b6040516103ae9190613750565b60405180910390f35b3480156103c357600080fd5b506103de60048036038101906103d9919061376b565b610d2f565b005b3480156103ec57600080fd5b50610407600480360381019061040291906137ab565b610e73565b005b610423600480360381019061041e9190613956565b610f8b565b005b34801561043157600080fd5b5061043a611325565b60405161044791906139d4565b60405180910390f35b34801561045c57600080fd5b5061046561133c565b60405161047291906139d4565b60405180910390f35b34801561048757600080fd5b50610490611341565b005b34801561049e57600080fd5b506104b960048036038101906104b491906139ef565b611376565b005b3480156104c757600080fd5b506104e260048036038101906104dd9190613a42565b61169b565b6040516104f0929190613a82565b60405180910390f35b34801561050557600080fd5b5061050e611886565b60405161051b9190613aba565b60405180910390f35b34801561053057600080fd5b5061053961188c565b60405161054691906139d4565b60405180910390f35b34801561055b57600080fd5b50610564611892565b60405161057191906139d4565b60405180910390f35b34801561058657600080fd5b5061058f611898565b60405161059c9190613750565b60405180910390f35b3480156105b157600080fd5b506105ba6118b0565b005b3480156105c857600080fd5b506105e360048036038101906105de91906139ef565b6119e8565b005b3480156105f157600080fd5b506105fa611a08565b60405161060791906139d4565b60405180910390f35b34801561061c57600080fd5b506106376004803603810190610632919061376b565b611a0e565b60405161064491906139d4565b60405180910390f35b34801561065957600080fd5b50610674600480360381019061066f9190613b8a565b611a33565b005b34801561068257600080fd5b5061068b611a55565b6040516106989190613526565b60405180910390f35b3480156106ad57600080fd5b506106b6611a68565b6040516106c39190613750565b60405180910390f35b3480156106d857600080fd5b506106f360048036038101906106ee9190613c2e565b611a80565b6040516107009190613dde565b60405180910390f35b34801561071557600080fd5b50610730600480360381019061072b9190613714565b611b43565b60405161073d9190613750565b60405180910390f35b34801561075257600080fd5b5061076d60048036038101906107689190613714565b611b55565b005b34801561077b57600080fd5b50610784611bac565b60405161079191906139d4565b60405180910390f35b3480156107a657600080fd5b506107c160048036038101906107bc9190613714565b611bb2565b005b3480156107cf57600080fd5b506107ea60048036038101906107e591906137ab565b611bc4565b6040516107f791906139d4565b60405180910390f35b34801561080c57600080fd5b50610815611c7d565b005b34801561082357600080fd5b5061083e60048036038101906108399190613e00565b611c91565b005b34801561084c57600080fd5b50610855611ca3565b60405161086291906139d4565b60405180910390f35b34801561087757600080fd5b50610892600480360381019061088d91906137ab565b611ca9565b60405161089f9190613eeb565b60405180910390f35b3480156108b457600080fd5b506108cf60048036038101906108ca9190613b8a565b611df3565b005b3480156108dd57600080fd5b506108e6611e15565b6040516108f39190613750565b60405180910390f35b34801561090857600080fd5b50610911611e3f565b60405161091e91906136bc565b60405180910390f35b34801561093357600080fd5b5061094e60048036038101906109499190613f0d565b611ed1565b60405161095b9190613eeb565b60405180910390f35b34801561097057600080fd5b506109796120e5565b60405161098691906136bc565b60405180910390f35b34801561099b57600080fd5b506109b660048036038101906109b19190613f8c565b612173565b005b3480156109c457600080fd5b506109cd6122eb565b6040516109da91906136bc565b60405180910390f35b3480156109ef57600080fd5b50610a0a6004803603810190610a059190613b8a565b612379565b005b348015610a1857600080fd5b50610a2161239b565b604051610a2e91906136bc565b60405180910390f35b348015610a4357600080fd5b50610a5e6004803603810190610a59919061406d565b612429565b005b348015610a6c57600080fd5b50610a876004803603810190610a829190613714565b61249c565b604051610a949190614145565b60405180910390f35b348015610aa957600080fd5b50610ac46004803603810190610abf9190613714565b612506565b604051610ad191906136bc565b60405180910390f35b348015610ae657600080fd5b50610aef612661565b604051610afc91906139d4565b60405180910390f35b348015610b1157600080fd5b50610b2c6004803603810190610b279190614160565b612667565b005b348015610b3a57600080fd5b50610b556004803603810190610b509190613714565b61268c565b005b348015610b6357600080fd5b50610b7e6004803603810190610b79919061418d565b61269e565b604051610b8b9190613526565b60405180910390f35b348015610ba057600080fd5b50610bbb6004803603810190610bb691906137ab565b612732565b005b348015610bc957600080fd5b50610be46004803603810190610bdf9190613714565b6127b6565b005b6000610bf1826127c8565b80610c015750610c008261285a565b5b9050919050565b610c106128d4565b610c1a8282612952565b5050565b606060028054610c2d906141fc565b80601f0160208091040260200160405190810160405280929190818152602001828054610c59906141fc565b8015610ca65780601f10610c7b57610100808354040283529160200191610ca6565b820191906000526020600020905b815481529060010190602001808311610c8957829003601f168201915b5050505050905090565b6000610cbb82612ae8565b610cf1576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610d3a82611b43565b90508073ffffffffffffffffffffffffffffffffffffffff16610d5b612b47565b73ffffffffffffffffffffffffffffffffffffffff1614610dbe57610d8781610d82612b47565b61269e565b610dbd576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b610e7b6128d4565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610eeb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee29061427a565b60405180910390fd5b601454600114610f30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f27906142e6565b60405180910390fd5b600060155414610f75576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6c90614352565b60405180910390fd5b6001601581905550610f888160c8612b4f565b50565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614610ff9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ff0906143be565b60405180910390fd5b6014546002148061100c57506014546003145b8061101957506014546004145b611058576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104f906142e6565b60405180910390fd5b6014546002148061106b57506014546003145b15611140576000801b60105414156110b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110af9061442a565b60405180910390fd5b6000306110c3612d0c565b846014546040516020016110da94939291906144b3565b6040516020818303038152906040528051906020012090506110ff8460105483612d14565b61113e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111359061454d565b60405180910390fd5b505b601454600414156111515760125491505b6013548161115d612d2b565b611167919061459c565b11156111a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119f9061463e565b60405180910390fd5b8181601660006111b6612d0c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600060145481526020019081526020016000205461120e919061459c565b111561124f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611246906146aa565b60405180910390fd5b8060115461125d91906146ca565b34101561129f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129690614770565b60405180910390fd5b80601660006112ac612d0c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600060145481526020019081526020016000206000828254611308919061459c565b9250508190555061132061131a612d0c565b82612b4f565b505050565b600061132f612d3e565b6001546000540303905090565b60c881565b6113496128d4565b730508da03cd0e523ccded37fa1e2d5fdf7773c0fd73ffffffffffffffffffffffffffffffffffffffff16ff5b600061138182612d43565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146113e8576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000806113f484612e11565b9150915061140a8187611405612b47565b612e38565b6114565761141f8661141a612b47565b61269e565b611455576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156114bd576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6114ca8686866001612e7c565b80156114d557600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055506115a38561157f888887612e82565b7c020000000000000000000000000000000000000000000000000000000017612eaa565b600460008681526020019081526020016000208190555060007c02000000000000000000000000000000000000000000000000000000008416141561162b576000600185019050600060046000838152602001908152602001600020541415611629576000548114611628578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46116938686866001612ed5565b505050505050565b6000806000600a60008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614156118315760096040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b600061183b612edb565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff168661186791906146ca565b61187191906147bf565b90508160000151819350935050509250929050565b60105481565b60155481565b610d0581565b730508da03cd0e523ccded37fa1e2d5fdf7773c0fd81565b6118b86128d4565b600073ec98863460e0fcdb528b6131869604aa0a1d443273ffffffffffffffffffffffffffffffffffffffff1660646005476118f491906146ca565b6118fe91906147bf565b60405161190a90614821565b60006040518083038185875af1925050503d8060008114611947576040519150601f19603f3d011682016040523d82523d6000602084013e61194c565b606091505b505090508061195a57600080fd5b6000730508da03cd0e523ccded37fa1e2d5fdf7773c0fd73ffffffffffffffffffffffffffffffffffffffff164760405161199490614821565b60006040518083038185875af1925050503d80600081146119d1576040519150601f19603f3d011682016040523d82523d6000602084013e6119d6565b606091505b50509050806119e457600080fd5b5050565b611a0383838360405180602001604052806000815250612429565b505050565b60125481565b6016602052816000526040600020602052806000526040600020600091509150505481565b611a3b6128d4565b80600e9080519060200190611a51929190613380565b5050565b600f60009054906101000a900460ff1681565b73ec98863460e0fcdb528b6131869604aa0a1d443281565b6060600083839050905060008167ffffffffffffffff811115611aa657611aa56137dd565b5b604051908082528060200260200182016040528015611adf57816020015b611acc613406565b815260200190600190039081611ac45790505b50905060005b828114611b3757611b0e868683818110611b0257611b01614836565b5b9050602002013561249c565b828281518110611b2157611b20614836565b5b6020026020010181905250806001019050611ae5565b50809250505092915050565b6000611b4e82612d43565b9050919050565b611b5d6128d4565b610d05811115611ba2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b99906148b1565b60405180910390fd5b8060138190555050565b60145481565b611bba6128d4565b8060118190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611c2c576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611c856128d4565b611c8f6000612ee5565b565b611c996128d4565b8060108190555050565b60115481565b60606000806000611cb985611bc4565b905060008167ffffffffffffffff811115611cd757611cd66137dd565b5b604051908082528060200260200182016040528015611d055781602001602082028036833780820191505090505b509050611d10613406565b6000611d1a612d3e565b90505b838614611de557611d2d81612fab565b9150816040015115611d3e57611dda565b600073ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614611d7e57816000015194505b8773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415611dd95780838780600101985081518110611dcc57611dcb614836565b5b6020026020010181815250505b5b806001019050611d1d565b508195505050505050919050565b611dfb6128d4565b80600d9080519060200190611e11929190613380565b5050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060038054611e4e906141fc565b80601f0160208091040260200160405190810160405280929190818152602001828054611e7a906141fc565b8015611ec75780601f10611e9c57610100808354040283529160200191611ec7565b820191906000526020600020905b815481529060010190602001808311611eaa57829003601f168201915b5050505050905090565b6060818310611f0c576040517f32c1995a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080611f17612fd6565b9050611f21612d3e565b851015611f3357611f30612d3e565b94505b80841115611f3f578093505b6000611f4a87611bc4565b905084861015611f6d576000868603905081811015611f67578091505b50611f72565b600090505b60008167ffffffffffffffff811115611f8e57611f8d6137dd565b5b604051908082528060200260200182016040528015611fbc5781602001602082028036833780820191505090505b5090506000821415611fd457809450505050506120de565b6000611fdf8861249c565b905060008160400151611ff457816000015190505b60008990505b88811415801561200a5750848714155b156120d05761201881612fab565b9250826040015115612029576120c5565b600073ffffffffffffffffffffffffffffffffffffffff16836000015173ffffffffffffffffffffffffffffffffffffffff161461206957826000015191505b8a73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156120c457808488806001019950815181106120b7576120b6614836565b5b6020026020010181815250505b5b806001019050611ffa565b508583528296505050505050505b9392505050565b600c80546120f2906141fc565b80601f016020809104026020016040519081016040528092919081815260200182805461211e906141fc565b801561216b5780601f106121405761010080835404028352916020019161216b565b820191906000526020600020905b81548152906001019060200180831161214e57829003601f168201915b505050505081565b61217b612b47565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156121e0576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600760006121ed612b47565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661229a612b47565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516122df9190613526565b60405180910390a35050565b600e80546122f8906141fc565b80601f0160208091040260200160405190810160405280929190818152602001828054612324906141fc565b80156123715780601f1061234657610100808354040283529160200191612371565b820191906000526020600020905b81548152906001019060200180831161235457829003601f168201915b505050505081565b6123816128d4565b80600c9080519060200190612397929190613380565b5050565b600d80546123a8906141fc565b80601f01602080910402602001604051908101604052809291908181526020018280546123d4906141fc565b80156124215780601f106123f657610100808354040283529160200191612421565b820191906000526020600020905b81548152906001019060200180831161240457829003601f168201915b505050505081565b612434848484611376565b60008373ffffffffffffffffffffffffffffffffffffffff163b146124965761245f84848484612fdf565b612495576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b6124a4613406565b6124ac613406565b6124b4612d3e565b8310806124c857506124c4612fd6565b8310155b156124d65780915050612501565b6124df83612fab565b90508060400151156124f45780915050612501565b6124fd8361313f565b9150505b919050565b606061251182612ae8565b612550576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125479061491d565b60405180910390fd5b60001515600f60009054906101000a900460ff16151514156125fe57600e8054612579906141fc565b80601f01602080910402602001604051908101604052809291908181526020018280546125a5906141fc565b80156125f25780601f106125c7576101008083540402835291602001916125f2565b820191906000526020600020905b8154815290600101906020018083116125d557829003601f168201915b5050505050905061265c565b6000600c805461260d906141fc565b9050141561262a5760405180602001604052806000815250612659565b600c6126358361315f565b600d60405160200161264993929190614a0d565b6040516020818303038152906040525b90505b919050565b60135481565b61266f6128d4565b80600f60006101000a81548160ff02191690831515021790555050565b6126946128d4565b8060128190555050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61273a6128d4565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156127aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127a190614ab0565b60405180910390fd5b6127b381612ee5565b50565b6127be6128d4565b8060148190555050565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061282357506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806128535750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806128cd57506128cc826131af565b5b9050919050565b6128dc612d0c565b73ffffffffffffffffffffffffffffffffffffffff166128fa611e15565b73ffffffffffffffffffffffffffffffffffffffff1614612950576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161294790614b1c565b60405180910390fd5b565b61295a612edb565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff1611156129b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129af90614bae565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612a28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a1f90614c1a565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600960008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b600081612af3612d3e565b11158015612b02575060005482105b8015612b40575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b6000805490506000821415612b90576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612b9d6000848385612e7c565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550612c1483612c056000866000612e82565b612c0e85613219565b17612eaa565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b818114612cb557808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050612c7a565b506000821415612cf1576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806000819055505050612d076000848385612ed5565b505050565b600033905090565b600082612d218584613229565b1490509392505050565b6000612d35612d3e565b60005403905090565b600090565b60008082905080612d52612d3e565b11612dda57600054811015612dd95760006004600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082161415612dd7575b6000811415612dcd576004600083600190039350838152602001908152602001600020549050612da2565b8092505050612e0c565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8612e9986868461327f565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6000612710905090565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612fb3613406565b612fcf6004600084815260200190815260200160002054613288565b9050919050565b60008054905090565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613005612b47565b8786866040518563ffffffff1660e01b81526004016130279493929190614c8f565b602060405180830381600087803b15801561304157600080fd5b505af192505050801561307257506040513d601f19601f8201168201806040525081019061306f9190614cf0565b60015b6130ec573d80600081146130a2576040519150601f19603f3d011682016040523d82523d6000602084013e6130a7565b606091505b506000815114156130e4576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b613147613406565b61315861315383612d43565b613288565b9050919050565b606060806040510190508060405280825b60011561319b57600183039250600a81066030018353600a81049050806131965761319b565b613170565b508181036020830392508083525050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60006001821460e11b9050919050565b60008082905060005b84518110156132745761325f8286838151811061325257613251614836565b5b602002602001015161333e565b9150808061326c90614d1d565b915050613232565b508091505092915050565b60009392505050565b613290613406565b81816000019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505060a082901c816020019067ffffffffffffffff16908167ffffffffffffffff168152505060007c01000000000000000000000000000000000000000000000000000000008316141581604001901515908115158152505060e882901c816060019062ffffff16908162ffffff1681525050919050565b6000818310613356576133518284613369565b613361565b6133608383613369565b5b905092915050565b600082600052816020526040600020905092915050565b82805461338c906141fc565b90600052602060002090601f0160209004810192826133ae57600085556133f5565b82601f106133c757805160ff19168380011785556133f5565b828001600101855582156133f5579182015b828111156133f45782518255916020019190600101906133d9565b5b5090506134029190613455565b5090565b6040518060800160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff168152602001600015158152602001600062ffffff1681525090565b5b8082111561346e576000816000905550600101613456565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6134bb81613486565b81146134c657600080fd5b50565b6000813590506134d8816134b2565b92915050565b6000602082840312156134f4576134f361347c565b5b6000613502848285016134c9565b91505092915050565b60008115159050919050565b6135208161350b565b82525050565b600060208201905061353b6000830184613517565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061356c82613541565b9050919050565b61357c81613561565b811461358757600080fd5b50565b60008135905061359981613573565b92915050565b60006bffffffffffffffffffffffff82169050919050565b6135c08161359f565b81146135cb57600080fd5b50565b6000813590506135dd816135b7565b92915050565b600080604083850312156135fa576135f961347c565b5b60006136088582860161358a565b9250506020613619858286016135ce565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561365d578082015181840152602081019050613642565b8381111561366c576000848401525b50505050565b6000601f19601f8301169050919050565b600061368e82613623565b613698818561362e565b93506136a881856020860161363f565b6136b181613672565b840191505092915050565b600060208201905081810360008301526136d68184613683565b905092915050565b6000819050919050565b6136f1816136de565b81146136fc57600080fd5b50565b60008135905061370e816136e8565b92915050565b60006020828403121561372a5761372961347c565b5b6000613738848285016136ff565b91505092915050565b61374a81613561565b82525050565b60006020820190506137656000830184613741565b92915050565b600080604083850312156137825761378161347c565b5b60006137908582860161358a565b92505060206137a1858286016136ff565b9150509250929050565b6000602082840312156137c1576137c061347c565b5b60006137cf8482850161358a565b91505092915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61381582613672565b810181811067ffffffffffffffff82111715613834576138336137dd565b5b80604052505050565b6000613847613472565b9050613853828261380c565b919050565b600067ffffffffffffffff821115613873576138726137dd565b5b602082029050602081019050919050565b600080fd5b6000819050919050565b61389c81613889565b81146138a757600080fd5b50565b6000813590506138b981613893565b92915050565b60006138d26138cd84613858565b61383d565b905080838252602082019050602084028301858111156138f5576138f4613884565b5b835b8181101561391e578061390a88826138aa565b8452602084019350506020810190506138f7565b5050509392505050565b600082601f83011261393d5761393c6137d8565b5b813561394d8482602086016138bf565b91505092915050565b60008060006060848603121561396f5761396e61347c565b5b600084013567ffffffffffffffff81111561398d5761398c613481565b5b61399986828701613928565b93505060206139aa868287016136ff565b92505060406139bb868287016136ff565b9150509250925092565b6139ce816136de565b82525050565b60006020820190506139e960008301846139c5565b92915050565b600080600060608486031215613a0857613a0761347c565b5b6000613a168682870161358a565b9350506020613a278682870161358a565b9250506040613a38868287016136ff565b9150509250925092565b60008060408385031215613a5957613a5861347c565b5b6000613a67858286016136ff565b9250506020613a78858286016136ff565b9150509250929050565b6000604082019050613a976000830185613741565b613aa460208301846139c5565b9392505050565b613ab481613889565b82525050565b6000602082019050613acf6000830184613aab565b92915050565b600080fd5b600067ffffffffffffffff821115613af557613af46137dd565b5b613afe82613672565b9050602081019050919050565b82818337600083830152505050565b6000613b2d613b2884613ada565b61383d565b905082815260208101848484011115613b4957613b48613ad5565b5b613b54848285613b0b565b509392505050565b600082601f830112613b7157613b706137d8565b5b8135613b81848260208601613b1a565b91505092915050565b600060208284031215613ba057613b9f61347c565b5b600082013567ffffffffffffffff811115613bbe57613bbd613481565b5b613bca84828501613b5c565b91505092915050565b600080fd5b60008083601f840112613bee57613bed6137d8565b5b8235905067ffffffffffffffff811115613c0b57613c0a613bd3565b5b602083019150836020820283011115613c2757613c26613884565b5b9250929050565b60008060208385031215613c4557613c4461347c565b5b600083013567ffffffffffffffff811115613c6357613c62613481565b5b613c6f85828601613bd8565b92509250509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613cb081613561565b82525050565b600067ffffffffffffffff82169050919050565b613cd381613cb6565b82525050565b613ce28161350b565b82525050565b600062ffffff82169050919050565b613d0081613ce8565b82525050565b608082016000820151613d1c6000850182613ca7565b506020820151613d2f6020850182613cca565b506040820151613d426040850182613cd9565b506060820151613d556060850182613cf7565b50505050565b6000613d678383613d06565b60808301905092915050565b6000602082019050919050565b6000613d8b82613c7b565b613d958185613c86565b9350613da083613c97565b8060005b83811015613dd1578151613db88882613d5b565b9750613dc383613d73565b925050600181019050613da4565b5085935050505092915050565b60006020820190508181036000830152613df88184613d80565b905092915050565b600060208284031215613e1657613e1561347c565b5b6000613e24848285016138aa565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613e62816136de565b82525050565b6000613e748383613e59565b60208301905092915050565b6000602082019050919050565b6000613e9882613e2d565b613ea28185613e38565b9350613ead83613e49565b8060005b83811015613ede578151613ec58882613e68565b9750613ed083613e80565b925050600181019050613eb1565b5085935050505092915050565b60006020820190508181036000830152613f058184613e8d565b905092915050565b600080600060608486031215613f2657613f2561347c565b5b6000613f348682870161358a565b9350506020613f45868287016136ff565b9250506040613f56868287016136ff565b9150509250925092565b613f698161350b565b8114613f7457600080fd5b50565b600081359050613f8681613f60565b92915050565b60008060408385031215613fa357613fa261347c565b5b6000613fb18582860161358a565b9250506020613fc285828601613f77565b9150509250929050565b600067ffffffffffffffff821115613fe757613fe66137dd565b5b613ff082613672565b9050602081019050919050565b600061401061400b84613fcc565b61383d565b90508281526020810184848401111561402c5761402b613ad5565b5b614037848285613b0b565b509392505050565b600082601f830112614054576140536137d8565b5b8135614064848260208601613ffd565b91505092915050565b600080600080608085870312156140875761408661347c565b5b60006140958782880161358a565b94505060206140a68782880161358a565b93505060406140b7878288016136ff565b925050606085013567ffffffffffffffff8111156140d8576140d7613481565b5b6140e48782880161403f565b91505092959194509250565b6080820160008201516141066000850182613ca7565b5060208201516141196020850182613cca565b50604082015161412c6040850182613cd9565b50606082015161413f6060850182613cf7565b50505050565b600060808201905061415a60008301846140f0565b92915050565b6000602082840312156141765761417561347c565b5b600061418484828501613f77565b91505092915050565b600080604083850312156141a4576141a361347c565b5b60006141b28582860161358a565b92505060206141c38582860161358a565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061421457607f821691505b60208210811415614228576142276141cd565b5b50919050565b7f696e76616c696420726563656976657200000000000000000000000000000000600082015250565b600061426460108361362e565b915061426f8261422e565b602082019050919050565b6000602082019050818103600083015261429381614257565b9050919050565b7f696e76616c6964206d696e7420726f756e640000000000000000000000000000600082015250565b60006142d060128361362e565b91506142db8261429a565b602082019050919050565b600060208201905081810360008301526142ff816142c3565b9050919050565b7f7465616d206d696e746564000000000000000000000000000000000000000000600082015250565b600061433c600b8361362e565b915061434782614306565b602082019050919050565b6000602082019050818103600083015261436b8161432f565b9050919050565b7f5468652063616c6c6572206973206e6f742077616c6c65740000000000000000600082015250565b60006143a860188361362e565b91506143b382614372565b602082019050919050565b600060208201905081810360008301526143d78161439b565b9050919050565b7f6d65726b6c6520726f6f74206973206e6f742079657420736574000000000000600082015250565b6000614414601a8361362e565b915061441f826143de565b602082019050919050565b6000602082019050818103600083015261444381614407565b9050919050565b60008160601b9050919050565b60006144628261444a565b9050919050565b600061447482614457565b9050919050565b61448c61448782613561565b614469565b82525050565b6000819050919050565b6144ad6144a8826136de565b614492565b82525050565b60006144bf828761447b565b6014820191506144cf828661447b565b6014820191506144df828561449c565b6020820191506144ef828461449c565b60208201915081905095945050505050565b7f696e76616c6964206d65726b6c652070726f6f66000000000000000000000000600082015250565b600061453760148361362e565b915061454282614501565b602082019050919050565b600060208201905081810360008301526145668161452a565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006145a7826136de565b91506145b2836136de565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156145e7576145e661456d565b5b828201905092915050565b7f657863656564206d6178207175616e7469747920666f72206d696e7400000000600082015250565b6000614628601c8361362e565b9150614633826145f2565b602082019050919050565b600060208201905081810360008301526146578161461b565b9050919050565b7f657863656564206d696e7420616d6f756e740000000000000000000000000000600082015250565b600061469460128361362e565b915061469f8261465e565b602082019050919050565b600060208201905081810360008301526146c381614687565b9050919050565b60006146d5826136de565b91506146e0836136de565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156147195761471861456d565b5b828202905092915050565b7f696e73756666696369656e742065746865720000000000000000000000000000600082015250565b600061475a60128361362e565b915061476582614724565b602082019050919050565b600060208201905081810360008301526147898161474d565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006147ca826136de565b91506147d5836136de565b9250826147e5576147e4614790565b5b828204905092915050565b600081905092915050565b50565b600061480b6000836147f0565b9150614816826147fb565b600082019050919050565b600061482c826147fe565b9150819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f657863656564206d617820737570706c79000000000000000000000000000000600082015250565b600061489b60118361362e565b91506148a682614865565b602082019050919050565b600060208201905081810360008301526148ca8161488e565b9050919050565b7f55524920717565727920666f72206e6f6e206578697374656e7420746f6b656e600082015250565b600061490760208361362e565b9150614912826148d1565b602082019050919050565b60006020820190508181036000830152614936816148fa565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b6000815461496a816141fc565b614974818661493d565b9450600182166000811461498f57600181146149a0576149d3565b60ff198316865281860193506149d3565b6149a985614948565b60005b838110156149cb578154818901526001820191506020810190506149ac565b838801955050505b50505092915050565b60006149e782613623565b6149f1818561493d565b9350614a0181856020860161363f565b80840191505092915050565b6000614a19828661495d565b9150614a2582856149dc565b9150614a31828461495d565b9150819050949350505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614a9a60268361362e565b9150614aa582614a3e565b604082019050919050565b60006020820190508181036000830152614ac981614a8d565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614b0660208361362e565b9150614b1182614ad0565b602082019050919050565b60006020820190508181036000830152614b3581614af9565b9050919050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b6000614b98602a8361362e565b9150614ba382614b3c565b604082019050919050565b60006020820190508181036000830152614bc781614b8b565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b6000614c0460198361362e565b9150614c0f82614bce565b602082019050919050565b60006020820190508181036000830152614c3381614bf7565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000614c6182614c3a565b614c6b8185614c45565b9350614c7b81856020860161363f565b614c8481613672565b840191505092915050565b6000608082019050614ca46000830187613741565b614cb16020830186613741565b614cbe60408301856139c5565b8181036060830152614cd08184614c56565b905095945050505050565b600081519050614cea816134b2565b92915050565b600060208284031215614d0657614d0561347c565b5b6000614d1484828501614cdb565b91505092915050565b6000614d28826136de565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614d5b57614d5a61456d565b5b60018201905091905056fea2646970667358221220a4ca4cecb732d3e017cd8eb3b0faa8b4fd589add1afae295664f916d8ed61f0c64736f6c63430008090033

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.