ETH Price: $3,452.28 (+1.58%)

Token

DBY Club Pass (DBYPASS)
 

Overview

Max Total Supply

2,408 DBYPASS

Holders

219

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
thailapino.eth
Balance
1 DBYPASS
0x89c50d41bef923cc949051e1358d67bf13cad976
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:
DBYClubPass

Compiler Version
v0.8.18+commit.87f61d96

Optimization Enabled:
No with 200 runs

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

import "https://github.com/chiru-labs/ERC721A/blob/main/contracts/extensions/ERC721AQueryable.sol";
import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/access/Ownable.sol";
import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/cryptography/ECDSA.sol";
import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/Strings.sol";
import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v4.8.2/contracts/token/common/ERC2981.sol";

enum SalePhase {
    CLOSED,
    FREE,
    PAID,
    OPEN
}

error HashAlreadyUsed(bytes32 messageHash);
error HashDoesNotMatch(bytes32 messageHash);
error InsufficientPayment(uint256 weiSent, uint256 weiRequired, uint256 quantity);
error MaxSupplyReached();
error RejectZeroAddress();
error SaleNotActive(SalePhase salePhase, SalePhase attemptedPhase);
error SignerDoesNotMatchServer();
error InvalidQuantity(uint256 quantity);

contract DBYClubPass is ERC2981, ERC721AQueryable, Ownable {
    uint16 public constant MAX_SUPPLY = 15000;
    uint256 public constant RESERVED_SUPPLY = 2200;

    string public constant TOKEN_NAME = "DBY Club Pass";
    string public constant TOKEN_SYMBOL = "DBYPASS";

    string private tokenBaseURI;
    address private serverAddress;
    address private withdrawalAddress;

    mapping(bytes32 => bool) public usedHashes;

    SalePhase public salePhase = SalePhase.CLOSED;
    uint256 public mintPrice = 0.025 ether;

    // Require externally-owned accounts
    modifier onlyEOA() {
        require(msg.sender == tx.origin, "Not externally owned account");
        _;
    }

    constructor(string memory tokenBaseURI_, address serverAddress_, address withdrawalAddress_)
        ERC721A(TOKEN_NAME, TOKEN_SYMBOL)
    {
        tokenBaseURI = tokenBaseURI_;
        serverAddress = serverAddress_;
        withdrawalAddress = withdrawalAddress_;

        _mintERC2309(withdrawalAddress_, RESERVED_SUPPLY);
        _setDefaultRoyalty(withdrawalAddress_, 500);
    }

    /// @notice Set the token URI
    /// @param newTokenBaseURI New URI
    function setTokenBaseURI(string memory newTokenBaseURI) external onlyOwner {
        tokenBaseURI = newTokenBaseURI;
    }

    /// @dev View function used in ERC721A's 'tokenURI()' function
    function _baseURI() internal view override returns (string memory) {
        return tokenBaseURI;
    }

    /// @notice Set the current sale phase
    /// @param phase New sale phase
    function setSalePhase(SalePhase phase) external onlyOwner {
        salePhase = phase;
    }

    /// @notice Set the fee numerator for default royalty
    /// @param feeNumerator New fee numerator
    function setDefaultRoyalty(uint96 feeNumerator) external onlyOwner {
        _setDefaultRoyalty(withdrawalAddress, feeNumerator);
    }

    /// @notice Set new royalties
    /// @param price New mint price in wei
    function setMintPrice(uint256 price) external onlyOwner {
        mintPrice = price;
    }

    /// @notice Get whether or not address has minted
    /// @param owner Address to check
    function hasMinted(address owner) external view returns (bool) {
        return _numberMinted(owner) > 0;
    }

    function batchMint(uint256 quantity) external onlyOwner {
        _safeMint(msg.sender, quantity);
    }

    /// @notice Free mint
    /// @param v Parity of the y-coordinate of r
    /// @param r X-coordinate of r
    /// @param s S value of the signature
    /// @param msgLen Length of the unhashed message
    function freeMint(bytes32 messageHash, uint8 v, bytes32 r, bytes32 s, uint256 msgLen)
        external
        onlyEOA
    {
        if (salePhase != SalePhase.FREE && salePhase != SalePhase.OPEN) {
            revert SaleNotActive(salePhase, SalePhase.FREE);
        }
        if (totalSupply() + 1 > MAX_SUPPLY) {
            revert MaxSupplyReached();
        }
        if (!verifySignature(messageHash, v, r, s, msgLen, true)) {
            revert HashDoesNotMatch(messageHash);
        }
        if (usedHashes[messageHash]) {
            revert HashAlreadyUsed(messageHash);
        }
        usedHashes[messageHash] = true;
        _mint(msg.sender, 1);
    }

    /// @notice Paid mint
    /// @param v Parity of the y-coordinate of r
    /// @param r X-coordinate of r
    /// @param s S value of the signature
    /// @param msgLen Length of the unhashed message
    function mint(
        bytes32 messageHash,
        uint8 v,
        bytes32 r,
        bytes32 s,
        uint256 msgLen,
        uint256 quantity
    ) external payable onlyEOA {
        if (salePhase != SalePhase.PAID && salePhase != SalePhase.OPEN) {
            revert SaleNotActive(salePhase, SalePhase.PAID);
        }
        if (quantity != 1 && quantity != 2) {
            revert InvalidQuantity(quantity);
        }
        if (totalSupply() + quantity > MAX_SUPPLY) {
            revert MaxSupplyReached();
        }
        if (msg.value != mintPrice * quantity) {
            revert InsufficientPayment(msg.value, mintPrice, quantity);
        }
        if (!verifySignature(messageHash, v, r, s, msgLen, false)) {
            revert HashDoesNotMatch(messageHash);
        }
        if (usedHashes[messageHash]) {
            revert HashAlreadyUsed(messageHash);
        }
        usedHashes[messageHash] = true;
        _mint(msg.sender, quantity);
    }

    /// @notice Set the withdrawal address and set royalties to go to new withdrawal address
    /// @param _withdrawalAddress New address to send withdrawals
    function setWithdrawalAddress(address _withdrawalAddress) external onlyOwner {
        if (_withdrawalAddress == address(0)) {
            revert RejectZeroAddress();
        }
        withdrawalAddress = _withdrawalAddress;
        _setDefaultRoyalty(_withdrawalAddress, 500);
    }

    /// @notice Withdraw the ETH from the contract
    function withdrawETH() external onlyOwner {
        (bool sent,) = payable(withdrawalAddress).call{value: address(this).balance}("");
        require(sent, "Withdraw failed");
    }

    /// @notice Verify the incoming hash from the server
    function verifySignature(
        bytes32 messageHash,
        uint8 v,
        bytes32 r,
        bytes32 s,
        uint256 msgLen,
        bool isFree
    ) private view returns (bool) {
        bytes memory prefix = "\x19Ethereum Signed Message:\n";
        bytes32 contractHash = keccak256(
            abi.encodePacked(
                prefix,
                Strings.toString(msgLen),
                string.concat(
                    Strings.toHexString(uint256(uint160(msg.sender)), 20), isFree ? "free" : "paid"
                )
            )
        );

        address signer = ecrecover(contractHash, v, r, s);
        if (signer != serverAddress) {
            revert SignerDoesNotMatchServer();
        }
        return contractHash == messageHash;
    }

    function supportsInterface(bytes4 interfaceId)
        public
        view
        virtual
        override(IERC721A, ERC721A, ERC2981)
        returns (bool)
    {
        return super.supportsInterface(interfaceId);
    }
    
    /// @notice Set server address
    /// @param _serverAddress New server address
    function setServerAddress(address _serverAddress) external onlyOwner {
        serverAddress = _serverAddress;
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

        return (royalty.receiver, royaltyAmount);
    }

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

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

        _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator);
    }

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

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

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

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

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

pragma solidity ^0.8.0;

import "./math/Math.sol";
import "./math/SignedMath.sol";

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _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) {
        unchecked {
            uint256 length = Math.log10(value) + 1;
            string memory buffer = new string(length);
            uint256 ptr;
            /// @solidity memory-safe-assembly
            assembly {
                ptr := add(buffer, add(32, length))
            }
            while (true) {
                ptr--;
                /// @solidity memory-safe-assembly
                assembly {
                    mstore8(ptr, byte(mod(value, 10), _SYMBOLS))
                }
                value /= 10;
                if (value == 0) break;
            }
            return buffer;
        }
    }

    /**
     * @dev Converts a `int256` to its ASCII `string` decimal representation.
     */
    function toString(int256 value) internal pure returns (string memory) {
        return string(abi.encodePacked(value < 0 ? "-" : "", toString(SignedMath.abs(value))));
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        unchecked {
            return toHexString(value, Math.log256(value) + 1);
        }
    }

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

    /**
     * @dev Returns true if the two strings are equal.
     */
    function equal(string memory a, string memory b) internal pure returns (bool) {
        return keccak256(bytes(a)) == keccak256(bytes(b));
    }
}

File 4 of 15 : ECDSA.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/cryptography/ECDSA.sol)

pragma solidity ^0.8.0;

import "../Strings.sol";

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

    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");
        }
    }

    /**
     * @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 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 message) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        /// @solidity memory-safe-assembly
        assembly {
            mstore(0x00, "\x19Ethereum Signed Message:\n32")
            mstore(0x1c, hash)
            message := keccak256(0x00, 0x3c)
        }
    }

    /**
     * @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 data) {
        /// @solidity memory-safe-assembly
        assembly {
            let ptr := mload(0x40)
            mstore(ptr, "\x19\x01")
            mstore(add(ptr, 0x02), domainSeparator)
            mstore(add(ptr, 0x22), structHash)
            data := keccak256(ptr, 0x42)
        }
    }

    /**
     * @dev Returns an Ethereum Signed Data with intended validator, created from a
     * `validator` and `data` according to the version 0 of EIP-191.
     *
     * See {recover}.
     */
    function toDataWithIntendedValidatorHash(address validator, bytes memory data) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x00", validator, data));
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.4;

import './IERC721AQueryable.sol';
import '../ERC721A.sol';

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

    /**
     * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order.
     * See {ERC721AQueryable-explicitOwnershipOf}
     */
    function explicitOwnershipsOf(uint256[] calldata tokenIds)
        external
        view
        virtual
        override
        returns (TokenOwnership[] memory)
    {
        TokenOwnership[] memory ownerships;
        uint256 i = tokenIds.length;
        assembly {
            // Grab the free memory pointer.
            ownerships := mload(0x40)
            // Store the length.
            mstore(ownerships, i)
            // Allocate one word for the length,
            // `tokenIds.length` words for the pointers.
            i := shl(5, i) // Multiply `i` by 32.
            mstore(0x40, add(add(ownerships, 0x20), i))
        }
        while (i != 0) {
            uint256 tokenId;
            assembly {
                i := sub(i, 0x20)
                tokenId := calldataload(add(tokenIds.offset, i))
            }
            TokenOwnership memory ownership = explicitOwnershipOf(tokenId);
            assembly {
                // Store the pointer of `ownership` in the `ownerships` array.
                mstore(add(add(ownerships, 0x20), i), ownership)
            }
        }
        return ownerships;
    }

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

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

    /**
     * @dev Helper function for returning an array of token IDs owned by `owner`.
     *
     * Note that this function is optimized for smaller bytecode size over runtime gas,
     * since it is meant to be called off-chain.
     */
    function _tokensOfOwnerIn(
        address owner,
        uint256 start,
        uint256 stop
    ) private view returns (uint256[] memory) {
        unchecked {
            if (start >= stop) _revert(InvalidQueryRange.selector);
            // Set `start = max(start, _startTokenId())`.
            if (start < _startTokenId()) {
                start = _startTokenId();
            }
            uint256 stopLimit = _nextTokenId();
            // Set `stop = min(stop, stopLimit)`.
            if (stop >= stopLimit) {
                stop = stopLimit;
            }
            uint256[] memory tokenIds;
            uint256 tokenIdsMaxLength = balanceOf(owner);
            bool startLtStop = start < stop;
            assembly {
                // Set `tokenIdsMaxLength` to zero if `start` is less than `stop`.
                tokenIdsMaxLength := mul(tokenIdsMaxLength, startLtStop)
            }
            if (tokenIdsMaxLength != 0) {
                // Set `tokenIdsMaxLength = min(balanceOf(owner), stop - start)`,
                // to cater for cases where `balanceOf(owner)` is too big.
                if (stop - start <= tokenIdsMaxLength) {
                    tokenIdsMaxLength = stop - start;
                }
                assembly {
                    // Grab the free memory pointer.
                    tokenIds := mload(0x40)
                    // Allocate one word for the length, and `tokenIdsMaxLength` words
                    // for the data. `shl(5, x)` is equivalent to `mul(32, x)`.
                    mstore(0x40, add(tokenIds, shl(5, add(tokenIdsMaxLength, 1))))
                }
                // We need to call `explicitOwnershipOf(start)`,
                // because the slot at `start` may not be initialized.
                TokenOwnership memory ownership = explicitOwnershipOf(start);
                address currOwnershipAddr;
                // If the starting slot exists (i.e. not burned),
                // initialize `currOwnershipAddr`.
                // `ownership.address` will not be zero,
                // as `start` is clamped to the valid token ID range.
                if (!ownership.burned) {
                    currOwnershipAddr = ownership.addr;
                }
                uint256 tokenIdsIdx;
                // Use a do-while, which is slightly more efficient for this case,
                // as the array will at least contain one element.
                do {
                    ownership = _ownershipAt(start);
                    assembly {
                        switch mload(add(ownership, 0x40))
                        // if `ownership.burned == false`.
                        case 0 {
                            // if `ownership.addr != address(0)`.
                            // The `addr` already has it's upper 96 bits clearned,
                            // since it is written to memory with regular Solidity.
                            if mload(ownership) {
                                currOwnershipAddr := mload(ownership)
                            }
                            // if `currOwnershipAddr == owner`.
                            // The `shl(96, x)` is to make the comparison agnostic to any
                            // dirty upper 96 bits in `owner`.
                            if iszero(shl(96, xor(currOwnershipAddr, owner))) {
                                tokenIdsIdx := add(tokenIdsIdx, 1)
                                mstore(add(tokenIds, shl(5, tokenIdsIdx)), start)
                            }
                        }
                        // Otherwise, reset `currOwnershipAddr`.
                        // This handles the case of batch burned tokens
                        // (burned bit of first slot set, remaining slots left uninitialized).
                        default {
                            currOwnershipAddr := 0
                        }
                        start := add(start, 1)
                    }
                } while (!(start == stop || tokenIdsIdx == tokenIdsMaxLength));
                // Store the length of the array.
                assembly {
                    mstore(tokenIds, tokenIdsIdx)
                }
            }
            return tokenIds;
        }
    }
}

File 7 of 15 : ERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.3
// 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 {
    // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364).
    struct TokenApprovalRef {
        address value;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to ownership details
    // An empty struct value does not necessarily mean the token is unowned.
    // See {_packedOwnershipOf} implementation for details.
    //
    // Bits Layout:
    // - [0..159]   `addr`
    // - [160..223] `startTimestamp`
    // - [224]      `burned`
    // - [225]      `nextInitialized`
    // - [232..255] `extraData`
    mapping(uint256 => uint256) private _packedOwnerships;

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Returns the number of tokens in `owner`'s account.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        if (owner == address(0)) _revert(BalanceQueryForZeroAddress.selector);
        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.selector);

        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 Returns whether the ownership slot at `index` is initialized.
     * An uninitialized slot does not necessarily mean that the slot has no owner.
     */
    function _ownershipIsInitialized(uint256 index) internal view virtual returns (bool) {
        return _packedOwnerships[index] != 0;
    }

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

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

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

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

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

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

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

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

        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 {
        _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 result) {
        if (_startTokenId() <= tokenId) {
            if (tokenId < _currentIndex) {
                uint256 packed;
                while ((packed = _packedOwnerships[tokenId]) == 0) --tokenId;
                result = packed & _BITMASK_BURNED == 0;
            }
        }
    }

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

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

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

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token
     * by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public payable virtual override {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

        // Mask `from` to the lower 160 bits, in case the upper bits somehow aren't clean.
        from = address(uint160(uint256(uint160(from)) & _BITMASK_ADDRESS));

        if (address(uint160(prevOwnershipPacked)) != from) _revert(TransferFromIncorrectOwner.selector);

        (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.selector);

        _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;
                    }
                }
            }
        }

        // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean.
        uint256 toMasked = uint256(uint160(to)) & _BITMASK_ADDRESS;
        assembly {
            // 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.
                from, // `from`.
                toMasked, // `to`.
                tokenId // `tokenId`.
            )
        }
        if (toMasked == 0) _revert(TransferToZeroAddress.selector);

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

    /**
     * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public payable 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 payable virtual override {
        transferFrom(from, to, tokenId);
        if (to.code.length != 0)
            if (!_checkContractOnERC721Received(from, to, tokenId, _data)) {
                _revert(TransferToNonERC721ReceiverImplementer.selector);
            }
    }

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

        _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:
            // - `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)
            );

            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the `balance` and `numberMinted`.
            _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1);

            // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean.
            uint256 toMasked = uint256(uint160(to)) & _BITMASK_ADDRESS;

            if (toMasked == 0) _revert(MintToZeroAddress.selector);

            uint256 end = startTokenId + quantity;
            uint256 tokenId = startTokenId;

            do {
                assembly {
                    // 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`.
                        tokenId // `tokenId`.
                    )
                }
                // The `!=` check ensures that large values of `quantity`
                // that overflows uint256 will make the loop run out of gas.
            } while (++tokenId != end);

            _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.selector);
        if (quantity == 0) _revert(MintZeroQuantity.selector);
        if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) _revert(MintERC2309QuantityExceedsLimit.selector);

        _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.selector);
                    }
                } while (index < end);
                // Reentrancy protection.
                if (_currentIndex != end) _revert(bytes4(0));
            }
        }
    }

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

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

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

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the
     * zero address clears previous approvals.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function _approve(
        address to,
        uint256 tokenId,
        bool approvalCheck
    ) internal virtual {
        address owner = ownerOf(tokenId);

        if (approvalCheck && _msgSenderERC721A() != owner)
            if (!isApprovedForAll(owner, _msgSenderERC721A())) {
                _revert(ApprovalCallerNotOwnerNorApproved.selector);
            }

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

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

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

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

        address from = address(uint160(prevOwnershipPacked));

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

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

        _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.selector);
        uint256 extraDataCasted;
        // Cast `extraData` with assembly to avoid redundant masking.
        assembly {
            extraDataCasted := extraData
        }
        packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA);
        _packedOwnerships[index] = packed;
    }

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

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

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

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

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

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

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

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

    /**
     * @dev For more efficient reverts.
     */
    function _revert(bytes4 errorSelector) internal pure {
        assembly {
            mstore(0x00, errorSelector)
            revert(0x00, 0x04)
        }
    }
}

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

pragma solidity ^0.8.4;

import '../IERC721A.sol';

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

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

File 11 of 15 : SignedMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/SignedMath.sol)

pragma solidity ^0.8.0;

/**
 * @dev Standard signed math utilities missing in the Solidity language.
 */
library SignedMath {
    /**
     * @dev Returns the largest of two signed numbers.
     */
    function max(int256 a, int256 b) internal pure returns (int256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two signed numbers.
     */
    function min(int256 a, int256 b) internal pure returns (int256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two signed numbers without overflow.
     * The result is rounded towards zero.
     */
    function average(int256 a, int256 b) internal pure returns (int256) {
        // Formula from the book "Hacker's Delight"
        int256 x = (a & b) + ((a ^ b) >> 1);
        return x + (int256(uint256(x) >> 255) & (a ^ b));
    }

    /**
     * @dev Returns the absolute unsigned value of a signed value.
     */
    function abs(int256 n) internal pure returns (uint256) {
        unchecked {
            // must be unchecked in order to support `n = type(int256).min`
            return uint256(n >= 0 ? n : -n);
        }
    }
}

File 12 of 15 : Math.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol)

pragma solidity ^0.8.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    enum Rounding {
        Down, // Toward negative infinity
        Up, // Toward infinity
        Zero // Toward zero
    }

    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow.
        return (a & b) + (a ^ b) / 2;
    }

    /**
     * @dev Returns the ceiling of the division of two numbers.
     *
     * This differs from standard division with `/` in that it rounds up instead
     * of rounding down.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b - 1) / b can overflow on addition, so we distribute.
        return a == 0 ? 0 : (a - 1) / b + 1;
    }

    /**
     * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0
     * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv)
     * with further edits by Uniswap Labs also under MIT license.
     */
    function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) {
        unchecked {
            // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use
            // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256
            // variables such that product = prod1 * 2^256 + prod0.
            uint256 prod0; // Least significant 256 bits of the product
            uint256 prod1; // Most significant 256 bits of the product
            assembly {
                let mm := mulmod(x, y, not(0))
                prod0 := mul(x, y)
                prod1 := sub(sub(mm, prod0), lt(mm, prod0))
            }

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                // Solidity will revert if denominator == 0, unlike the div opcode on its own.
                // The surrounding unchecked block does not change this fact.
                // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic.
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            require(denominator > prod1, "Math: mulDiv overflow");

            ///////////////////////////////////////////////
            // 512 by 256 division.
            ///////////////////////////////////////////////

            // Make division exact by subtracting the remainder from [prod1 prod0].
            uint256 remainder;
            assembly {
                // Compute remainder using mulmod.
                remainder := mulmod(x, y, denominator)

                // Subtract 256 bit number from 512 bit number.
                prod1 := sub(prod1, gt(remainder, prod0))
                prod0 := sub(prod0, remainder)
            }

            // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1.
            // See https://cs.stackexchange.com/q/138556/92363.

            // Does not overflow because the denominator cannot be zero at this stage in the function.
            uint256 twos = denominator & (~denominator + 1);
            assembly {
                // Divide denominator by twos.
                denominator := div(denominator, twos)

                // Divide [prod1 prod0] by twos.
                prod0 := div(prod0, twos)

                // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.
                twos := add(div(sub(0, twos), twos), 1)
            }

            // Shift in bits from prod1 into prod0.
            prod0 |= prod1 * twos;

            // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such
            // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for
            // four bits. That is, denominator * inv = 1 mod 2^4.
            uint256 inverse = (3 * denominator) ^ 2;

            // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works
            // in modular arithmetic, doubling the correct bits in each step.
            inverse *= 2 - denominator * inverse; // inverse mod 2^8
            inverse *= 2 - denominator * inverse; // inverse mod 2^16
            inverse *= 2 - denominator * inverse; // inverse mod 2^32
            inverse *= 2 - denominator * inverse; // inverse mod 2^64
            inverse *= 2 - denominator * inverse; // inverse mod 2^128
            inverse *= 2 - denominator * inverse; // inverse mod 2^256

            // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.
            // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is
            // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1
            // is no longer required.
            result = prod0 * inverse;
            return result;
        }
    }

    /**
     * @notice Calculates x * y / denominator with full precision, following the selected rounding direction.
     */
    function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) {
        uint256 result = mulDiv(x, y, denominator);
        if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) {
            result += 1;
        }
        return result;
    }

    /**
     * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down.
     *
     * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11).
     */
    function sqrt(uint256 a) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }

        // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.
        //
        // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have
        // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.
        //
        // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`
        // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`
        // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`
        //
        // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.
        uint256 result = 1 << (log2(a) >> 1);

        // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,
        // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at
        // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision
        // into the expected uint128 result.
        unchecked {
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            return min(result, a / result);
        }
    }

    /**
     * @notice Calculates sqrt(a), following the selected rounding direction.
     */
    function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = sqrt(a);
            return result + (rounding == Rounding.Up && result * result < a ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 2, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 128;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 64;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 32;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 16;
            }
            if (value >> 8 > 0) {
                value >>= 8;
                result += 8;
            }
            if (value >> 4 > 0) {
                value >>= 4;
                result += 4;
            }
            if (value >> 2 > 0) {
                value >>= 2;
                result += 2;
            }
            if (value >> 1 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 2, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log2(value);
            return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 10, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >= 10 ** 64) {
                value /= 10 ** 64;
                result += 64;
            }
            if (value >= 10 ** 32) {
                value /= 10 ** 32;
                result += 32;
            }
            if (value >= 10 ** 16) {
                value /= 10 ** 16;
                result += 16;
            }
            if (value >= 10 ** 8) {
                value /= 10 ** 8;
                result += 8;
            }
            if (value >= 10 ** 4) {
                value /= 10 ** 4;
                result += 4;
            }
            if (value >= 10 ** 2) {
                value /= 10 ** 2;
                result += 2;
            }
            if (value >= 10 ** 1) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log10(value);
            return result + (rounding == Rounding.Up && 10 ** result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 256, rounded down, of a positive value.
     * Returns 0 if given 0.
     *
     * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.
     */
    function log256(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 16;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 8;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 4;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 2;
            }
            if (value >> 8 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 256, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log256(value);
            return result + (rounding == Rounding.Up && 1 << (result << 3) < value ? 1 : 0);
        }
    }
}

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.4;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
     */
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables or disables
     * (`approved`) `operator` to manage all of its assets.
     */
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /**
     * @dev Returns the number of tokens in `owner`'s account.
     */
    function balanceOf(address owner) external view returns (uint256 balance);

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) external view returns (address owner);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`,
     * checking first that contract recipients are aware of the ERC721 protocol
     * to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be have been allowed to move
     * this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement
     * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes calldata data
    ) external payable;

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

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {safeTransferFrom}
     * whenever possible.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token
     * by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external payable;

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"tokenBaseURI_","type":"string"},{"internalType":"address","name":"serverAddress_","type":"address"},{"internalType":"address","name":"withdrawalAddress_","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[{"internalType":"bytes32","name":"messageHash","type":"bytes32"}],"name":"HashAlreadyUsed","type":"error"},{"inputs":[{"internalType":"bytes32","name":"messageHash","type":"bytes32"}],"name":"HashDoesNotMatch","type":"error"},{"inputs":[{"internalType":"uint256","name":"weiSent","type":"uint256"},{"internalType":"uint256","name":"weiRequired","type":"uint256"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"InsufficientPayment","type":"error"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"InvalidQuantity","type":"error"},{"inputs":[],"name":"InvalidQueryRange","type":"error"},{"inputs":[],"name":"MaxSupplyReached","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"RejectZeroAddress","type":"error"},{"inputs":[{"internalType":"enum SalePhase","name":"salePhase","type":"uint8"},{"internalType":"enum SalePhase","name":"attemptedPhase","type":"uint8"}],"name":"SaleNotActive","type":"error"},{"inputs":[],"name":"SignerDoesNotMatchServer","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":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RESERVED_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOKEN_NAME","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOKEN_SYMBOL","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":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"batchMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"explicitOwnershipOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership","name":"ownership","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"explicitOwnershipsOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"messageHash","type":"bytes32"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"},{"internalType":"uint256","name":"msgLen","type":"uint256"}],"name":"freeMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"hasMinted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":[{"internalType":"bytes32","name":"messageHash","type":"bytes32"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"},{"internalType":"uint256","name":"msgLen","type":"uint256"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"salePhase","outputs":[{"internalType":"enum SalePhase","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint96","name":"feeNumerator","type":"uint96"}],"name":"setDefaultRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"name":"setMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum SalePhase","name":"phase","type":"uint8"}],"name":"setSalePhase","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_serverAddress","type":"address"}],"name":"setServerAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newTokenBaseURI","type":"string"}],"name":"setTokenBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_withdrawalAddress","type":"address"}],"name":"setWithdrawalAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"start","type":"uint256"},{"internalType":"uint256","name":"stop","type":"uint256"}],"name":"tokensOfOwnerIn","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"usedHashes","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawETH","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526000600f60006101000a81548160ff021916908360038111156200002d576200002c620006ed565b5b02179055506658d15e176280006010553480156200004a57600080fd5b50604051620058d5380380620058d5833981810160405281019062000070919062000914565b6040518060400160405280600d81526020017f44425920436c75622050617373000000000000000000000000000000000000008152506040518060400160405280600781526020017f44425950415353000000000000000000000000000000000000000000000000008152508160049081620000ed919062000bda565b508060059081620000ff919062000bda565b5062000110620001fd60201b60201c565b6002819055505050620001386200012c6200020260201b60201c565b6200020a60201b60201c565b82600b908162000149919062000bda565b5081600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550620001e081610898620002d060201b60201c565b620001f4816101f4620004b760201b60201c565b50505062000e0a565b600090565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60006002549050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603620003255762000324632e07630060e01b6200065960201b60201c565b5b6000820362000347576200034663b562e8dd60e01b6200065960201b60201c565b5b6113888211156200036b576200036a633db1f9af60e01b6200065960201b60201c565b5b6200038060008483856200066360201b60201c565b600160406001901b178202600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506200040f83620003f160008660006200066960201b60201c565b62000402856200069960201b60201c565b17620006a960201b60201c565b60066000838152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff16827fdeaa91b6123d068f5821d0fb0678463d1a8a6079fe8af5de3ce5e896dcf9133d6001868601036040516200048c919062000cd2565b60405180910390a4818101600281905550620004b26000848385620006d460201b60201c565b505050565b620004c7620006da60201b60201c565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff16111562000528576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200051f9062000d76565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036200059a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620005919062000de8565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff168152506000808201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b8060005260046000fd5b50505050565b60008060e883901c905060e862000688868684620006e460201b60201c565b62ffffff16901b9150509392505050565b60006001821460e11b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6000612710905090565b60009392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b62000785826200073a565b810181811067ffffffffffffffff82111715620007a757620007a66200074b565b5b80604052505050565b6000620007bc6200071c565b9050620007ca82826200077a565b919050565b600067ffffffffffffffff821115620007ed57620007ec6200074b565b5b620007f8826200073a565b9050602081019050919050565b60005b838110156200082557808201518184015260208101905062000808565b60008484015250505050565b6000620008486200084284620007cf565b620007b0565b90508281526020810184848401111562000867576200086662000735565b5b6200087484828562000805565b509392505050565b600082601f83011262000894576200089362000730565b5b8151620008a684826020860162000831565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620008dc82620008af565b9050919050565b620008ee81620008cf565b8114620008fa57600080fd5b50565b6000815190506200090e81620008e3565b92915050565b60008060006060848603121562000930576200092f62000726565b5b600084015167ffffffffffffffff8111156200095157620009506200072b565b5b6200095f868287016200087c565b93505060206200097286828701620008fd565b92505060406200098586828701620008fd565b9150509250925092565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620009e257607f821691505b602082108103620009f857620009f76200099a565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830262000a627fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000a23565b62000a6e868362000a23565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b600062000abb62000ab562000aaf8462000a86565b62000a90565b62000a86565b9050919050565b6000819050919050565b62000ad78362000a9a565b62000aef62000ae68262000ac2565b84845462000a30565b825550505050565b600090565b62000b0662000af7565b62000b1381848462000acc565b505050565b5b8181101562000b3b5762000b2f60008262000afc565b60018101905062000b19565b5050565b601f82111562000b8a5762000b5481620009fe565b62000b5f8462000a13565b8101602085101562000b6f578190505b62000b8762000b7e8562000a13565b83018262000b18565b50505b505050565b600082821c905092915050565b600062000baf6000198460080262000b8f565b1980831691505092915050565b600062000bca838362000b9c565b9150826002028217905092915050565b62000be5826200098f565b67ffffffffffffffff81111562000c015762000c006200074b565b5b62000c0d8254620009c9565b62000c1a82828562000b3f565b600060209050601f83116001811462000c52576000841562000c3d578287015190505b62000c49858262000bbc565b86555062000cb9565b601f19841662000c6286620009fe565b60005b8281101562000c8c5784890151825560018201915060208501945060208101905062000c65565b8683101562000cac578489015162000ca8601f89168262000b9c565b8355505b6001600288020188555050505b505050505050565b62000ccc8162000a86565b82525050565b600060208201905062000ce9600083018462000cc1565b92915050565b600082825260208201905092915050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b600062000d5e602a8362000cef565b915062000d6b8262000d00565b604082019050919050565b6000602082019050818103600083015262000d918162000d4f565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b600062000dd060198362000cef565b915062000ddd8262000d98565b602082019050919050565b6000602082019050818103600083015262000e038162000dc1565b9050919050565b614abb8062000e1a6000396000f3fe60806040526004361061023b5760003560e01c8063715018a61161012e578063aef18bf7116100ab578063e086e5ec1161006f578063e086e5ec1461088b578063e4f2487a146108a2578063e985e9c5146108cd578063f2fde38b1461090a578063f4a0a528146109335761023b565b8063aef18bf71461078f578063b88d4fde146107cc578063c23dc68f146107e8578063c87b56dd14610825578063d6948b75146108625761023b565b80638da5cb5b116100f25780638da5cb5b146106aa5780638ef79e91146106d557806395d89b41146106fe57806399a2557a14610729578063a22cb465146107665761023b565b8063715018a6146105db578063738cfeb2146105f25780637ad594311461061b5780638462151c146106445780638467be0d146106815761023b565b806331a53e9a116101bc5780635bbb2177116101805780635bbb2177146104dd5780636352211e1461051a5780636817c76c1461055757806369925a631461058257806370a082311461059e5761023b565b806331a53e9a1461040557806332cb6b0c1461043057806338e21cce1461045b57806342842e0e1461049857806347b64eb0146104b45761023b565b80631882140011610203578063188214001461032c57806321b8092e1461035757806323b872dd146103805780632a55205a1461039c5780632a905318146103da5761023b565b806301ffc9a71461024057806306fdde031461027d578063081812fc146102a8578063095ea7b3146102e557806318160ddd14610301575b600080fd5b34801561024c57600080fd5b506102676004803603810190610262919061329a565b61095c565b60405161027491906132e2565b60405180910390f35b34801561028957600080fd5b5061029261096e565b60405161029f919061338d565b60405180910390f35b3480156102b457600080fd5b506102cf60048036038101906102ca91906133e5565b610a00565b6040516102dc9190613453565b60405180910390f35b6102ff60048036038101906102fa919061349a565b610a5e565b005b34801561030d57600080fd5b50610316610a6e565b60405161032391906134e9565b60405180910390f35b34801561033857600080fd5b50610341610a85565b60405161034e919061338d565b60405180910390f35b34801561036357600080fd5b5061037e60048036038101906103799190613504565b610abe565b005b61039a60048036038101906103959190613531565b610b7c565b005b3480156103a857600080fd5b506103c360048036038101906103be9190613584565b610e3d565b6040516103d19291906135c4565b60405180910390f35b3480156103e657600080fd5b506103ef611027565b6040516103fc919061338d565b60405180910390f35b34801561041157600080fd5b5061041a611060565b60405161042791906134e9565b60405180910390f35b34801561043c57600080fd5b50610445611066565b604051610452919061360a565b60405180910390f35b34801561046757600080fd5b50610482600480360381019061047d9190613504565b61106c565b60405161048f91906132e2565b60405180910390f35b6104b260048036038101906104ad9190613531565b611080565b005b3480156104c057600080fd5b506104db60048036038101906104d69190613504565b6110a0565b005b3480156104e957600080fd5b5061050460048036038101906104ff919061368a565b6110ec565b604051610511919061383a565b60405180910390f35b34801561052657600080fd5b50610541600480360381019061053c91906133e5565b61114c565b60405161054e9190613453565b60405180910390f35b34801561056357600080fd5b5061056c61115e565b60405161057991906134e9565b60405180910390f35b61059c600480360381019061059791906138cb565b611164565b005b3480156105aa57600080fd5b506105c560048036038101906105c09190613504565b61148b565b6040516105d291906134e9565b60405180910390f35b3480156105e757600080fd5b506105f0611522565b005b3480156105fe57600080fd5b5061061960048036038101906106149190613958565b611536565b005b34801561062757600080fd5b50610642600480360381019061063d91906139f8565b6117b3565b005b34801561065057600080fd5b5061066b60048036038101906106669190613504565b6117e8565b6040516106789190613ae3565b60405180910390f35b34801561068d57600080fd5b506106a860048036038101906106a391906133e5565b611824565b005b3480156106b657600080fd5b506106bf611839565b6040516106cc9190613453565b60405180910390f35b3480156106e157600080fd5b506106fc60048036038101906106f79190613c35565b611863565b005b34801561070a57600080fd5b5061071361187e565b604051610720919061338d565b60405180910390f35b34801561073557600080fd5b50610750600480360381019061074b9190613c7e565b611910565b60405161075d9190613ae3565b60405180910390f35b34801561077257600080fd5b5061078d60048036038101906107889190613cfd565b611926565b005b34801561079b57600080fd5b506107b660048036038101906107b19190613d3d565b611a31565b6040516107c391906132e2565b60405180910390f35b6107e660048036038101906107e19190613e0b565b611a51565b005b3480156107f457600080fd5b5061080f600480360381019061080a91906133e5565b611aa3565b60405161081c9190613ee3565b60405180910390f35b34801561083157600080fd5b5061084c600480360381019061084791906133e5565b611af9565b604051610859919061338d565b60405180910390f35b34801561086e57600080fd5b5061088960048036038101906108849190613f42565b611b76565b005b34801561089757600080fd5b506108a0611bad565b005b3480156108ae57600080fd5b506108b7611c86565b6040516108c49190613fe6565b60405180910390f35b3480156108d957600080fd5b506108f460048036038101906108ef9190614001565b611c99565b60405161090191906132e2565b60405180910390f35b34801561091657600080fd5b50610931600480360381019061092c9190613504565b611d2d565b005b34801561093f57600080fd5b5061095a600480360381019061095591906133e5565b611db0565b005b600061096782611dc2565b9050919050565b60606004805461097d90614070565b80601f01602080910402602001604051908101604052809291908181526020018280546109a990614070565b80156109f65780601f106109cb576101008083540402835291602001916109f6565b820191906000526020600020905b8154815290600101906020018083116109d957829003601f168201915b5050505050905090565b6000610a0b82611e54565b610a2057610a1f63cf4700e460e01b611ecd565b5b6008600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b610a6a82826001611ed7565b5050565b6000610a78612006565b6003546002540303905090565b6040518060400160405280600d81526020017f44425920436c756220506173730000000000000000000000000000000000000081525081565b610ac661200b565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610b2c576040517f206295f600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550610b79816101f4612089565b50565b6000610b878261221d565b905073ffffffffffffffffffffffffffffffffffffffff8473ffffffffffffffffffffffffffffffffffffffff161693508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610bfc57610bfb63a114810060e01b611ecd565b5b600080610c0884612309565b91509150610c1e8187610c19612330565b612338565b610c4957610c3386610c2e612330565b611c99565b610c4857610c476359c896be60e01b611ecd565b5b5b610c56868686600161237c565b8015610c6157600082555b600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550610d2f85610d0b888887612382565b7c0200000000000000000000000000000000000000000000000000000000176123aa565b600660008681526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000841603610db55760006001850190506000600660008381526020019081526020016000205403610db3576002548114610db2578360066000838152602001908152602001600020819055505b5b505b600073ffffffffffffffffffffffffffffffffffffffff8673ffffffffffffffffffffffffffffffffffffffff161690508481887fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a460008103610e2757610e2663ea553b3460e01b611ecd565b5b610e3487878760016123d5565b50505050505050565b6000806000600160008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1603610fd25760006040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b6000610fdc6123db565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff168661100891906140d0565b6110129190614141565b90508160000151819350935050509250929050565b6040518060400160405280600781526020017f444259504153530000000000000000000000000000000000000000000000000081525081565b61089881565b613a9881565b600080611078836123e5565b119050919050565b61109b83838360405180602001604052806000815250611a51565b505050565b6110a861200b565b80600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b606080600084849050905060405191508082528060051b90508060208301016040525b60008114611141576000602082039150818601359050600061113082611aa3565b90508083602086010152505061110f565b819250505092915050565b60006111578261221d565b9050919050565b60105481565b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146111d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111c9906141be565b60405180910390fd5b600260038111156111e6576111e5613f6f565b5b600f60009054906101000a900460ff16600381111561120857611207613f6f565b5b14158015611249575060038081111561122457611223613f6f565b5b600f60009054906101000a900460ff16600381111561124657611245613f6f565b5b14155b1561129d57600f60009054906101000a900460ff1660026040517f08edb5c40000000000000000000000000000000000000000000000000000000081526004016112949291906141de565b60405180910390fd5b600181141580156112af575060028114155b156112f157806040517fad525a960000000000000000000000000000000000000000000000000000000081526004016112e891906134e9565b60405180910390fd5b613a9861ffff1681611301610a6e565b61130b9190614207565b1115611343576040517fd05cb60900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060105461135191906140d0565b341461139a5734601054826040517ff6c7ae600000000000000000000000000000000000000000000000000000000081526004016113919392919061423b565b60405180910390fd5b6113a98686868686600061243c565b6113ea57856040517f42dcab5d0000000000000000000000000000000000000000000000000000000081526004016113e19190614281565b60405180910390fd5b600e600087815260200190815260200160002060009054906101000a900460ff161561144d57856040517ff2f8f56b0000000000000000000000000000000000000000000000000000000081526004016114449190614281565b60405180910390fd5b6001600e600088815260200190815260200160002060006101000a81548160ff0219169083151502179055506114833382612651565b505050505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036114d1576114d0638f4eb60460e01b611ecd565b5b67ffffffffffffffff600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b61152a61200b565b61153460006127b5565b565b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146115a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161159b906141be565b60405180910390fd5b600160038111156115b8576115b7613f6f565b5b600f60009054906101000a900460ff1660038111156115da576115d9613f6f565b5b1415801561161b57506003808111156115f6576115f5613f6f565b5b600f60009054906101000a900460ff16600381111561161857611617613f6f565b5b14155b1561166f57600f60009054906101000a900460ff1660016040517f08edb5c40000000000000000000000000000000000000000000000000000000081526004016116669291906141de565b60405180910390fd5b613a9861ffff166001611680610a6e565b61168a9190614207565b11156116c2576040517fd05cb60900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6116d18585858585600161243c565b61171257846040517f42dcab5d0000000000000000000000000000000000000000000000000000000081526004016117099190614281565b60405180910390fd5b600e600086815260200190815260200160002060009054906101000a900460ff161561177557846040517ff2f8f56b00000000000000000000000000000000000000000000000000000000815260040161176c9190614281565b60405180910390fd5b6001600e600087815260200190815260200160002060006101000a81548160ff0219169083151502179055506117ac336001612651565b5050505050565b6117bb61200b565b80600f60006101000a81548160ff021916908360038111156117e0576117df613f6f565b5b021790555050565b606060006117f4612006565b9050600061180061287b565b9050606081831461181957611816858484612885565b90505b809350505050919050565b61182c61200b565b61183633826129ab565b50565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61186b61200b565b80600b908161187a9190614448565b5050565b60606005805461188d90614070565b80601f01602080910402602001604051908101604052809291908181526020018280546118b990614070565b80156119065780601f106118db57610100808354040283529160200191611906565b820191906000526020600020905b8154815290600101906020018083116118e957829003601f168201915b5050505050905090565b606061191d848484612885565b90509392505050565b8060096000611933612330565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166119e0612330565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611a2591906132e2565b60405180910390a35050565b600e6020528060005260406000206000915054906101000a900460ff1681565b611a5c848484610b7c565b60008373ffffffffffffffffffffffffffffffffffffffff163b14611a9d57611a87848484846129c9565b611a9c57611a9b63d1a57ed660e01b611ecd565b5b5b50505050565b611aab6131df565b611ab3612006565b8210611af357611ac161287b565b821015611af2575b611ad282612af8565b611ae25781600190039150611ac9565b611aeb82612b18565b9050611af4565b5b5b919050565b6060611b0482611e54565b611b1957611b1863a14c4b5060e01b611ecd565b5b6000611b23612b43565b90506000815103611b435760405180602001604052806000815250611b6e565b80611b4d84612bd5565b604051602001611b5e929190614556565b6040516020818303038152906040525b915050919050565b611b7e61200b565b611baa600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682612089565b50565b611bb561200b565b6000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1647604051611bfd906145ab565b60006040518083038185875af1925050503d8060008114611c3a576040519150601f19603f3d011682016040523d82523d6000602084013e611c3f565b606091505b5050905080611c83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c7a9061460c565b60405180910390fd5b50565b600f60009054906101000a900460ff1681565b6000600960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611d3561200b565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611da4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d9b9061469e565b60405180910390fd5b611dad816127b5565b50565b611db861200b565b8060108190555050565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611e1d57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611e4d5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b600081611e5f612006565b11611ec857600254821015611ec75760005b6000600660008581526020019081526020016000205491508103611ea05782611e99906146be565b9250611e71565b60007c01000000000000000000000000000000000000000000000000000000008216149150505b5b919050565b8060005260046000fd5b6000611ee28361114c565b9050818015611f2457508073ffffffffffffffffffffffffffffffffffffffff16611f0b612330565b73ffffffffffffffffffffffffffffffffffffffff1614155b15611f5057611f3a81611f35612330565b611c99565b611f4f57611f4e63cfb3b94260e01b611ecd565b5b5b836008600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550828473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a450505050565b600090565b612013612c25565b73ffffffffffffffffffffffffffffffffffffffff16612031611839565b73ffffffffffffffffffffffffffffffffffffffff1614612087576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161207e90614733565b60405180910390fd5b565b6120916123db565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff1611156120ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120e6906147c5565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361215e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161215590614831565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff168152506000808201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b600081612228612006565b116122f35760066000838152602001908152602001600020549050600081036122ca5760025482106122655761226463df2d9b4260e01b611ecd565b5b5b600660008360019003935083815260200190815260200160002054905060008103156122c55760007c010000000000000000000000000000000000000000000000000000000082160315612304576122c463df2d9b4260e01b611ecd565b5b612266565b60007c010000000000000000000000000000000000000000000000000000000082160315612304575b61230363df2d9b4260e01b611ecd565b5b919050565b60008060006008600085815260200190815260200160002090508092508254915050915091565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8612399868684612c2d565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6000612710905090565b600067ffffffffffffffff6040600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054901c169050919050565b6000806040518060400160405280601a81526020017f19457468657265756d205369676e6564204d6573736167653a0a000000000000815250905060008161248386612c36565b6124a43373ffffffffffffffffffffffffffffffffffffffff166014612d04565b866124e4576040518060400160405280600481526020017f706169640000000000000000000000000000000000000000000000000000000081525061251b565b6040518060400160405280600481526020017f66726565000000000000000000000000000000000000000000000000000000008152505b60405160200161252c929190614556565b60405160208183030381529060405260405160200161254d9392919061488d565b60405160208183030381529060405280519060200120905060006001828a8a8a6040516000815260200160405260405161258a94939291906148cd565b6020604051602081039080840390855afa1580156125ac573d6000803e3d6000fd5b505050602060405103519050600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461263f576040517fe38d415d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b89821493505050509695505050505050565b60006002549050600082036126715761267063b562e8dd60e01b611ecd565b5b61267e600084838561237c565b61269e8361268f6000866000612382565b61269885612f40565b176123aa565b6006600083815260200190815260200160002081905550600160406001901b178202600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550600073ffffffffffffffffffffffffffffffffffffffff8473ffffffffffffffffffffffffffffffffffffffff161690506000810361275657612755632e07630060e01b611ecd565b5b6000838301905060008390505b808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a481816001019150810361276357816002819055505050506127b060008483856123d5565b505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000600254905090565b606081831061289f5761289e6332c1995a60e01b611ecd565b5b6128a7612006565b8310156128b9576128b6612006565b92505b60006128c361287b565b90508083106128d0578092505b606060006128dd8761148b565b90506000858710905080820291506000821461299d5781878703116129025786860391505b60405192506001820160051b8301604052600061291e88611aa3565b90506000816040015161293357816000015190505b60005b61293f8a612b18565b9250604083015160008114612957576000925061297d565b83511561296357835192505b8b831860601b61297c576001820191508a8260051b8801525b5b5060018a019950888a148061299157508481145b15612936578086525050505b829450505050509392505050565b6129c5828260405180602001604052806000815250612f50565b5050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026129ef612330565b8786866040518563ffffffff1660e01b8152600401612a11949392919061495c565b6020604051808303816000875af1925050508015612a4d57506040513d601f19601f82011682018060405250810190612a4a91906149bd565b60015b612aa5573d8060008114612a7d576040519150601f19603f3d011682016040523d82523d6000602084013e612a82565b606091505b506000815103612a9d57612a9c63d1a57ed660e01b611ecd565b5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b600080600660008481526020019081526020016000205414159050919050565b612b206131df565b612b3c6006600084815260200190815260200160002054612fd6565b9050919050565b6060600b8054612b5290614070565b80601f0160208091040260200160405190810160405280929190818152602001828054612b7e90614070565b8015612bcb5780601f10612ba057610100808354040283529160200191612bcb565b820191906000526020600020905b815481529060010190602001808311612bae57829003601f168201915b5050505050905090565b606060a060405101806040526020810391506000825281835b600115612c1057600184039350600a81066030018453600a8104905080612bee575b50828103602084039350808452505050919050565b600033905090565b60009392505050565b606060006001612c458461308c565b01905060008167ffffffffffffffff811115612c6457612c63613b0a565b5b6040519080825280601f01601f191660200182016040528015612c965781602001600182028036833780820191505090505b509050600082602001820190505b600115612cf9578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a8581612ced57612cec614112565b5b04945060008503612ca4575b819350505050919050565b606060006002836002612d1791906140d0565b612d219190614207565b67ffffffffffffffff811115612d3a57612d39613b0a565b5b6040519080825280601f01601f191660200182016040528015612d6c5781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110612da457612da36149ea565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110612e0857612e076149ea565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060006001846002612e4891906140d0565b612e529190614207565b90505b6001811115612ef2577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110612e9457612e936149ea565b5b1a60f81b828281518110612eab57612eaa6149ea565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080612eeb906146be565b9050612e55565b5060008414612f36576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f2d90614a65565b60405180910390fd5b8091505092915050565b60006001821460e11b9050919050565b612f5a8383612651565b60008373ffffffffffffffffffffffffffffffffffffffff163b14612fd15760006002549050600083820390505b612f9b60008683806001019450866129c9565b612fb057612faf63d1a57ed660e01b611ecd565b5b818110612f88578160025414612fce57612fcd600060e01b611ecd565b5b50505b505050565b612fde6131df565b81816000019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505060a082901c816020019067ffffffffffffffff16908167ffffffffffffffff168152505060007c01000000000000000000000000000000000000000000000000000000008316141581604001901515908115158152505060e882901c816060019062ffffff16908162ffffff1681525050919050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083106130ea577a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083816130e0576130df614112565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310613127576d04ee2d6d415b85acef8100000000838161311d5761311c614112565b5b0492506020810190505b662386f26fc10000831061315657662386f26fc10000838161314c5761314b614112565b5b0492506010810190505b6305f5e100831061317f576305f5e100838161317557613174614112565b5b0492506008810190505b61271083106131a457612710838161319a57613199614112565b5b0492506004810190505b606483106131c757606483816131bd576131bc614112565b5b0492506002810190505b600a83106131d6576001810190505b80915050919050565b6040518060800160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff168152602001600015158152602001600062ffffff1681525090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61327781613242565b811461328257600080fd5b50565b6000813590506132948161326e565b92915050565b6000602082840312156132b0576132af613238565b5b60006132be84828501613285565b91505092915050565b60008115159050919050565b6132dc816132c7565b82525050565b60006020820190506132f760008301846132d3565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561333757808201518184015260208101905061331c565b60008484015250505050565b6000601f19601f8301169050919050565b600061335f826132fd565b6133698185613308565b9350613379818560208601613319565b61338281613343565b840191505092915050565b600060208201905081810360008301526133a78184613354565b905092915050565b6000819050919050565b6133c2816133af565b81146133cd57600080fd5b50565b6000813590506133df816133b9565b92915050565b6000602082840312156133fb576133fa613238565b5b6000613409848285016133d0565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061343d82613412565b9050919050565b61344d81613432565b82525050565b60006020820190506134686000830184613444565b92915050565b61347781613432565b811461348257600080fd5b50565b6000813590506134948161346e565b92915050565b600080604083850312156134b1576134b0613238565b5b60006134bf85828601613485565b92505060206134d0858286016133d0565b9150509250929050565b6134e3816133af565b82525050565b60006020820190506134fe60008301846134da565b92915050565b60006020828403121561351a57613519613238565b5b600061352884828501613485565b91505092915050565b60008060006060848603121561354a57613549613238565b5b600061355886828701613485565b935050602061356986828701613485565b925050604061357a868287016133d0565b9150509250925092565b6000806040838503121561359b5761359a613238565b5b60006135a9858286016133d0565b92505060206135ba858286016133d0565b9150509250929050565b60006040820190506135d96000830185613444565b6135e660208301846134da565b9392505050565b600061ffff82169050919050565b613604816135ed565b82525050565b600060208201905061361f60008301846135fb565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f84011261364a57613649613625565b5b8235905067ffffffffffffffff8111156136675761366661362a565b5b6020830191508360208202830111156136835761368261362f565b5b9250929050565b600080602083850312156136a1576136a0613238565b5b600083013567ffffffffffffffff8111156136bf576136be61323d565b5b6136cb85828601613634565b92509250509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61370c81613432565b82525050565b600067ffffffffffffffff82169050919050565b61372f81613712565b82525050565b61373e816132c7565b82525050565b600062ffffff82169050919050565b61375c81613744565b82525050565b6080820160008201516137786000850182613703565b50602082015161378b6020850182613726565b50604082015161379e6040850182613735565b5060608201516137b16060850182613753565b50505050565b60006137c38383613762565b60808301905092915050565b6000602082019050919050565b60006137e7826136d7565b6137f181856136e2565b93506137fc836136f3565b8060005b8381101561382d57815161381488826137b7565b975061381f836137cf565b925050600181019050613800565b5085935050505092915050565b6000602082019050818103600083015261385481846137dc565b905092915050565b6000819050919050565b61386f8161385c565b811461387a57600080fd5b50565b60008135905061388c81613866565b92915050565b600060ff82169050919050565b6138a881613892565b81146138b357600080fd5b50565b6000813590506138c58161389f565b92915050565b60008060008060008060c087890312156138e8576138e7613238565b5b60006138f689828a0161387d565b965050602061390789828a016138b6565b955050604061391889828a0161387d565b945050606061392989828a0161387d565b935050608061393a89828a016133d0565b92505060a061394b89828a016133d0565b9150509295509295509295565b600080600080600060a0868803121561397457613973613238565b5b60006139828882890161387d565b9550506020613993888289016138b6565b94505060406139a48882890161387d565b93505060606139b58882890161387d565b92505060806139c6888289016133d0565b9150509295509295909350565b600481106139e057600080fd5b50565b6000813590506139f2816139d3565b92915050565b600060208284031215613a0e57613a0d613238565b5b6000613a1c848285016139e3565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613a5a816133af565b82525050565b6000613a6c8383613a51565b60208301905092915050565b6000602082019050919050565b6000613a9082613a25565b613a9a8185613a30565b9350613aa583613a41565b8060005b83811015613ad6578151613abd8882613a60565b9750613ac883613a78565b925050600181019050613aa9565b5085935050505092915050565b60006020820190508181036000830152613afd8184613a85565b905092915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613b4282613343565b810181811067ffffffffffffffff82111715613b6157613b60613b0a565b5b80604052505050565b6000613b7461322e565b9050613b808282613b39565b919050565b600067ffffffffffffffff821115613ba057613b9f613b0a565b5b613ba982613343565b9050602081019050919050565b82818337600083830152505050565b6000613bd8613bd384613b85565b613b6a565b905082815260208101848484011115613bf457613bf3613b05565b5b613bff848285613bb6565b509392505050565b600082601f830112613c1c57613c1b613625565b5b8135613c2c848260208601613bc5565b91505092915050565b600060208284031215613c4b57613c4a613238565b5b600082013567ffffffffffffffff811115613c6957613c6861323d565b5b613c7584828501613c07565b91505092915050565b600080600060608486031215613c9757613c96613238565b5b6000613ca586828701613485565b9350506020613cb6868287016133d0565b9250506040613cc7868287016133d0565b9150509250925092565b613cda816132c7565b8114613ce557600080fd5b50565b600081359050613cf781613cd1565b92915050565b60008060408385031215613d1457613d13613238565b5b6000613d2285828601613485565b9250506020613d3385828601613ce8565b9150509250929050565b600060208284031215613d5357613d52613238565b5b6000613d618482850161387d565b91505092915050565b600067ffffffffffffffff821115613d8557613d84613b0a565b5b613d8e82613343565b9050602081019050919050565b6000613dae613da984613d6a565b613b6a565b905082815260208101848484011115613dca57613dc9613b05565b5b613dd5848285613bb6565b509392505050565b600082601f830112613df257613df1613625565b5b8135613e02848260208601613d9b565b91505092915050565b60008060008060808587031215613e2557613e24613238565b5b6000613e3387828801613485565b9450506020613e4487828801613485565b9350506040613e55878288016133d0565b925050606085013567ffffffffffffffff811115613e7657613e7561323d565b5b613e8287828801613ddd565b91505092959194509250565b608082016000820151613ea46000850182613703565b506020820151613eb76020850182613726565b506040820151613eca6040850182613735565b506060820151613edd6060850182613753565b50505050565b6000608082019050613ef86000830184613e8e565b92915050565b60006bffffffffffffffffffffffff82169050919050565b613f1f81613efe565b8114613f2a57600080fd5b50565b600081359050613f3c81613f16565b92915050565b600060208284031215613f5857613f57613238565b5b6000613f6684828501613f2d565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b60048110613faf57613fae613f6f565b5b50565b6000819050613fc082613f9e565b919050565b6000613fd082613fb2565b9050919050565b613fe081613fc5565b82525050565b6000602082019050613ffb6000830184613fd7565b92915050565b6000806040838503121561401857614017613238565b5b600061402685828601613485565b925050602061403785828601613485565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061408857607f821691505b60208210810361409b5761409a614041565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006140db826133af565b91506140e6836133af565b92508282026140f4816133af565b9150828204841483151761410b5761410a6140a1565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061414c826133af565b9150614157836133af565b92508261416757614166614112565b5b828204905092915050565b7f4e6f742065787465726e616c6c79206f776e6564206163636f756e7400000000600082015250565b60006141a8601c83613308565b91506141b382614172565b602082019050919050565b600060208201905081810360008301526141d78161419b565b9050919050565b60006040820190506141f36000830185613fd7565b6142006020830184613fd7565b9392505050565b6000614212826133af565b915061421d836133af565b9250828201905080821115614235576142346140a1565b5b92915050565b600060608201905061425060008301866134da565b61425d60208301856134da565b61426a60408301846134da565b949350505050565b61427b8161385c565b82525050565b60006020820190506142966000830184614272565b92915050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026142fe7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826142c1565b61430886836142c1565b95508019841693508086168417925050509392505050565b6000819050919050565b600061434561434061433b846133af565b614320565b6133af565b9050919050565b6000819050919050565b61435f8361432a565b61437361436b8261434c565b8484546142ce565b825550505050565b600090565b61438861437b565b614393818484614356565b505050565b5b818110156143b7576143ac600082614380565b600181019050614399565b5050565b601f8211156143fc576143cd8161429c565b6143d6846142b1565b810160208510156143e5578190505b6143f96143f1856142b1565b830182614398565b50505b505050565b600082821c905092915050565b600061441f60001984600802614401565b1980831691505092915050565b6000614438838361440e565b9150826002028217905092915050565b614451826132fd565b67ffffffffffffffff81111561446a57614469613b0a565b5b6144748254614070565b61447f8282856143bb565b600060209050601f8311600181146144b257600084156144a0578287015190505b6144aa858261442c565b865550614512565b601f1984166144c08661429c565b60005b828110156144e8578489015182556001820191506020850194506020810190506144c3565b868310156145055784890151614501601f89168261440e565b8355505b6001600288020188555050505b505050505050565b600081905092915050565b6000614530826132fd565b61453a818561451a565b935061454a818560208601613319565b80840191505092915050565b60006145628285614525565b915061456e8284614525565b91508190509392505050565b600081905092915050565b50565b600061459560008361457a565b91506145a082614585565b600082019050919050565b60006145b682614588565b9150819050919050565b7f5769746864726177206661696c65640000000000000000000000000000000000600082015250565b60006145f6600f83613308565b9150614601826145c0565b602082019050919050565b60006020820190508181036000830152614625816145e9565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614688602683613308565b91506146938261462c565b604082019050919050565b600060208201905081810360008301526146b78161467b565b9050919050565b60006146c9826133af565b9150600082036146dc576146db6140a1565b5b600182039050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061471d602083613308565b9150614728826146e7565b602082019050919050565b6000602082019050818103600083015261474c81614710565b9050919050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b60006147af602a83613308565b91506147ba82614753565b604082019050919050565b600060208201905081810360008301526147de816147a2565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b600061481b601983613308565b9150614826826147e5565b602082019050919050565b6000602082019050818103600083015261484a8161480e565b9050919050565b600081519050919050565b600061486782614851565b614871818561457a565b9350614881818560208601613319565b80840191505092915050565b6000614899828661485c565b91506148a58285614525565b91506148b18284614525565b9150819050949350505050565b6148c781613892565b82525050565b60006080820190506148e26000830187614272565b6148ef60208301866148be565b6148fc6040830185614272565b6149096060830184614272565b95945050505050565b600082825260208201905092915050565b600061492e82614851565b6149388185614912565b9350614948818560208601613319565b61495181613343565b840191505092915050565b60006080820190506149716000830187613444565b61497e6020830186613444565b61498b60408301856134da565b818103606083015261499d8184614923565b905095945050505050565b6000815190506149b78161326e565b92915050565b6000602082840312156149d3576149d2613238565b5b60006149e1848285016149a8565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b6000614a4f602083613308565b9150614a5a82614a19565b602082019050919050565b60006020820190508181036000830152614a7e81614a42565b905091905056fea26469706673582212207e3e8ca812d9cbd887b9a8f30349688013993bc626f2adc69eb06e80da30b2e264736f6c634300081200330000000000000000000000000000000000000000000000000000000000000060000000000000000000000000ff09d3ac338055c039c05f46da170290d63d1207000000000000000000000000c4c1ddae01493487ae5b722413bb982ca426946d000000000000000000000000000000000000000000000000000000000000005668747470733a2f2f63727970746f746174732e6d7970696e6174612e636c6f75642f697066732f516d544b70596e634368443670797a374848734b5139757347365178756644786f48756572564a64375a6e6361432f00000000000000000000

Deployed Bytecode

0x60806040526004361061023b5760003560e01c8063715018a61161012e578063aef18bf7116100ab578063e086e5ec1161006f578063e086e5ec1461088b578063e4f2487a146108a2578063e985e9c5146108cd578063f2fde38b1461090a578063f4a0a528146109335761023b565b8063aef18bf71461078f578063b88d4fde146107cc578063c23dc68f146107e8578063c87b56dd14610825578063d6948b75146108625761023b565b80638da5cb5b116100f25780638da5cb5b146106aa5780638ef79e91146106d557806395d89b41146106fe57806399a2557a14610729578063a22cb465146107665761023b565b8063715018a6146105db578063738cfeb2146105f25780637ad594311461061b5780638462151c146106445780638467be0d146106815761023b565b806331a53e9a116101bc5780635bbb2177116101805780635bbb2177146104dd5780636352211e1461051a5780636817c76c1461055757806369925a631461058257806370a082311461059e5761023b565b806331a53e9a1461040557806332cb6b0c1461043057806338e21cce1461045b57806342842e0e1461049857806347b64eb0146104b45761023b565b80631882140011610203578063188214001461032c57806321b8092e1461035757806323b872dd146103805780632a55205a1461039c5780632a905318146103da5761023b565b806301ffc9a71461024057806306fdde031461027d578063081812fc146102a8578063095ea7b3146102e557806318160ddd14610301575b600080fd5b34801561024c57600080fd5b506102676004803603810190610262919061329a565b61095c565b60405161027491906132e2565b60405180910390f35b34801561028957600080fd5b5061029261096e565b60405161029f919061338d565b60405180910390f35b3480156102b457600080fd5b506102cf60048036038101906102ca91906133e5565b610a00565b6040516102dc9190613453565b60405180910390f35b6102ff60048036038101906102fa919061349a565b610a5e565b005b34801561030d57600080fd5b50610316610a6e565b60405161032391906134e9565b60405180910390f35b34801561033857600080fd5b50610341610a85565b60405161034e919061338d565b60405180910390f35b34801561036357600080fd5b5061037e60048036038101906103799190613504565b610abe565b005b61039a60048036038101906103959190613531565b610b7c565b005b3480156103a857600080fd5b506103c360048036038101906103be9190613584565b610e3d565b6040516103d19291906135c4565b60405180910390f35b3480156103e657600080fd5b506103ef611027565b6040516103fc919061338d565b60405180910390f35b34801561041157600080fd5b5061041a611060565b60405161042791906134e9565b60405180910390f35b34801561043c57600080fd5b50610445611066565b604051610452919061360a565b60405180910390f35b34801561046757600080fd5b50610482600480360381019061047d9190613504565b61106c565b60405161048f91906132e2565b60405180910390f35b6104b260048036038101906104ad9190613531565b611080565b005b3480156104c057600080fd5b506104db60048036038101906104d69190613504565b6110a0565b005b3480156104e957600080fd5b5061050460048036038101906104ff919061368a565b6110ec565b604051610511919061383a565b60405180910390f35b34801561052657600080fd5b50610541600480360381019061053c91906133e5565b61114c565b60405161054e9190613453565b60405180910390f35b34801561056357600080fd5b5061056c61115e565b60405161057991906134e9565b60405180910390f35b61059c600480360381019061059791906138cb565b611164565b005b3480156105aa57600080fd5b506105c560048036038101906105c09190613504565b61148b565b6040516105d291906134e9565b60405180910390f35b3480156105e757600080fd5b506105f0611522565b005b3480156105fe57600080fd5b5061061960048036038101906106149190613958565b611536565b005b34801561062757600080fd5b50610642600480360381019061063d91906139f8565b6117b3565b005b34801561065057600080fd5b5061066b60048036038101906106669190613504565b6117e8565b6040516106789190613ae3565b60405180910390f35b34801561068d57600080fd5b506106a860048036038101906106a391906133e5565b611824565b005b3480156106b657600080fd5b506106bf611839565b6040516106cc9190613453565b60405180910390f35b3480156106e157600080fd5b506106fc60048036038101906106f79190613c35565b611863565b005b34801561070a57600080fd5b5061071361187e565b604051610720919061338d565b60405180910390f35b34801561073557600080fd5b50610750600480360381019061074b9190613c7e565b611910565b60405161075d9190613ae3565b60405180910390f35b34801561077257600080fd5b5061078d60048036038101906107889190613cfd565b611926565b005b34801561079b57600080fd5b506107b660048036038101906107b19190613d3d565b611a31565b6040516107c391906132e2565b60405180910390f35b6107e660048036038101906107e19190613e0b565b611a51565b005b3480156107f457600080fd5b5061080f600480360381019061080a91906133e5565b611aa3565b60405161081c9190613ee3565b60405180910390f35b34801561083157600080fd5b5061084c600480360381019061084791906133e5565b611af9565b604051610859919061338d565b60405180910390f35b34801561086e57600080fd5b5061088960048036038101906108849190613f42565b611b76565b005b34801561089757600080fd5b506108a0611bad565b005b3480156108ae57600080fd5b506108b7611c86565b6040516108c49190613fe6565b60405180910390f35b3480156108d957600080fd5b506108f460048036038101906108ef9190614001565b611c99565b60405161090191906132e2565b60405180910390f35b34801561091657600080fd5b50610931600480360381019061092c9190613504565b611d2d565b005b34801561093f57600080fd5b5061095a600480360381019061095591906133e5565b611db0565b005b600061096782611dc2565b9050919050565b60606004805461097d90614070565b80601f01602080910402602001604051908101604052809291908181526020018280546109a990614070565b80156109f65780601f106109cb576101008083540402835291602001916109f6565b820191906000526020600020905b8154815290600101906020018083116109d957829003601f168201915b5050505050905090565b6000610a0b82611e54565b610a2057610a1f63cf4700e460e01b611ecd565b5b6008600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b610a6a82826001611ed7565b5050565b6000610a78612006565b6003546002540303905090565b6040518060400160405280600d81526020017f44425920436c756220506173730000000000000000000000000000000000000081525081565b610ac661200b565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610b2c576040517f206295f600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550610b79816101f4612089565b50565b6000610b878261221d565b905073ffffffffffffffffffffffffffffffffffffffff8473ffffffffffffffffffffffffffffffffffffffff161693508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610bfc57610bfb63a114810060e01b611ecd565b5b600080610c0884612309565b91509150610c1e8187610c19612330565b612338565b610c4957610c3386610c2e612330565b611c99565b610c4857610c476359c896be60e01b611ecd565b5b5b610c56868686600161237c565b8015610c6157600082555b600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550610d2f85610d0b888887612382565b7c0200000000000000000000000000000000000000000000000000000000176123aa565b600660008681526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000841603610db55760006001850190506000600660008381526020019081526020016000205403610db3576002548114610db2578360066000838152602001908152602001600020819055505b5b505b600073ffffffffffffffffffffffffffffffffffffffff8673ffffffffffffffffffffffffffffffffffffffff161690508481887fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a460008103610e2757610e2663ea553b3460e01b611ecd565b5b610e3487878760016123d5565b50505050505050565b6000806000600160008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1603610fd25760006040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b6000610fdc6123db565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff168661100891906140d0565b6110129190614141565b90508160000151819350935050509250929050565b6040518060400160405280600781526020017f444259504153530000000000000000000000000000000000000000000000000081525081565b61089881565b613a9881565b600080611078836123e5565b119050919050565b61109b83838360405180602001604052806000815250611a51565b505050565b6110a861200b565b80600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b606080600084849050905060405191508082528060051b90508060208301016040525b60008114611141576000602082039150818601359050600061113082611aa3565b90508083602086010152505061110f565b819250505092915050565b60006111578261221d565b9050919050565b60105481565b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146111d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111c9906141be565b60405180910390fd5b600260038111156111e6576111e5613f6f565b5b600f60009054906101000a900460ff16600381111561120857611207613f6f565b5b14158015611249575060038081111561122457611223613f6f565b5b600f60009054906101000a900460ff16600381111561124657611245613f6f565b5b14155b1561129d57600f60009054906101000a900460ff1660026040517f08edb5c40000000000000000000000000000000000000000000000000000000081526004016112949291906141de565b60405180910390fd5b600181141580156112af575060028114155b156112f157806040517fad525a960000000000000000000000000000000000000000000000000000000081526004016112e891906134e9565b60405180910390fd5b613a9861ffff1681611301610a6e565b61130b9190614207565b1115611343576040517fd05cb60900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060105461135191906140d0565b341461139a5734601054826040517ff6c7ae600000000000000000000000000000000000000000000000000000000081526004016113919392919061423b565b60405180910390fd5b6113a98686868686600061243c565b6113ea57856040517f42dcab5d0000000000000000000000000000000000000000000000000000000081526004016113e19190614281565b60405180910390fd5b600e600087815260200190815260200160002060009054906101000a900460ff161561144d57856040517ff2f8f56b0000000000000000000000000000000000000000000000000000000081526004016114449190614281565b60405180910390fd5b6001600e600088815260200190815260200160002060006101000a81548160ff0219169083151502179055506114833382612651565b505050505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036114d1576114d0638f4eb60460e01b611ecd565b5b67ffffffffffffffff600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b61152a61200b565b61153460006127b5565b565b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146115a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161159b906141be565b60405180910390fd5b600160038111156115b8576115b7613f6f565b5b600f60009054906101000a900460ff1660038111156115da576115d9613f6f565b5b1415801561161b57506003808111156115f6576115f5613f6f565b5b600f60009054906101000a900460ff16600381111561161857611617613f6f565b5b14155b1561166f57600f60009054906101000a900460ff1660016040517f08edb5c40000000000000000000000000000000000000000000000000000000081526004016116669291906141de565b60405180910390fd5b613a9861ffff166001611680610a6e565b61168a9190614207565b11156116c2576040517fd05cb60900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6116d18585858585600161243c565b61171257846040517f42dcab5d0000000000000000000000000000000000000000000000000000000081526004016117099190614281565b60405180910390fd5b600e600086815260200190815260200160002060009054906101000a900460ff161561177557846040517ff2f8f56b00000000000000000000000000000000000000000000000000000000815260040161176c9190614281565b60405180910390fd5b6001600e600087815260200190815260200160002060006101000a81548160ff0219169083151502179055506117ac336001612651565b5050505050565b6117bb61200b565b80600f60006101000a81548160ff021916908360038111156117e0576117df613f6f565b5b021790555050565b606060006117f4612006565b9050600061180061287b565b9050606081831461181957611816858484612885565b90505b809350505050919050565b61182c61200b565b61183633826129ab565b50565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61186b61200b565b80600b908161187a9190614448565b5050565b60606005805461188d90614070565b80601f01602080910402602001604051908101604052809291908181526020018280546118b990614070565b80156119065780601f106118db57610100808354040283529160200191611906565b820191906000526020600020905b8154815290600101906020018083116118e957829003601f168201915b5050505050905090565b606061191d848484612885565b90509392505050565b8060096000611933612330565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166119e0612330565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611a2591906132e2565b60405180910390a35050565b600e6020528060005260406000206000915054906101000a900460ff1681565b611a5c848484610b7c565b60008373ffffffffffffffffffffffffffffffffffffffff163b14611a9d57611a87848484846129c9565b611a9c57611a9b63d1a57ed660e01b611ecd565b5b5b50505050565b611aab6131df565b611ab3612006565b8210611af357611ac161287b565b821015611af2575b611ad282612af8565b611ae25781600190039150611ac9565b611aeb82612b18565b9050611af4565b5b5b919050565b6060611b0482611e54565b611b1957611b1863a14c4b5060e01b611ecd565b5b6000611b23612b43565b90506000815103611b435760405180602001604052806000815250611b6e565b80611b4d84612bd5565b604051602001611b5e929190614556565b6040516020818303038152906040525b915050919050565b611b7e61200b565b611baa600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682612089565b50565b611bb561200b565b6000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1647604051611bfd906145ab565b60006040518083038185875af1925050503d8060008114611c3a576040519150601f19603f3d011682016040523d82523d6000602084013e611c3f565b606091505b5050905080611c83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c7a9061460c565b60405180910390fd5b50565b600f60009054906101000a900460ff1681565b6000600960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611d3561200b565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611da4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d9b9061469e565b60405180910390fd5b611dad816127b5565b50565b611db861200b565b8060108190555050565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611e1d57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611e4d5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b600081611e5f612006565b11611ec857600254821015611ec75760005b6000600660008581526020019081526020016000205491508103611ea05782611e99906146be565b9250611e71565b60007c01000000000000000000000000000000000000000000000000000000008216149150505b5b919050565b8060005260046000fd5b6000611ee28361114c565b9050818015611f2457508073ffffffffffffffffffffffffffffffffffffffff16611f0b612330565b73ffffffffffffffffffffffffffffffffffffffff1614155b15611f5057611f3a81611f35612330565b611c99565b611f4f57611f4e63cfb3b94260e01b611ecd565b5b5b836008600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550828473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a450505050565b600090565b612013612c25565b73ffffffffffffffffffffffffffffffffffffffff16612031611839565b73ffffffffffffffffffffffffffffffffffffffff1614612087576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161207e90614733565b60405180910390fd5b565b6120916123db565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff1611156120ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120e6906147c5565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361215e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161215590614831565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff168152506000808201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b600081612228612006565b116122f35760066000838152602001908152602001600020549050600081036122ca5760025482106122655761226463df2d9b4260e01b611ecd565b5b5b600660008360019003935083815260200190815260200160002054905060008103156122c55760007c010000000000000000000000000000000000000000000000000000000082160315612304576122c463df2d9b4260e01b611ecd565b5b612266565b60007c010000000000000000000000000000000000000000000000000000000082160315612304575b61230363df2d9b4260e01b611ecd565b5b919050565b60008060006008600085815260200190815260200160002090508092508254915050915091565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8612399868684612c2d565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6000612710905090565b600067ffffffffffffffff6040600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054901c169050919050565b6000806040518060400160405280601a81526020017f19457468657265756d205369676e6564204d6573736167653a0a000000000000815250905060008161248386612c36565b6124a43373ffffffffffffffffffffffffffffffffffffffff166014612d04565b866124e4576040518060400160405280600481526020017f706169640000000000000000000000000000000000000000000000000000000081525061251b565b6040518060400160405280600481526020017f66726565000000000000000000000000000000000000000000000000000000008152505b60405160200161252c929190614556565b60405160208183030381529060405260405160200161254d9392919061488d565b60405160208183030381529060405280519060200120905060006001828a8a8a6040516000815260200160405260405161258a94939291906148cd565b6020604051602081039080840390855afa1580156125ac573d6000803e3d6000fd5b505050602060405103519050600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461263f576040517fe38d415d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b89821493505050509695505050505050565b60006002549050600082036126715761267063b562e8dd60e01b611ecd565b5b61267e600084838561237c565b61269e8361268f6000866000612382565b61269885612f40565b176123aa565b6006600083815260200190815260200160002081905550600160406001901b178202600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550600073ffffffffffffffffffffffffffffffffffffffff8473ffffffffffffffffffffffffffffffffffffffff161690506000810361275657612755632e07630060e01b611ecd565b5b6000838301905060008390505b808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a481816001019150810361276357816002819055505050506127b060008483856123d5565b505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000600254905090565b606081831061289f5761289e6332c1995a60e01b611ecd565b5b6128a7612006565b8310156128b9576128b6612006565b92505b60006128c361287b565b90508083106128d0578092505b606060006128dd8761148b565b90506000858710905080820291506000821461299d5781878703116129025786860391505b60405192506001820160051b8301604052600061291e88611aa3565b90506000816040015161293357816000015190505b60005b61293f8a612b18565b9250604083015160008114612957576000925061297d565b83511561296357835192505b8b831860601b61297c576001820191508a8260051b8801525b5b5060018a019950888a148061299157508481145b15612936578086525050505b829450505050509392505050565b6129c5828260405180602001604052806000815250612f50565b5050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026129ef612330565b8786866040518563ffffffff1660e01b8152600401612a11949392919061495c565b6020604051808303816000875af1925050508015612a4d57506040513d601f19601f82011682018060405250810190612a4a91906149bd565b60015b612aa5573d8060008114612a7d576040519150601f19603f3d011682016040523d82523d6000602084013e612a82565b606091505b506000815103612a9d57612a9c63d1a57ed660e01b611ecd565b5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b600080600660008481526020019081526020016000205414159050919050565b612b206131df565b612b3c6006600084815260200190815260200160002054612fd6565b9050919050565b6060600b8054612b5290614070565b80601f0160208091040260200160405190810160405280929190818152602001828054612b7e90614070565b8015612bcb5780601f10612ba057610100808354040283529160200191612bcb565b820191906000526020600020905b815481529060010190602001808311612bae57829003601f168201915b5050505050905090565b606060a060405101806040526020810391506000825281835b600115612c1057600184039350600a81066030018453600a8104905080612bee575b50828103602084039350808452505050919050565b600033905090565b60009392505050565b606060006001612c458461308c565b01905060008167ffffffffffffffff811115612c6457612c63613b0a565b5b6040519080825280601f01601f191660200182016040528015612c965781602001600182028036833780820191505090505b509050600082602001820190505b600115612cf9578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a8581612ced57612cec614112565b5b04945060008503612ca4575b819350505050919050565b606060006002836002612d1791906140d0565b612d219190614207565b67ffffffffffffffff811115612d3a57612d39613b0a565b5b6040519080825280601f01601f191660200182016040528015612d6c5781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110612da457612da36149ea565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110612e0857612e076149ea565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060006001846002612e4891906140d0565b612e529190614207565b90505b6001811115612ef2577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110612e9457612e936149ea565b5b1a60f81b828281518110612eab57612eaa6149ea565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080612eeb906146be565b9050612e55565b5060008414612f36576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f2d90614a65565b60405180910390fd5b8091505092915050565b60006001821460e11b9050919050565b612f5a8383612651565b60008373ffffffffffffffffffffffffffffffffffffffff163b14612fd15760006002549050600083820390505b612f9b60008683806001019450866129c9565b612fb057612faf63d1a57ed660e01b611ecd565b5b818110612f88578160025414612fce57612fcd600060e01b611ecd565b5b50505b505050565b612fde6131df565b81816000019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505060a082901c816020019067ffffffffffffffff16908167ffffffffffffffff168152505060007c01000000000000000000000000000000000000000000000000000000008316141581604001901515908115158152505060e882901c816060019062ffffff16908162ffffff1681525050919050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083106130ea577a184f03e93ff9f4daa797ed6e38ed64bf6a1f01000000000000000083816130e0576130df614112565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310613127576d04ee2d6d415b85acef8100000000838161311d5761311c614112565b5b0492506020810190505b662386f26fc10000831061315657662386f26fc10000838161314c5761314b614112565b5b0492506010810190505b6305f5e100831061317f576305f5e100838161317557613174614112565b5b0492506008810190505b61271083106131a457612710838161319a57613199614112565b5b0492506004810190505b606483106131c757606483816131bd576131bc614112565b5b0492506002810190505b600a83106131d6576001810190505b80915050919050565b6040518060800160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff168152602001600015158152602001600062ffffff1681525090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61327781613242565b811461328257600080fd5b50565b6000813590506132948161326e565b92915050565b6000602082840312156132b0576132af613238565b5b60006132be84828501613285565b91505092915050565b60008115159050919050565b6132dc816132c7565b82525050565b60006020820190506132f760008301846132d3565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561333757808201518184015260208101905061331c565b60008484015250505050565b6000601f19601f8301169050919050565b600061335f826132fd565b6133698185613308565b9350613379818560208601613319565b61338281613343565b840191505092915050565b600060208201905081810360008301526133a78184613354565b905092915050565b6000819050919050565b6133c2816133af565b81146133cd57600080fd5b50565b6000813590506133df816133b9565b92915050565b6000602082840312156133fb576133fa613238565b5b6000613409848285016133d0565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061343d82613412565b9050919050565b61344d81613432565b82525050565b60006020820190506134686000830184613444565b92915050565b61347781613432565b811461348257600080fd5b50565b6000813590506134948161346e565b92915050565b600080604083850312156134b1576134b0613238565b5b60006134bf85828601613485565b92505060206134d0858286016133d0565b9150509250929050565b6134e3816133af565b82525050565b60006020820190506134fe60008301846134da565b92915050565b60006020828403121561351a57613519613238565b5b600061352884828501613485565b91505092915050565b60008060006060848603121561354a57613549613238565b5b600061355886828701613485565b935050602061356986828701613485565b925050604061357a868287016133d0565b9150509250925092565b6000806040838503121561359b5761359a613238565b5b60006135a9858286016133d0565b92505060206135ba858286016133d0565b9150509250929050565b60006040820190506135d96000830185613444565b6135e660208301846134da565b9392505050565b600061ffff82169050919050565b613604816135ed565b82525050565b600060208201905061361f60008301846135fb565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f84011261364a57613649613625565b5b8235905067ffffffffffffffff8111156136675761366661362a565b5b6020830191508360208202830111156136835761368261362f565b5b9250929050565b600080602083850312156136a1576136a0613238565b5b600083013567ffffffffffffffff8111156136bf576136be61323d565b5b6136cb85828601613634565b92509250509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61370c81613432565b82525050565b600067ffffffffffffffff82169050919050565b61372f81613712565b82525050565b61373e816132c7565b82525050565b600062ffffff82169050919050565b61375c81613744565b82525050565b6080820160008201516137786000850182613703565b50602082015161378b6020850182613726565b50604082015161379e6040850182613735565b5060608201516137b16060850182613753565b50505050565b60006137c38383613762565b60808301905092915050565b6000602082019050919050565b60006137e7826136d7565b6137f181856136e2565b93506137fc836136f3565b8060005b8381101561382d57815161381488826137b7565b975061381f836137cf565b925050600181019050613800565b5085935050505092915050565b6000602082019050818103600083015261385481846137dc565b905092915050565b6000819050919050565b61386f8161385c565b811461387a57600080fd5b50565b60008135905061388c81613866565b92915050565b600060ff82169050919050565b6138a881613892565b81146138b357600080fd5b50565b6000813590506138c58161389f565b92915050565b60008060008060008060c087890312156138e8576138e7613238565b5b60006138f689828a0161387d565b965050602061390789828a016138b6565b955050604061391889828a0161387d565b945050606061392989828a0161387d565b935050608061393a89828a016133d0565b92505060a061394b89828a016133d0565b9150509295509295509295565b600080600080600060a0868803121561397457613973613238565b5b60006139828882890161387d565b9550506020613993888289016138b6565b94505060406139a48882890161387d565b93505060606139b58882890161387d565b92505060806139c6888289016133d0565b9150509295509295909350565b600481106139e057600080fd5b50565b6000813590506139f2816139d3565b92915050565b600060208284031215613a0e57613a0d613238565b5b6000613a1c848285016139e3565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613a5a816133af565b82525050565b6000613a6c8383613a51565b60208301905092915050565b6000602082019050919050565b6000613a9082613a25565b613a9a8185613a30565b9350613aa583613a41565b8060005b83811015613ad6578151613abd8882613a60565b9750613ac883613a78565b925050600181019050613aa9565b5085935050505092915050565b60006020820190508181036000830152613afd8184613a85565b905092915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613b4282613343565b810181811067ffffffffffffffff82111715613b6157613b60613b0a565b5b80604052505050565b6000613b7461322e565b9050613b808282613b39565b919050565b600067ffffffffffffffff821115613ba057613b9f613b0a565b5b613ba982613343565b9050602081019050919050565b82818337600083830152505050565b6000613bd8613bd384613b85565b613b6a565b905082815260208101848484011115613bf457613bf3613b05565b5b613bff848285613bb6565b509392505050565b600082601f830112613c1c57613c1b613625565b5b8135613c2c848260208601613bc5565b91505092915050565b600060208284031215613c4b57613c4a613238565b5b600082013567ffffffffffffffff811115613c6957613c6861323d565b5b613c7584828501613c07565b91505092915050565b600080600060608486031215613c9757613c96613238565b5b6000613ca586828701613485565b9350506020613cb6868287016133d0565b9250506040613cc7868287016133d0565b9150509250925092565b613cda816132c7565b8114613ce557600080fd5b50565b600081359050613cf781613cd1565b92915050565b60008060408385031215613d1457613d13613238565b5b6000613d2285828601613485565b9250506020613d3385828601613ce8565b9150509250929050565b600060208284031215613d5357613d52613238565b5b6000613d618482850161387d565b91505092915050565b600067ffffffffffffffff821115613d8557613d84613b0a565b5b613d8e82613343565b9050602081019050919050565b6000613dae613da984613d6a565b613b6a565b905082815260208101848484011115613dca57613dc9613b05565b5b613dd5848285613bb6565b509392505050565b600082601f830112613df257613df1613625565b5b8135613e02848260208601613d9b565b91505092915050565b60008060008060808587031215613e2557613e24613238565b5b6000613e3387828801613485565b9450506020613e4487828801613485565b9350506040613e55878288016133d0565b925050606085013567ffffffffffffffff811115613e7657613e7561323d565b5b613e8287828801613ddd565b91505092959194509250565b608082016000820151613ea46000850182613703565b506020820151613eb76020850182613726565b506040820151613eca6040850182613735565b506060820151613edd6060850182613753565b50505050565b6000608082019050613ef86000830184613e8e565b92915050565b60006bffffffffffffffffffffffff82169050919050565b613f1f81613efe565b8114613f2a57600080fd5b50565b600081359050613f3c81613f16565b92915050565b600060208284031215613f5857613f57613238565b5b6000613f6684828501613f2d565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b60048110613faf57613fae613f6f565b5b50565b6000819050613fc082613f9e565b919050565b6000613fd082613fb2565b9050919050565b613fe081613fc5565b82525050565b6000602082019050613ffb6000830184613fd7565b92915050565b6000806040838503121561401857614017613238565b5b600061402685828601613485565b925050602061403785828601613485565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061408857607f821691505b60208210810361409b5761409a614041565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006140db826133af565b91506140e6836133af565b92508282026140f4816133af565b9150828204841483151761410b5761410a6140a1565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061414c826133af565b9150614157836133af565b92508261416757614166614112565b5b828204905092915050565b7f4e6f742065787465726e616c6c79206f776e6564206163636f756e7400000000600082015250565b60006141a8601c83613308565b91506141b382614172565b602082019050919050565b600060208201905081810360008301526141d78161419b565b9050919050565b60006040820190506141f36000830185613fd7565b6142006020830184613fd7565b9392505050565b6000614212826133af565b915061421d836133af565b9250828201905080821115614235576142346140a1565b5b92915050565b600060608201905061425060008301866134da565b61425d60208301856134da565b61426a60408301846134da565b949350505050565b61427b8161385c565b82525050565b60006020820190506142966000830184614272565b92915050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026142fe7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826142c1565b61430886836142c1565b95508019841693508086168417925050509392505050565b6000819050919050565b600061434561434061433b846133af565b614320565b6133af565b9050919050565b6000819050919050565b61435f8361432a565b61437361436b8261434c565b8484546142ce565b825550505050565b600090565b61438861437b565b614393818484614356565b505050565b5b818110156143b7576143ac600082614380565b600181019050614399565b5050565b601f8211156143fc576143cd8161429c565b6143d6846142b1565b810160208510156143e5578190505b6143f96143f1856142b1565b830182614398565b50505b505050565b600082821c905092915050565b600061441f60001984600802614401565b1980831691505092915050565b6000614438838361440e565b9150826002028217905092915050565b614451826132fd565b67ffffffffffffffff81111561446a57614469613b0a565b5b6144748254614070565b61447f8282856143bb565b600060209050601f8311600181146144b257600084156144a0578287015190505b6144aa858261442c565b865550614512565b601f1984166144c08661429c565b60005b828110156144e8578489015182556001820191506020850194506020810190506144c3565b868310156145055784890151614501601f89168261440e565b8355505b6001600288020188555050505b505050505050565b600081905092915050565b6000614530826132fd565b61453a818561451a565b935061454a818560208601613319565b80840191505092915050565b60006145628285614525565b915061456e8284614525565b91508190509392505050565b600081905092915050565b50565b600061459560008361457a565b91506145a082614585565b600082019050919050565b60006145b682614588565b9150819050919050565b7f5769746864726177206661696c65640000000000000000000000000000000000600082015250565b60006145f6600f83613308565b9150614601826145c0565b602082019050919050565b60006020820190508181036000830152614625816145e9565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614688602683613308565b91506146938261462c565b604082019050919050565b600060208201905081810360008301526146b78161467b565b9050919050565b60006146c9826133af565b9150600082036146dc576146db6140a1565b5b600182039050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061471d602083613308565b9150614728826146e7565b602082019050919050565b6000602082019050818103600083015261474c81614710565b9050919050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b60006147af602a83613308565b91506147ba82614753565b604082019050919050565b600060208201905081810360008301526147de816147a2565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b600061481b601983613308565b9150614826826147e5565b602082019050919050565b6000602082019050818103600083015261484a8161480e565b9050919050565b600081519050919050565b600061486782614851565b614871818561457a565b9350614881818560208601613319565b80840191505092915050565b6000614899828661485c565b91506148a58285614525565b91506148b18284614525565b9150819050949350505050565b6148c781613892565b82525050565b60006080820190506148e26000830187614272565b6148ef60208301866148be565b6148fc6040830185614272565b6149096060830184614272565b95945050505050565b600082825260208201905092915050565b600061492e82614851565b6149388185614912565b9350614948818560208601613319565b61495181613343565b840191505092915050565b60006080820190506149716000830187613444565b61497e6020830186613444565b61498b60408301856134da565b818103606083015261499d8184614923565b905095945050505050565b6000815190506149b78161326e565b92915050565b6000602082840312156149d3576149d2613238565b5b60006149e1848285016149a8565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b6000614a4f602083613308565b9150614a5a82614a19565b602082019050919050565b60006020820190508181036000830152614a7e81614a42565b905091905056fea26469706673582212207e3e8ca812d9cbd887b9a8f30349688013993bc626f2adc69eb06e80da30b2e264736f6c63430008120033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000ff09d3ac338055c039c05f46da170290d63d1207000000000000000000000000c4c1ddae01493487ae5b722413bb982ca426946d000000000000000000000000000000000000000000000000000000000000005668747470733a2f2f63727970746f746174732e6d7970696e6174612e636c6f75642f697066732f516d544b70596e634368443670797a374848734b5139757347365178756644786f48756572564a64375a6e6361432f00000000000000000000

-----Decoded View---------------
Arg [0] : tokenBaseURI_ (string): https://cryptotats.mypinata.cloud/ipfs/QmTKpYncChD6pyz7HHsKQ9usG6QxufDxoHuerVJd7ZncaC/
Arg [1] : serverAddress_ (address): 0xff09D3ac338055C039C05F46Da170290D63d1207
Arg [2] : withdrawalAddress_ (address): 0xc4C1DDae01493487AE5B722413bb982cA426946D

-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 000000000000000000000000ff09d3ac338055c039c05f46da170290d63d1207
Arg [2] : 000000000000000000000000c4c1ddae01493487ae5b722413bb982ca426946d
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000056
Arg [4] : 68747470733a2f2f63727970746f746174732e6d7970696e6174612e636c6f75
Arg [5] : 642f697066732f516d544b70596e634368443670797a374848734b5139757347
Arg [6] : 365178756644786f48756572564a64375a6e6361432f00000000000000000000


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.