ETH Price: $3,609.70 (-3.06%)

Token

ERC-20: Jose the PePe (PePe)
 

Overview

Max Total Supply

888 PePe

Holders

0

Total Transfers

-

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 0 Decimals)

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:
PePe

Compiler Version
v0.8.20+commit.a1b79de6

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 11 : Pepe.sol
// SPDX-License-Identifier: MIT
/*     
    _    _             _                _           
    | \ | |           | |              | |          
    |  \| |   ___     | |        __ _  | |__    ___ 
    | . ` |  / _ \    | |       / _` | | '_ \  / __|
    | |\  | | (_) |   | |____  | (_| | | |_) | \__ \
    |_| \_|  \___/    |______|  \__,_| |_.__/  |___/ 
*/

pragma solidity ^0.8.19;
import "https://github.com/chiru-labs/ERC721A/blob/main/contracts/ERC721A.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/token/common/ERC2981.sol";

contract PePe is ERC721A, Ownable, ERC2981 {
    using Strings for uint256;

    uint256 public constant MAX_SUPPLY = 888;
    uint256 public constant MAX_OG_MINT = 5;
    uint256 public constant MAX_PUBLIC_MINT = 2;
    
    string public contractURI;
    string public baseTokenUri;
    string public placeholderTokenUri;

    bool public isRevealed;
    bool public freeMintSale;
    bool public publicSale;
    
    bytes32 public merkleRootFree;

    mapping(address => uint256) public totalPublicMint;
    mapping(address => uint256) public totalFreeMint;

    constructor(
        string memory _contractURI,
        string memory _placeholderTokenUri,
        bytes32 _merkleRootFree,
        uint96 _royaltyFeesInBips,        
        address _teamAddress
    ) ERC721A("Jose the PePe", "PePe") {
        setRoyaltyInfo(_teamAddress, _royaltyFeesInBips);
        contractURI = _contractURI;
        merkleRootFree = _merkleRootFree;
        placeholderTokenUri = _placeholderTokenUri;
        _mint(_teamAddress, 80);
    }

    modifier callerIsUser() {
        require(tx.origin == msg.sender, "Cannot be called by a contract");
        _;
    }

    function publicMint(uint256 _quantity) external callerIsUser {
        require(publicSale, "Not Yet Active");        
        require(
            (totalSupply() + _quantity) <= MAX_SUPPLY,
            "Cannot mint beyond max supply"
        );
        require(
            (totalPublicMint[msg.sender] + _quantity) <= MAX_PUBLIC_MINT,
            "Cannot mint beyond max limit"
        );
        totalPublicMint[msg.sender] += _quantity;
        _mint(msg.sender, _quantity);
    }  

    function freeMint(bytes32[] memory _merkleProof) external callerIsUser {
        require(freeMintSale, "Not Yet Active");
        require(
            isValidMerkleProof(_merkleProof, msg.sender, merkleRootFree),
            "You are not OG"
        );
        require(
            (totalSupply() + 5) <= MAX_SUPPLY,
            "Cannot mint beyond max supply"
        );
        require(
            (totalFreeMint[msg.sender] + 5) <= MAX_OG_MINT,
            "Cannot mint beyond max limit"
        );
        totalFreeMint[msg.sender] += 5;
        _mint(msg.sender, 5);
    }

    function isValidMerkleProof(
        bytes32[] memory proof,
        address _addr,
        bytes32 _merkleRoot
    ) public pure returns (bool) {
        bytes32 sender = keccak256(abi.encodePacked(_addr));
        return MerkleProof.verify(proof, _merkleRoot, sender);
    }

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

    function tokenURI(uint256 tokenId)
        public
        view
        virtual
        override
        returns (string memory)
    {
        require(
            _exists(tokenId),
            "ERC721Metadata URI query for nonexistent token"
        );

        uint256 trueId = tokenId + 1;

        if (!isRevealed) {
            return placeholderTokenUri;
        }
        return
            bytes(baseTokenUri).length > 0
                ? string(
                    abi.encodePacked(baseTokenUri, trueId.toString(), ".json")
                )
                : "";
    }

    function setTokenUri(string memory _baseTokenUri) external onlyOwner {
        baseTokenUri = _baseTokenUri;
    }

    function setMerkleRoot(bytes32 _merkleRoot) external onlyOwner {        
            merkleRootFree = _merkleRoot;        
    }

    function getFreeMerkleRoot() external view returns (bytes32) {
        return merkleRootFree;
    }

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

    function toggleFreeMintSale() external onlyOwner {
        freeMintSale = !freeMintSale;
    }

    function toggleReveal() external onlyOwner {
        isRevealed = !isRevealed;
    }

    function setRoyaltyInfo(address _receiver, uint96 _royaltyFeesInBips)
        public
        onlyOwner
    {
        _setDefaultRoyalty(_receiver, _royaltyFeesInBips);
    }

    function setContractURI(string calldata _contractURI) public onlyOwner {
        contractURI = _contractURI;
    }

    function withdraw() public onlyOwner {
        address _owner = owner();        
        uint256 amount = address(this).balance;
        (bool sent, ) = _owner.call{value: amount}("");
        require(sent, "Failed to send Ether");
    }

    function supportsInterface(bytes4 interfaceId)
        public
        view
        override(ERC721A, ERC2981)
        returns (bool)
    {
        return super.supportsInterface(interfaceId);
    }
}

File 2 of 11 : 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 11 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Tree proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 *
 * WARNING: You should avoid using leaf values that are 64 bytes long prior to
 * hashing, or use a hash function other than keccak256 for hashing leaves.
 * This is because the concatenation of a sorted pair of internal nodes in
 * the merkle tree could be reinterpreted as a leaf value.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

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

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

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

    /**
     * @dev Returns true if the `leaves` can be proved to be a part of a Merkle tree defined by
     * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}.
     *
     * _Available since v4.7._
     */
    function multiProofVerify(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProof(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Calldata version of {multiProofVerify}
     *
     * _Available since v4.7._
     */
    function multiProofVerifyCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProofCalldata(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Returns the root of a tree reconstructed from `leaves` and the sibling nodes in `proof`,
     * consuming from one or the other at each step according to the instructions given by
     * `proofFlags`.
     *
     * _Available since v4.7._
     */
    function processMultiProof(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

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

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

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

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

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

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

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

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

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

File 4 of 11 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

File 6 of 11 : 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();
        return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY;
    }

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
     * token will be the concatenation of the `baseURI` and the `tokenId`. Empty
     * by default, it can be overridden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return '';
    }

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

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

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

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

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

    /**
     * Returns the packed ownership data of `tokenId`.
     */
    function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) {
        uint256 curr = tokenId;

        unchecked {
            if (_startTokenId() <= curr)
                if (curr < _currentIndex) {
                    uint256 packed = _packedOwnerships[curr];
                    // If not burned.
                    if (packed & _BITMASK_BURNED == 0) {
                        // Invariant:
                        // There will always be an initialized ownership slot
                        // (i.e. `ownership.addr != address(0) && ownership.burned == false`)
                        // before an unintialized ownership slot
                        // (i.e. `ownership.addr == address(0) && ownership.burned == false`)
                        // Hence, `curr` will not underflow.
                        //
                        // We can directly compare the packed value.
                        // If the address is zero, packed will be zero.
                        while (packed == 0) {
                            packed = _packedOwnerships[--curr];
                        }
                        return packed;
                    }
                }
        }
        revert OwnerQueryForNonexistentToken();
    }

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

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

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

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

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

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

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

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

        return _tokenApprovals[tokenId].value;
    }

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom}
     * for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _operatorApprovals[_msgSenderERC721A()][operator] = approved;
        emit ApprovalForAll(_msgSenderERC721A(), operator, approved);
    }

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

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted. See {_mint}.
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return
            _startTokenId() <= tokenId &&
            tokenId < _currentIndex && // If within bounds,
            _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned.
    }

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

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

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

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

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

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

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

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

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

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

    /**
     * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public payable virtual override {
        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();
            }
    }

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

    /**
     * @dev Hook that is called after a set of serially-ordered token IDs
     * have been transferred. This includes minting.
     * And also called after one token has been burned.
     *
     * `startTokenId` - the first token ID to be transferred.
     * `quantity` - the amount to be transferred.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been
     * transferred to `to`.
     * - When `from` is zero, `tokenId` has been minted for `to`.
     * - When `to` is zero, `tokenId` has been burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _afterTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}

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

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

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

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

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

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

            uint256 toMasked;
            uint256 end = startTokenId + quantity;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        address from = address(uint160(prevOwnershipPacked));

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 7 of 11 : 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 8 of 11 : 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 9 of 11 : 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 10 of 11 : 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 11 of 11 : 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":"_contractURI","type":"string"},{"internalType":"string","name":"_placeholderTokenUri","type":"string"},{"internalType":"bytes32","name":"_merkleRootFree","type":"bytes32"},{"internalType":"uint96","name":"_royaltyFeesInBips","type":"uint96"},{"internalType":"address","name":"_teamAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_OG_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PUBLIC_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[],"name":"baseTokenUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"freeMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"freeMintSale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getFreeMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isRevealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"},{"internalType":"address","name":"_addr","type":"address"},{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"isValidMerkleProof","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"merkleRootFree","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"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":"placeholderTokenUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"publicSale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_contractURI","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_receiver","type":"address"},{"internalType":"uint96","name":"_royaltyFeesInBips","type":"uint96"}],"name":"setRoyaltyInfo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseTokenUri","type":"string"}],"name":"setTokenUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"toggleFreeMintSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"togglePublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleReveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"totalFreeMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"totalPublicMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801562000010575f80fd5b5060405162004f5438038062004f54833981810160405281019062000036919062000961565b6040518060400160405280600d81526020017f4a6f7365207468652050655065000000000000000000000000000000000000008152506040518060400160405280600481526020017f50655065000000000000000000000000000000000000000000000000000000008152508160029081620000b3919062000c5a565b508060039081620000c5919062000c5a565b50620000d66200015860201b60201c565b5f819055505050620000fd620000f16200015c60201b60201c565b6200016360201b60201c565b6200010f81836200022660201b60201c565b84600b908162000120919062000c5a565b5082600f8190555083600d908162000139919062000c5a565b506200014d8160506200024c60201b60201c565b505050505062000ebe565b5f90565b5f33905090565b5f60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160085f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620002366200042160201b60201c565b620002488282620004b260201b60201c565b5050565b5f805490505f82036200028b576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6200029f5f8483856200065060201b60201c565b600160406001901b17820260055f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f828254019250508190555062000329836200030b5f865f6200065660201b60201c565b6200031c856200068560201b60201c565b176200069460201b60201c565b60045f8381526020019081526020015f20819055505f80838301905073ffffffffffffffffffffffffffffffffffffffff8516915082825f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a4600183015b818114620003c55780835f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a46001810190506200038a565b505f820362000400576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805f8190555050506200041c5f848385620006be60201b60201c565b505050565b620004316200015c60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1662000457620006c460201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1614620004b0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004a79062000d9c565b60405180910390fd5b565b620004c2620006ec60201b60201c565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff16111562000523576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200051a9062000e30565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160362000594576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200058b9062000e9e565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff1681525060095f820151815f015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506020820151815f0160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b50505050565b5f8060e883901c905060e862000674868684620006f560201b60201c565b62ffffff16901b9150509392505050565b5f6001821460e11b9050919050565b5f73ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b5f60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b5f612710905090565b5f9392505050565b5f604051905090565b5f80fd5b5f80fd5b5f80fd5b5f80fd5b5f601f19601f8301169050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b6200075e8262000716565b810181811067ffffffffffffffff8211171562000780576200077f62000726565b5b80604052505050565b5f62000794620006fd565b9050620007a2828262000753565b919050565b5f67ffffffffffffffff821115620007c457620007c362000726565b5b620007cf8262000716565b9050602081019050919050565b5f5b83811015620007fb578082015181840152602081019050620007de565b5f8484015250505050565b5f6200081c6200081684620007a7565b62000789565b9050828152602081018484840111156200083b576200083a62000712565b5b62000848848285620007dc565b509392505050565b5f82601f8301126200086757620008666200070e565b5b81516200087984826020860162000806565b91505092915050565b5f819050919050565b620008968162000882565b8114620008a1575f80fd5b50565b5f81519050620008b4816200088b565b92915050565b5f6bffffffffffffffffffffffff82169050919050565b620008dc81620008ba565b8114620008e7575f80fd5b50565b5f81519050620008fa81620008d1565b92915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6200092b8262000900565b9050919050565b6200093d816200091f565b811462000948575f80fd5b50565b5f815190506200095b8162000932565b92915050565b5f805f805f60a086880312156200097d576200097c62000706565b5b5f86015167ffffffffffffffff8111156200099d576200099c6200070a565b5b620009ab8882890162000850565b955050602086015167ffffffffffffffff811115620009cf57620009ce6200070a565b5b620009dd8882890162000850565b9450506040620009f088828901620008a4565b935050606062000a0388828901620008ea565b925050608062000a16888289016200094b565b9150509295509295909350565b5f81519050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168062000a7257607f821691505b60208210810362000a885762000a8762000a2d565b5b50919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f6008830262000aec7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000aaf565b62000af8868362000aaf565b95508019841693508086168417925050509392505050565b5f819050919050565b5f819050919050565b5f62000b4262000b3c62000b368462000b10565b62000b19565b62000b10565b9050919050565b5f819050919050565b62000b5d8362000b22565b62000b7562000b6c8262000b49565b84845462000abb565b825550505050565b5f90565b62000b8b62000b7d565b62000b9881848462000b52565b505050565b5b8181101562000bbf5762000bb35f8262000b81565b60018101905062000b9e565b5050565b601f82111562000c0e5762000bd88162000a8e565b62000be38462000aa0565b8101602085101562000bf3578190505b62000c0b62000c028562000aa0565b83018262000b9d565b50505b505050565b5f82821c905092915050565b5f62000c305f198460080262000c13565b1980831691505092915050565b5f62000c4a838362000c1f565b9150826002028217905092915050565b62000c658262000a23565b67ffffffffffffffff81111562000c815762000c8062000726565b5b62000c8d825462000a5a565b62000c9a82828562000bc3565b5f60209050601f83116001811462000cd0575f841562000cbb578287015190505b62000cc7858262000c3d565b86555062000d36565b601f19841662000ce08662000a8e565b5f5b8281101562000d095784890151825560018201915060208501945060208101905062000ce2565b8683101562000d29578489015162000d25601f89168262000c1f565b8355505b6001600288020188555050505b505050505050565b5f82825260208201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725f82015250565b5f62000d8460208362000d3e565b915062000d918262000d4e565b602082019050919050565b5f6020820190508181035f83015262000db58162000d76565b9050919050565b7f455243323938313a20726f79616c7479206665652077696c6c206578636565645f8201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b5f62000e18602a8362000d3e565b915062000e258262000dbc565b604082019050919050565b5f6020820190508181035f83015262000e498162000e0a565b9050919050565b7f455243323938313a20696e76616c6964207265636569766572000000000000005f82015250565b5f62000e8660198362000d3e565b915062000e938262000e50565b602082019050919050565b5f6020820190508181035f83015262000eb78162000e78565b9050919050565b6140888062000ecc5f395ff3fe608060405260043610610250575f3560e01c80636352211e116101385780638da5cb5b116100b5578063c87b56dd11610079578063c87b56dd14610837578063e222c7f914610873578063e8a3d48514610889578063e985e9c5146108b3578063f00de928146108ef578063f2fde38b1461091957610250565b80638da5cb5b14610777578063938e3d7b146107a157806395d89b41146107c9578063a22cb465146107f3578063b88d4fde1461081b57610250565b80637a0101a2116100fc5780637a0101a2146106975780637cb64759146106c157806388d15d50146106e9578063891084a31461071157806389ba959c1461074d57610250565b80636352211e146105b557806365f13097146105f1578063695a213e1461061b57806370a0823114610645578063715018a61461068157610250565b806323b872dd116101d157806335cf36751161019557806335cf3675146104ef5780633ccfd60b1461051957806342842e0e1461052f5780634cf5f7a41461054b57806354214f69146105755780635b8ad4291461059f57610250565b806323b872dd1461041a5780632a55205a146104365780632db115441461047357806332cb6b0c1461049b57806333bc1c5c146104c557610250565b8063095ea7b311610218578063095ea7b3146103465780630d9c36781461036257806318160ddd1461039e5780631895e40c146103c85780631c16521c146103de57610250565b806301ffc9a71461025457806302fa7c47146102905780630675b7c6146102b857806306fdde03146102e0578063081812fc1461030a575b5f80fd5b34801561025f575f80fd5b5061027a600480360381019061027591906129c1565b610941565b6040516102879190612a06565b60405180910390f35b34801561029b575f80fd5b506102b660048036038101906102b19190612aba565b610952565b005b3480156102c3575f80fd5b506102de60048036038101906102d99190612c34565b610968565b005b3480156102eb575f80fd5b506102f4610983565b6040516103019190612cf5565b60405180910390f35b348015610315575f80fd5b50610330600480360381019061032b9190612d48565b610a13565b60405161033d9190612d82565b60405180910390f35b610360600480360381019061035b9190612d9b565b610a8d565b005b34801561036d575f80fd5b5061038860048036038101906103839190612ed0565b610bcc565b6040516103959190612a06565b60405180910390f35b3480156103a9575f80fd5b506103b2610c0c565b6040516103bf9190612f4b565b60405180910390f35b3480156103d3575f80fd5b506103dc610c21565b005b3480156103e9575f80fd5b5061040460048036038101906103ff9190612f64565b610c55565b6040516104119190612f4b565b60405180910390f35b610434600480360381019061042f9190612f8f565b610c6a565b005b348015610441575f80fd5b5061045c60048036038101906104579190612fdf565b610f78565b60405161046a92919061301d565b60405180910390f35b34801561047e575f80fd5b5061049960048036038101906104949190612d48565b611154565b005b3480156104a6575f80fd5b506104af611354565b6040516104bc9190612f4b565b60405180910390f35b3480156104d0575f80fd5b506104d961135a565b6040516104e69190612a06565b60405180910390f35b3480156104fa575f80fd5b5061050361136d565b6040516105109190612a06565b60405180910390f35b348015610524575f80fd5b5061052d611380565b005b61054960048036038101906105449190612f8f565b611444565b005b348015610556575f80fd5b5061055f611463565b60405161056c9190612cf5565b60405180910390f35b348015610580575f80fd5b506105896114ef565b6040516105969190612a06565b60405180910390f35b3480156105aa575f80fd5b506105b3611501565b005b3480156105c0575f80fd5b506105db60048036038101906105d69190612d48565b611533565b6040516105e89190612d82565b60405180910390f35b3480156105fc575f80fd5b50610605611544565b6040516106129190612f4b565b60405180910390f35b348015610626575f80fd5b5061062f611549565b60405161063c9190613053565b60405180910390f35b348015610650575f80fd5b5061066b60048036038101906106669190612f64565b611552565b6040516106789190612f4b565b60405180910390f35b34801561068c575f80fd5b50610695611607565b005b3480156106a2575f80fd5b506106ab61161a565b6040516106b89190612cf5565b60405180910390f35b3480156106cc575f80fd5b506106e760048036038101906106e2919061306c565b6116a6565b005b3480156106f4575f80fd5b5061070f600480360381019061070a9190613097565b6116b8565b005b34801561071c575f80fd5b5061073760048036038101906107329190612f64565b611907565b6040516107449190612f4b565b60405180910390f35b348015610758575f80fd5b5061076161191c565b60405161076e9190613053565b60405180910390f35b348015610782575f80fd5b5061078b611922565b6040516107989190612d82565b60405180910390f35b3480156107ac575f80fd5b506107c760048036038101906107c29190613137565b61194a565b005b3480156107d4575f80fd5b506107dd611968565b6040516107ea9190612cf5565b60405180910390f35b3480156107fe575f80fd5b50610819600480360381019061081491906131ac565b6119f8565b005b61083560048036038101906108309190613288565b611afe565b005b348015610842575f80fd5b5061085d60048036038101906108589190612d48565b611b70565b60405161086a9190612cf5565b60405180910390f35b34801561087e575f80fd5b50610887611ccc565b005b348015610894575f80fd5b5061089d611d00565b6040516108aa9190612cf5565b60405180910390f35b3480156108be575f80fd5b506108d960048036038101906108d49190613308565b611d8c565b6040516108e69190612a06565b60405180910390f35b3480156108fa575f80fd5b50610903611e1a565b6040516109109190612f4b565b60405180910390f35b348015610924575f80fd5b5061093f600480360381019061093a9190612f64565b611e1f565b005b5f61094b82611ea1565b9050919050565b61095a611f1a565b6109648282611f98565b5050565b610970611f1a565b80600c908161097f9190613540565b5050565b60606002805461099290613373565b80601f01602080910402602001604051908101604052809291908181526020018280546109be90613373565b8015610a095780601f106109e057610100808354040283529160200191610a09565b820191905f5260205f20905b8154815290600101906020018083116109ec57829003601f168201915b5050505050905090565b5f610a1d82612128565b610a53576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60065f8381526020019081526020015f205f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b5f610a9782611533565b90508073ffffffffffffffffffffffffffffffffffffffff16610ab8612182565b73ffffffffffffffffffffffffffffffffffffffff1614610b1b57610ae481610adf612182565b611d8c565b610b1a576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b8260065f8481526020019081526020015f205f015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b5f8083604051602001610bdf9190613654565b604051602081830303815290604052805190602001209050610c02858483612189565b9150509392505050565b5f610c1561219f565b6001545f540303905090565b610c29611f1a565b600e60019054906101000a900460ff1615600e60016101000a81548160ff021916908315150217905550565b6010602052805f5260405f205f915090505481565b5f610c74826121a3565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610cdb576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f80610ce684612266565b91509150610cfc8187610cf7612182565b612289565b610d4857610d1186610d0c612182565b611d8c565b610d47576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b5f73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603610dad576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610dba86868660016122cc565b8015610dc4575f82555b60055f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8154600190039190508190555060055f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f815460010191905081905550610e8c85610e688888876122d2565b7c0200000000000000000000000000000000000000000000000000000000176122f9565b60045f8681526020019081526020015f20819055505f7c0200000000000000000000000000000000000000000000000000000000841603610f08575f6001850190505f60045f8381526020019081526020015f205403610f06575f548114610f05578360045f8381526020019081526020015f20819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610f708686866001612323565b505050505050565b5f805f600a5f8681526020019081526020015f206040518060400160405290815f82015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020015f820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505f73ffffffffffffffffffffffffffffffffffffffff16815f015173ffffffffffffffffffffffffffffffffffffffff16036111015760096040518060400160405290815f82015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020015f820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b5f61110a612329565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff1686611136919061369b565b6111409190613709565b9050815f0151819350935050509250929050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16146111c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b990613783565b60405180910390fd5b600e60029054906101000a900460ff16611211576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611208906137eb565b60405180910390fd5b6103788161121d610c0c565b6112279190613809565b1115611268576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125f90613886565b60405180910390fd5b60028160105f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20546112b39190613809565b11156112f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112eb906138ee565b60405180910390fd5b8060105f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8282546113409190613809565b925050819055506113513382612332565b50565b61037881565b600e60029054906101000a900460ff1681565b600e60019054906101000a900460ff1681565b611388611f1a565b5f611391611922565b90505f4790505f8273ffffffffffffffffffffffffffffffffffffffff16826040516113bc90613939565b5f6040518083038185875af1925050503d805f81146113f6576040519150601f19603f3d011682016040523d82523d5f602084013e6113fb565b606091505b505090508061143f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143690613997565b60405180910390fd5b505050565b61145e83838360405180602001604052805f815250611afe565b505050565b600d805461147090613373565b80601f016020809104026020016040519081016040528092919081815260200182805461149c90613373565b80156114e75780601f106114be576101008083540402835291602001916114e7565b820191905f5260205f20905b8154815290600101906020018083116114ca57829003601f168201915b505050505081565b600e5f9054906101000a900460ff1681565b611509611f1a565b600e5f9054906101000a900460ff1615600e5f6101000a81548160ff021916908315150217905550565b5f61153d826121a3565b9050919050565b600281565b5f600f54905090565b5f8073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036115b8576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff60055f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054169050919050565b61160f611f1a565b6116185f6124db565b565b600c805461162790613373565b80601f016020809104026020016040519081016040528092919081815260200182805461165390613373565b801561169e5780601f106116755761010080835404028352916020019161169e565b820191905f5260205f20905b81548152906001019060200180831161168157829003601f168201915b505050505081565b6116ae611f1a565b80600f8190555050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611726576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171d90613783565b60405180910390fd5b600e60019054906101000a900460ff16611775576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161176c906137eb565b60405180910390fd5b6117828133600f54610bcc565b6117c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117b8906139ff565b60405180910390fd5b61037860056117ce610c0c565b6117d89190613809565b1115611819576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181090613886565b60405180910390fd5b60058060115f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20546118649190613809565b11156118a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161189c906138ee565b60405180910390fd5b600560115f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8282546118f29190613809565b92505081905550611904336005612332565b50565b6011602052805f5260405f205f915090505481565b600f5481565b5f60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611952611f1a565b8181600b9182611963929190613a27565b505050565b60606003805461197790613373565b80601f01602080910402602001604051908101604052809291908181526020018280546119a390613373565b80156119ee5780601f106119c5576101008083540402835291602001916119ee565b820191905f5260205f20905b8154815290600101906020018083116119d157829003601f168201915b5050505050905090565b8060075f611a04612182565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611aad612182565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611af29190612a06565b60405180910390a35050565b611b09848484610c6a565b5f8373ffffffffffffffffffffffffffffffffffffffff163b14611b6a57611b338484848461259e565b611b69576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b6060611b7b82612128565b611bba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bb190613b64565b60405180910390fd5b5f600183611bc89190613809565b9050600e5f9054906101000a900460ff16611c6e57600d8054611bea90613373565b80601f0160208091040260200160405190810160405280929190818152602001828054611c1690613373565b8015611c615780601f10611c3857610100808354040283529160200191611c61565b820191905f5260205f20905b815481529060010190602001808311611c4457829003601f168201915b5050505050915050611cc7565b5f600c8054611c7c90613373565b905011611c975760405180602001604052805f815250611cc3565b600c611ca2826126e9565b604051602001611cb3929190613c86565b6040516020818303038152906040525b9150505b919050565b611cd4611f1a565b600e60029054906101000a900460ff1615600e60026101000a81548160ff021916908315150217905550565b600b8054611d0d90613373565b80601f0160208091040260200160405190810160405280929190818152602001828054611d3990613373565b8015611d845780601f10611d5b57610100808354040283529160200191611d84565b820191905f5260205f20905b815481529060010190602001808311611d6757829003601f168201915b505050505081565b5f60075f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16905092915050565b600581565b611e27611f1a565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611e95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e8c90613d24565b60405180910390fd5b611e9e816124db565b50565b5f7f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611f135750611f1282612842565b5b9050919050565b611f226128ab565b73ffffffffffffffffffffffffffffffffffffffff16611f40611922565b73ffffffffffffffffffffffffffffffffffffffff1614611f96576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f8d90613d8c565b60405180910390fd5b565b611fa0612329565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff161115611ffe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ff590613e1a565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361206c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161206390613e82565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff1681525060095f820151815f015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506020820151815f0160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b5f8161213261219f565b1115801561214057505f5482105b801561217b57505f7c010000000000000000000000000000000000000000000000000000000060045f8581526020019081526020015f205416145b9050919050565b5f33905090565b5f8261219585846128b2565b1490509392505050565b5f90565b5f80829050806121b161219f565b1161222f575f5481101561222e575f60045f8381526020019081526020015f205490505f7c010000000000000000000000000000000000000000000000000000000082160361222c575b5f81036122225760045f836001900393508381526020019081526020015f205490506121fb565b8092505050612261565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b5f805f60065f8581526020019081526020015f2090508092508254915050915091565b5f73ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b5f8060e883901c905060e86122e8868684612906565b62ffffff16901b9150509392505050565b5f73ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b5f612710905090565b5f805490505f8203612370576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61237c5f8483856122cc565b600160406001901b17820260055f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055506123ee836123df5f865f6122d2565b6123e88561290e565b176122f9565b60045f8381526020019081526020015f20819055505f80838301905073ffffffffffffffffffffffffffffffffffffffff8516915082825f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a4600183015b8181146124885780835f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a460018101905061244f565b505f82036124c2576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805f8190555050506124d65f848385612323565b505050565b5f60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160085f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f8373ffffffffffffffffffffffffffffffffffffffff1663150b7a026125c3612182565b8786866040518563ffffffff1660e01b81526004016125e59493929190613ef2565b6020604051808303815f875af192505050801561262057506040513d601f19601f8201168201806040525081019061261d9190613f50565b60015b612696573d805f811461264e576040519150601f19603f3d011682016040523d82523d5f602084013e612653565b606091505b505f81510361268e576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60605f820361272f576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061283d565b5f8290505f5b5f821461275e57808061274790613f7b565b915050600a826127579190613709565b9150612735565b5f8167ffffffffffffffff81111561277957612778612b10565b5b6040519080825280601f01601f1916602001820160405280156127ab5781602001600182028036833780820191505090505b5090505b5f8514612836576001826127c39190613fc2565b9150600a856127d29190613ff5565b60306127de9190613809565b60f81b8183815181106127f4576127f3614025565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191690815f1a905350600a8561282f9190613709565b94506127af565b8093505050505b919050565b5f7f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b5f33905090565b5f808290505f5b84518110156128fb576128e6828683815181106128d9576128d8614025565b5b602002602001015161291d565b915080806128f390613f7b565b9150506128b9565b508091505092915050565b5f9392505050565b5f6001821460e11b9050919050565b5f8183106129345761292f8284612947565b61293f565b61293e8383612947565b5b905092915050565b5f825f528160205260405f20905092915050565b5f604051905090565b5f80fd5b5f80fd5b5f7fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6129a08161296c565b81146129aa575f80fd5b50565b5f813590506129bb81612997565b92915050565b5f602082840312156129d6576129d5612964565b5b5f6129e3848285016129ad565b91505092915050565b5f8115159050919050565b612a00816129ec565b82525050565b5f602082019050612a195f8301846129f7565b92915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f612a4882612a1f565b9050919050565b612a5881612a3e565b8114612a62575f80fd5b50565b5f81359050612a7381612a4f565b92915050565b5f6bffffffffffffffffffffffff82169050919050565b612a9981612a79565b8114612aa3575f80fd5b50565b5f81359050612ab481612a90565b92915050565b5f8060408385031215612ad057612acf612964565b5b5f612add85828601612a65565b9250506020612aee85828601612aa6565b9150509250929050565b5f80fd5b5f80fd5b5f601f19601f8301169050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b612b4682612b00565b810181811067ffffffffffffffff82111715612b6557612b64612b10565b5b80604052505050565b5f612b7761295b565b9050612b838282612b3d565b919050565b5f67ffffffffffffffff821115612ba257612ba1612b10565b5b612bab82612b00565b9050602081019050919050565b828183375f83830152505050565b5f612bd8612bd384612b88565b612b6e565b905082815260208101848484011115612bf457612bf3612afc565b5b612bff848285612bb8565b509392505050565b5f82601f830112612c1b57612c1a612af8565b5b8135612c2b848260208601612bc6565b91505092915050565b5f60208284031215612c4957612c48612964565b5b5f82013567ffffffffffffffff811115612c6657612c65612968565b5b612c7284828501612c07565b91505092915050565b5f81519050919050565b5f82825260208201905092915050565b5f5b83811015612cb2578082015181840152602081019050612c97565b5f8484015250505050565b5f612cc782612c7b565b612cd18185612c85565b9350612ce1818560208601612c95565b612cea81612b00565b840191505092915050565b5f6020820190508181035f830152612d0d8184612cbd565b905092915050565b5f819050919050565b612d2781612d15565b8114612d31575f80fd5b50565b5f81359050612d4281612d1e565b92915050565b5f60208284031215612d5d57612d5c612964565b5b5f612d6a84828501612d34565b91505092915050565b612d7c81612a3e565b82525050565b5f602082019050612d955f830184612d73565b92915050565b5f8060408385031215612db157612db0612964565b5b5f612dbe85828601612a65565b9250506020612dcf85828601612d34565b9150509250929050565b5f67ffffffffffffffff821115612df357612df2612b10565b5b602082029050602081019050919050565b5f80fd5b5f819050919050565b612e1a81612e08565b8114612e24575f80fd5b50565b5f81359050612e3581612e11565b92915050565b5f612e4d612e4884612dd9565b612b6e565b90508083825260208201905060208402830185811115612e7057612e6f612e04565b5b835b81811015612e995780612e858882612e27565b845260208401935050602081019050612e72565b5050509392505050565b5f82601f830112612eb757612eb6612af8565b5b8135612ec7848260208601612e3b565b91505092915050565b5f805f60608486031215612ee757612ee6612964565b5b5f84013567ffffffffffffffff811115612f0457612f03612968565b5b612f1086828701612ea3565b9350506020612f2186828701612a65565b9250506040612f3286828701612e27565b9150509250925092565b612f4581612d15565b82525050565b5f602082019050612f5e5f830184612f3c565b92915050565b5f60208284031215612f7957612f78612964565b5b5f612f8684828501612a65565b91505092915050565b5f805f60608486031215612fa657612fa5612964565b5b5f612fb386828701612a65565b9350506020612fc486828701612a65565b9250506040612fd586828701612d34565b9150509250925092565b5f8060408385031215612ff557612ff4612964565b5b5f61300285828601612d34565b925050602061301385828601612d34565b9150509250929050565b5f6040820190506130305f830185612d73565b61303d6020830184612f3c565b9392505050565b61304d81612e08565b82525050565b5f6020820190506130665f830184613044565b92915050565b5f6020828403121561308157613080612964565b5b5f61308e84828501612e27565b91505092915050565b5f602082840312156130ac576130ab612964565b5b5f82013567ffffffffffffffff8111156130c9576130c8612968565b5b6130d584828501612ea3565b91505092915050565b5f80fd5b5f8083601f8401126130f7576130f6612af8565b5b8235905067ffffffffffffffff811115613114576131136130de565b5b6020830191508360018202830111156131305761312f612e04565b5b9250929050565b5f806020838503121561314d5761314c612964565b5b5f83013567ffffffffffffffff81111561316a57613169612968565b5b613176858286016130e2565b92509250509250929050565b61318b816129ec565b8114613195575f80fd5b50565b5f813590506131a681613182565b92915050565b5f80604083850312156131c2576131c1612964565b5b5f6131cf85828601612a65565b92505060206131e085828601613198565b9150509250929050565b5f67ffffffffffffffff82111561320457613203612b10565b5b61320d82612b00565b9050602081019050919050565b5f61322c613227846131ea565b612b6e565b90508281526020810184848401111561324857613247612afc565b5b613253848285612bb8565b509392505050565b5f82601f83011261326f5761326e612af8565b5b813561327f84826020860161321a565b91505092915050565b5f805f80608085870312156132a05761329f612964565b5b5f6132ad87828801612a65565b94505060206132be87828801612a65565b93505060406132cf87828801612d34565b925050606085013567ffffffffffffffff8111156132f0576132ef612968565b5b6132fc8782880161325b565b91505092959194509250565b5f806040838503121561331e5761331d612964565b5b5f61332b85828601612a65565b925050602061333c85828601612a65565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061338a57607f821691505b60208210810361339d5761339c613346565b5b50919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f600883026133ff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826133c4565b61340986836133c4565b95508019841693508086168417925050509392505050565b5f819050919050565b5f61344461343f61343a84612d15565b613421565b612d15565b9050919050565b5f819050919050565b61345d8361342a565b6134716134698261344b565b8484546133d0565b825550505050565b5f90565b613485613479565b613490818484613454565b505050565b5b818110156134b3576134a85f8261347d565b600181019050613496565b5050565b601f8211156134f8576134c9816133a3565b6134d2846133b5565b810160208510156134e1578190505b6134f56134ed856133b5565b830182613495565b50505b505050565b5f82821c905092915050565b5f6135185f19846008026134fd565b1980831691505092915050565b5f6135308383613509565b9150826002028217905092915050565b61354982612c7b565b67ffffffffffffffff81111561356257613561612b10565b5b61356c8254613373565b6135778282856134b7565b5f60209050601f8311600181146135a8575f8415613596578287015190505b6135a08582613525565b865550613607565b601f1984166135b6866133a3565b5f5b828110156135dd578489015182556001820191506020850194506020810190506135b8565b868310156135fa57848901516135f6601f891682613509565b8355505b6001600288020188555050505b505050505050565b5f8160601b9050919050565b5f6136258261360f565b9050919050565b5f6136368261361b565b9050919050565b61364e61364982612a3e565b61362c565b82525050565b5f61365f828461363d565b60148201915081905092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f6136a582612d15565b91506136b083612d15565b92508282026136be81612d15565b915082820484148315176136d5576136d461366e565b5b5092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f61371382612d15565b915061371e83612d15565b92508261372e5761372d6136dc565b5b828204905092915050565b7f43616e6e6f742062652063616c6c6564206279206120636f6e747261637400005f82015250565b5f61376d601e83612c85565b915061377882613739565b602082019050919050565b5f6020820190508181035f83015261379a81613761565b9050919050565b7f4e6f7420596574204163746976650000000000000000000000000000000000005f82015250565b5f6137d5600e83612c85565b91506137e0826137a1565b602082019050919050565b5f6020820190508181035f830152613802816137c9565b9050919050565b5f61381382612d15565b915061381e83612d15565b92508282019050808211156138365761383561366e565b5b92915050565b7f43616e6e6f74206d696e74206265796f6e64206d617820737570706c790000005f82015250565b5f613870601d83612c85565b915061387b8261383c565b602082019050919050565b5f6020820190508181035f83015261389d81613864565b9050919050565b7f43616e6e6f74206d696e74206265796f6e64206d6178206c696d6974000000005f82015250565b5f6138d8601c83612c85565b91506138e3826138a4565b602082019050919050565b5f6020820190508181035f830152613905816138cc565b9050919050565b5f81905092915050565b50565b5f6139245f8361390c565b915061392f82613916565b5f82019050919050565b5f61394382613919565b9150819050919050565b7f4661696c656420746f2073656e642045746865720000000000000000000000005f82015250565b5f613981601483612c85565b915061398c8261394d565b602082019050919050565b5f6020820190508181035f8301526139ae81613975565b9050919050565b7f596f7520617265206e6f74204f470000000000000000000000000000000000005f82015250565b5f6139e9600e83612c85565b91506139f4826139b5565b602082019050919050565b5f6020820190508181035f830152613a16816139dd565b9050919050565b5f82905092915050565b613a318383613a1d565b67ffffffffffffffff811115613a4a57613a49612b10565b5b613a548254613373565b613a5f8282856134b7565b5f601f831160018114613a8c575f8415613a7a578287013590505b613a848582613525565b865550613aeb565b601f198416613a9a866133a3565b5f5b82811015613ac157848901358255600182019150602085019450602081019050613a9c565b86831015613ade5784890135613ada601f891682613509565b8355505b6001600288020188555050505b50505050505050565b7f4552433732314d657461646174612055524920717565727920666f72206e6f6e5f8201527f6578697374656e7420746f6b656e000000000000000000000000000000000000602082015250565b5f613b4e602e83612c85565b9150613b5982613af4565b604082019050919050565b5f6020820190508181035f830152613b7b81613b42565b9050919050565b5f81905092915050565b5f8154613b9881613373565b613ba28186613b82565b9450600182165f8114613bbc5760018114613bd157613c03565b60ff1983168652811515820286019350613c03565b613bda856133a3565b5f5b83811015613bfb57815481890152600182019150602081019050613bdc565b838801955050505b50505092915050565b5f613c1682612c7b565b613c208185613b82565b9350613c30818560208601612c95565b80840191505092915050565b7f2e6a736f6e0000000000000000000000000000000000000000000000000000005f82015250565b5f613c70600583613b82565b9150613c7b82613c3c565b600582019050919050565b5f613c918285613b8c565b9150613c9d8284613c0c565b9150613ca882613c64565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f20615f8201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b5f613d0e602683612c85565b9150613d1982613cb4565b604082019050919050565b5f6020820190508181035f830152613d3b81613d02565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725f82015250565b5f613d76602083612c85565b9150613d8182613d42565b602082019050919050565b5f6020820190508181035f830152613da381613d6a565b9050919050565b7f455243323938313a20726f79616c7479206665652077696c6c206578636565645f8201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b5f613e04602a83612c85565b9150613e0f82613daa565b604082019050919050565b5f6020820190508181035f830152613e3181613df8565b9050919050565b7f455243323938313a20696e76616c6964207265636569766572000000000000005f82015250565b5f613e6c601983612c85565b9150613e7782613e38565b602082019050919050565b5f6020820190508181035f830152613e9981613e60565b9050919050565b5f81519050919050565b5f82825260208201905092915050565b5f613ec482613ea0565b613ece8185613eaa565b9350613ede818560208601612c95565b613ee781612b00565b840191505092915050565b5f608082019050613f055f830187612d73565b613f126020830186612d73565b613f1f6040830185612f3c565b8181036060830152613f318184613eba565b905095945050505050565b5f81519050613f4a81612997565b92915050565b5f60208284031215613f6557613f64612964565b5b5f613f7284828501613f3c565b91505092915050565b5f613f8582612d15565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613fb757613fb661366e565b5b600182019050919050565b5f613fcc82612d15565b9150613fd783612d15565b9250828203905081811115613fef57613fee61366e565b5b92915050565b5f613fff82612d15565b915061400a83612d15565b92508261401a576140196136dc565b5b828206905092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffdfea2646970667358221220df65b7d669fd6897d9a1ed96088c0fd06cd875c73aadcea78a7f2141716cbe5664736f6c6343000814003300000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000120a9eb67fe3be1865a71cb69cfe6235c2652dca2cdc17e3a748f18f1944ec45e6100000000000000000000000000000000000000000000000000000000000001f4000000000000000000000000a87871a186ba49bde06c00147af690ffa3b59ddc0000000000000000000000000000000000000000000000000000000000000042697066733a2f2f6261666b7265696437677a376e6d6f637575367469667462357464696236696370346c78746c726463786c7161667335637275616464766c6375610000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000042697066733a2f2f6261666b7265696662666b6363716273326a75656961716d6a7a616f6870336d327a707a356c78336e62356437746632687766336965736c746375000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405260043610610250575f3560e01c80636352211e116101385780638da5cb5b116100b5578063c87b56dd11610079578063c87b56dd14610837578063e222c7f914610873578063e8a3d48514610889578063e985e9c5146108b3578063f00de928146108ef578063f2fde38b1461091957610250565b80638da5cb5b14610777578063938e3d7b146107a157806395d89b41146107c9578063a22cb465146107f3578063b88d4fde1461081b57610250565b80637a0101a2116100fc5780637a0101a2146106975780637cb64759146106c157806388d15d50146106e9578063891084a31461071157806389ba959c1461074d57610250565b80636352211e146105b557806365f13097146105f1578063695a213e1461061b57806370a0823114610645578063715018a61461068157610250565b806323b872dd116101d157806335cf36751161019557806335cf3675146104ef5780633ccfd60b1461051957806342842e0e1461052f5780634cf5f7a41461054b57806354214f69146105755780635b8ad4291461059f57610250565b806323b872dd1461041a5780632a55205a146104365780632db115441461047357806332cb6b0c1461049b57806333bc1c5c146104c557610250565b8063095ea7b311610218578063095ea7b3146103465780630d9c36781461036257806318160ddd1461039e5780631895e40c146103c85780631c16521c146103de57610250565b806301ffc9a71461025457806302fa7c47146102905780630675b7c6146102b857806306fdde03146102e0578063081812fc1461030a575b5f80fd5b34801561025f575f80fd5b5061027a600480360381019061027591906129c1565b610941565b6040516102879190612a06565b60405180910390f35b34801561029b575f80fd5b506102b660048036038101906102b19190612aba565b610952565b005b3480156102c3575f80fd5b506102de60048036038101906102d99190612c34565b610968565b005b3480156102eb575f80fd5b506102f4610983565b6040516103019190612cf5565b60405180910390f35b348015610315575f80fd5b50610330600480360381019061032b9190612d48565b610a13565b60405161033d9190612d82565b60405180910390f35b610360600480360381019061035b9190612d9b565b610a8d565b005b34801561036d575f80fd5b5061038860048036038101906103839190612ed0565b610bcc565b6040516103959190612a06565b60405180910390f35b3480156103a9575f80fd5b506103b2610c0c565b6040516103bf9190612f4b565b60405180910390f35b3480156103d3575f80fd5b506103dc610c21565b005b3480156103e9575f80fd5b5061040460048036038101906103ff9190612f64565b610c55565b6040516104119190612f4b565b60405180910390f35b610434600480360381019061042f9190612f8f565b610c6a565b005b348015610441575f80fd5b5061045c60048036038101906104579190612fdf565b610f78565b60405161046a92919061301d565b60405180910390f35b34801561047e575f80fd5b5061049960048036038101906104949190612d48565b611154565b005b3480156104a6575f80fd5b506104af611354565b6040516104bc9190612f4b565b60405180910390f35b3480156104d0575f80fd5b506104d961135a565b6040516104e69190612a06565b60405180910390f35b3480156104fa575f80fd5b5061050361136d565b6040516105109190612a06565b60405180910390f35b348015610524575f80fd5b5061052d611380565b005b61054960048036038101906105449190612f8f565b611444565b005b348015610556575f80fd5b5061055f611463565b60405161056c9190612cf5565b60405180910390f35b348015610580575f80fd5b506105896114ef565b6040516105969190612a06565b60405180910390f35b3480156105aa575f80fd5b506105b3611501565b005b3480156105c0575f80fd5b506105db60048036038101906105d69190612d48565b611533565b6040516105e89190612d82565b60405180910390f35b3480156105fc575f80fd5b50610605611544565b6040516106129190612f4b565b60405180910390f35b348015610626575f80fd5b5061062f611549565b60405161063c9190613053565b60405180910390f35b348015610650575f80fd5b5061066b60048036038101906106669190612f64565b611552565b6040516106789190612f4b565b60405180910390f35b34801561068c575f80fd5b50610695611607565b005b3480156106a2575f80fd5b506106ab61161a565b6040516106b89190612cf5565b60405180910390f35b3480156106cc575f80fd5b506106e760048036038101906106e2919061306c565b6116a6565b005b3480156106f4575f80fd5b5061070f600480360381019061070a9190613097565b6116b8565b005b34801561071c575f80fd5b5061073760048036038101906107329190612f64565b611907565b6040516107449190612f4b565b60405180910390f35b348015610758575f80fd5b5061076161191c565b60405161076e9190613053565b60405180910390f35b348015610782575f80fd5b5061078b611922565b6040516107989190612d82565b60405180910390f35b3480156107ac575f80fd5b506107c760048036038101906107c29190613137565b61194a565b005b3480156107d4575f80fd5b506107dd611968565b6040516107ea9190612cf5565b60405180910390f35b3480156107fe575f80fd5b50610819600480360381019061081491906131ac565b6119f8565b005b61083560048036038101906108309190613288565b611afe565b005b348015610842575f80fd5b5061085d60048036038101906108589190612d48565b611b70565b60405161086a9190612cf5565b60405180910390f35b34801561087e575f80fd5b50610887611ccc565b005b348015610894575f80fd5b5061089d611d00565b6040516108aa9190612cf5565b60405180910390f35b3480156108be575f80fd5b506108d960048036038101906108d49190613308565b611d8c565b6040516108e69190612a06565b60405180910390f35b3480156108fa575f80fd5b50610903611e1a565b6040516109109190612f4b565b60405180910390f35b348015610924575f80fd5b5061093f600480360381019061093a9190612f64565b611e1f565b005b5f61094b82611ea1565b9050919050565b61095a611f1a565b6109648282611f98565b5050565b610970611f1a565b80600c908161097f9190613540565b5050565b60606002805461099290613373565b80601f01602080910402602001604051908101604052809291908181526020018280546109be90613373565b8015610a095780601f106109e057610100808354040283529160200191610a09565b820191905f5260205f20905b8154815290600101906020018083116109ec57829003601f168201915b5050505050905090565b5f610a1d82612128565b610a53576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60065f8381526020019081526020015f205f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b5f610a9782611533565b90508073ffffffffffffffffffffffffffffffffffffffff16610ab8612182565b73ffffffffffffffffffffffffffffffffffffffff1614610b1b57610ae481610adf612182565b611d8c565b610b1a576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b8260065f8481526020019081526020015f205f015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b5f8083604051602001610bdf9190613654565b604051602081830303815290604052805190602001209050610c02858483612189565b9150509392505050565b5f610c1561219f565b6001545f540303905090565b610c29611f1a565b600e60019054906101000a900460ff1615600e60016101000a81548160ff021916908315150217905550565b6010602052805f5260405f205f915090505481565b5f610c74826121a3565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610cdb576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f80610ce684612266565b91509150610cfc8187610cf7612182565b612289565b610d4857610d1186610d0c612182565b611d8c565b610d47576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b5f73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603610dad576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610dba86868660016122cc565b8015610dc4575f82555b60055f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8154600190039190508190555060055f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f815460010191905081905550610e8c85610e688888876122d2565b7c0200000000000000000000000000000000000000000000000000000000176122f9565b60045f8681526020019081526020015f20819055505f7c0200000000000000000000000000000000000000000000000000000000841603610f08575f6001850190505f60045f8381526020019081526020015f205403610f06575f548114610f05578360045f8381526020019081526020015f20819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610f708686866001612323565b505050505050565b5f805f600a5f8681526020019081526020015f206040518060400160405290815f82015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020015f820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505f73ffffffffffffffffffffffffffffffffffffffff16815f015173ffffffffffffffffffffffffffffffffffffffff16036111015760096040518060400160405290815f82015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020015f820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b5f61110a612329565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff1686611136919061369b565b6111409190613709565b9050815f0151819350935050509250929050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16146111c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b990613783565b60405180910390fd5b600e60029054906101000a900460ff16611211576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611208906137eb565b60405180910390fd5b6103788161121d610c0c565b6112279190613809565b1115611268576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125f90613886565b60405180910390fd5b60028160105f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20546112b39190613809565b11156112f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112eb906138ee565b60405180910390fd5b8060105f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8282546113409190613809565b925050819055506113513382612332565b50565b61037881565b600e60029054906101000a900460ff1681565b600e60019054906101000a900460ff1681565b611388611f1a565b5f611391611922565b90505f4790505f8273ffffffffffffffffffffffffffffffffffffffff16826040516113bc90613939565b5f6040518083038185875af1925050503d805f81146113f6576040519150601f19603f3d011682016040523d82523d5f602084013e6113fb565b606091505b505090508061143f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143690613997565b60405180910390fd5b505050565b61145e83838360405180602001604052805f815250611afe565b505050565b600d805461147090613373565b80601f016020809104026020016040519081016040528092919081815260200182805461149c90613373565b80156114e75780601f106114be576101008083540402835291602001916114e7565b820191905f5260205f20905b8154815290600101906020018083116114ca57829003601f168201915b505050505081565b600e5f9054906101000a900460ff1681565b611509611f1a565b600e5f9054906101000a900460ff1615600e5f6101000a81548160ff021916908315150217905550565b5f61153d826121a3565b9050919050565b600281565b5f600f54905090565b5f8073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036115b8576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff60055f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054169050919050565b61160f611f1a565b6116185f6124db565b565b600c805461162790613373565b80601f016020809104026020016040519081016040528092919081815260200182805461165390613373565b801561169e5780601f106116755761010080835404028352916020019161169e565b820191905f5260205f20905b81548152906001019060200180831161168157829003601f168201915b505050505081565b6116ae611f1a565b80600f8190555050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611726576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171d90613783565b60405180910390fd5b600e60019054906101000a900460ff16611775576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161176c906137eb565b60405180910390fd5b6117828133600f54610bcc565b6117c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117b8906139ff565b60405180910390fd5b61037860056117ce610c0c565b6117d89190613809565b1115611819576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181090613886565b60405180910390fd5b60058060115f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20546118649190613809565b11156118a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161189c906138ee565b60405180910390fd5b600560115f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8282546118f29190613809565b92505081905550611904336005612332565b50565b6011602052805f5260405f205f915090505481565b600f5481565b5f60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611952611f1a565b8181600b9182611963929190613a27565b505050565b60606003805461197790613373565b80601f01602080910402602001604051908101604052809291908181526020018280546119a390613373565b80156119ee5780601f106119c5576101008083540402835291602001916119ee565b820191905f5260205f20905b8154815290600101906020018083116119d157829003601f168201915b5050505050905090565b8060075f611a04612182565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611aad612182565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611af29190612a06565b60405180910390a35050565b611b09848484610c6a565b5f8373ffffffffffffffffffffffffffffffffffffffff163b14611b6a57611b338484848461259e565b611b69576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b6060611b7b82612128565b611bba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bb190613b64565b60405180910390fd5b5f600183611bc89190613809565b9050600e5f9054906101000a900460ff16611c6e57600d8054611bea90613373565b80601f0160208091040260200160405190810160405280929190818152602001828054611c1690613373565b8015611c615780601f10611c3857610100808354040283529160200191611c61565b820191905f5260205f20905b815481529060010190602001808311611c4457829003601f168201915b5050505050915050611cc7565b5f600c8054611c7c90613373565b905011611c975760405180602001604052805f815250611cc3565b600c611ca2826126e9565b604051602001611cb3929190613c86565b6040516020818303038152906040525b9150505b919050565b611cd4611f1a565b600e60029054906101000a900460ff1615600e60026101000a81548160ff021916908315150217905550565b600b8054611d0d90613373565b80601f0160208091040260200160405190810160405280929190818152602001828054611d3990613373565b8015611d845780601f10611d5b57610100808354040283529160200191611d84565b820191905f5260205f20905b815481529060010190602001808311611d6757829003601f168201915b505050505081565b5f60075f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16905092915050565b600581565b611e27611f1a565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611e95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e8c90613d24565b60405180910390fd5b611e9e816124db565b50565b5f7f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611f135750611f1282612842565b5b9050919050565b611f226128ab565b73ffffffffffffffffffffffffffffffffffffffff16611f40611922565b73ffffffffffffffffffffffffffffffffffffffff1614611f96576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f8d90613d8c565b60405180910390fd5b565b611fa0612329565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff161115611ffe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ff590613e1a565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361206c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161206390613e82565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff1681525060095f820151815f015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506020820151815f0160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b5f8161213261219f565b1115801561214057505f5482105b801561217b57505f7c010000000000000000000000000000000000000000000000000000000060045f8581526020019081526020015f205416145b9050919050565b5f33905090565b5f8261219585846128b2565b1490509392505050565b5f90565b5f80829050806121b161219f565b1161222f575f5481101561222e575f60045f8381526020019081526020015f205490505f7c010000000000000000000000000000000000000000000000000000000082160361222c575b5f81036122225760045f836001900393508381526020019081526020015f205490506121fb565b8092505050612261565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b5f805f60065f8581526020019081526020015f2090508092508254915050915091565b5f73ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b5f8060e883901c905060e86122e8868684612906565b62ffffff16901b9150509392505050565b5f73ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b5f612710905090565b5f805490505f8203612370576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61237c5f8483856122cc565b600160406001901b17820260055f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055506123ee836123df5f865f6122d2565b6123e88561290e565b176122f9565b60045f8381526020019081526020015f20819055505f80838301905073ffffffffffffffffffffffffffffffffffffffff8516915082825f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a4600183015b8181146124885780835f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a460018101905061244f565b505f82036124c2576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805f8190555050506124d65f848385612323565b505050565b5f60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160085f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f8373ffffffffffffffffffffffffffffffffffffffff1663150b7a026125c3612182565b8786866040518563ffffffff1660e01b81526004016125e59493929190613ef2565b6020604051808303815f875af192505050801561262057506040513d601f19601f8201168201806040525081019061261d9190613f50565b60015b612696573d805f811461264e576040519150601f19603f3d011682016040523d82523d5f602084013e612653565b606091505b505f81510361268e576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60605f820361272f576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061283d565b5f8290505f5b5f821461275e57808061274790613f7b565b915050600a826127579190613709565b9150612735565b5f8167ffffffffffffffff81111561277957612778612b10565b5b6040519080825280601f01601f1916602001820160405280156127ab5781602001600182028036833780820191505090505b5090505b5f8514612836576001826127c39190613fc2565b9150600a856127d29190613ff5565b60306127de9190613809565b60f81b8183815181106127f4576127f3614025565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191690815f1a905350600a8561282f9190613709565b94506127af565b8093505050505b919050565b5f7f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b5f33905090565b5f808290505f5b84518110156128fb576128e6828683815181106128d9576128d8614025565b5b602002602001015161291d565b915080806128f390613f7b565b9150506128b9565b508091505092915050565b5f9392505050565b5f6001821460e11b9050919050565b5f8183106129345761292f8284612947565b61293f565b61293e8383612947565b5b905092915050565b5f825f528160205260405f20905092915050565b5f604051905090565b5f80fd5b5f80fd5b5f7fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6129a08161296c565b81146129aa575f80fd5b50565b5f813590506129bb81612997565b92915050565b5f602082840312156129d6576129d5612964565b5b5f6129e3848285016129ad565b91505092915050565b5f8115159050919050565b612a00816129ec565b82525050565b5f602082019050612a195f8301846129f7565b92915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f612a4882612a1f565b9050919050565b612a5881612a3e565b8114612a62575f80fd5b50565b5f81359050612a7381612a4f565b92915050565b5f6bffffffffffffffffffffffff82169050919050565b612a9981612a79565b8114612aa3575f80fd5b50565b5f81359050612ab481612a90565b92915050565b5f8060408385031215612ad057612acf612964565b5b5f612add85828601612a65565b9250506020612aee85828601612aa6565b9150509250929050565b5f80fd5b5f80fd5b5f601f19601f8301169050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b612b4682612b00565b810181811067ffffffffffffffff82111715612b6557612b64612b10565b5b80604052505050565b5f612b7761295b565b9050612b838282612b3d565b919050565b5f67ffffffffffffffff821115612ba257612ba1612b10565b5b612bab82612b00565b9050602081019050919050565b828183375f83830152505050565b5f612bd8612bd384612b88565b612b6e565b905082815260208101848484011115612bf457612bf3612afc565b5b612bff848285612bb8565b509392505050565b5f82601f830112612c1b57612c1a612af8565b5b8135612c2b848260208601612bc6565b91505092915050565b5f60208284031215612c4957612c48612964565b5b5f82013567ffffffffffffffff811115612c6657612c65612968565b5b612c7284828501612c07565b91505092915050565b5f81519050919050565b5f82825260208201905092915050565b5f5b83811015612cb2578082015181840152602081019050612c97565b5f8484015250505050565b5f612cc782612c7b565b612cd18185612c85565b9350612ce1818560208601612c95565b612cea81612b00565b840191505092915050565b5f6020820190508181035f830152612d0d8184612cbd565b905092915050565b5f819050919050565b612d2781612d15565b8114612d31575f80fd5b50565b5f81359050612d4281612d1e565b92915050565b5f60208284031215612d5d57612d5c612964565b5b5f612d6a84828501612d34565b91505092915050565b612d7c81612a3e565b82525050565b5f602082019050612d955f830184612d73565b92915050565b5f8060408385031215612db157612db0612964565b5b5f612dbe85828601612a65565b9250506020612dcf85828601612d34565b9150509250929050565b5f67ffffffffffffffff821115612df357612df2612b10565b5b602082029050602081019050919050565b5f80fd5b5f819050919050565b612e1a81612e08565b8114612e24575f80fd5b50565b5f81359050612e3581612e11565b92915050565b5f612e4d612e4884612dd9565b612b6e565b90508083825260208201905060208402830185811115612e7057612e6f612e04565b5b835b81811015612e995780612e858882612e27565b845260208401935050602081019050612e72565b5050509392505050565b5f82601f830112612eb757612eb6612af8565b5b8135612ec7848260208601612e3b565b91505092915050565b5f805f60608486031215612ee757612ee6612964565b5b5f84013567ffffffffffffffff811115612f0457612f03612968565b5b612f1086828701612ea3565b9350506020612f2186828701612a65565b9250506040612f3286828701612e27565b9150509250925092565b612f4581612d15565b82525050565b5f602082019050612f5e5f830184612f3c565b92915050565b5f60208284031215612f7957612f78612964565b5b5f612f8684828501612a65565b91505092915050565b5f805f60608486031215612fa657612fa5612964565b5b5f612fb386828701612a65565b9350506020612fc486828701612a65565b9250506040612fd586828701612d34565b9150509250925092565b5f8060408385031215612ff557612ff4612964565b5b5f61300285828601612d34565b925050602061301385828601612d34565b9150509250929050565b5f6040820190506130305f830185612d73565b61303d6020830184612f3c565b9392505050565b61304d81612e08565b82525050565b5f6020820190506130665f830184613044565b92915050565b5f6020828403121561308157613080612964565b5b5f61308e84828501612e27565b91505092915050565b5f602082840312156130ac576130ab612964565b5b5f82013567ffffffffffffffff8111156130c9576130c8612968565b5b6130d584828501612ea3565b91505092915050565b5f80fd5b5f8083601f8401126130f7576130f6612af8565b5b8235905067ffffffffffffffff811115613114576131136130de565b5b6020830191508360018202830111156131305761312f612e04565b5b9250929050565b5f806020838503121561314d5761314c612964565b5b5f83013567ffffffffffffffff81111561316a57613169612968565b5b613176858286016130e2565b92509250509250929050565b61318b816129ec565b8114613195575f80fd5b50565b5f813590506131a681613182565b92915050565b5f80604083850312156131c2576131c1612964565b5b5f6131cf85828601612a65565b92505060206131e085828601613198565b9150509250929050565b5f67ffffffffffffffff82111561320457613203612b10565b5b61320d82612b00565b9050602081019050919050565b5f61322c613227846131ea565b612b6e565b90508281526020810184848401111561324857613247612afc565b5b613253848285612bb8565b509392505050565b5f82601f83011261326f5761326e612af8565b5b813561327f84826020860161321a565b91505092915050565b5f805f80608085870312156132a05761329f612964565b5b5f6132ad87828801612a65565b94505060206132be87828801612a65565b93505060406132cf87828801612d34565b925050606085013567ffffffffffffffff8111156132f0576132ef612968565b5b6132fc8782880161325b565b91505092959194509250565b5f806040838503121561331e5761331d612964565b5b5f61332b85828601612a65565b925050602061333c85828601612a65565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061338a57607f821691505b60208210810361339d5761339c613346565b5b50919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f600883026133ff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826133c4565b61340986836133c4565b95508019841693508086168417925050509392505050565b5f819050919050565b5f61344461343f61343a84612d15565b613421565b612d15565b9050919050565b5f819050919050565b61345d8361342a565b6134716134698261344b565b8484546133d0565b825550505050565b5f90565b613485613479565b613490818484613454565b505050565b5b818110156134b3576134a85f8261347d565b600181019050613496565b5050565b601f8211156134f8576134c9816133a3565b6134d2846133b5565b810160208510156134e1578190505b6134f56134ed856133b5565b830182613495565b50505b505050565b5f82821c905092915050565b5f6135185f19846008026134fd565b1980831691505092915050565b5f6135308383613509565b9150826002028217905092915050565b61354982612c7b565b67ffffffffffffffff81111561356257613561612b10565b5b61356c8254613373565b6135778282856134b7565b5f60209050601f8311600181146135a8575f8415613596578287015190505b6135a08582613525565b865550613607565b601f1984166135b6866133a3565b5f5b828110156135dd578489015182556001820191506020850194506020810190506135b8565b868310156135fa57848901516135f6601f891682613509565b8355505b6001600288020188555050505b505050505050565b5f8160601b9050919050565b5f6136258261360f565b9050919050565b5f6136368261361b565b9050919050565b61364e61364982612a3e565b61362c565b82525050565b5f61365f828461363d565b60148201915081905092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f6136a582612d15565b91506136b083612d15565b92508282026136be81612d15565b915082820484148315176136d5576136d461366e565b5b5092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f61371382612d15565b915061371e83612d15565b92508261372e5761372d6136dc565b5b828204905092915050565b7f43616e6e6f742062652063616c6c6564206279206120636f6e747261637400005f82015250565b5f61376d601e83612c85565b915061377882613739565b602082019050919050565b5f6020820190508181035f83015261379a81613761565b9050919050565b7f4e6f7420596574204163746976650000000000000000000000000000000000005f82015250565b5f6137d5600e83612c85565b91506137e0826137a1565b602082019050919050565b5f6020820190508181035f830152613802816137c9565b9050919050565b5f61381382612d15565b915061381e83612d15565b92508282019050808211156138365761383561366e565b5b92915050565b7f43616e6e6f74206d696e74206265796f6e64206d617820737570706c790000005f82015250565b5f613870601d83612c85565b915061387b8261383c565b602082019050919050565b5f6020820190508181035f83015261389d81613864565b9050919050565b7f43616e6e6f74206d696e74206265796f6e64206d6178206c696d6974000000005f82015250565b5f6138d8601c83612c85565b91506138e3826138a4565b602082019050919050565b5f6020820190508181035f830152613905816138cc565b9050919050565b5f81905092915050565b50565b5f6139245f8361390c565b915061392f82613916565b5f82019050919050565b5f61394382613919565b9150819050919050565b7f4661696c656420746f2073656e642045746865720000000000000000000000005f82015250565b5f613981601483612c85565b915061398c8261394d565b602082019050919050565b5f6020820190508181035f8301526139ae81613975565b9050919050565b7f596f7520617265206e6f74204f470000000000000000000000000000000000005f82015250565b5f6139e9600e83612c85565b91506139f4826139b5565b602082019050919050565b5f6020820190508181035f830152613a16816139dd565b9050919050565b5f82905092915050565b613a318383613a1d565b67ffffffffffffffff811115613a4a57613a49612b10565b5b613a548254613373565b613a5f8282856134b7565b5f601f831160018114613a8c575f8415613a7a578287013590505b613a848582613525565b865550613aeb565b601f198416613a9a866133a3565b5f5b82811015613ac157848901358255600182019150602085019450602081019050613a9c565b86831015613ade5784890135613ada601f891682613509565b8355505b6001600288020188555050505b50505050505050565b7f4552433732314d657461646174612055524920717565727920666f72206e6f6e5f8201527f6578697374656e7420746f6b656e000000000000000000000000000000000000602082015250565b5f613b4e602e83612c85565b9150613b5982613af4565b604082019050919050565b5f6020820190508181035f830152613b7b81613b42565b9050919050565b5f81905092915050565b5f8154613b9881613373565b613ba28186613b82565b9450600182165f8114613bbc5760018114613bd157613c03565b60ff1983168652811515820286019350613c03565b613bda856133a3565b5f5b83811015613bfb57815481890152600182019150602081019050613bdc565b838801955050505b50505092915050565b5f613c1682612c7b565b613c208185613b82565b9350613c30818560208601612c95565b80840191505092915050565b7f2e6a736f6e0000000000000000000000000000000000000000000000000000005f82015250565b5f613c70600583613b82565b9150613c7b82613c3c565b600582019050919050565b5f613c918285613b8c565b9150613c9d8284613c0c565b9150613ca882613c64565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f20615f8201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b5f613d0e602683612c85565b9150613d1982613cb4565b604082019050919050565b5f6020820190508181035f830152613d3b81613d02565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725f82015250565b5f613d76602083612c85565b9150613d8182613d42565b602082019050919050565b5f6020820190508181035f830152613da381613d6a565b9050919050565b7f455243323938313a20726f79616c7479206665652077696c6c206578636565645f8201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b5f613e04602a83612c85565b9150613e0f82613daa565b604082019050919050565b5f6020820190508181035f830152613e3181613df8565b9050919050565b7f455243323938313a20696e76616c6964207265636569766572000000000000005f82015250565b5f613e6c601983612c85565b9150613e7782613e38565b602082019050919050565b5f6020820190508181035f830152613e9981613e60565b9050919050565b5f81519050919050565b5f82825260208201905092915050565b5f613ec482613ea0565b613ece8185613eaa565b9350613ede818560208601612c95565b613ee781612b00565b840191505092915050565b5f608082019050613f055f830187612d73565b613f126020830186612d73565b613f1f6040830185612f3c565b8181036060830152613f318184613eba565b905095945050505050565b5f81519050613f4a81612997565b92915050565b5f60208284031215613f6557613f64612964565b5b5f613f7284828501613f3c565b91505092915050565b5f613f8582612d15565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613fb757613fb661366e565b5b600182019050919050565b5f613fcc82612d15565b9150613fd783612d15565b9250828203905081811115613fef57613fee61366e565b5b92915050565b5f613fff82612d15565b915061400a83612d15565b92508261401a576140196136dc565b5b828206905092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffdfea2646970667358221220df65b7d669fd6897d9a1ed96088c0fd06cd875c73aadcea78a7f2141716cbe5664736f6c63430008140033

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

00000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000120a9eb67fe3be1865a71cb69cfe6235c2652dca2cdc17e3a748f18f1944ec45e6100000000000000000000000000000000000000000000000000000000000001f4000000000000000000000000a87871a186ba49bde06c00147af690ffa3b59ddc0000000000000000000000000000000000000000000000000000000000000042697066733a2f2f6261666b7265696437677a376e6d6f637575367469667462357464696236696370346c78746c726463786c7161667335637275616464766c6375610000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000042697066733a2f2f6261666b7265696662666b6363716273326a75656961716d6a7a616f6870336d327a707a356c78336e62356437746632687766336965736c746375000000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _contractURI (string): ipfs://bafkreid7gz7nmocuu6tiftb5tdib6icp4lxtlrdcxlqafs5cruaddvlcua
Arg [1] : _placeholderTokenUri (string): ipfs://bafkreifbfkccqbs2jueiaqmjzaohp3m2zpz5lx3nb5d7tf2hwf3iesltcu
Arg [2] : _merkleRootFree (bytes32): 0xa9eb67fe3be1865a71cb69cfe6235c2652dca2cdc17e3a748f18f1944ec45e61
Arg [3] : _royaltyFeesInBips (uint96): 500
Arg [4] : _teamAddress (address): 0xA87871A186bA49BdE06C00147Af690fFA3B59DDC

-----Encoded View---------------
13 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [2] : a9eb67fe3be1865a71cb69cfe6235c2652dca2cdc17e3a748f18f1944ec45e61
Arg [3] : 00000000000000000000000000000000000000000000000000000000000001f4
Arg [4] : 000000000000000000000000a87871a186ba49bde06c00147af690ffa3b59ddc
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000042
Arg [6] : 697066733a2f2f6261666b7265696437677a376e6d6f63757536746966746235
Arg [7] : 7464696236696370346c78746c726463786c7161667335637275616464766c63
Arg [8] : 7561000000000000000000000000000000000000000000000000000000000000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000042
Arg [10] : 697066733a2f2f6261666b7265696662666b6363716273326a75656961716d6a
Arg [11] : 7a616f6870336d327a707a356c78336e62356437746632687766336965736c74
Arg [12] : 6375000000000000000000000000000000000000000000000000000000000000


Loading...
Loading
Loading...
Loading
[ 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.