ETH Price: $3,296.87 (-9.36%)

Token

Nove NFT (NOVE)
 

Overview

Max Total Supply

4,444 NOVE

Holders

704

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Balance
1 NOVE
0xeBDd3A8d9860d8393Bc68701C9086aE579614204
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:
NoveNFTv5

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 13 : NoveNFTv5.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;

import "erc721a/contracts/extensions/ERC721ABurnable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "./DefaultOperatorFilterer.sol";

/**
 /$$   /$$  /$$$$$$  /$$    /$$ /$$$$$$$$ /$$   /$$ /$$$$$$$$ /$$$$$$$$
| $$$ | $$ /$$__  $$| $$   | $$| $$_____/| $$$ | $$| $$_____/|__  $$__/
| $$$$| $$| $$  \ $$| $$   | $$| $$      | $$$$| $$| $$         | $$   
| $$ $$ $$| $$  | $$|  $$ / $$/| $$$$$   | $$ $$ $$| $$$$$      | $$   
| $$  $$$$| $$  | $$ \  $$ $$/ | $$__/   | $$  $$$$| $$__/      | $$   
| $$\  $$$| $$  | $$  \  $$$/  | $$      | $$\  $$$| $$         | $$   
| $$ \  $$|  $$$$$$/   \  $/   | $$$$$$$$| $$ \  $$| $$         | $$   
|__/  \__/ \______/     \_/    |________/|__/  \__/|__/         |__/   
 */

contract NoveNFTv5 is
    ERC721ABurnable,
    ReentrancyGuard,
    Ownable,
    DefaultOperatorFilterer
{
    using Strings for uint256;
    using ECDSA for bytes32;
    address private SIGNER = 0x1EFB5e6931d52D8c939D7ce54393A33fF7f6CFC7;

    // ======== MINT BATCH FLAG ========
    uint8 public currentMintBatch = 0;

    // ======== SUPPLY ========
    uint256 public MAX_SUPPLY = 8888;

    // ======== PRICE ========
    uint256 public whitelistPrice = 0.1 ether;
    uint256 public publicMintPrice = 0.12 ether;

     // ======== METADATA ========
    bool public isRevealed = false;
    string public _baseTokenURI;
    string public notRevealedURI;
    string public baseExtension = ".json";

    bytes32 constant HASH_1 = keccak256("BATCH_1");

    // ======== CONSTRUCTOR ========
    constructor() ERC721A("Nove NFT", "NOVE") {}

    // ======== MINTING whitelist Mint Batch 1 ========
    function whitelistMint(bytes memory _signature, uint256 _quantity)
        external
        payable
        mintBatchCheck(1)
        checkMintLimit(2)
        signerIsValid(HASH_1, _signature)
        withinSupply(_quantity)
        priceEthCheck(whitelistPrice, _quantity)
    {
        _safeMint(msg.sender, _quantity);
    }

    // ======== MINTING public Mint Batch 2 ========

    /**
    * @dev A function use to mint for public.
    */
    function publicMint(uint256 _quantity)
        external
        payable
        mintBatchCheck(2)
        withinSupply(_quantity)
        priceEthCheck(publicMintPrice, _quantity)
    {
        _safeMint(msg.sender, _quantity);
    }

    /**
    * @dev Allows the owner to mint for teams.
    */
    function teamMint(address[] calldata _to, uint256[] calldata _quantity)
        external
        onlyOwner
        checkTeamMintParameters(_to,_quantity)
    {
        for (uint256 i = 0; i < _to.length; i++) {
           _safeMint(_to[i], _quantity[i]);
        }
    }

    // ======== SETTERS ========

    /**
    * @dev Only owner sets the current Mint Batch.
    */
    function setCurrentMintBatch(uint8 _batch) 
        external onlyOwner 
    {
        currentMintBatch = _batch;
    }
     
    /**
    * @dev Only owner can set the new signer address.
    */
    function setSigner(address _newSigner)
        external
        onlyOwner
    {
        SIGNER = _newSigner;
    }
     
    /**
    * @dev Only owner can set the base URI.
    */
    function setBaseURI(string calldata baseURI) external onlyOwner {
        _baseTokenURI = baseURI;
    }
     
    /**
    * @dev Only owner can set the max supply.
    */
    function setMaxSupply(uint256 _supply) external onlyOwner {
        MAX_SUPPLY = _supply;
    }

    /**
    * @dev Only owner can set the whitelist price
    */
    function setWhitelistPrice(uint256 _whitelist)
        external
        onlyOwner
    {
        whitelistPrice = _whitelist;
    }
     
    /**
    * @dev Only owner can set the public price.
    */
    function setPublicPrice(uint256 _publicMintPrice)
        external
        onlyOwner
    {
        publicMintPrice = _publicMintPrice;
    }

    /**
    * @dev Only owner can set the not revealed URI.
    */
    function setNotRevealedURI(string memory _notRevealedURI) public onlyOwner {
        notRevealedURI = _notRevealedURI;
    }

    function setIsRevealed(bool _reveal) external onlyOwner {
        isRevealed = _reveal;
    }

    // ======== WITHDRAW ========

    function withdraw() external onlyOwner {
        (bool os, ) = payable(owner()).call{value: address(this).balance}("");
        require(os);
    }

    // ========= GETTERS ===========

    /**
    * @dev A function to check the TokenURI if a particular tokenId.
    */
    function tokenURI(uint256 tokenId)
        public
        view
        virtual
        override(ERC721A, IERC721A)
        returns (string memory)
    {
        require(
            _exists(tokenId),
            "ERC721aMetadata: URI query for nonexistent token"
        );

        if (!isRevealed) {
            return notRevealedURI;
        }

        return
            string(
                abi.encodePacked(
                    _baseTokenURI,
                    tokenId.toString(),
                    baseExtension
                )
            );
    }

    /**
    * @dev Internal function for retrieving the startTokenID.
    */
    function _startTokenId()
        internal
        view
        virtual
        override(ERC721A)
        returns (uint256)
    {
        return 1;
    }

    // ===== OPENSEA OVERRIDES =====

    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public override(ERC721A, IERC721A) onlyAllowedOperator(from) {
        super.transferFrom(from, to, tokenId);
    }

    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public override(ERC721A, IERC721A)  onlyAllowedOperator(from) {
        super.safeTransferFrom(from, to, tokenId);
    }

    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory data
    ) public override(ERC721A, IERC721A) onlyAllowedOperator(from) {
        super.safeTransferFrom(from, to, tokenId, data);
    }

    // ===== MODIFIERS =====

    /**
    * @dev Checks the Team Mint Parameters.
    *  1. If the array of addresses are the same length of the array of quantity.
    *  2. If the total array of quantity doesn't exceed the max supply.
    */
    modifier checkTeamMintParameters(address[] calldata _to, uint256[] calldata _quantity) {
        require(_to.length == _quantity.length, "_to address and _quantity length Mismatch!");

        uint totalQuantity = 0;
        for(uint i; i < _quantity.length; ++i) {
            totalQuantity += _quantity[i];
        }

        require( totalSupply() + totalQuantity <= MAX_SUPPLY, "Exceeded max supply" );
        _;
    }

    /**
    * @dev A modifier to check if the quantity is within the range the Max Supply.
    */
    modifier withinSupply(uint256 _quantity) {
        require(totalSupply() + _quantity <= MAX_SUPPLY, "Exceeded max supply");
        _;
    }

    /**
    * @dev A modifier function that checks the mint batch.
    */
    modifier mintBatchCheck(uint8 _mintBatch) {
        require(currentMintBatch == _mintBatch,"Incorrect mint batch");
        _;
    }

    /**
    * @dev A modifier function to check if the signer is valid.
    */
    modifier signerIsValid(bytes32 _hash, bytes memory _signature) {
        bytes32 messagehash = keccak256(
            abi.encodePacked(address(this), _hash, msg.sender)
        );
        address signer = messagehash.toEthSignedMessageHash().recover(
            _signature
        );
        require(signer == SIGNER, "Signature not valid");
        _;
    }

    /**
    * @dev A modifier function to check if the price is correct based on the quantity
    */
    modifier priceEthCheck(uint256 _price, uint256 _quantity) {
        require(msg.value >= (_price * _quantity), "Not enough eth sent");
        _;
    }

    /**
    * @dev A modifier function to check mint limit per wallet.
    */
    modifier checkMintLimit(uint _limit) {
        require(this.balanceOf(msg.sender) < _limit, "Exceeded max mint limit per Wallet");
        _;
    }
}

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

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

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

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

File 3 of 13 : ECDSA.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.3) (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) {
        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 {
            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 4 of 13 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

File 7 of 13 : ERC721ABurnable.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.2
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import './IERC721ABurnable.sol';
import '../ERC721A.sol';

/**
 * @title ERC721ABurnable.
 *
 * @dev ERC721A token that can be irreversibly burned (destroyed).
 */
abstract contract ERC721ABurnable is ERC721A, IERC721ABurnable {
    /**
     * @dev Burns `tokenId`. See {ERC721A-_burn}.
     *
     * Requirements:
     *
     * - The caller must own `tokenId` or be an approved operator.
     */
    function burn(uint256 tokenId) public virtual override {
        _burn(tokenId, true);
    }
}

File 8 of 13 : 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 13 : IERC721ABurnable.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.2
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import '../IERC721A.sol';

/**
 * @dev Interface of ERC721ABurnable.
 */
interface IERC721ABurnable is IERC721A {
    /**
     * @dev Burns `tokenId`. See {ERC721A-_burn}.
     *
     * Requirements:
     *
     * - The caller must own `tokenId` or be an approved operator.
     */
    function burn(uint256 tokenId) external;
}

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

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

abstract contract OperatorFilterer {
    error OperatorNotAllowed(address operator);

    IOperatorFilterRegistry constant operatorFilterRegistry =
        IOperatorFilterRegistry(0x000000000000AAeB6D7670E522A718067333cd4E);

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

    modifier onlyAllowedOperator(address from) virtual {
        // Check registry code length to facilitate testing in environments without a deployed registry.
        if (address(operatorFilterRegistry).code.length > 0) {
            // Allow spending tokens from addresses with balance
            // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred
            // from an EOA.
            if (from == msg.sender) {
                _;
                return;
            }
            if (
                !(
                    operatorFilterRegistry.isOperatorAllowed(address(this), msg.sender)
                        && operatorFilterRegistry.isOperatorAllowed(address(this), from)
                )
            ) {
                revert OperatorNotAllowed(msg.sender);
            }
        }
        _;
    }
}

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

pragma solidity ^0.8.0;

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

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

File 12 of 13 : 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 13 of 13 : IOperatorFilterRegistry.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"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":"baseExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"currentMintBatch","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isRevealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"notRevealedURI","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":[{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"publicMintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_batch","type":"uint8"}],"name":"setCurrentMintBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_reveal","type":"bool"}],"name":"setIsRevealed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_supply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_notRevealedURI","type":"string"}],"name":"setNotRevealedURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_publicMintPrice","type":"uint256"}],"name":"setPublicPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newSigner","type":"address"}],"name":"setSigner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_whitelist","type":"uint256"}],"name":"setWhitelistPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_to","type":"address[]"},{"internalType":"uint256[]","name":"_quantity","type":"uint256[]"}],"name":"teamMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"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":"bytes","name":"_signature","type":"bytes"},{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"whitelistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"whitelistPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052731efb5e6931d52d8c939d7ce54393a33ff7f6cfc7600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600a60146101000a81548160ff021916908360ff1602179055506122b8600b5567016345785d8a0000600c556701aa535d3d0c0000600d556000600e60006101000a81548160ff0219169083151502179055506040518060400160405280600581526020017f2e6a736f6e00000000000000000000000000000000000000000000000000000081525060119081620000f4919062000738565b503480156200010257600080fd5b50733cc6cdda760b79bafa08df41ecfa224f810dceb660016040518060400160405280600881526020017f4e6f7665204e46540000000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f4e4f564500000000000000000000000000000000000000000000000000000000815250816002908162000197919062000738565b508060039081620001a9919062000738565b50620001ba620003e760201b60201c565b60008190555050506001600881905550620001ea620001de620003f060201b60201c565b620003f860201b60201c565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115620003df578015620002a5576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16637d3e3dbe30846040518363ffffffff1660e01b81526004016200026b92919062000864565b600060405180830381600087803b1580156200028657600080fd5b505af11580156200029b573d6000803e3d6000fd5b50505050620003de565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146200035f576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663a0af290330846040518363ffffffff1660e01b81526004016200032592919062000864565b600060405180830381600087803b1580156200034057600080fd5b505af115801562000355573d6000803e3d6000fd5b50505050620003dd565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16634420e486306040518263ffffffff1660e01b8152600401620003a8919062000891565b600060405180830381600087803b158015620003c357600080fd5b505af1158015620003d8573d6000803e3d6000fd5b505050505b5b5b5050620008ae565b60006001905090565b600033905090565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200054057607f821691505b602082108103620005565762000555620004f8565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620005c07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000581565b620005cc868362000581565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b600062000619620006136200060d84620005e4565b620005ee565b620005e4565b9050919050565b6000819050919050565b6200063583620005f8565b6200064d620006448262000620565b8484546200058e565b825550505050565b600090565b6200066462000655565b620006718184846200062a565b505050565b5b8181101562000699576200068d6000826200065a565b60018101905062000677565b5050565b601f821115620006e857620006b2816200055c565b620006bd8462000571565b81016020851015620006cd578190505b620006e5620006dc8562000571565b83018262000676565b50505b505050565b600082821c905092915050565b60006200070d60001984600802620006ed565b1980831691505092915050565b6000620007288383620006fa565b9150826002028217905092915050565b6200074382620004be565b67ffffffffffffffff8111156200075f576200075e620004c9565b5b6200076b825462000527565b620007788282856200069d565b600060209050601f831160018114620007b057600084156200079b578287015190505b620007a785826200071a565b86555062000817565b601f198416620007c0866200055c565b60005b82811015620007ea57848901518255600182019150602085019450602081019050620007c3565b868310156200080a578489015162000806601f891682620006fa565b8355505b6001600288020188555050505b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200084c826200081f565b9050919050565b6200085e816200083f565b82525050565b60006040820190506200087b600083018562000853565b6200088a602083018462000853565b9392505050565b6000602082019050620008a8600083018462000853565b92915050565b614ba480620008be6000396000f3fe6080604052600436106102255760003560e01c806370a0823111610123578063c6275255116100ab578063e2610bba1161006f578063e2610bba146107ad578063e985e9c5146107d8578063f2c4ce1e14610815578063f2fde38b1461083e578063fc1a1c361461086757610225565b8063c6275255146106c6578063c6682862146106ef578063c87b56dd1461071a578063cfc86f7b14610757578063dc53fd921461078257610225565b8063744eba2c116100f2578063744eba2c146105f55780638da5cb5b1461061e57806395d89b4114610649578063a22cb46514610674578063b88d4fde1461069d57610225565b806370a082311461054d578063715018a61461058a578063717d57d3146105a157806372250380146105ca57610225565b80633ccfd60b116101b157806354214f691161017557806354214f691461046a57806355f804b3146104955780636352211e146104be5780636c19e783146104fb5780636f8b44b01461052457610225565b80633ccfd60b146103af57806342842e0e146103c657806342966c68146103ef57806342fd9f011461041857806349a5980a1461044157610225565b8063095ea7b3116101f8578063095ea7b3146102eb57806318160ddd1461031457806323b872dd1461033f5780632db115441461036857806332cb6b0c1461038457610225565b806301ffc9a71461022a57806306fdde0314610267578063081812fc1461029257806308e3f868146102cf575b600080fd5b34801561023657600080fd5b50610251600480360381019061024c91906131de565b610892565b60405161025e9190613226565b60405180910390f35b34801561027357600080fd5b5061027c610924565b60405161028991906132d1565b60405180910390f35b34801561029e57600080fd5b506102b960048036038101906102b49190613329565b6109b6565b6040516102c69190613397565b60405180910390f35b6102e960048036038101906102e491906134e7565b610a35565b005b3480156102f757600080fd5b50610312600480360381019061030d919061356f565b610d0c565b005b34801561032057600080fd5b50610329610e50565b60405161033691906135be565b60405180910390f35b34801561034b57600080fd5b50610366600480360381019061036191906135d9565b610e67565b005b610382600480360381019061037d9190613329565b611049565b005b34801561039057600080fd5b5061039961115d565b6040516103a691906135be565b60405180910390f35b3480156103bb57600080fd5b506103c4611163565b005b3480156103d257600080fd5b506103ed60048036038101906103e891906135d9565b6111eb565b005b3480156103fb57600080fd5b5061041660048036038101906104119190613329565b6113cd565b005b34801561042457600080fd5b5061043f600480360381019061043a9190613665565b6113db565b005b34801561044d57600080fd5b50610468600480360381019061046391906136be565b611401565b005b34801561047657600080fd5b5061047f611426565b60405161048c9190613226565b60405180910390f35b3480156104a157600080fd5b506104bc60048036038101906104b7919061374b565b611439565b005b3480156104ca57600080fd5b506104e560048036038101906104e09190613329565b611457565b6040516104f29190613397565b60405180910390f35b34801561050757600080fd5b50610522600480360381019061051d9190613798565b611469565b005b34801561053057600080fd5b5061054b60048036038101906105469190613329565b6114b5565b005b34801561055957600080fd5b50610574600480360381019061056f9190613798565b6114c7565b60405161058191906135be565b60405180910390f35b34801561059657600080fd5b5061059f61157f565b005b3480156105ad57600080fd5b506105c860048036038101906105c39190613329565b611593565b005b3480156105d657600080fd5b506105df6115a5565b6040516105ec91906132d1565b60405180910390f35b34801561060157600080fd5b5061061c60048036038101906106179190613871565b611633565b005b34801561062a57600080fd5b5061063361179d565b6040516106409190613397565b60405180910390f35b34801561065557600080fd5b5061065e6117c7565b60405161066b91906132d1565b60405180910390f35b34801561068057600080fd5b5061069b600480360381019061069691906138f2565b611859565b005b3480156106a957600080fd5b506106c460048036038101906106bf9190613932565b6119d0565b005b3480156106d257600080fd5b506106ed60048036038101906106e89190613329565b611bb5565b005b3480156106fb57600080fd5b50610704611bc7565b60405161071191906132d1565b60405180910390f35b34801561072657600080fd5b50610741600480360381019061073c9190613329565b611c55565b60405161074e91906132d1565b60405180910390f35b34801561076357600080fd5b5061076c611d7b565b60405161077991906132d1565b60405180910390f35b34801561078e57600080fd5b50610797611e09565b6040516107a491906135be565b60405180910390f35b3480156107b957600080fd5b506107c2611e0f565b6040516107cf91906139c4565b60405180910390f35b3480156107e457600080fd5b506107ff60048036038101906107fa91906139df565b611e22565b60405161080c9190613226565b60405180910390f35b34801561082157600080fd5b5061083c60048036038101906108379190613ac0565b611eb6565b005b34801561084a57600080fd5b5061086560048036038101906108609190613798565b611ed1565b005b34801561087357600080fd5b5061087c611f54565b60405161088991906135be565b60405180910390f35b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806108ed57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061091d5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60606002805461093390613b38565b80601f016020809104026020016040519081016040528092919081815260200182805461095f90613b38565b80156109ac5780601f10610981576101008083540402835291602001916109ac565b820191906000526020600020905b81548152906001019060200180831161098f57829003601f168201915b5050505050905090565b60006109c182611f5a565b6109f7576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60018060ff16600a60149054906101000a900460ff1660ff1614610a8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a8590613bb5565b60405180910390fd5b6002803073ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b8152600401610aca9190613397565b602060405180830381865afa158015610ae7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b0b9190613bea565b10610b4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4290613c89565b60405180910390fd5b7f48801b61ab966c562a6e832d284f834f5771725d94a5052e063f9e9e43550221846000308333604051602001610b8493929190613d1c565b6040516020818303038152906040528051906020012090506000610bb983610bab84611fb9565b611fe990919063ffffffff16565b9050600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610c4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4290613da5565b60405180910390fd5b86600b5481610c58610e50565b610c629190613df4565b1115610ca3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9a90613e74565b60405180910390fd5b600c54888082610cb39190613e94565b341015610cf5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cec90613f22565b60405180910390fd5b610cff338b612010565b5050505050505050505050565b6000610d1782611457565b90508073ffffffffffffffffffffffffffffffffffffffff16610d3861202e565b73ffffffffffffffffffffffffffffffffffffffff1614610d9b57610d6481610d5f61202e565b611e22565b610d9a576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000610e5a612036565b6001546000540303905090565b8260006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115611037573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610ed957610ed484848461203f565b611043565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b8152600401610f22929190613f42565b602060405180830381865afa158015610f3f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f639190613f80565b8015610ff557506daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b8152600401610fb3929190613f42565b602060405180830381865afa158015610fd0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ff49190613f80565b5b61103657336040517fede71dcc00000000000000000000000000000000000000000000000000000000815260040161102d9190613397565b60405180910390fd5b5b61104284848461203f565b5b50505050565b60028060ff16600a60149054906101000a900460ff1660ff16146110a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109990613bb5565b60405180910390fd5b81600b54816110af610e50565b6110b99190613df4565b11156110fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110f190613e74565b60405180910390fd5b600d5483808261110a9190613e94565b34101561114c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114390613f22565b60405180910390fd5b6111563386612010565b5050505050565b600b5481565b61116b612361565b600061117561179d565b73ffffffffffffffffffffffffffffffffffffffff164760405161119890613fde565b60006040518083038185875af1925050503d80600081146111d5576040519150601f19603f3d011682016040523d82523d6000602084013e6111da565b606091505b50509050806111e857600080fd5b50565b8260006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b11156113bb573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361125d576112588484846123df565b6113c7565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b81526004016112a6929190613f42565b602060405180830381865afa1580156112c3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112e79190613f80565b801561137957506daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b8152600401611337929190613f42565b602060405180830381865afa158015611354573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113789190613f80565b5b6113ba57336040517fede71dcc0000000000000000000000000000000000000000000000000000000081526004016113b19190613397565b60405180910390fd5b5b6113c68484846123df565b5b50505050565b6113d88160016123ff565b50565b6113e3612361565b80600a60146101000a81548160ff021916908360ff16021790555050565b611409612361565b80600e60006101000a81548160ff02191690831515021790555050565b600e60009054906101000a900460ff1681565b611441612361565b8181600f91826114529291906141aa565b505050565b600061146282612651565b9050919050565b611471612361565b80600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6114bd612361565b80600b8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361152e576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611587612361565b611591600061271d565b565b61159b612361565b80600c8190555050565b601080546115b290613b38565b80601f01602080910402602001604051908101604052809291908181526020018280546115de90613b38565b801561162b5780601f106116005761010080835404028352916020019161162b565b820191906000526020600020905b81548152906001019060200180831161160e57829003601f168201915b505050505081565b61163b612361565b83838383818190508484905014611687576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167e906142ec565b60405180910390fd5b6000805b838390508110156116ce578383828181106116a9576116a861430c565b5b90506020020135826116bb9190613df4565b9150806116c79061433b565b905061168b565b50600b54816116db610e50565b6116e59190613df4565b1115611726576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171d90613e74565b60405180910390fd5b60005b898990508110156117915761177e8a8a8381811061174a5761174961430c565b5b905060200201602081019061175f9190613798565b8989848181106117725761177161430c565b5b90506020020135612010565b80806117899061433b565b915050611729565b50505050505050505050565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600380546117d690613b38565b80601f016020809104026020016040519081016040528092919081815260200182805461180290613b38565b801561184f5780601f106118245761010080835404028352916020019161184f565b820191906000526020600020905b81548152906001019060200180831161183257829003601f168201915b5050505050905090565b61186161202e565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036118c5576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600760006118d261202e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661197f61202e565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516119c49190613226565b60405180910390a35050565b8360006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115611ba1573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611a4357611a3e858585856127e3565b611bae565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b8152600401611a8c929190613f42565b602060405180830381865afa158015611aa9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611acd9190613f80565b8015611b5f57506daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b8152600401611b1d929190613f42565b602060405180830381865afa158015611b3a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b5e9190613f80565b5b611ba057336040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401611b979190613397565b60405180910390fd5b5b611bad858585856127e3565b5b5050505050565b611bbd612361565b80600d8190555050565b60118054611bd490613b38565b80601f0160208091040260200160405190810160405280929190818152602001828054611c0090613b38565b8015611c4d5780601f10611c2257610100808354040283529160200191611c4d565b820191906000526020600020905b815481529060010190602001808311611c3057829003601f168201915b505050505081565b6060611c6082611f5a565b611c9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c96906143f5565b60405180910390fd5b600e60009054906101000a900460ff16611d455760108054611cc090613b38565b80601f0160208091040260200160405190810160405280929190818152602001828054611cec90613b38565b8015611d395780601f10611d0e57610100808354040283529160200191611d39565b820191906000526020600020905b815481529060010190602001808311611d1c57829003601f168201915b50505050509050611d76565b600f611d5083612856565b6011604051602001611d64939291906144d4565b60405160208183030381529060405290505b919050565b600f8054611d8890613b38565b80601f0160208091040260200160405190810160405280929190818152602001828054611db490613b38565b8015611e015780601f10611dd657610100808354040283529160200191611e01565b820191906000526020600020905b815481529060010190602001808311611de457829003601f168201915b505050505081565b600d5481565b600a60149054906101000a900460ff1681565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611ebe612361565b8060109081611ecd9190614505565b5050565b611ed9612361565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611f48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f3f90614649565b60405180910390fd5b611f518161271d565b50565b600c5481565b600081611f65612036565b11158015611f74575060005482105b8015611fb2575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600081604051602001611fcc91906146b5565b604051602081830303815290604052805190602001209050919050565b6000806000611ff885856129b6565b9150915061200581612a07565b819250505092915050565b61202a828260405180602001604052806000815250612bd3565b5050565b600033905090565b60006001905090565b600061204a82612651565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146120b1576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000806120bd84612c70565b915091506120d381876120ce61202e565b612c97565b61211f576120e8866120e361202e565b611e22565b61211e576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603612185576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6121928686866001612cdb565b801561219d57600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001019190508190555061226b85612247888887612ce1565b7c020000000000000000000000000000000000000000000000000000000017612d09565b600460008681526020019081526020016000208190555060007c02000000000000000000000000000000000000000000000000000000008416036122f157600060018501905060006004600083815260200190815260200160002054036122ef5760005481146122ee578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46123598686866001612d34565b505050505050565b612369612d3a565b73ffffffffffffffffffffffffffffffffffffffff1661238761179d565b73ffffffffffffffffffffffffffffffffffffffff16146123dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123d490614727565b60405180910390fd5b565b6123fa838383604051806020016040528060008152506119d0565b505050565b600061240a83612651565b9050600081905060008061241d86612c70565b91509150841561248657612439818461243461202e565b612c97565b6124855761244e8361244961202e565b611e22565b612484576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b5b612494836000886001612cdb565b801561249f57600082555b600160806001901b03600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506125478361250485600088612ce1565b7c02000000000000000000000000000000000000000000000000000000007c01000000000000000000000000000000000000000000000000000000001717612d09565b600460008881526020019081526020016000208190555060007c02000000000000000000000000000000000000000000000000000000008516036125cd57600060018701905060006004600083815260200190815260200160002054036125cb5760005481146125ca578460046000838152602001908152602001600020819055505b5b505b85600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612637836000886001612d34565b600160008154809291906001019190505550505050505050565b60008082905080612660612036565b116126e6576000548110156126e55760006004600083815260200190815260200160002054905060007c01000000000000000000000000000000000000000000000000000000008216036126e3575b600081036126d95760046000836001900393508381526020019081526020016000205490506126af565b8092505050612718565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6127ee848484610e67565b60008373ffffffffffffffffffffffffffffffffffffffff163b146128505761281984848484612d42565b61284f576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b60606000820361289d576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506129b1565b600082905060005b600082146128cf5780806128b89061433b565b915050600a826128c89190614776565b91506128a5565b60008167ffffffffffffffff8111156128eb576128ea6133bc565b5b6040519080825280601f01601f19166020018201604052801561291d5781602001600182028036833780820191505090505b5090505b600085146129aa5760018261293691906147a7565b9150600a8561294591906147db565b60306129519190613df4565b60f81b8183815181106129675761296661430c565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856129a39190614776565b9450612921565b8093505050505b919050565b60008060418351036129f75760008060006020860151925060408601519150606086015160001a90506129eb87828585612e92565b94509450505050612a00565b60006002915091505b9250929050565b60006004811115612a1b57612a1a61480c565b5b816004811115612a2e57612a2d61480c565b5b0315612bd05760016004811115612a4857612a4761480c565b5b816004811115612a5b57612a5a61480c565b5b03612a9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a9290614887565b60405180910390fd5b60026004811115612aaf57612aae61480c565b5b816004811115612ac257612ac161480c565b5b03612b02576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612af9906148f3565b60405180910390fd5b60036004811115612b1657612b1561480c565b5b816004811115612b2957612b2861480c565b5b03612b69576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b6090614985565b60405180910390fd5b600480811115612b7c57612b7b61480c565b5b816004811115612b8f57612b8e61480c565b5b03612bcf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bc690614a17565b60405180910390fd5b5b50565b612bdd8383612f9e565b60008373ffffffffffffffffffffffffffffffffffffffff163b14612c6b57600080549050600083820390505b612c1d6000868380600101945086612d42565b612c53576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b818110612c0a578160005414612c6857600080fd5b50505b505050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8612cf8868684613159565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b600033905090565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612d6861202e565b8786866040518563ffffffff1660e01b8152600401612d8a9493929190614a8c565b6020604051808303816000875af1925050508015612dc657506040513d601f19601f82011682018060405250810190612dc39190614aed565b60015b612e3f573d8060008114612df6576040519150601f19603f3d011682016040523d82523d6000602084013e612dfb565b606091505b506000815103612e37576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c1115612ecd576000600391509150612f95565b601b8560ff1614158015612ee55750601c8560ff1614155b15612ef7576000600491509150612f95565b600060018787878760405160008152602001604052604051612f1c9493929190614b29565b6020604051602081039080840390855afa158015612f3e573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612f8c57600060019250925050612f95565b80600092509250505b94509492505050565b60008054905060008203612fde576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612feb6000848385612cdb565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550613062836130536000866000612ce1565b61305c85613162565b17612d09565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b81811461310357808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46001810190506130c8565b506000820361313e576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060008190555050506131546000848385612d34565b505050565b60009392505050565b60006001821460e11b9050919050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6131bb81613186565b81146131c657600080fd5b50565b6000813590506131d8816131b2565b92915050565b6000602082840312156131f4576131f361317c565b5b6000613202848285016131c9565b91505092915050565b60008115159050919050565b6132208161320b565b82525050565b600060208201905061323b6000830184613217565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561327b578082015181840152602081019050613260565b60008484015250505050565b6000601f19601f8301169050919050565b60006132a382613241565b6132ad818561324c565b93506132bd81856020860161325d565b6132c681613287565b840191505092915050565b600060208201905081810360008301526132eb8184613298565b905092915050565b6000819050919050565b613306816132f3565b811461331157600080fd5b50565b600081359050613323816132fd565b92915050565b60006020828403121561333f5761333e61317c565b5b600061334d84828501613314565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061338182613356565b9050919050565b61339181613376565b82525050565b60006020820190506133ac6000830184613388565b92915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6133f482613287565b810181811067ffffffffffffffff82111715613413576134126133bc565b5b80604052505050565b6000613426613172565b905061343282826133eb565b919050565b600067ffffffffffffffff821115613452576134516133bc565b5b61345b82613287565b9050602081019050919050565b82818337600083830152505050565b600061348a61348584613437565b61341c565b9050828152602081018484840111156134a6576134a56133b7565b5b6134b1848285613468565b509392505050565b600082601f8301126134ce576134cd6133b2565b5b81356134de848260208601613477565b91505092915050565b600080604083850312156134fe576134fd61317c565b5b600083013567ffffffffffffffff81111561351c5761351b613181565b5b613528858286016134b9565b925050602061353985828601613314565b9150509250929050565b61354c81613376565b811461355757600080fd5b50565b60008135905061356981613543565b92915050565b600080604083850312156135865761358561317c565b5b60006135948582860161355a565b92505060206135a585828601613314565b9150509250929050565b6135b8816132f3565b82525050565b60006020820190506135d360008301846135af565b92915050565b6000806000606084860312156135f2576135f161317c565b5b60006136008682870161355a565b93505060206136118682870161355a565b925050604061362286828701613314565b9150509250925092565b600060ff82169050919050565b6136428161362c565b811461364d57600080fd5b50565b60008135905061365f81613639565b92915050565b60006020828403121561367b5761367a61317c565b5b600061368984828501613650565b91505092915050565b61369b8161320b565b81146136a657600080fd5b50565b6000813590506136b881613692565b92915050565b6000602082840312156136d4576136d361317c565b5b60006136e2848285016136a9565b91505092915050565b600080fd5b600080fd5b60008083601f84011261370b5761370a6133b2565b5b8235905067ffffffffffffffff811115613728576137276136eb565b5b602083019150836001820283011115613744576137436136f0565b5b9250929050565b600080602083850312156137625761376161317c565b5b600083013567ffffffffffffffff8111156137805761377f613181565b5b61378c858286016136f5565b92509250509250929050565b6000602082840312156137ae576137ad61317c565b5b60006137bc8482850161355a565b91505092915050565b60008083601f8401126137db576137da6133b2565b5b8235905067ffffffffffffffff8111156137f8576137f76136eb565b5b602083019150836020820283011115613814576138136136f0565b5b9250929050565b60008083601f840112613831576138306133b2565b5b8235905067ffffffffffffffff81111561384e5761384d6136eb565b5b60208301915083602082028301111561386a576138696136f0565b5b9250929050565b6000806000806040858703121561388b5761388a61317c565b5b600085013567ffffffffffffffff8111156138a9576138a8613181565b5b6138b5878288016137c5565b9450945050602085013567ffffffffffffffff8111156138d8576138d7613181565b5b6138e48782880161381b565b925092505092959194509250565b600080604083850312156139095761390861317c565b5b60006139178582860161355a565b9250506020613928858286016136a9565b9150509250929050565b6000806000806080858703121561394c5761394b61317c565b5b600061395a8782880161355a565b945050602061396b8782880161355a565b935050604061397c87828801613314565b925050606085013567ffffffffffffffff81111561399d5761399c613181565b5b6139a9878288016134b9565b91505092959194509250565b6139be8161362c565b82525050565b60006020820190506139d960008301846139b5565b92915050565b600080604083850312156139f6576139f561317c565b5b6000613a048582860161355a565b9250506020613a158582860161355a565b9150509250929050565b600067ffffffffffffffff821115613a3a57613a396133bc565b5b613a4382613287565b9050602081019050919050565b6000613a63613a5e84613a1f565b61341c565b905082815260208101848484011115613a7f57613a7e6133b7565b5b613a8a848285613468565b509392505050565b600082601f830112613aa757613aa66133b2565b5b8135613ab7848260208601613a50565b91505092915050565b600060208284031215613ad657613ad561317c565b5b600082013567ffffffffffffffff811115613af457613af3613181565b5b613b0084828501613a92565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613b5057607f821691505b602082108103613b6357613b62613b09565b5b50919050565b7f496e636f7272656374206d696e74206261746368000000000000000000000000600082015250565b6000613b9f60148361324c565b9150613baa82613b69565b602082019050919050565b60006020820190508181036000830152613bce81613b92565b9050919050565b600081519050613be4816132fd565b92915050565b600060208284031215613c0057613bff61317c565b5b6000613c0e84828501613bd5565b91505092915050565b7f4578636565646564206d6178206d696e74206c696d6974207065722057616c6c60008201527f6574000000000000000000000000000000000000000000000000000000000000602082015250565b6000613c7360228361324c565b9150613c7e82613c17565b604082019050919050565b60006020820190508181036000830152613ca281613c66565b9050919050565b60008160601b9050919050565b6000613cc182613ca9565b9050919050565b6000613cd382613cb6565b9050919050565b613ceb613ce682613376565b613cc8565b82525050565b6000819050919050565b6000819050919050565b613d16613d1182613cf1565b613cfb565b82525050565b6000613d288286613cda565b601482019150613d388285613d05565b602082019150613d488284613cda565b601482019150819050949350505050565b7f5369676e6174757265206e6f742076616c696400000000000000000000000000600082015250565b6000613d8f60138361324c565b9150613d9a82613d59565b602082019050919050565b60006020820190508181036000830152613dbe81613d82565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613dff826132f3565b9150613e0a836132f3565b9250828201905080821115613e2257613e21613dc5565b5b92915050565b7f4578636565646564206d617820737570706c7900000000000000000000000000600082015250565b6000613e5e60138361324c565b9150613e6982613e28565b602082019050919050565b60006020820190508181036000830152613e8d81613e51565b9050919050565b6000613e9f826132f3565b9150613eaa836132f3565b9250828202613eb8816132f3565b91508282048414831517613ecf57613ece613dc5565b5b5092915050565b7f4e6f7420656e6f756768206574682073656e7400000000000000000000000000600082015250565b6000613f0c60138361324c565b9150613f1782613ed6565b602082019050919050565b60006020820190508181036000830152613f3b81613eff565b9050919050565b6000604082019050613f576000830185613388565b613f646020830184613388565b9392505050565b600081519050613f7a81613692565b92915050565b600060208284031215613f9657613f9561317c565b5b6000613fa484828501613f6b565b91505092915050565b600081905092915050565b50565b6000613fc8600083613fad565b9150613fd382613fb8565b600082019050919050565b6000613fe982613fbb565b9150819050919050565b600082905092915050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026140607fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82614023565b61406a8683614023565b95508019841693508086168417925050509392505050565b6000819050919050565b60006140a76140a261409d846132f3565b614082565b6132f3565b9050919050565b6000819050919050565b6140c18361408c565b6140d56140cd826140ae565b848454614030565b825550505050565b600090565b6140ea6140dd565b6140f58184846140b8565b505050565b5b818110156141195761410e6000826140e2565b6001810190506140fb565b5050565b601f82111561415e5761412f81613ffe565b61413884614013565b81016020851015614147578190505b61415b61415385614013565b8301826140fa565b50505b505050565b600082821c905092915050565b600061418160001984600802614163565b1980831691505092915050565b600061419a8383614170565b9150826002028217905092915050565b6141b48383613ff3565b67ffffffffffffffff8111156141cd576141cc6133bc565b5b6141d78254613b38565b6141e282828561411d565b6000601f83116001811461421157600084156141ff578287013590505b614209858261418e565b865550614271565b601f19841661421f86613ffe565b60005b8281101561424757848901358255600182019150602085019450602081019050614222565b868310156142645784890135614260601f891682614170565b8355505b6001600288020188555050505b50505050505050565b7f5f746f206164647265737320616e64205f7175616e74697479206c656e67746860008201527f204d69736d617463682100000000000000000000000000000000000000000000602082015250565b60006142d6602a8361324c565b91506142e18261427a565b604082019050919050565b60006020820190508181036000830152614305816142c9565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000614346826132f3565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361437857614377613dc5565b5b600182019050919050565b7f455243373231614d657461646174613a2055524920717565727920666f72206e60008201527f6f6e6578697374656e7420746f6b656e00000000000000000000000000000000602082015250565b60006143df60308361324c565b91506143ea82614383565b604082019050919050565b6000602082019050818103600083015261440e816143d2565b9050919050565b600081905092915050565b6000815461442d81613b38565b6144378186614415565b9450600182166000811461445257600181146144675761449a565b60ff198316865281151582028601935061449a565b61447085613ffe565b60005b8381101561449257815481890152600182019150602081019050614473565b838801955050505b50505092915050565b60006144ae82613241565b6144b88185614415565b93506144c881856020860161325d565b80840191505092915050565b60006144e08286614420565b91506144ec82856144a3565b91506144f88284614420565b9150819050949350505050565b61450e82613241565b67ffffffffffffffff811115614527576145266133bc565b5b6145318254613b38565b61453c82828561411d565b600060209050601f83116001811461456f576000841561455d578287015190505b614567858261418e565b8655506145cf565b601f19841661457d86613ffe565b60005b828110156145a557848901518255600182019150602085019450602081019050614580565b868310156145c257848901516145be601f891682614170565b8355505b6001600288020188555050505b505050505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061463360268361324c565b915061463e826145d7565b604082019050919050565b6000602082019050818103600083015261466281614626565b9050919050565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b600061469f601c83614415565b91506146aa82614669565b601c82019050919050565b60006146c082614692565b91506146cc8284613d05565b60208201915081905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061471160208361324c565b915061471c826146db565b602082019050919050565b6000602082019050818103600083015261474081614704565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614781826132f3565b915061478c836132f3565b92508261479c5761479b614747565b5b828204905092915050565b60006147b2826132f3565b91506147bd836132f3565b92508282039050818111156147d5576147d4613dc5565b5b92915050565b60006147e6826132f3565b91506147f1836132f3565b92508261480157614800614747565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b600061487160188361324c565b915061487c8261483b565b602082019050919050565b600060208201905081810360008301526148a081614864565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b60006148dd601f8361324c565b91506148e8826148a7565b602082019050919050565b6000602082019050818103600083015261490c816148d0565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b600061496f60228361324c565b915061497a82614913565b604082019050919050565b6000602082019050818103600083015261499e81614962565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000614a0160228361324c565b9150614a0c826149a5565b604082019050919050565b60006020820190508181036000830152614a30816149f4565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000614a5e82614a37565b614a688185614a42565b9350614a7881856020860161325d565b614a8181613287565b840191505092915050565b6000608082019050614aa16000830187613388565b614aae6020830186613388565b614abb60408301856135af565b8181036060830152614acd8184614a53565b905095945050505050565b600081519050614ae7816131b2565b92915050565b600060208284031215614b0357614b0261317c565b5b6000614b1184828501614ad8565b91505092915050565b614b2381613cf1565b82525050565b6000608082019050614b3e6000830187614b1a565b614b4b60208301866139b5565b614b586040830185614b1a565b614b656060830184614b1a565b9594505050505056fea2646970667358221220d7a9ceaef8e6a531b4dc97140f793f210d5939101ecb558a6ef840d801d92b0964736f6c63430008110033

Deployed Bytecode

0x6080604052600436106102255760003560e01c806370a0823111610123578063c6275255116100ab578063e2610bba1161006f578063e2610bba146107ad578063e985e9c5146107d8578063f2c4ce1e14610815578063f2fde38b1461083e578063fc1a1c361461086757610225565b8063c6275255146106c6578063c6682862146106ef578063c87b56dd1461071a578063cfc86f7b14610757578063dc53fd921461078257610225565b8063744eba2c116100f2578063744eba2c146105f55780638da5cb5b1461061e57806395d89b4114610649578063a22cb46514610674578063b88d4fde1461069d57610225565b806370a082311461054d578063715018a61461058a578063717d57d3146105a157806372250380146105ca57610225565b80633ccfd60b116101b157806354214f691161017557806354214f691461046a57806355f804b3146104955780636352211e146104be5780636c19e783146104fb5780636f8b44b01461052457610225565b80633ccfd60b146103af57806342842e0e146103c657806342966c68146103ef57806342fd9f011461041857806349a5980a1461044157610225565b8063095ea7b3116101f8578063095ea7b3146102eb57806318160ddd1461031457806323b872dd1461033f5780632db115441461036857806332cb6b0c1461038457610225565b806301ffc9a71461022a57806306fdde0314610267578063081812fc1461029257806308e3f868146102cf575b600080fd5b34801561023657600080fd5b50610251600480360381019061024c91906131de565b610892565b60405161025e9190613226565b60405180910390f35b34801561027357600080fd5b5061027c610924565b60405161028991906132d1565b60405180910390f35b34801561029e57600080fd5b506102b960048036038101906102b49190613329565b6109b6565b6040516102c69190613397565b60405180910390f35b6102e960048036038101906102e491906134e7565b610a35565b005b3480156102f757600080fd5b50610312600480360381019061030d919061356f565b610d0c565b005b34801561032057600080fd5b50610329610e50565b60405161033691906135be565b60405180910390f35b34801561034b57600080fd5b50610366600480360381019061036191906135d9565b610e67565b005b610382600480360381019061037d9190613329565b611049565b005b34801561039057600080fd5b5061039961115d565b6040516103a691906135be565b60405180910390f35b3480156103bb57600080fd5b506103c4611163565b005b3480156103d257600080fd5b506103ed60048036038101906103e891906135d9565b6111eb565b005b3480156103fb57600080fd5b5061041660048036038101906104119190613329565b6113cd565b005b34801561042457600080fd5b5061043f600480360381019061043a9190613665565b6113db565b005b34801561044d57600080fd5b50610468600480360381019061046391906136be565b611401565b005b34801561047657600080fd5b5061047f611426565b60405161048c9190613226565b60405180910390f35b3480156104a157600080fd5b506104bc60048036038101906104b7919061374b565b611439565b005b3480156104ca57600080fd5b506104e560048036038101906104e09190613329565b611457565b6040516104f29190613397565b60405180910390f35b34801561050757600080fd5b50610522600480360381019061051d9190613798565b611469565b005b34801561053057600080fd5b5061054b60048036038101906105469190613329565b6114b5565b005b34801561055957600080fd5b50610574600480360381019061056f9190613798565b6114c7565b60405161058191906135be565b60405180910390f35b34801561059657600080fd5b5061059f61157f565b005b3480156105ad57600080fd5b506105c860048036038101906105c39190613329565b611593565b005b3480156105d657600080fd5b506105df6115a5565b6040516105ec91906132d1565b60405180910390f35b34801561060157600080fd5b5061061c60048036038101906106179190613871565b611633565b005b34801561062a57600080fd5b5061063361179d565b6040516106409190613397565b60405180910390f35b34801561065557600080fd5b5061065e6117c7565b60405161066b91906132d1565b60405180910390f35b34801561068057600080fd5b5061069b600480360381019061069691906138f2565b611859565b005b3480156106a957600080fd5b506106c460048036038101906106bf9190613932565b6119d0565b005b3480156106d257600080fd5b506106ed60048036038101906106e89190613329565b611bb5565b005b3480156106fb57600080fd5b50610704611bc7565b60405161071191906132d1565b60405180910390f35b34801561072657600080fd5b50610741600480360381019061073c9190613329565b611c55565b60405161074e91906132d1565b60405180910390f35b34801561076357600080fd5b5061076c611d7b565b60405161077991906132d1565b60405180910390f35b34801561078e57600080fd5b50610797611e09565b6040516107a491906135be565b60405180910390f35b3480156107b957600080fd5b506107c2611e0f565b6040516107cf91906139c4565b60405180910390f35b3480156107e457600080fd5b506107ff60048036038101906107fa91906139df565b611e22565b60405161080c9190613226565b60405180910390f35b34801561082157600080fd5b5061083c60048036038101906108379190613ac0565b611eb6565b005b34801561084a57600080fd5b5061086560048036038101906108609190613798565b611ed1565b005b34801561087357600080fd5b5061087c611f54565b60405161088991906135be565b60405180910390f35b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806108ed57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061091d5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60606002805461093390613b38565b80601f016020809104026020016040519081016040528092919081815260200182805461095f90613b38565b80156109ac5780601f10610981576101008083540402835291602001916109ac565b820191906000526020600020905b81548152906001019060200180831161098f57829003601f168201915b5050505050905090565b60006109c182611f5a565b6109f7576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60018060ff16600a60149054906101000a900460ff1660ff1614610a8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a8590613bb5565b60405180910390fd5b6002803073ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b8152600401610aca9190613397565b602060405180830381865afa158015610ae7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b0b9190613bea565b10610b4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4290613c89565b60405180910390fd5b7f48801b61ab966c562a6e832d284f834f5771725d94a5052e063f9e9e43550221846000308333604051602001610b8493929190613d1c565b6040516020818303038152906040528051906020012090506000610bb983610bab84611fb9565b611fe990919063ffffffff16565b9050600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610c4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4290613da5565b60405180910390fd5b86600b5481610c58610e50565b610c629190613df4565b1115610ca3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9a90613e74565b60405180910390fd5b600c54888082610cb39190613e94565b341015610cf5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cec90613f22565b60405180910390fd5b610cff338b612010565b5050505050505050505050565b6000610d1782611457565b90508073ffffffffffffffffffffffffffffffffffffffff16610d3861202e565b73ffffffffffffffffffffffffffffffffffffffff1614610d9b57610d6481610d5f61202e565b611e22565b610d9a576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000610e5a612036565b6001546000540303905090565b8260006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115611037573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610ed957610ed484848461203f565b611043565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b8152600401610f22929190613f42565b602060405180830381865afa158015610f3f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f639190613f80565b8015610ff557506daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b8152600401610fb3929190613f42565b602060405180830381865afa158015610fd0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ff49190613f80565b5b61103657336040517fede71dcc00000000000000000000000000000000000000000000000000000000815260040161102d9190613397565b60405180910390fd5b5b61104284848461203f565b5b50505050565b60028060ff16600a60149054906101000a900460ff1660ff16146110a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109990613bb5565b60405180910390fd5b81600b54816110af610e50565b6110b99190613df4565b11156110fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110f190613e74565b60405180910390fd5b600d5483808261110a9190613e94565b34101561114c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114390613f22565b60405180910390fd5b6111563386612010565b5050505050565b600b5481565b61116b612361565b600061117561179d565b73ffffffffffffffffffffffffffffffffffffffff164760405161119890613fde565b60006040518083038185875af1925050503d80600081146111d5576040519150601f19603f3d011682016040523d82523d6000602084013e6111da565b606091505b50509050806111e857600080fd5b50565b8260006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b11156113bb573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361125d576112588484846123df565b6113c7565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b81526004016112a6929190613f42565b602060405180830381865afa1580156112c3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112e79190613f80565b801561137957506daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b8152600401611337929190613f42565b602060405180830381865afa158015611354573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113789190613f80565b5b6113ba57336040517fede71dcc0000000000000000000000000000000000000000000000000000000081526004016113b19190613397565b60405180910390fd5b5b6113c68484846123df565b5b50505050565b6113d88160016123ff565b50565b6113e3612361565b80600a60146101000a81548160ff021916908360ff16021790555050565b611409612361565b80600e60006101000a81548160ff02191690831515021790555050565b600e60009054906101000a900460ff1681565b611441612361565b8181600f91826114529291906141aa565b505050565b600061146282612651565b9050919050565b611471612361565b80600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6114bd612361565b80600b8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361152e576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611587612361565b611591600061271d565b565b61159b612361565b80600c8190555050565b601080546115b290613b38565b80601f01602080910402602001604051908101604052809291908181526020018280546115de90613b38565b801561162b5780601f106116005761010080835404028352916020019161162b565b820191906000526020600020905b81548152906001019060200180831161160e57829003601f168201915b505050505081565b61163b612361565b83838383818190508484905014611687576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167e906142ec565b60405180910390fd5b6000805b838390508110156116ce578383828181106116a9576116a861430c565b5b90506020020135826116bb9190613df4565b9150806116c79061433b565b905061168b565b50600b54816116db610e50565b6116e59190613df4565b1115611726576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171d90613e74565b60405180910390fd5b60005b898990508110156117915761177e8a8a8381811061174a5761174961430c565b5b905060200201602081019061175f9190613798565b8989848181106117725761177161430c565b5b90506020020135612010565b80806117899061433b565b915050611729565b50505050505050505050565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600380546117d690613b38565b80601f016020809104026020016040519081016040528092919081815260200182805461180290613b38565b801561184f5780601f106118245761010080835404028352916020019161184f565b820191906000526020600020905b81548152906001019060200180831161183257829003601f168201915b5050505050905090565b61186161202e565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036118c5576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600760006118d261202e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661197f61202e565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516119c49190613226565b60405180910390a35050565b8360006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115611ba1573373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611a4357611a3e858585856127e3565b611bae565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b8152600401611a8c929190613f42565b602060405180830381865afa158015611aa9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611acd9190613f80565b8015611b5f57506daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b8152600401611b1d929190613f42565b602060405180830381865afa158015611b3a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b5e9190613f80565b5b611ba057336040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401611b979190613397565b60405180910390fd5b5b611bad858585856127e3565b5b5050505050565b611bbd612361565b80600d8190555050565b60118054611bd490613b38565b80601f0160208091040260200160405190810160405280929190818152602001828054611c0090613b38565b8015611c4d5780601f10611c2257610100808354040283529160200191611c4d565b820191906000526020600020905b815481529060010190602001808311611c3057829003601f168201915b505050505081565b6060611c6082611f5a565b611c9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c96906143f5565b60405180910390fd5b600e60009054906101000a900460ff16611d455760108054611cc090613b38565b80601f0160208091040260200160405190810160405280929190818152602001828054611cec90613b38565b8015611d395780601f10611d0e57610100808354040283529160200191611d39565b820191906000526020600020905b815481529060010190602001808311611d1c57829003601f168201915b50505050509050611d76565b600f611d5083612856565b6011604051602001611d64939291906144d4565b60405160208183030381529060405290505b919050565b600f8054611d8890613b38565b80601f0160208091040260200160405190810160405280929190818152602001828054611db490613b38565b8015611e015780601f10611dd657610100808354040283529160200191611e01565b820191906000526020600020905b815481529060010190602001808311611de457829003601f168201915b505050505081565b600d5481565b600a60149054906101000a900460ff1681565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611ebe612361565b8060109081611ecd9190614505565b5050565b611ed9612361565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611f48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f3f90614649565b60405180910390fd5b611f518161271d565b50565b600c5481565b600081611f65612036565b11158015611f74575060005482105b8015611fb2575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600081604051602001611fcc91906146b5565b604051602081830303815290604052805190602001209050919050565b6000806000611ff885856129b6565b9150915061200581612a07565b819250505092915050565b61202a828260405180602001604052806000815250612bd3565b5050565b600033905090565b60006001905090565b600061204a82612651565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146120b1576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000806120bd84612c70565b915091506120d381876120ce61202e565b612c97565b61211f576120e8866120e361202e565b611e22565b61211e576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603612185576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6121928686866001612cdb565b801561219d57600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001019190508190555061226b85612247888887612ce1565b7c020000000000000000000000000000000000000000000000000000000017612d09565b600460008681526020019081526020016000208190555060007c02000000000000000000000000000000000000000000000000000000008416036122f157600060018501905060006004600083815260200190815260200160002054036122ef5760005481146122ee578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46123598686866001612d34565b505050505050565b612369612d3a565b73ffffffffffffffffffffffffffffffffffffffff1661238761179d565b73ffffffffffffffffffffffffffffffffffffffff16146123dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123d490614727565b60405180910390fd5b565b6123fa838383604051806020016040528060008152506119d0565b505050565b600061240a83612651565b9050600081905060008061241d86612c70565b91509150841561248657612439818461243461202e565b612c97565b6124855761244e8361244961202e565b611e22565b612484576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b5b612494836000886001612cdb565b801561249f57600082555b600160806001901b03600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506125478361250485600088612ce1565b7c02000000000000000000000000000000000000000000000000000000007c01000000000000000000000000000000000000000000000000000000001717612d09565b600460008881526020019081526020016000208190555060007c02000000000000000000000000000000000000000000000000000000008516036125cd57600060018701905060006004600083815260200190815260200160002054036125cb5760005481146125ca578460046000838152602001908152602001600020819055505b5b505b85600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612637836000886001612d34565b600160008154809291906001019190505550505050505050565b60008082905080612660612036565b116126e6576000548110156126e55760006004600083815260200190815260200160002054905060007c01000000000000000000000000000000000000000000000000000000008216036126e3575b600081036126d95760046000836001900393508381526020019081526020016000205490506126af565b8092505050612718565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6127ee848484610e67565b60008373ffffffffffffffffffffffffffffffffffffffff163b146128505761281984848484612d42565b61284f576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b60606000820361289d576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506129b1565b600082905060005b600082146128cf5780806128b89061433b565b915050600a826128c89190614776565b91506128a5565b60008167ffffffffffffffff8111156128eb576128ea6133bc565b5b6040519080825280601f01601f19166020018201604052801561291d5781602001600182028036833780820191505090505b5090505b600085146129aa5760018261293691906147a7565b9150600a8561294591906147db565b60306129519190613df4565b60f81b8183815181106129675761296661430c565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856129a39190614776565b9450612921565b8093505050505b919050565b60008060418351036129f75760008060006020860151925060408601519150606086015160001a90506129eb87828585612e92565b94509450505050612a00565b60006002915091505b9250929050565b60006004811115612a1b57612a1a61480c565b5b816004811115612a2e57612a2d61480c565b5b0315612bd05760016004811115612a4857612a4761480c565b5b816004811115612a5b57612a5a61480c565b5b03612a9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a9290614887565b60405180910390fd5b60026004811115612aaf57612aae61480c565b5b816004811115612ac257612ac161480c565b5b03612b02576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612af9906148f3565b60405180910390fd5b60036004811115612b1657612b1561480c565b5b816004811115612b2957612b2861480c565b5b03612b69576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b6090614985565b60405180910390fd5b600480811115612b7c57612b7b61480c565b5b816004811115612b8f57612b8e61480c565b5b03612bcf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bc690614a17565b60405180910390fd5b5b50565b612bdd8383612f9e565b60008373ffffffffffffffffffffffffffffffffffffffff163b14612c6b57600080549050600083820390505b612c1d6000868380600101945086612d42565b612c53576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b818110612c0a578160005414612c6857600080fd5b50505b505050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8612cf8868684613159565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b600033905090565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612d6861202e565b8786866040518563ffffffff1660e01b8152600401612d8a9493929190614a8c565b6020604051808303816000875af1925050508015612dc657506040513d601f19601f82011682018060405250810190612dc39190614aed565b60015b612e3f573d8060008114612df6576040519150601f19603f3d011682016040523d82523d6000602084013e612dfb565b606091505b506000815103612e37576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c1115612ecd576000600391509150612f95565b601b8560ff1614158015612ee55750601c8560ff1614155b15612ef7576000600491509150612f95565b600060018787878760405160008152602001604052604051612f1c9493929190614b29565b6020604051602081039080840390855afa158015612f3e573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612f8c57600060019250925050612f95565b80600092509250505b94509492505050565b60008054905060008203612fde576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612feb6000848385612cdb565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550613062836130536000866000612ce1565b61305c85613162565b17612d09565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b81811461310357808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46001810190506130c8565b506000820361313e576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060008190555050506131546000848385612d34565b505050565b60009392505050565b60006001821460e11b9050919050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6131bb81613186565b81146131c657600080fd5b50565b6000813590506131d8816131b2565b92915050565b6000602082840312156131f4576131f361317c565b5b6000613202848285016131c9565b91505092915050565b60008115159050919050565b6132208161320b565b82525050565b600060208201905061323b6000830184613217565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561327b578082015181840152602081019050613260565b60008484015250505050565b6000601f19601f8301169050919050565b60006132a382613241565b6132ad818561324c565b93506132bd81856020860161325d565b6132c681613287565b840191505092915050565b600060208201905081810360008301526132eb8184613298565b905092915050565b6000819050919050565b613306816132f3565b811461331157600080fd5b50565b600081359050613323816132fd565b92915050565b60006020828403121561333f5761333e61317c565b5b600061334d84828501613314565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061338182613356565b9050919050565b61339181613376565b82525050565b60006020820190506133ac6000830184613388565b92915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6133f482613287565b810181811067ffffffffffffffff82111715613413576134126133bc565b5b80604052505050565b6000613426613172565b905061343282826133eb565b919050565b600067ffffffffffffffff821115613452576134516133bc565b5b61345b82613287565b9050602081019050919050565b82818337600083830152505050565b600061348a61348584613437565b61341c565b9050828152602081018484840111156134a6576134a56133b7565b5b6134b1848285613468565b509392505050565b600082601f8301126134ce576134cd6133b2565b5b81356134de848260208601613477565b91505092915050565b600080604083850312156134fe576134fd61317c565b5b600083013567ffffffffffffffff81111561351c5761351b613181565b5b613528858286016134b9565b925050602061353985828601613314565b9150509250929050565b61354c81613376565b811461355757600080fd5b50565b60008135905061356981613543565b92915050565b600080604083850312156135865761358561317c565b5b60006135948582860161355a565b92505060206135a585828601613314565b9150509250929050565b6135b8816132f3565b82525050565b60006020820190506135d360008301846135af565b92915050565b6000806000606084860312156135f2576135f161317c565b5b60006136008682870161355a565b93505060206136118682870161355a565b925050604061362286828701613314565b9150509250925092565b600060ff82169050919050565b6136428161362c565b811461364d57600080fd5b50565b60008135905061365f81613639565b92915050565b60006020828403121561367b5761367a61317c565b5b600061368984828501613650565b91505092915050565b61369b8161320b565b81146136a657600080fd5b50565b6000813590506136b881613692565b92915050565b6000602082840312156136d4576136d361317c565b5b60006136e2848285016136a9565b91505092915050565b600080fd5b600080fd5b60008083601f84011261370b5761370a6133b2565b5b8235905067ffffffffffffffff811115613728576137276136eb565b5b602083019150836001820283011115613744576137436136f0565b5b9250929050565b600080602083850312156137625761376161317c565b5b600083013567ffffffffffffffff8111156137805761377f613181565b5b61378c858286016136f5565b92509250509250929050565b6000602082840312156137ae576137ad61317c565b5b60006137bc8482850161355a565b91505092915050565b60008083601f8401126137db576137da6133b2565b5b8235905067ffffffffffffffff8111156137f8576137f76136eb565b5b602083019150836020820283011115613814576138136136f0565b5b9250929050565b60008083601f840112613831576138306133b2565b5b8235905067ffffffffffffffff81111561384e5761384d6136eb565b5b60208301915083602082028301111561386a576138696136f0565b5b9250929050565b6000806000806040858703121561388b5761388a61317c565b5b600085013567ffffffffffffffff8111156138a9576138a8613181565b5b6138b5878288016137c5565b9450945050602085013567ffffffffffffffff8111156138d8576138d7613181565b5b6138e48782880161381b565b925092505092959194509250565b600080604083850312156139095761390861317c565b5b60006139178582860161355a565b9250506020613928858286016136a9565b9150509250929050565b6000806000806080858703121561394c5761394b61317c565b5b600061395a8782880161355a565b945050602061396b8782880161355a565b935050604061397c87828801613314565b925050606085013567ffffffffffffffff81111561399d5761399c613181565b5b6139a9878288016134b9565b91505092959194509250565b6139be8161362c565b82525050565b60006020820190506139d960008301846139b5565b92915050565b600080604083850312156139f6576139f561317c565b5b6000613a048582860161355a565b9250506020613a158582860161355a565b9150509250929050565b600067ffffffffffffffff821115613a3a57613a396133bc565b5b613a4382613287565b9050602081019050919050565b6000613a63613a5e84613a1f565b61341c565b905082815260208101848484011115613a7f57613a7e6133b7565b5b613a8a848285613468565b509392505050565b600082601f830112613aa757613aa66133b2565b5b8135613ab7848260208601613a50565b91505092915050565b600060208284031215613ad657613ad561317c565b5b600082013567ffffffffffffffff811115613af457613af3613181565b5b613b0084828501613a92565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613b5057607f821691505b602082108103613b6357613b62613b09565b5b50919050565b7f496e636f7272656374206d696e74206261746368000000000000000000000000600082015250565b6000613b9f60148361324c565b9150613baa82613b69565b602082019050919050565b60006020820190508181036000830152613bce81613b92565b9050919050565b600081519050613be4816132fd565b92915050565b600060208284031215613c0057613bff61317c565b5b6000613c0e84828501613bd5565b91505092915050565b7f4578636565646564206d6178206d696e74206c696d6974207065722057616c6c60008201527f6574000000000000000000000000000000000000000000000000000000000000602082015250565b6000613c7360228361324c565b9150613c7e82613c17565b604082019050919050565b60006020820190508181036000830152613ca281613c66565b9050919050565b60008160601b9050919050565b6000613cc182613ca9565b9050919050565b6000613cd382613cb6565b9050919050565b613ceb613ce682613376565b613cc8565b82525050565b6000819050919050565b6000819050919050565b613d16613d1182613cf1565b613cfb565b82525050565b6000613d288286613cda565b601482019150613d388285613d05565b602082019150613d488284613cda565b601482019150819050949350505050565b7f5369676e6174757265206e6f742076616c696400000000000000000000000000600082015250565b6000613d8f60138361324c565b9150613d9a82613d59565b602082019050919050565b60006020820190508181036000830152613dbe81613d82565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613dff826132f3565b9150613e0a836132f3565b9250828201905080821115613e2257613e21613dc5565b5b92915050565b7f4578636565646564206d617820737570706c7900000000000000000000000000600082015250565b6000613e5e60138361324c565b9150613e6982613e28565b602082019050919050565b60006020820190508181036000830152613e8d81613e51565b9050919050565b6000613e9f826132f3565b9150613eaa836132f3565b9250828202613eb8816132f3565b91508282048414831517613ecf57613ece613dc5565b5b5092915050565b7f4e6f7420656e6f756768206574682073656e7400000000000000000000000000600082015250565b6000613f0c60138361324c565b9150613f1782613ed6565b602082019050919050565b60006020820190508181036000830152613f3b81613eff565b9050919050565b6000604082019050613f576000830185613388565b613f646020830184613388565b9392505050565b600081519050613f7a81613692565b92915050565b600060208284031215613f9657613f9561317c565b5b6000613fa484828501613f6b565b91505092915050565b600081905092915050565b50565b6000613fc8600083613fad565b9150613fd382613fb8565b600082019050919050565b6000613fe982613fbb565b9150819050919050565b600082905092915050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026140607fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82614023565b61406a8683614023565b95508019841693508086168417925050509392505050565b6000819050919050565b60006140a76140a261409d846132f3565b614082565b6132f3565b9050919050565b6000819050919050565b6140c18361408c565b6140d56140cd826140ae565b848454614030565b825550505050565b600090565b6140ea6140dd565b6140f58184846140b8565b505050565b5b818110156141195761410e6000826140e2565b6001810190506140fb565b5050565b601f82111561415e5761412f81613ffe565b61413884614013565b81016020851015614147578190505b61415b61415385614013565b8301826140fa565b50505b505050565b600082821c905092915050565b600061418160001984600802614163565b1980831691505092915050565b600061419a8383614170565b9150826002028217905092915050565b6141b48383613ff3565b67ffffffffffffffff8111156141cd576141cc6133bc565b5b6141d78254613b38565b6141e282828561411d565b6000601f83116001811461421157600084156141ff578287013590505b614209858261418e565b865550614271565b601f19841661421f86613ffe565b60005b8281101561424757848901358255600182019150602085019450602081019050614222565b868310156142645784890135614260601f891682614170565b8355505b6001600288020188555050505b50505050505050565b7f5f746f206164647265737320616e64205f7175616e74697479206c656e67746860008201527f204d69736d617463682100000000000000000000000000000000000000000000602082015250565b60006142d6602a8361324c565b91506142e18261427a565b604082019050919050565b60006020820190508181036000830152614305816142c9565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000614346826132f3565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361437857614377613dc5565b5b600182019050919050565b7f455243373231614d657461646174613a2055524920717565727920666f72206e60008201527f6f6e6578697374656e7420746f6b656e00000000000000000000000000000000602082015250565b60006143df60308361324c565b91506143ea82614383565b604082019050919050565b6000602082019050818103600083015261440e816143d2565b9050919050565b600081905092915050565b6000815461442d81613b38565b6144378186614415565b9450600182166000811461445257600181146144675761449a565b60ff198316865281151582028601935061449a565b61447085613ffe565b60005b8381101561449257815481890152600182019150602081019050614473565b838801955050505b50505092915050565b60006144ae82613241565b6144b88185614415565b93506144c881856020860161325d565b80840191505092915050565b60006144e08286614420565b91506144ec82856144a3565b91506144f88284614420565b9150819050949350505050565b61450e82613241565b67ffffffffffffffff811115614527576145266133bc565b5b6145318254613b38565b61453c82828561411d565b600060209050601f83116001811461456f576000841561455d578287015190505b614567858261418e565b8655506145cf565b601f19841661457d86613ffe565b60005b828110156145a557848901518255600182019150602085019450602081019050614580565b868310156145c257848901516145be601f891682614170565b8355505b6001600288020188555050505b505050505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061463360268361324c565b915061463e826145d7565b604082019050919050565b6000602082019050818103600083015261466281614626565b9050919050565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b600061469f601c83614415565b91506146aa82614669565b601c82019050919050565b60006146c082614692565b91506146cc8284613d05565b60208201915081905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061471160208361324c565b915061471c826146db565b602082019050919050565b6000602082019050818103600083015261474081614704565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614781826132f3565b915061478c836132f3565b92508261479c5761479b614747565b5b828204905092915050565b60006147b2826132f3565b91506147bd836132f3565b92508282039050818111156147d5576147d4613dc5565b5b92915050565b60006147e6826132f3565b91506147f1836132f3565b92508261480157614800614747565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b600061487160188361324c565b915061487c8261483b565b602082019050919050565b600060208201905081810360008301526148a081614864565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b60006148dd601f8361324c565b91506148e8826148a7565b602082019050919050565b6000602082019050818103600083015261490c816148d0565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b600061496f60228361324c565b915061497a82614913565b604082019050919050565b6000602082019050818103600083015261499e81614962565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000614a0160228361324c565b9150614a0c826149a5565b604082019050919050565b60006020820190508181036000830152614a30816149f4565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000614a5e82614a37565b614a688185614a42565b9350614a7881856020860161325d565b614a8181613287565b840191505092915050565b6000608082019050614aa16000830187613388565b614aae6020830186613388565b614abb60408301856135af565b8181036060830152614acd8184614a53565b905095945050505050565b600081519050614ae7816131b2565b92915050565b600060208284031215614b0357614b0261317c565b5b6000614b1184828501614ad8565b91505092915050565b614b2381613cf1565b82525050565b6000608082019050614b3e6000830187614b1a565b614b4b60208301866139b5565b614b586040830185614b1a565b614b656060830184614b1a565b9594505050505056fea2646970667358221220d7a9ceaef8e6a531b4dc97140f793f210d5939101ecb558a6ef840d801d92b0964736f6c63430008110033

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.