ETH Price: $2,178.00 (+0.60%)

Token

Poopsie (POOP)
 

Overview

Max Total Supply

732 POOP

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

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 11 : Poopsie.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

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 Poopsie is ERC721A, Ownable, ERC2981 {
    using Strings for uint256;

    uint256 public constant MAX_SUPPLY = 1234;
    uint256 public constant MAX_PUBLIC_MINT = 2;
    uint256 public constant MAX_WHITELIST_MINT = 3;
    string public contractURI;
    string private baseTokenUri;
    string public placeholderTokenUri;

    bool public isRevealed;
    bool public publicSale;
    bool public whiteListSale;    

    bytes32 private merkleRoot;

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

    constructor(        
        string memory _contractURI,
        string memory _placeholderTokenUri,
        bytes32 _merkleRoot,
        uint96 _royaltyFeesInBips,
        address _royaltyAddress,       
        address _teamAddress   
    ) ERC721A("Poopsie", "POOP") {
        setRoyaltyInfo(_royaltyAddress, _royaltyFeesInBips);
        contractURI = _contractURI;
        merkleRoot = _merkleRoot;        
        placeholderTokenUri = _placeholderTokenUri;        
        _mint(_teamAddress,234);
    }

    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,
            "Beyond Max Supply"
        );
        require(
            (totalPublicMint[msg.sender] + _quantity) <= MAX_PUBLIC_MINT,
            "Already minted 1"
        );
        totalPublicMint[msg.sender] += _quantity;
        _mint(msg.sender, _quantity);
    }

    function whitelistMint(bytes32[] memory _merkleProof, uint256 _quantity)
        external
        callerIsUser
    {
        require(whiteListSale, "Minting is on Pause");
        require(isValidMerkleProof(_merkleProof, msg.sender), "You are not whitelisted");
        require(
            (totalSupply() + _quantity) <= MAX_SUPPLY,
            "Cannot mint beyond max supply"
        );
        require(
            (totalWhitelistMint[msg.sender] + _quantity) <= MAX_WHITELIST_MINT,
            "Cannot mint beyond whitelist max mint!"
        );
        totalWhitelistMint[msg.sender] += _quantity;
        _mint(msg.sender, _quantity);
    }

    function isValidMerkleProof(bytes32[] memory proof, address _addr)
        public
        view
        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 {
        merkleRoot = _merkleRoot;
    }

    function getMerkleRoot() external view returns (bytes32) {
        return merkleRoot;
    }

    function toggleWhiteListSale() external onlyOwner {
        whiteListSale = !whiteListSale;
    }

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

    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

API
[{"inputs":[{"internalType":"string","name":"_contractURI","type":"string"},{"internalType":"string","name":"_placeholderTokenUri","type":"string"},{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"},{"internalType":"uint96","name":"_royaltyFeesInBips","type":"uint96"},{"internalType":"address","name":"_royaltyAddress","type":"address"},{"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_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":[],"name":"MAX_WHITELIST_MINT","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":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"getMerkleRoot","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"}],"name":"isValidMerkleProof","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":"togglePublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleReveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleWhiteListSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","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":"","type":"address"}],"name":"totalWhitelistMint","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":"whiteListSale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"},{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"whitelistMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b5060405162004e3838038062004e388339818101604052810190620000379190620008b5565b6040518060400160405280600781526020017f506f6f70736965000000000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f504f4f50000000000000000000000000000000000000000000000000000000008152508160029080519060200190620000bb92919062000742565b508060039080519060200190620000d492919062000742565b50620000e56200017760201b60201c565b60008190555050506200010d620001016200017c60201b60201c565b6200018460201b60201c565b6200011f82846200024a60201b60201c565b85600b90805190602001906200013792919062000742565b5083600f8190555084600d90805190602001906200015792919062000742565b506200016b8160ea6200027060201b60201c565b50505050505062000d44565b600090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6200025a6200045960201b60201c565b6200026c8282620004ea60201b60201c565b5050565b6000805490506000821415620002b2576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b620002c760008483856200068e60201b60201c565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555062000356836200033860008660006200069460201b60201c565b6200034985620006c460201b60201c565b17620006d460201b60201c565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b818114620003f957808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050620003bc565b50600082141562000436576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806000819055505050620004546000848385620006ff60201b60201c565b505050565b620004696200017c60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff166200048f6200070560201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1614620004e8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004df9062000a04565b60405180910390fd5b565b620004fa6200072f60201b60201c565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff1611156200055b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620005529062000a26565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415620005ce576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620005c59062000a48565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600960008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b50505050565b60008060e883901c905060e8620006b38686846200073960201b60201c565b62ffffff16901b9150509392505050565b60006001821460e11b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000612710905090565b60009392505050565b828054620007509062000b66565b90600052602060002090601f016020900481019282620007745760008555620007c0565b82601f106200078f57805160ff1916838001178555620007c0565b82800160010185558215620007c0579182015b82811115620007bf578251825591602001919060010190620007a2565b5b509050620007cf9190620007d3565b5090565b5b80821115620007ee576000816000905550600101620007d4565b5090565b600062000809620008038462000a93565b62000a6a565b90508281526020810184848401111562000828576200082762000c35565b5b6200083584828562000b30565b509392505050565b6000815190506200084e8162000cf6565b92915050565b600081519050620008658162000d10565b92915050565b600082601f83011262000883576200088262000c30565b5b815162000895848260208601620007f2565b91505092915050565b600081519050620008af8162000d2a565b92915050565b60008060008060008060c08789031215620008d557620008d462000c3f565b5b600087015167ffffffffffffffff811115620008f657620008f562000c3a565b5b6200090489828a016200086b565b965050602087015167ffffffffffffffff81111562000928576200092762000c3a565b5b6200093689828a016200086b565b95505060406200094989828a0162000854565b94505060606200095c89828a016200089e565b93505060806200096f89828a016200083d565b92505060a06200098289828a016200083d565b9150509295509295509295565b60006200099e60208362000ac9565b9150620009ab8262000c55565b602082019050919050565b6000620009c5602a8362000ac9565b9150620009d28262000c7e565b604082019050919050565b6000620009ec60198362000ac9565b9150620009f98262000ccd565b602082019050919050565b6000602082019050818103600083015262000a1f816200098f565b9050919050565b6000602082019050818103600083015262000a4181620009b6565b9050919050565b6000602082019050818103600083015262000a6381620009dd565b9050919050565b600062000a7662000a89565b905062000a84828262000b9c565b919050565b6000604051905090565b600067ffffffffffffffff82111562000ab15762000ab062000c01565b5b62000abc8262000c44565b9050602081019050919050565b600082825260208201905092915050565b600062000ae78262000af8565b9050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006bffffffffffffffffffffffff82169050919050565b60005b8381101562000b5057808201518184015260208101905062000b33565b8381111562000b60576000848401525b50505050565b6000600282049050600182168062000b7f57607f821691505b6020821081141562000b965762000b9562000bd2565b5b50919050565b62000ba78262000c44565b810181811067ffffffffffffffff8211171562000bc95762000bc862000c01565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b62000d018162000ada565b811462000d0d57600080fd5b50565b62000d1b8162000aee565b811462000d2757600080fd5b50565b62000d358162000b18565b811462000d4157600080fd5b50565b6140e48062000d546000396000f3fe60806040526004361061023b5760003560e01c80635b8ad4291161012e578063938e3d7b116100ab578063c87b56dd1161006f578063c87b56dd14610818578063e222c7f914610855578063e8a3d4851461086c578063e985e9c514610897578063f2fde38b146108d45761023b565b8063938e3d7b1461075457806395d89b411461077d578063a22cb465146107a8578063b88d4fde146107d1578063c08dfd3c146107ed5761023b565b80637cb64759116100f25780637cb64759146106815780637f71573c146106aa57806386a173ee146106e75780638bb64a8c146107125780638da5cb5b146107295761023b565b80635b8ad429146105ae5780636352211e146105c557806365f130971461060257806370a082311461062d578063715018a61461066a5761023b565b80632904e6d9116101bc5780633ccfd60b116101805780633ccfd60b146104fa57806342842e0e14610511578063495906571461052d5780634cf5f7a41461055857806354214f69146105835761023b565b80632904e6d9146104145780632a55205a1461043d5780632db115441461047b57806332cb6b0c146104a457806333bc1c5c146104cf5761023b565b8063081812fc11610203578063081812fc14610337578063095ea7b31461037457806318160ddd146103905780631c16521c146103bb57806323b872dd146103f85761023b565b806301ffc9a71461024057806302fa7c471461027d5780630345e3cb146102a65780630675b7c6146102e357806306fdde031461030c575b600080fd5b34801561024c57600080fd5b5061026760048036038101906102629190612fd3565b6108fd565b60405161027491906135c4565b60405180910390f35b34801561028957600080fd5b506102a4600480360381019061029f9190612eae565b61090f565b005b3480156102b257600080fd5b506102cd60048036038101906102c89190612ceb565b610925565b6040516102da91906137dc565b60405180910390f35b3480156102ef57600080fd5b5061030a6004803603810190610305919061307a565b61093d565b005b34801561031857600080fd5b5061032161095f565b60405161032e91906135fa565b60405180910390f35b34801561034357600080fd5b5061035e600480360381019061035991906130c3565b6109f1565b60405161036b9190613534565b60405180910390f35b61038e60048036038101906103899190612e6e565b610a70565b005b34801561039c57600080fd5b506103a5610bb4565b6040516103b291906137dc565b60405180910390f35b3480156103c757600080fd5b506103e260048036038101906103dd9190612ceb565b610bcb565b6040516103ef91906137dc565b60405180910390f35b610412600480360381019061040d9190612d58565b610be3565b005b34801561042057600080fd5b5061043b60048036038101906104369190612f4a565b610f08565b005b34801561044957600080fd5b50610464600480360381019061045f91906130f0565b611157565b60405161047292919061359b565b60405180910390f35b34801561048757600080fd5b506104a2600480360381019061049d91906130c3565b611342565b005b3480156104b057600080fd5b506104b9611547565b6040516104c691906137dc565b60405180910390f35b3480156104db57600080fd5b506104e461154d565b6040516104f191906135c4565b60405180910390f35b34801561050657600080fd5b5061050f611560565b005b61052b60048036038101906105269190612d58565b61162a565b005b34801561053957600080fd5b5061054261164a565b60405161054f91906135df565b60405180910390f35b34801561056457600080fd5b5061056d611654565b60405161057a91906135fa565b60405180910390f35b34801561058f57600080fd5b506105986116e2565b6040516105a591906135c4565b60405180910390f35b3480156105ba57600080fd5b506105c36116f5565b005b3480156105d157600080fd5b506105ec60048036038101906105e791906130c3565b611729565b6040516105f99190613534565b60405180910390f35b34801561060e57600080fd5b5061061761173b565b60405161062491906137dc565b60405180910390f35b34801561063957600080fd5b50610654600480360381019061064f9190612ceb565b611740565b60405161066191906137dc565b60405180910390f35b34801561067657600080fd5b5061067f6117f9565b005b34801561068d57600080fd5b506106a860048036038101906106a39190612fa6565b61180d565b005b3480156106b657600080fd5b506106d160048036038101906106cc9190612eee565b61181f565b6040516106de91906135c4565b60405180910390f35b3480156106f357600080fd5b506106fc611861565b60405161070991906135c4565b60405180910390f35b34801561071e57600080fd5b50610727611874565b005b34801561073557600080fd5b5061073e6118a8565b60405161074b9190613534565b60405180910390f35b34801561076057600080fd5b5061077b6004803603810190610776919061302d565b6118d2565b005b34801561078957600080fd5b506107926118f0565b60405161079f91906135fa565b60405180910390f35b3480156107b457600080fd5b506107cf60048036038101906107ca9190612e2e565b611982565b005b6107eb60048036038101906107e69190612dab565b611a8d565b005b3480156107f957600080fd5b50610802611b00565b60405161080f91906137dc565b60405180910390f35b34801561082457600080fd5b5061083f600480360381019061083a91906130c3565b611b05565b60405161084c91906135fa565b60405180910390f35b34801561086157600080fd5b5061086a611c67565b005b34801561087857600080fd5b50610881611c9b565b60405161088e91906135fa565b60405180910390f35b3480156108a357600080fd5b506108be60048036038101906108b99190612d18565b611d29565b6040516108cb91906135c4565b60405180910390f35b3480156108e057600080fd5b506108fb60048036038101906108f69190612ceb565b611dbd565b005b600061090882611e41565b9050919050565b610917611ebb565b6109218282611f39565b5050565b60116020528060005260406000206000915090505481565b610945611ebb565b80600c908051906020019061095b92919061295b565b5050565b60606002805461096e90613afa565b80601f016020809104026020016040519081016040528092919081815260200182805461099a90613afa565b80156109e75780601f106109bc576101008083540402835291602001916109e7565b820191906000526020600020905b8154815290600101906020018083116109ca57829003601f168201915b5050505050905090565b60006109fc826120cf565b610a32576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a7b82611729565b90508073ffffffffffffffffffffffffffffffffffffffff16610a9c61212e565b73ffffffffffffffffffffffffffffffffffffffff1614610aff57610ac881610ac361212e565b611d29565b610afe576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000610bbe612136565b6001546000540303905090565b60106020528060005260406000206000915090505481565b6000610bee8261213b565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610c55576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610c6184612209565b91509150610c778187610c7261212e565b612230565b610cc357610c8c86610c8761212e565b611d29565b610cc2576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415610d2a576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610d378686866001612274565b8015610d4257600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550610e1085610dec88888761227a565b7c0200000000000000000000000000000000000000000000000000000000176122a2565b600460008681526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000084161415610e98576000600185019050600060046000838152602001908152602001600020541415610e96576000548114610e95578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610f0086868660016122cd565b505050505050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614610f76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6d9061373c565b60405180910390fd5b600e60029054906101000a900460ff16610fc5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fbc9061377c565b60405180910390fd5b610fcf823361181f565b61100e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611005906136bc565b60405180910390fd5b6104d28161101a610bb4565b611024919061390d565b1115611065576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161105c9061361c565b60405180910390fd5b600381601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546110b2919061390d565b11156110f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ea9061379c565b60405180910390fd5b80601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611142919061390d565b9250508190555061115333826122d3565b5050565b6000806000600a60008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614156112ed5760096040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b60006112f7612490565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff16866113239190613994565b61132d9190613963565b90508160000151819350935050509250929050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16146113b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113a79061373c565b60405180910390fd5b600e60019054906101000a900460ff166113ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113f69061369c565b60405180910390fd5b6104d28161140b610bb4565b611415919061390d565b1115611456576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144d9061371c565b60405180910390fd5b600281601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546114a3919061390d565b11156114e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114db9061363c565b60405180910390fd5b80601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611533919061390d565b9250508190555061154433826122d3565b50565b6104d281565b600e60019054906101000a900460ff1681565b611568611ebb565b60006115726118a8565b9050600047905060008273ffffffffffffffffffffffffffffffffffffffff168260405161159f9061351f565b60006040518083038185875af1925050503d80600081146115dc576040519150601f19603f3d011682016040523d82523d6000602084013e6115e1565b606091505b5050905080611625576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161c9061367c565b60405180910390fd5b505050565b61164583838360405180602001604052806000815250611a8d565b505050565b6000600f54905090565b600d805461166190613afa565b80601f016020809104026020016040519081016040528092919081815260200182805461168d90613afa565b80156116da5780601f106116af576101008083540402835291602001916116da565b820191906000526020600020905b8154815290600101906020018083116116bd57829003601f168201915b505050505081565b600e60009054906101000a900460ff1681565b6116fd611ebb565b600e60009054906101000a900460ff1615600e60006101000a81548160ff021916908315150217905550565b60006117348261213b565b9050919050565b600281565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156117a8576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611801611ebb565b61180b600061249a565b565b611815611ebb565b80600f8190555050565b6000808260405160200161183391906134d5565b60405160208183030381529060405280519060200120905061185884600f5483612560565b91505092915050565b600e60029054906101000a900460ff1681565b61187c611ebb565b600e60029054906101000a900460ff1615600e60026101000a81548160ff021916908315150217905550565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6118da611ebb565b8181600b91906118eb9291906129e1565b505050565b6060600380546118ff90613afa565b80601f016020809104026020016040519081016040528092919081815260200182805461192b90613afa565b80156119785780601f1061194d57610100808354040283529160200191611978565b820191906000526020600020905b81548152906001019060200180831161195b57829003601f168201915b5050505050905090565b806007600061198f61212e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611a3c61212e565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611a8191906135c4565b60405180910390a35050565b611a98848484610be3565b60008373ffffffffffffffffffffffffffffffffffffffff163b14611afa57611ac384848484612577565b611af9576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b600381565b6060611b10826120cf565b611b4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b46906136fc565b60405180910390fd5b6000600183611b5e919061390d565b9050600e60009054906101000a900460ff16611c0757600d8054611b8190613afa565b80601f0160208091040260200160405190810160405280929190818152602001828054611bad90613afa565b8015611bfa5780601f10611bcf57610100808354040283529160200191611bfa565b820191906000526020600020905b815481529060010190602001808311611bdd57829003601f168201915b5050505050915050611c62565b6000600c8054611c1690613afa565b905011611c325760405180602001604052806000815250611c5e565b600c611c3d826126d7565b604051602001611c4e9291906134f0565b6040516020818303038152906040525b9150505b919050565b611c6f611ebb565b600e60019054906101000a900460ff1615600e60016101000a81548160ff021916908315150217905550565b600b8054611ca890613afa565b80601f0160208091040260200160405190810160405280929190818152602001828054611cd490613afa565b8015611d215780601f10611cf657610100808354040283529160200191611d21565b820191906000526020600020905b815481529060010190602001808311611d0457829003601f168201915b505050505081565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611dc5611ebb565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611e35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e2c9061365c565b60405180910390fd5b611e3e8161249a565b50565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611eb45750611eb382612838565b5b9050919050565b611ec36128a2565b73ffffffffffffffffffffffffffffffffffffffff16611ee16118a8565b73ffffffffffffffffffffffffffffffffffffffff1614611f37576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f2e906136dc565b60405180910390fd5b565b611f41612490565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff161115611f9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f969061375c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561200f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612006906137bc565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600960008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b6000816120da612136565b111580156120e9575060005482105b8015612127575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b600090565b6000808290508061214a612136565b116121d2576000548110156121d15760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821614156121cf575b60008114156121c557600460008360019003935083815260200190815260200160002054905061219a565b8092505050612204565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e86122918686846128aa565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6000805490506000821415612314576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6123216000848385612274565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555061239883612389600086600061227a565b612392856128b3565b176122a2565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b81811461243957808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46001810190506123fe565b506000821415612475576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600081905550505061248b60008483856122cd565b505050565b6000612710905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008261256d85846128c3565b1490509392505050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261259d61212e565b8786866040518563ffffffff1660e01b81526004016125bf949392919061354f565b602060405180830381600087803b1580156125d957600080fd5b505af192505050801561260a57506040513d601f19601f820116820180604052508101906126079190613000565b60015b612684573d806000811461263a576040519150601f19603f3d011682016040523d82523d6000602084013e61263f565b606091505b5060008151141561267c576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600082141561271f576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612833565b600082905060005b6000821461275157808061273a90613b5d565b915050600a8261274a9190613963565b9150612727565b60008167ffffffffffffffff81111561276d5761276c613cb7565b5b6040519080825280601f01601f19166020018201604052801561279f5781602001600182028036833780820191505090505b5090505b6000851461282c576001826127b891906139ee565b9150600a856127c79190613bca565b60306127d3919061390d565b60f81b8183815181106127e9576127e8613c88565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856128259190613963565b94506127a3565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b60009392505050565b60006001821460e11b9050919050565b60008082905060005b845181101561290e576128f9828683815181106128ec576128eb613c88565b5b6020026020010151612919565b9150808061290690613b5d565b9150506128cc565b508091505092915050565b60008183106129315761292c8284612944565b61293c565b61293b8383612944565b5b905092915050565b600082600052816020526040600020905092915050565b82805461296790613afa565b90600052602060002090601f01602090048101928261298957600085556129d0565b82601f106129a257805160ff19168380011785556129d0565b828001600101855582156129d0579182015b828111156129cf5782518255916020019190600101906129b4565b5b5090506129dd9190612a67565b5090565b8280546129ed90613afa565b90600052602060002090601f016020900481019282612a0f5760008555612a56565b82601f10612a2857803560ff1916838001178555612a56565b82800160010185558215612a56579182015b82811115612a55578235825591602001919060010190612a3a565b5b509050612a639190612a67565b5090565b5b80821115612a80576000816000905550600101612a68565b5090565b6000612a97612a928461381c565b6137f7565b90508083825260208201905082856020860282011115612aba57612ab9613cf0565b5b60005b85811015612aea5781612ad08882612bd0565b845260208401935060208301925050600181019050612abd565b5050509392505050565b6000612b07612b0284613848565b6137f7565b905082815260208101848484011115612b2357612b22613cf5565b5b612b2e848285613ab8565b509392505050565b6000612b49612b4484613879565b6137f7565b905082815260208101848484011115612b6557612b64613cf5565b5b612b70848285613ab8565b509392505050565b600081359050612b8781614024565b92915050565b600082601f830112612ba257612ba1613ceb565b5b8135612bb2848260208601612a84565b91505092915050565b600081359050612bca8161403b565b92915050565b600081359050612bdf81614052565b92915050565b600081359050612bf481614069565b92915050565b600081519050612c0981614069565b92915050565b600082601f830112612c2457612c23613ceb565b5b8135612c34848260208601612af4565b91505092915050565b60008083601f840112612c5357612c52613ceb565b5b8235905067ffffffffffffffff811115612c7057612c6f613ce6565b5b602083019150836001820283011115612c8c57612c8b613cf0565b5b9250929050565b600082601f830112612ca857612ca7613ceb565b5b8135612cb8848260208601612b36565b91505092915050565b600081359050612cd081614080565b92915050565b600081359050612ce581614097565b92915050565b600060208284031215612d0157612d00613cff565b5b6000612d0f84828501612b78565b91505092915050565b60008060408385031215612d2f57612d2e613cff565b5b6000612d3d85828601612b78565b9250506020612d4e85828601612b78565b9150509250929050565b600080600060608486031215612d7157612d70613cff565b5b6000612d7f86828701612b78565b9350506020612d9086828701612b78565b9250506040612da186828701612cc1565b9150509250925092565b60008060008060808587031215612dc557612dc4613cff565b5b6000612dd387828801612b78565b9450506020612de487828801612b78565b9350506040612df587828801612cc1565b925050606085013567ffffffffffffffff811115612e1657612e15613cfa565b5b612e2287828801612c0f565b91505092959194509250565b60008060408385031215612e4557612e44613cff565b5b6000612e5385828601612b78565b9250506020612e6485828601612bbb565b9150509250929050565b60008060408385031215612e8557612e84613cff565b5b6000612e9385828601612b78565b9250506020612ea485828601612cc1565b9150509250929050565b60008060408385031215612ec557612ec4613cff565b5b6000612ed385828601612b78565b9250506020612ee485828601612cd6565b9150509250929050565b60008060408385031215612f0557612f04613cff565b5b600083013567ffffffffffffffff811115612f2357612f22613cfa565b5b612f2f85828601612b8d565b9250506020612f4085828601612b78565b9150509250929050565b60008060408385031215612f6157612f60613cff565b5b600083013567ffffffffffffffff811115612f7f57612f7e613cfa565b5b612f8b85828601612b8d565b9250506020612f9c85828601612cc1565b9150509250929050565b600060208284031215612fbc57612fbb613cff565b5b6000612fca84828501612bd0565b91505092915050565b600060208284031215612fe957612fe8613cff565b5b6000612ff784828501612be5565b91505092915050565b60006020828403121561301657613015613cff565b5b600061302484828501612bfa565b91505092915050565b6000806020838503121561304457613043613cff565b5b600083013567ffffffffffffffff81111561306257613061613cfa565b5b61306e85828601612c3d565b92509250509250929050565b6000602082840312156130905761308f613cff565b5b600082013567ffffffffffffffff8111156130ae576130ad613cfa565b5b6130ba84828501612c93565b91505092915050565b6000602082840312156130d9576130d8613cff565b5b60006130e784828501612cc1565b91505092915050565b6000806040838503121561310757613106613cff565b5b600061311585828601612cc1565b925050602061312685828601612cc1565b9150509250929050565b61313981613a22565b82525050565b61315061314b82613a22565b613ba6565b82525050565b61315f81613a34565b82525050565b61316e81613a40565b82525050565b600061317f826138bf565b61318981856138d5565b9350613199818560208601613ac7565b6131a281613d04565b840191505092915050565b60006131b8826138ca565b6131c281856138f1565b93506131d2818560208601613ac7565b6131db81613d04565b840191505092915050565b60006131f1826138ca565b6131fb8185613902565b935061320b818560208601613ac7565b80840191505092915050565b6000815461322481613afa565b61322e8186613902565b94506001821660008114613249576001811461325a5761328d565b60ff1983168652818601935061328d565b613263856138aa565b60005b8381101561328557815481890152600182019150602081019050613266565b838801955050505b50505092915050565b60006132a3601d836138f1565b91506132ae82613d22565b602082019050919050565b60006132c66010836138f1565b91506132d182613d4b565b602082019050919050565b60006132e96026836138f1565b91506132f482613d74565b604082019050919050565b600061330c6014836138f1565b915061331782613dc3565b602082019050919050565b600061332f600e836138f1565b915061333a82613dec565b602082019050919050565b60006133526017836138f1565b915061335d82613e15565b602082019050919050565b6000613375600583613902565b915061338082613e3e565b600582019050919050565b60006133986020836138f1565b91506133a382613e67565b602082019050919050565b60006133bb602e836138f1565b91506133c682613e90565b604082019050919050565b60006133de6011836138f1565b91506133e982613edf565b602082019050919050565b60006134016000836138e6565b915061340c82613f08565b600082019050919050565b6000613424601e836138f1565b915061342f82613f0b565b602082019050919050565b6000613447602a836138f1565b915061345282613f34565b604082019050919050565b600061346a6013836138f1565b915061347582613f83565b602082019050919050565b600061348d6026836138f1565b915061349882613fac565b604082019050919050565b60006134b06019836138f1565b91506134bb82613ffb565b602082019050919050565b6134cf81613a96565b82525050565b60006134e1828461313f565b60148201915081905092915050565b60006134fc8285613217565b915061350882846131e6565b915061351382613368565b91508190509392505050565b600061352a826133f4565b9150819050919050565b60006020820190506135496000830184613130565b92915050565b60006080820190506135646000830187613130565b6135716020830186613130565b61357e60408301856134c6565b81810360608301526135908184613174565b905095945050505050565b60006040820190506135b06000830185613130565b6135bd60208301846134c6565b9392505050565b60006020820190506135d96000830184613156565b92915050565b60006020820190506135f46000830184613165565b92915050565b6000602082019050818103600083015261361481846131ad565b905092915050565b6000602082019050818103600083015261363581613296565b9050919050565b60006020820190508181036000830152613655816132b9565b9050919050565b60006020820190508181036000830152613675816132dc565b9050919050565b60006020820190508181036000830152613695816132ff565b9050919050565b600060208201905081810360008301526136b581613322565b9050919050565b600060208201905081810360008301526136d581613345565b9050919050565b600060208201905081810360008301526136f58161338b565b9050919050565b60006020820190508181036000830152613715816133ae565b9050919050565b60006020820190508181036000830152613735816133d1565b9050919050565b6000602082019050818103600083015261375581613417565b9050919050565b600060208201905081810360008301526137758161343a565b9050919050565b600060208201905081810360008301526137958161345d565b9050919050565b600060208201905081810360008301526137b581613480565b9050919050565b600060208201905081810360008301526137d5816134a3565b9050919050565b60006020820190506137f160008301846134c6565b92915050565b6000613801613812565b905061380d8282613b2c565b919050565b6000604051905090565b600067ffffffffffffffff82111561383757613836613cb7565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561386357613862613cb7565b5b61386c82613d04565b9050602081019050919050565b600067ffffffffffffffff82111561389457613893613cb7565b5b61389d82613d04565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600061391882613a96565b915061392383613a96565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561395857613957613bfb565b5b828201905092915050565b600061396e82613a96565b915061397983613a96565b92508261398957613988613c2a565b5b828204905092915050565b600061399f82613a96565b91506139aa83613a96565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156139e3576139e2613bfb565b5b828202905092915050565b60006139f982613a96565b9150613a0483613a96565b925082821015613a1757613a16613bfb565b5b828203905092915050565b6000613a2d82613a76565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006bffffffffffffffffffffffff82169050919050565b82818337600083830152505050565b60005b83811015613ae5578082015181840152602081019050613aca565b83811115613af4576000848401525b50505050565b60006002820490506001821680613b1257607f821691505b60208210811415613b2657613b25613c59565b5b50919050565b613b3582613d04565b810181811067ffffffffffffffff82111715613b5457613b53613cb7565b5b80604052505050565b6000613b6882613a96565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613b9b57613b9a613bfb565b5b600182019050919050565b6000613bb182613bb8565b9050919050565b6000613bc382613d15565b9050919050565b6000613bd582613a96565b9150613be083613a96565b925082613bf057613bef613c2a565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f43616e6e6f74206d696e74206265796f6e64206d617820737570706c79000000600082015250565b7f416c7265616479206d696e746564203100000000000000000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4661696c656420746f2073656e64204574686572000000000000000000000000600082015250565b7f4e6f742059657420416374697665000000000000000000000000000000000000600082015250565b7f596f7520617265206e6f742077686974656c6973746564000000000000000000600082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174612055524920717565727920666f72206e6f6e60008201527f6578697374656e7420746f6b656e000000000000000000000000000000000000602082015250565b7f4265796f6e64204d617820537570706c79000000000000000000000000000000600082015250565b50565b7f43616e6e6f742062652063616c6c6564206279206120636f6e74726163740000600082015250565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b7f4d696e74696e67206973206f6e20506175736500000000000000000000000000600082015250565b7f43616e6e6f74206d696e74206265796f6e642077686974656c697374206d617860008201527f206d696e74210000000000000000000000000000000000000000000000000000602082015250565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b61402d81613a22565b811461403857600080fd5b50565b61404481613a34565b811461404f57600080fd5b50565b61405b81613a40565b811461406657600080fd5b50565b61407281613a4a565b811461407d57600080fd5b50565b61408981613a96565b811461409457600080fd5b50565b6140a081613aa0565b81146140ab57600080fd5b5056fea26469706673582212209ec1a52293f00de569f6c0c5cabfae51be0f46ef1032448b353c6904c7ec056664736f6c6343000807003300000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000140d5b69f62c280b1aff5281cf1aa2ead95cc759d77e5431554d6476b0aa539310300000000000000000000000000000000000000000000000000000000000003e800000000000000000000000013a5d6ac010447e88e4c5758499d8a76bbb131bc000000000000000000000000313247bd73d7660f7b0983cbaa78bde0ad8e505b0000000000000000000000000000000000000000000000000000000000000042697066733a2f2f6261666b726569686b7a666963626769376e71676e696e6b346e7032327067756276337567346f6c683770353366376b676534336f697a657637750000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000042697066733a2f2f6261666b7265696637676678336a77796e7463776c676f3369626370706d6e65696b7170336874756d61617873616a78666b613568766f636d6a6d000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x60806040526004361061023b5760003560e01c80635b8ad4291161012e578063938e3d7b116100ab578063c87b56dd1161006f578063c87b56dd14610818578063e222c7f914610855578063e8a3d4851461086c578063e985e9c514610897578063f2fde38b146108d45761023b565b8063938e3d7b1461075457806395d89b411461077d578063a22cb465146107a8578063b88d4fde146107d1578063c08dfd3c146107ed5761023b565b80637cb64759116100f25780637cb64759146106815780637f71573c146106aa57806386a173ee146106e75780638bb64a8c146107125780638da5cb5b146107295761023b565b80635b8ad429146105ae5780636352211e146105c557806365f130971461060257806370a082311461062d578063715018a61461066a5761023b565b80632904e6d9116101bc5780633ccfd60b116101805780633ccfd60b146104fa57806342842e0e14610511578063495906571461052d5780634cf5f7a41461055857806354214f69146105835761023b565b80632904e6d9146104145780632a55205a1461043d5780632db115441461047b57806332cb6b0c146104a457806333bc1c5c146104cf5761023b565b8063081812fc11610203578063081812fc14610337578063095ea7b31461037457806318160ddd146103905780631c16521c146103bb57806323b872dd146103f85761023b565b806301ffc9a71461024057806302fa7c471461027d5780630345e3cb146102a65780630675b7c6146102e357806306fdde031461030c575b600080fd5b34801561024c57600080fd5b5061026760048036038101906102629190612fd3565b6108fd565b60405161027491906135c4565b60405180910390f35b34801561028957600080fd5b506102a4600480360381019061029f9190612eae565b61090f565b005b3480156102b257600080fd5b506102cd60048036038101906102c89190612ceb565b610925565b6040516102da91906137dc565b60405180910390f35b3480156102ef57600080fd5b5061030a6004803603810190610305919061307a565b61093d565b005b34801561031857600080fd5b5061032161095f565b60405161032e91906135fa565b60405180910390f35b34801561034357600080fd5b5061035e600480360381019061035991906130c3565b6109f1565b60405161036b9190613534565b60405180910390f35b61038e60048036038101906103899190612e6e565b610a70565b005b34801561039c57600080fd5b506103a5610bb4565b6040516103b291906137dc565b60405180910390f35b3480156103c757600080fd5b506103e260048036038101906103dd9190612ceb565b610bcb565b6040516103ef91906137dc565b60405180910390f35b610412600480360381019061040d9190612d58565b610be3565b005b34801561042057600080fd5b5061043b60048036038101906104369190612f4a565b610f08565b005b34801561044957600080fd5b50610464600480360381019061045f91906130f0565b611157565b60405161047292919061359b565b60405180910390f35b34801561048757600080fd5b506104a2600480360381019061049d91906130c3565b611342565b005b3480156104b057600080fd5b506104b9611547565b6040516104c691906137dc565b60405180910390f35b3480156104db57600080fd5b506104e461154d565b6040516104f191906135c4565b60405180910390f35b34801561050657600080fd5b5061050f611560565b005b61052b60048036038101906105269190612d58565b61162a565b005b34801561053957600080fd5b5061054261164a565b60405161054f91906135df565b60405180910390f35b34801561056457600080fd5b5061056d611654565b60405161057a91906135fa565b60405180910390f35b34801561058f57600080fd5b506105986116e2565b6040516105a591906135c4565b60405180910390f35b3480156105ba57600080fd5b506105c36116f5565b005b3480156105d157600080fd5b506105ec60048036038101906105e791906130c3565b611729565b6040516105f99190613534565b60405180910390f35b34801561060e57600080fd5b5061061761173b565b60405161062491906137dc565b60405180910390f35b34801561063957600080fd5b50610654600480360381019061064f9190612ceb565b611740565b60405161066191906137dc565b60405180910390f35b34801561067657600080fd5b5061067f6117f9565b005b34801561068d57600080fd5b506106a860048036038101906106a39190612fa6565b61180d565b005b3480156106b657600080fd5b506106d160048036038101906106cc9190612eee565b61181f565b6040516106de91906135c4565b60405180910390f35b3480156106f357600080fd5b506106fc611861565b60405161070991906135c4565b60405180910390f35b34801561071e57600080fd5b50610727611874565b005b34801561073557600080fd5b5061073e6118a8565b60405161074b9190613534565b60405180910390f35b34801561076057600080fd5b5061077b6004803603810190610776919061302d565b6118d2565b005b34801561078957600080fd5b506107926118f0565b60405161079f91906135fa565b60405180910390f35b3480156107b457600080fd5b506107cf60048036038101906107ca9190612e2e565b611982565b005b6107eb60048036038101906107e69190612dab565b611a8d565b005b3480156107f957600080fd5b50610802611b00565b60405161080f91906137dc565b60405180910390f35b34801561082457600080fd5b5061083f600480360381019061083a91906130c3565b611b05565b60405161084c91906135fa565b60405180910390f35b34801561086157600080fd5b5061086a611c67565b005b34801561087857600080fd5b50610881611c9b565b60405161088e91906135fa565b60405180910390f35b3480156108a357600080fd5b506108be60048036038101906108b99190612d18565b611d29565b6040516108cb91906135c4565b60405180910390f35b3480156108e057600080fd5b506108fb60048036038101906108f69190612ceb565b611dbd565b005b600061090882611e41565b9050919050565b610917611ebb565b6109218282611f39565b5050565b60116020528060005260406000206000915090505481565b610945611ebb565b80600c908051906020019061095b92919061295b565b5050565b60606002805461096e90613afa565b80601f016020809104026020016040519081016040528092919081815260200182805461099a90613afa565b80156109e75780601f106109bc576101008083540402835291602001916109e7565b820191906000526020600020905b8154815290600101906020018083116109ca57829003601f168201915b5050505050905090565b60006109fc826120cf565b610a32576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a7b82611729565b90508073ffffffffffffffffffffffffffffffffffffffff16610a9c61212e565b73ffffffffffffffffffffffffffffffffffffffff1614610aff57610ac881610ac361212e565b611d29565b610afe576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000610bbe612136565b6001546000540303905090565b60106020528060005260406000206000915090505481565b6000610bee8261213b565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610c55576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610c6184612209565b91509150610c778187610c7261212e565b612230565b610cc357610c8c86610c8761212e565b611d29565b610cc2576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415610d2a576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610d378686866001612274565b8015610d4257600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550610e1085610dec88888761227a565b7c0200000000000000000000000000000000000000000000000000000000176122a2565b600460008681526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000084161415610e98576000600185019050600060046000838152602001908152602001600020541415610e96576000548114610e95578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610f0086868660016122cd565b505050505050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614610f76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6d9061373c565b60405180910390fd5b600e60029054906101000a900460ff16610fc5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fbc9061377c565b60405180910390fd5b610fcf823361181f565b61100e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611005906136bc565b60405180910390fd5b6104d28161101a610bb4565b611024919061390d565b1115611065576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161105c9061361c565b60405180910390fd5b600381601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546110b2919061390d565b11156110f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ea9061379c565b60405180910390fd5b80601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611142919061390d565b9250508190555061115333826122d3565b5050565b6000806000600a60008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614156112ed5760096040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b60006112f7612490565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff16866113239190613994565b61132d9190613963565b90508160000151819350935050509250929050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16146113b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113a79061373c565b60405180910390fd5b600e60019054906101000a900460ff166113ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113f69061369c565b60405180910390fd5b6104d28161140b610bb4565b611415919061390d565b1115611456576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144d9061371c565b60405180910390fd5b600281601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546114a3919061390d565b11156114e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114db9061363c565b60405180910390fd5b80601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611533919061390d565b9250508190555061154433826122d3565b50565b6104d281565b600e60019054906101000a900460ff1681565b611568611ebb565b60006115726118a8565b9050600047905060008273ffffffffffffffffffffffffffffffffffffffff168260405161159f9061351f565b60006040518083038185875af1925050503d80600081146115dc576040519150601f19603f3d011682016040523d82523d6000602084013e6115e1565b606091505b5050905080611625576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161c9061367c565b60405180910390fd5b505050565b61164583838360405180602001604052806000815250611a8d565b505050565b6000600f54905090565b600d805461166190613afa565b80601f016020809104026020016040519081016040528092919081815260200182805461168d90613afa565b80156116da5780601f106116af576101008083540402835291602001916116da565b820191906000526020600020905b8154815290600101906020018083116116bd57829003601f168201915b505050505081565b600e60009054906101000a900460ff1681565b6116fd611ebb565b600e60009054906101000a900460ff1615600e60006101000a81548160ff021916908315150217905550565b60006117348261213b565b9050919050565b600281565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156117a8576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611801611ebb565b61180b600061249a565b565b611815611ebb565b80600f8190555050565b6000808260405160200161183391906134d5565b60405160208183030381529060405280519060200120905061185884600f5483612560565b91505092915050565b600e60029054906101000a900460ff1681565b61187c611ebb565b600e60029054906101000a900460ff1615600e60026101000a81548160ff021916908315150217905550565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6118da611ebb565b8181600b91906118eb9291906129e1565b505050565b6060600380546118ff90613afa565b80601f016020809104026020016040519081016040528092919081815260200182805461192b90613afa565b80156119785780601f1061194d57610100808354040283529160200191611978565b820191906000526020600020905b81548152906001019060200180831161195b57829003601f168201915b5050505050905090565b806007600061198f61212e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611a3c61212e565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611a8191906135c4565b60405180910390a35050565b611a98848484610be3565b60008373ffffffffffffffffffffffffffffffffffffffff163b14611afa57611ac384848484612577565b611af9576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b600381565b6060611b10826120cf565b611b4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b46906136fc565b60405180910390fd5b6000600183611b5e919061390d565b9050600e60009054906101000a900460ff16611c0757600d8054611b8190613afa565b80601f0160208091040260200160405190810160405280929190818152602001828054611bad90613afa565b8015611bfa5780601f10611bcf57610100808354040283529160200191611bfa565b820191906000526020600020905b815481529060010190602001808311611bdd57829003601f168201915b5050505050915050611c62565b6000600c8054611c1690613afa565b905011611c325760405180602001604052806000815250611c5e565b600c611c3d826126d7565b604051602001611c4e9291906134f0565b6040516020818303038152906040525b9150505b919050565b611c6f611ebb565b600e60019054906101000a900460ff1615600e60016101000a81548160ff021916908315150217905550565b600b8054611ca890613afa565b80601f0160208091040260200160405190810160405280929190818152602001828054611cd490613afa565b8015611d215780601f10611cf657610100808354040283529160200191611d21565b820191906000526020600020905b815481529060010190602001808311611d0457829003601f168201915b505050505081565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611dc5611ebb565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611e35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e2c9061365c565b60405180910390fd5b611e3e8161249a565b50565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611eb45750611eb382612838565b5b9050919050565b611ec36128a2565b73ffffffffffffffffffffffffffffffffffffffff16611ee16118a8565b73ffffffffffffffffffffffffffffffffffffffff1614611f37576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f2e906136dc565b60405180910390fd5b565b611f41612490565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff161115611f9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f969061375c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561200f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612006906137bc565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600960008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b6000816120da612136565b111580156120e9575060005482105b8015612127575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b600090565b6000808290508061214a612136565b116121d2576000548110156121d15760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821614156121cf575b60008114156121c557600460008360019003935083815260200190815260200160002054905061219a565b8092505050612204565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e86122918686846128aa565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6000805490506000821415612314576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6123216000848385612274565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555061239883612389600086600061227a565b612392856128b3565b176122a2565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b81811461243957808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46001810190506123fe565b506000821415612475576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600081905550505061248b60008483856122cd565b505050565b6000612710905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008261256d85846128c3565b1490509392505050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261259d61212e565b8786866040518563ffffffff1660e01b81526004016125bf949392919061354f565b602060405180830381600087803b1580156125d957600080fd5b505af192505050801561260a57506040513d601f19601f820116820180604052508101906126079190613000565b60015b612684573d806000811461263a576040519150601f19603f3d011682016040523d82523d6000602084013e61263f565b606091505b5060008151141561267c576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600082141561271f576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612833565b600082905060005b6000821461275157808061273a90613b5d565b915050600a8261274a9190613963565b9150612727565b60008167ffffffffffffffff81111561276d5761276c613cb7565b5b6040519080825280601f01601f19166020018201604052801561279f5781602001600182028036833780820191505090505b5090505b6000851461282c576001826127b891906139ee565b9150600a856127c79190613bca565b60306127d3919061390d565b60f81b8183815181106127e9576127e8613c88565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856128259190613963565b94506127a3565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b60009392505050565b60006001821460e11b9050919050565b60008082905060005b845181101561290e576128f9828683815181106128ec576128eb613c88565b5b6020026020010151612919565b9150808061290690613b5d565b9150506128cc565b508091505092915050565b60008183106129315761292c8284612944565b61293c565b61293b8383612944565b5b905092915050565b600082600052816020526040600020905092915050565b82805461296790613afa565b90600052602060002090601f01602090048101928261298957600085556129d0565b82601f106129a257805160ff19168380011785556129d0565b828001600101855582156129d0579182015b828111156129cf5782518255916020019190600101906129b4565b5b5090506129dd9190612a67565b5090565b8280546129ed90613afa565b90600052602060002090601f016020900481019282612a0f5760008555612a56565b82601f10612a2857803560ff1916838001178555612a56565b82800160010185558215612a56579182015b82811115612a55578235825591602001919060010190612a3a565b5b509050612a639190612a67565b5090565b5b80821115612a80576000816000905550600101612a68565b5090565b6000612a97612a928461381c565b6137f7565b90508083825260208201905082856020860282011115612aba57612ab9613cf0565b5b60005b85811015612aea5781612ad08882612bd0565b845260208401935060208301925050600181019050612abd565b5050509392505050565b6000612b07612b0284613848565b6137f7565b905082815260208101848484011115612b2357612b22613cf5565b5b612b2e848285613ab8565b509392505050565b6000612b49612b4484613879565b6137f7565b905082815260208101848484011115612b6557612b64613cf5565b5b612b70848285613ab8565b509392505050565b600081359050612b8781614024565b92915050565b600082601f830112612ba257612ba1613ceb565b5b8135612bb2848260208601612a84565b91505092915050565b600081359050612bca8161403b565b92915050565b600081359050612bdf81614052565b92915050565b600081359050612bf481614069565b92915050565b600081519050612c0981614069565b92915050565b600082601f830112612c2457612c23613ceb565b5b8135612c34848260208601612af4565b91505092915050565b60008083601f840112612c5357612c52613ceb565b5b8235905067ffffffffffffffff811115612c7057612c6f613ce6565b5b602083019150836001820283011115612c8c57612c8b613cf0565b5b9250929050565b600082601f830112612ca857612ca7613ceb565b5b8135612cb8848260208601612b36565b91505092915050565b600081359050612cd081614080565b92915050565b600081359050612ce581614097565b92915050565b600060208284031215612d0157612d00613cff565b5b6000612d0f84828501612b78565b91505092915050565b60008060408385031215612d2f57612d2e613cff565b5b6000612d3d85828601612b78565b9250506020612d4e85828601612b78565b9150509250929050565b600080600060608486031215612d7157612d70613cff565b5b6000612d7f86828701612b78565b9350506020612d9086828701612b78565b9250506040612da186828701612cc1565b9150509250925092565b60008060008060808587031215612dc557612dc4613cff565b5b6000612dd387828801612b78565b9450506020612de487828801612b78565b9350506040612df587828801612cc1565b925050606085013567ffffffffffffffff811115612e1657612e15613cfa565b5b612e2287828801612c0f565b91505092959194509250565b60008060408385031215612e4557612e44613cff565b5b6000612e5385828601612b78565b9250506020612e6485828601612bbb565b9150509250929050565b60008060408385031215612e8557612e84613cff565b5b6000612e9385828601612b78565b9250506020612ea485828601612cc1565b9150509250929050565b60008060408385031215612ec557612ec4613cff565b5b6000612ed385828601612b78565b9250506020612ee485828601612cd6565b9150509250929050565b60008060408385031215612f0557612f04613cff565b5b600083013567ffffffffffffffff811115612f2357612f22613cfa565b5b612f2f85828601612b8d565b9250506020612f4085828601612b78565b9150509250929050565b60008060408385031215612f6157612f60613cff565b5b600083013567ffffffffffffffff811115612f7f57612f7e613cfa565b5b612f8b85828601612b8d565b9250506020612f9c85828601612cc1565b9150509250929050565b600060208284031215612fbc57612fbb613cff565b5b6000612fca84828501612bd0565b91505092915050565b600060208284031215612fe957612fe8613cff565b5b6000612ff784828501612be5565b91505092915050565b60006020828403121561301657613015613cff565b5b600061302484828501612bfa565b91505092915050565b6000806020838503121561304457613043613cff565b5b600083013567ffffffffffffffff81111561306257613061613cfa565b5b61306e85828601612c3d565b92509250509250929050565b6000602082840312156130905761308f613cff565b5b600082013567ffffffffffffffff8111156130ae576130ad613cfa565b5b6130ba84828501612c93565b91505092915050565b6000602082840312156130d9576130d8613cff565b5b60006130e784828501612cc1565b91505092915050565b6000806040838503121561310757613106613cff565b5b600061311585828601612cc1565b925050602061312685828601612cc1565b9150509250929050565b61313981613a22565b82525050565b61315061314b82613a22565b613ba6565b82525050565b61315f81613a34565b82525050565b61316e81613a40565b82525050565b600061317f826138bf565b61318981856138d5565b9350613199818560208601613ac7565b6131a281613d04565b840191505092915050565b60006131b8826138ca565b6131c281856138f1565b93506131d2818560208601613ac7565b6131db81613d04565b840191505092915050565b60006131f1826138ca565b6131fb8185613902565b935061320b818560208601613ac7565b80840191505092915050565b6000815461322481613afa565b61322e8186613902565b94506001821660008114613249576001811461325a5761328d565b60ff1983168652818601935061328d565b613263856138aa565b60005b8381101561328557815481890152600182019150602081019050613266565b838801955050505b50505092915050565b60006132a3601d836138f1565b91506132ae82613d22565b602082019050919050565b60006132c66010836138f1565b91506132d182613d4b565b602082019050919050565b60006132e96026836138f1565b91506132f482613d74565b604082019050919050565b600061330c6014836138f1565b915061331782613dc3565b602082019050919050565b600061332f600e836138f1565b915061333a82613dec565b602082019050919050565b60006133526017836138f1565b915061335d82613e15565b602082019050919050565b6000613375600583613902565b915061338082613e3e565b600582019050919050565b60006133986020836138f1565b91506133a382613e67565b602082019050919050565b60006133bb602e836138f1565b91506133c682613e90565b604082019050919050565b60006133de6011836138f1565b91506133e982613edf565b602082019050919050565b60006134016000836138e6565b915061340c82613f08565b600082019050919050565b6000613424601e836138f1565b915061342f82613f0b565b602082019050919050565b6000613447602a836138f1565b915061345282613f34565b604082019050919050565b600061346a6013836138f1565b915061347582613f83565b602082019050919050565b600061348d6026836138f1565b915061349882613fac565b604082019050919050565b60006134b06019836138f1565b91506134bb82613ffb565b602082019050919050565b6134cf81613a96565b82525050565b60006134e1828461313f565b60148201915081905092915050565b60006134fc8285613217565b915061350882846131e6565b915061351382613368565b91508190509392505050565b600061352a826133f4565b9150819050919050565b60006020820190506135496000830184613130565b92915050565b60006080820190506135646000830187613130565b6135716020830186613130565b61357e60408301856134c6565b81810360608301526135908184613174565b905095945050505050565b60006040820190506135b06000830185613130565b6135bd60208301846134c6565b9392505050565b60006020820190506135d96000830184613156565b92915050565b60006020820190506135f46000830184613165565b92915050565b6000602082019050818103600083015261361481846131ad565b905092915050565b6000602082019050818103600083015261363581613296565b9050919050565b60006020820190508181036000830152613655816132b9565b9050919050565b60006020820190508181036000830152613675816132dc565b9050919050565b60006020820190508181036000830152613695816132ff565b9050919050565b600060208201905081810360008301526136b581613322565b9050919050565b600060208201905081810360008301526136d581613345565b9050919050565b600060208201905081810360008301526136f58161338b565b9050919050565b60006020820190508181036000830152613715816133ae565b9050919050565b60006020820190508181036000830152613735816133d1565b9050919050565b6000602082019050818103600083015261375581613417565b9050919050565b600060208201905081810360008301526137758161343a565b9050919050565b600060208201905081810360008301526137958161345d565b9050919050565b600060208201905081810360008301526137b581613480565b9050919050565b600060208201905081810360008301526137d5816134a3565b9050919050565b60006020820190506137f160008301846134c6565b92915050565b6000613801613812565b905061380d8282613b2c565b919050565b6000604051905090565b600067ffffffffffffffff82111561383757613836613cb7565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561386357613862613cb7565b5b61386c82613d04565b9050602081019050919050565b600067ffffffffffffffff82111561389457613893613cb7565b5b61389d82613d04565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600061391882613a96565b915061392383613a96565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561395857613957613bfb565b5b828201905092915050565b600061396e82613a96565b915061397983613a96565b92508261398957613988613c2a565b5b828204905092915050565b600061399f82613a96565b91506139aa83613a96565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156139e3576139e2613bfb565b5b828202905092915050565b60006139f982613a96565b9150613a0483613a96565b925082821015613a1757613a16613bfb565b5b828203905092915050565b6000613a2d82613a76565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006bffffffffffffffffffffffff82169050919050565b82818337600083830152505050565b60005b83811015613ae5578082015181840152602081019050613aca565b83811115613af4576000848401525b50505050565b60006002820490506001821680613b1257607f821691505b60208210811415613b2657613b25613c59565b5b50919050565b613b3582613d04565b810181811067ffffffffffffffff82111715613b5457613b53613cb7565b5b80604052505050565b6000613b6882613a96565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613b9b57613b9a613bfb565b5b600182019050919050565b6000613bb182613bb8565b9050919050565b6000613bc382613d15565b9050919050565b6000613bd582613a96565b9150613be083613a96565b925082613bf057613bef613c2a565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f43616e6e6f74206d696e74206265796f6e64206d617820737570706c79000000600082015250565b7f416c7265616479206d696e746564203100000000000000000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4661696c656420746f2073656e64204574686572000000000000000000000000600082015250565b7f4e6f742059657420416374697665000000000000000000000000000000000000600082015250565b7f596f7520617265206e6f742077686974656c6973746564000000000000000000600082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174612055524920717565727920666f72206e6f6e60008201527f6578697374656e7420746f6b656e000000000000000000000000000000000000602082015250565b7f4265796f6e64204d617820537570706c79000000000000000000000000000000600082015250565b50565b7f43616e6e6f742062652063616c6c6564206279206120636f6e74726163740000600082015250565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b7f4d696e74696e67206973206f6e20506175736500000000000000000000000000600082015250565b7f43616e6e6f74206d696e74206265796f6e642077686974656c697374206d617860008201527f206d696e74210000000000000000000000000000000000000000000000000000602082015250565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b61402d81613a22565b811461403857600080fd5b50565b61404481613a34565b811461404f57600080fd5b50565b61405b81613a40565b811461406657600080fd5b50565b61407281613a4a565b811461407d57600080fd5b50565b61408981613a96565b811461409457600080fd5b50565b6140a081613aa0565b81146140ab57600080fd5b5056fea26469706673582212209ec1a52293f00de569f6c0c5cabfae51be0f46ef1032448b353c6904c7ec056664736f6c63430008070033

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

00000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000140d5b69f62c280b1aff5281cf1aa2ead95cc759d77e5431554d6476b0aa539310300000000000000000000000000000000000000000000000000000000000003e800000000000000000000000013a5d6ac010447e88e4c5758499d8a76bbb131bc000000000000000000000000313247bd73d7660f7b0983cbaa78bde0ad8e505b0000000000000000000000000000000000000000000000000000000000000042697066733a2f2f6261666b726569686b7a666963626769376e71676e696e6b346e7032327067756276337567346f6c683770353366376b676534336f697a657637750000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000042697066733a2f2f6261666b7265696637676678336a77796e7463776c676f3369626370706d6e65696b7170336874756d61617873616a78666b613568766f636d6a6d000000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _contractURI (string): ipfs://bafkreihkzficbgi7nqgnink4np22pgubv3ug4olh7p53f7kge43oizev7u
Arg [1] : _placeholderTokenUri (string): ipfs://bafkreif7gfx3jwyntcwlgo3ibcppmneikqp3htumaaxsajxfka5hvocmjm
Arg [2] : _merkleRoot (bytes32): 0xd5b69f62c280b1aff5281cf1aa2ead95cc759d77e5431554d6476b0aa5393103
Arg [3] : _royaltyFeesInBips (uint96): 1000
Arg [4] : _royaltyAddress (address): 0x13a5d6AC010447e88E4C5758499d8a76BbB131BC
Arg [5] : _teamAddress (address): 0x313247BD73d7660F7B0983CbAa78bde0Ad8E505b

-----Encoded View---------------
14 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [2] : d5b69f62c280b1aff5281cf1aa2ead95cc759d77e5431554d6476b0aa5393103
Arg [3] : 00000000000000000000000000000000000000000000000000000000000003e8
Arg [4] : 00000000000000000000000013a5d6ac010447e88e4c5758499d8a76bbb131bc
Arg [5] : 000000000000000000000000313247bd73d7660f7b0983cbaa78bde0ad8e505b
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000042
Arg [7] : 697066733a2f2f6261666b726569686b7a666963626769376e71676e696e6b34
Arg [8] : 6e7032327067756276337567346f6c683770353366376b676534336f697a6576
Arg [9] : 3775000000000000000000000000000000000000000000000000000000000000
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000042
Arg [11] : 697066733a2f2f6261666b7265696637676678336a77796e7463776c676f3369
Arg [12] : 626370706d6e65696b7170336874756d61617873616a78666b613568766f636d
Arg [13] : 6a6d000000000000000000000000000000000000000000000000000000000000


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.