ETH Price: $3,419.23 (+0.82%)

Token

Potato Captainz (Potato)
 

Overview

Max Total Supply

555 Potato

Holders

295

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
2 Potato
0x85b75d14423768bbd77e304d978be1cf44018a40
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:
PotatoCaptainz

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2023-01-07
*/

// File: @openzeppelin/contracts/utils/math/SafeMath.sol


// OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

// File: @openzeppelin/contracts/security/ReentrancyGuard.sol


// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

// File: @openzeppelin/contracts/utils/Strings.sol


// 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: @openzeppelin/contracts/utils/cryptography/MerkleProof.sol


// 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: IERC721A.sol


// ERC721A Contracts v4.2.2
// Creator: Chiru Labs

pragma solidity ^0.8.4;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


// 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: ERC721A.sol


// ERC721A Contracts v4.2.2
// Creator: Chiru Labs

pragma solidity ^0.8.4;



/**
 * @dev Interface of ERC721 token receiver.
 */
interface ERC721A__IERC721Receiver {
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

/**
 * @title ERC721A
 *
 * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721)
 * Non-Fungible Token Standard, including the Metadata extension.
 * Optimized for lower gas during batch mints.
 *
 * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...)
 * starting from `_startTokenId()`.
 *
 * Assumptions:
 *
 * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
 * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256).
 */
contract ERC721A is IERC721A {
    // Reference type for token approval.
    struct TokenApprovalRef {
        address value;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

    /**
     * @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), '.json')) : '';
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        return _tokenApprovals[tokenId].value;
    }

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

        _operatorApprovals[_msgSenderERC721A()][operator] = approved;
        emit ApprovalForAll(_msgSenderERC721A(), operator, approved);
    }

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

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

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

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

    /**
     * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        safeTransferFrom(from, to, tokenId, '');
    }

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token
     * by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement
     * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        transferFrom(from, to, tokenId);
        if (to.code.length != 0)
            if (!_checkContractOnERC721Received(from, to, tokenId, _data)) {
                revert TransferToNonERC721ReceiverImplementer();
            }
    }

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

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

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

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

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

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

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

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

            uint256 toMasked;
            uint256 end = startTokenId + quantity;

            // Use assembly to loop and emit the `Transfer` event for gas savings.
            assembly {
                // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean.
                toMasked := and(to, _BITMASK_ADDRESS)
                // Emit the `Transfer` event.
                log4(
                    0, // Start of data (0, since no data).
                    0, // End of data (0, since no data).
                    _TRANSFER_EVENT_SIGNATURE, // Signature.
                    0, // `address(0)`.
                    toMasked, // `to`.
                    startTokenId // `tokenId`.
                )

                for {
                    let tokenId := add(startTokenId, 1)
                } iszero(eq(tokenId, end)) {
                    tokenId := add(tokenId, 1)
                } {
                    // Emit the `Transfer` event. Similar to above.
                    log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId)
                }
            }
            if (toMasked == 0) revert MintToZeroAddress();

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

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

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

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

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

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

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

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

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

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

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

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

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

        address from = address(uint160(prevOwnershipPacked));

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Converts a uint256 to its ASCII string decimal representation.
     */
    function _toString(uint256 value) internal pure virtual returns (string memory str) {
        assembly {
            // The maximum value of a uint256 contains 78 digits (1 byte per digit),
            // but we allocate 0x80 bytes to keep the free memory pointer 32-byte word aliged.
            // We will need 1 32-byte word to store the length,
            // and 3 32-byte words to store a maximum of 78 digits. Total: 0x20 + 3 * 0x20 = 0x80.
            str := add(mload(0x40), 0x80)
            // Update the free memory pointer to allocate.
            mstore(0x40, str)

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

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

            let length := sub(end, str)
            // Move the pointer 32 bytes leftwards to make room for the length.
            str := sub(str, 0x20)
            // Store the length.
            mstore(str, length)
        }
    }
}
// File: @openzeppelin/contracts/access/Ownable.sol


// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;


/**
 * @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: potatocaptainz.sol

//SPDX-License-Identifier: MIT








pragma solidity ^0.8.4;


contract PotatoCaptainz is ERC721A, Ownable, ReentrancyGuard {

    
    using SafeMath for uint256;
    using Strings for uint256;

    uint256 public PUBLIC_PRICE = 0.0069 ether;
    uint256 public FREE_COST = 0 ether;
    uint16 public maxSupply = 555;
    uint16 public FREE_LIMIT = 220;


    mapping (address => uint8) private _minted;


    uint8 public maxMintAmount = 2;

    string private _baseTokenURI =
        "https://potatocaptainz.xyz/Metadata/json/";

    bool public publicSaleActive;

    constructor() ERC721A("Potato Captainz", "Potato") {
      _mint(0xE87BAEff2C98849787fe153F9D4039B8ECFC4f0E, 2);
    }

    modifier callerIsUser() {
        if (msg.sender != tx.origin) revert ("no Contract!");
        _;
    }

    function reduceSupply(uint16 _newReducedSupply) external onlyOwner {
        if (_newReducedSupply > maxSupply) revert ("Can not Increase Max Supply!");
        maxSupply = _newReducedSupply;
    }

    function setPublicSaleCost(uint256 _newPUBLIC_PRICE) external onlyOwner {
        if (_newPUBLIC_PRICE > PUBLIC_PRICE) revert ("Can not Increase Cost!");
        PUBLIC_PRICE = _newPUBLIC_PRICE;
    }

    function _startTokenId() internal view virtual override returns (uint256) {
        return 1;
    }

    function setFREE_SALE_COST(uint256 _newFREE_COST) external onlyOwner {
        if (_newFREE_COST > FREE_COST) revert ("Can not Increase Cost!");
        FREE_COST = _newFREE_COST;
    }

    function Airdrop(address[] memory targets, uint8 _amount) external onlyOwner {

        for (uint256 i = 0; i < targets.length; i++) {
            _mint(targets[i], _amount);
        }
    }

    function Mint(uint8 _amount) external payable callerIsUser {
        uint256 ts = totalSupply();
            if (!publicSaleActive) revert ("Sale is Not Active.");
            if (ts + _amount > maxSupply) revert ("Max Supply Sold Out!");
            if (_minted[msg.sender] + _amount > maxMintAmount)
                revert ("Already Minted!");
                if (ts >= FREE_LIMIT ) {
                    if (msg.value != PUBLIC_PRICE * _amount) revert ("Insufficient Fund!");
                } else {
                    if (msg.value != FREE_COST) revert ("Insufficient Fund!");
                }

            _minted[msg.sender] += _amount; 
            _mint(msg.sender, _amount);
        }
    

    function setMaxMintAmount(uint8 _maxMintAmount) external onlyOwner {
        maxMintAmount = _maxMintAmount;
    }

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

    function setBaseURI(string calldata baseURI) external onlyOwner {
        _baseTokenURI = baseURI;
    }

    function start() external onlyOwner {
        publicSaleActive = !publicSaleActive;
    }

    function pause() external onlyOwner {
        publicSaleActive = !publicSaleActive;
    }

    function withdraw() external onlyOwner nonReentrant {
        (bool hs, ) = payable(0x8cfAa0826255F2F6977888435E9c29a66bBedDbD).call{value: address(this).balance * 50 / 100}('');
        require(hs);
        (bool os, ) = payable(owner()).call{value: address(this).balance}('');
        require(os);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"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":[{"internalType":"address[]","name":"targets","type":"address[]"},{"internalType":"uint8","name":"_amount","type":"uint8"}],"name":"Airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"FREE_COST","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"FREE_LIMIT","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"_amount","type":"uint8"}],"name":"Mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"PUBLIC_PRICE","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":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmount","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"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":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"publicSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_newReducedSupply","type":"uint16"}],"name":"reduceSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newFREE_COST","type":"uint256"}],"name":"setFREE_SALE_COST","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_maxMintAmount","type":"uint8"}],"name":"setMaxMintAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPUBLIC_PRICE","type":"uint256"}],"name":"setPublicSaleCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"start","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6618838370f34000600a556000600b55600c805462dc022b63ffffffff19909116179055600e805460ff1916600217905560e0604052602960808181529062001ede60a03980516200005a91600f916020909101906200023e565b503480156200006857600080fd5b50604080518082018252600f81526e2837ba30ba379021b0b83a30b4b73d60891b602080830191825283518085019094526006845265506f7461746f60d01b908401528151919291620000be916002916200023e565b508051620000d49060039060208401906200023e565b5050600160005550620000e73362000113565b60016009556200010d73e87baeff2c98849787fe153f9d4039b8ecfc4f0e600262000165565b62000321565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60005481620001875760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b1783179055828401908390839060008051602062001f078339815191528180a4600183015b81811462000216578083600060008051602062001f07833981519152600080a4600101620001ed565b50816200023557604051622e076360e81b815260040160405180910390fd5b60005550505050565b8280546200024c90620002e4565b90600052602060002090601f016020900481019282620002705760008555620002bb565b82601f106200028b57805160ff1916838001178555620002bb565b82800160010185558215620002bb579182015b82811115620002bb5782518255916020019190600101906200029e565b50620002c9929150620002cd565b5090565b5b80821115620002c95760008155600101620002ce565b600181811c90821680620002f957607f821691505b602082108114156200031b57634e487b7160e01b600052602260045260246000fd5b50919050565b611bad80620003316000396000f3fe6080604052600436106101ee5760003560e01c80638456cb591161010d578063b21237e3116100a0578063c87b56dd1161006f578063c87b56dd14610556578063d5abeb0114610576578063e985e9c514610591578063f2fde38b146105da578063fd46d787146105fa57600080fd5b8063b21237e3146104fc578063b88d4fde1461051c578063bc8893b41461053c578063be9a65551461040d57600080fd5b806395d89b41116100dc57806395d89b4114610494578063987222b5146104a9578063a22cb465146104c9578063a2522d2d146104e957600080fd5b80638456cb591461040d5780638da5cb5b146104225780638dbb7c061461044057806390061a0a1461046057600080fd5b80632930b73a11610185578063611f3f1011610154578063611f3f10146103a25780636352211e146103b857806370a08231146103d8578063715018a6146103f857600080fd5b80632930b73a146103375780633ccfd60b1461034d57806342842e0e1461036257806355f804b31461038257600080fd5b8063095ea7b3116101c1578063095ea7b3146102a457806318160ddd146102c4578063239c70ae146102eb57806323b872dd1461031757600080fd5b806301ffc9a7146101f3578063028a7d1f1461022857806306fdde031461024a578063081812fc1461026c575b600080fd5b3480156101ff57600080fd5b5061021361020e36600461182f565b61061a565b60405190151581526020015b60405180910390f35b34801561023457600080fd5b506102486102433660046118ff565b61066c565b005b34801561025657600080fd5b5061025f6106c9565b60405161021f91906119db565b34801561027857600080fd5b5061028c6102873660046118ff565b61075b565b6040516001600160a01b03909116815260200161021f565b3480156102b057600080fd5b506102486102bf36600461173f565b61079f565b3480156102d057600080fd5b5060015460005403600019015b60405190815260200161021f565b3480156102f757600080fd5b50600e546103059060ff1681565b60405160ff909116815260200161021f565b34801561032357600080fd5b50610248610332366004611607565b61083f565b34801561034357600080fd5b506102dd600b5481565b34801561035957600080fd5b506102486109d0565b34801561036e57600080fd5b5061024861037d366004611607565b610b27565b34801561038e57600080fd5b5061024861039d366004611869565b610b47565b3480156103ae57600080fd5b506102dd600a5481565b3480156103c457600080fd5b5061028c6103d33660046118ff565b610b5b565b3480156103e457600080fd5b506102dd6103f33660046115b9565b610b66565b34801561040457600080fd5b50610248610bb5565b34801561041957600080fd5b50610248610bc9565b34801561042e57600080fd5b506008546001600160a01b031661028c565b34801561044c57600080fd5b5061024861045b3660046118ff565b610be5565b34801561046c57600080fd5b50600c546104819062010000900461ffff1681565b60405161ffff909116815260200161021f565b3480156104a057600080fd5b5061025f610c3d565b3480156104b557600080fd5b506102486104c43660046118db565b610c4c565b3480156104d557600080fd5b506102486104e4366004611703565b610cc6565b6102486104f7366004611918565b610d5c565b34801561050857600080fd5b50610248610517366004611769565b610fb8565b34801561052857600080fd5b50610248610537366004611643565b611004565b34801561054857600080fd5b506010546102139060ff1681565b34801561056257600080fd5b5061025f6105713660046118ff565b61104e565b34801561058257600080fd5b50600c546104819061ffff1681565b34801561059d57600080fd5b506102136105ac3660046115d4565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156105e657600080fd5b506102486105f53660046115b9565b6110d3565b34801561060657600080fd5b50610248610615366004611918565b61114c565b60006301ffc9a760e01b6001600160e01b03198316148061064b57506380ac58cd60e01b6001600160e01b03198316145b806106665750635b5e139f60e01b6001600160e01b03198316145b92915050565b61067461116a565b600b548111156106c45760405162461bcd60e51b815260206004820152601660248201527543616e206e6f7420496e63726561736520436f73742160501b60448201526064015b60405180910390fd5b600b55565b6060600280546106d890611ac9565b80601f016020809104026020016040519081016040528092919081815260200182805461070490611ac9565b80156107515780601f1061072657610100808354040283529160200191610751565b820191906000526020600020905b81548152906001019060200180831161073457829003601f168201915b5050505050905090565b6000610766826111c4565b610783576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006107aa82610b5b565b9050336001600160a01b038216146107e3576107c681336105ac565b6107e3576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061084a826111f9565b9050836001600160a01b0316816001600160a01b03161461087d5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b038816909114176108ca576108ad86336105ac565b6108ca57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166108f157604051633a954ecd60e21b815260040160405180910390fd5b80156108fc57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b831661098757600184016000818152600460205260409020546109855760005481146109855760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b6109d861116a565b60026009541415610a2b5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016106bb565b60026009556000738cfaa0826255f2f6977888435e9c29a66bbeddbd6064610a54476032611a7e565b610a5e9190611a5c565b604051600081818185875af1925050503d8060008114610a9a576040519150601f19603f3d011682016040523d82523d6000602084013e610a9f565b606091505b5050905080610aad57600080fd5b6000610ac16008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610b0b576040519150601f19603f3d011682016040523d82523d6000602084013e610b10565b606091505b5050905080610b1e57600080fd5b50506001600955565b610b4283838360405180602001604052806000815250611004565b505050565b610b4f61116a565b610b42600f83836114f3565b6000610666826111f9565b60006001600160a01b038216610b8f576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610bbd61116a565b610bc76000611262565b565b610bd161116a565b6010805460ff19811660ff90911615179055565b610bed61116a565b600a54811115610c385760405162461bcd60e51b815260206004820152601660248201527543616e206e6f7420496e63726561736520436f73742160501b60448201526064016106bb565b600a55565b6060600380546106d890611ac9565b610c5461116a565b600c5461ffff9081169082161115610cae5760405162461bcd60e51b815260206004820152601c60248201527f43616e206e6f7420496e637265617365204d617820537570706c79210000000060448201526064016106bb565b600c805461ffff191661ffff92909216919091179055565b6001600160a01b038216331415610cf05760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b333214610d9a5760405162461bcd60e51b815260206004820152600c60248201526b6e6f20436f6e74726163742160a01b60448201526064016106bb565b6000610daf6001546000546000199190030190565b60105490915060ff16610dfa5760405162461bcd60e51b815260206004820152601360248201527229b0b6329034b9902737ba1020b1ba34bb329760691b60448201526064016106bb565b600c5461ffff16610e0e60ff841683611a1f565b1115610e535760405162461bcd60e51b81526020600482015260146024820152734d617820537570706c7920536f6c64204f75742160601b60448201526064016106bb565b600e54336000908152600d602052604090205460ff91821691610e7891859116611a37565b60ff161115610ebb5760405162461bcd60e51b815260206004820152600f60248201526e416c7265616479204d696e7465642160881b60448201526064016106bb565b600c5462010000900461ffff168110610f27578160ff16600a54610edf9190611a7e565b3414610f225760405162461bcd60e51b8152602060048201526012602482015271496e73756666696369656e742046756e642160701b60448201526064016106bb565b610f6d565b600b543414610f6d5760405162461bcd60e51b8152602060048201526012602482015271496e73756666696369656e742046756e642160701b60448201526064016106bb565b336000908152600d602052604081208054849290610f8f90849060ff16611a37565b92506101000a81548160ff021916908360ff160217905550610fb4338360ff166112b4565b5050565b610fc061116a565b60005b8251811015610b4257610ff2838281518110610fe157610fe1611b35565b60200260200101518360ff166112b4565b80610ffc81611b04565b915050610fc3565b61100f84848461083f565b6001600160a01b0383163b156110485761102b848484846113ab565b611048576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060611059826111c4565b61107657604051630a14c4b560e41b815260040160405180910390fd5b60006110806114a2565b90508051600014156110a157604051806020016040528060008152506110cc565b806110ab846114b1565b6040516020016110bc92919061195f565b6040516020818303038152906040525b9392505050565b6110db61116a565b6001600160a01b0381166111405760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106bb565b61114981611262565b50565b61115461116a565b600e805460ff191660ff92909216919091179055565b6008546001600160a01b03163314610bc75760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106bb565b6000816001111580156111d8575060005482105b8015610666575050600090815260046020526040902054600160e01b161590565b600081806001116112495760005481101561124957600081815260046020526040902054600160e01b8116611247575b806110cc575060001901600081815260046020526040902054611229565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600054816112d55760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461138457808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a460010161134c565b50816113a257604051622e076360e81b815260040160405180910390fd5b60005550505050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906113e090339089908890889060040161199e565b602060405180830381600087803b1580156113fa57600080fd5b505af192505050801561142a575060408051601f3d908101601f191682019092526114279181019061184c565b60015b611485573d808015611458576040519150601f19603f3d011682016040523d82523d6000602084013e61145d565b606091505b50805161147d576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b6060600f80546106d890611ac9565b604080516080019081905280825b600183039250600a81066030018353600a9004806114dc576114e1565b6114bf565b50819003601f19909101908152919050565b8280546114ff90611ac9565b90600052602060002090601f0160209004810192826115215760008555611567565b82601f1061153a5782800160ff19823516178555611567565b82800160010185558215611567579182015b8281111561156757823582559160200191906001019061154c565b50611573929150611577565b5090565b5b808211156115735760008155600101611578565b80356001600160a01b03811681146115a357600080fd5b919050565b803560ff811681146115a357600080fd5b6000602082840312156115cb57600080fd5b6110cc8261158c565b600080604083850312156115e757600080fd5b6115f08361158c565b91506115fe6020840161158c565b90509250929050565b60008060006060848603121561161c57600080fd5b6116258461158c565b92506116336020850161158c565b9150604084013590509250925092565b6000806000806080858703121561165957600080fd5b6116628561158c565b9350602061167181870161158c565b935060408601359250606086013567ffffffffffffffff8082111561169557600080fd5b818801915088601f8301126116a957600080fd5b8135818111156116bb576116bb611b4b565b6116cd601f8201601f191685016119ee565b915080825289848285010111156116e357600080fd5b808484018584013760008482840101525080935050505092959194509250565b6000806040838503121561171657600080fd5b61171f8361158c565b91506020830135801515811461173457600080fd5b809150509250929050565b6000806040838503121561175257600080fd5b61175b8361158c565b946020939093013593505050565b6000806040838503121561177c57600080fd5b823567ffffffffffffffff8082111561179457600080fd5b818501915085601f8301126117a857600080fd5b81356020828211156117bc576117bc611b4b565b8160051b92506117cd8184016119ee565b8281528181019085830185870184018b10156117e857600080fd5b600096505b84871015611812576117fe8161158c565b8352600196909601959183019183016117ed565b50965061182290508782016115a8565b9450505050509250929050565b60006020828403121561184157600080fd5b81356110cc81611b61565b60006020828403121561185e57600080fd5b81516110cc81611b61565b6000806020838503121561187c57600080fd5b823567ffffffffffffffff8082111561189457600080fd5b818501915085601f8301126118a857600080fd5b8135818111156118b757600080fd5b8660208285010111156118c957600080fd5b60209290920196919550909350505050565b6000602082840312156118ed57600080fd5b813561ffff811681146110cc57600080fd5b60006020828403121561191157600080fd5b5035919050565b60006020828403121561192a57600080fd5b6110cc826115a8565b6000815180845261194b816020860160208601611a9d565b601f01601f19169290920160200192915050565b60008351611971818460208801611a9d565b835190830190611985818360208801611a9d565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906119d190830184611933565b9695505050505050565b6020815260006110cc6020830184611933565b604051601f8201601f1916810167ffffffffffffffff81118282101715611a1757611a17611b4b565b604052919050565b60008219821115611a3257611a32611b1f565b500190565b600060ff821660ff84168060ff03821115611a5457611a54611b1f565b019392505050565b600082611a7957634e487b7160e01b600052601260045260246000fd5b500490565b6000816000190483118215151615611a9857611a98611b1f565b500290565b60005b83811015611ab8578181015183820152602001611aa0565b838111156110485750506000910152565b600181811c90821680611add57607f821691505b60208210811415611afe57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611b1857611b18611b1f565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461114957600080fdfea26469706673582212204ea629099bb52907b5f8f42a82fba91b1e10af123333f3c740f2a84bb2e5f74464736f6c6343000807003368747470733a2f2f706f7461746f6361707461696e7a2e78797a2f4d657461646174612f6a736f6e2fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef

Deployed Bytecode

0x6080604052600436106101ee5760003560e01c80638456cb591161010d578063b21237e3116100a0578063c87b56dd1161006f578063c87b56dd14610556578063d5abeb0114610576578063e985e9c514610591578063f2fde38b146105da578063fd46d787146105fa57600080fd5b8063b21237e3146104fc578063b88d4fde1461051c578063bc8893b41461053c578063be9a65551461040d57600080fd5b806395d89b41116100dc57806395d89b4114610494578063987222b5146104a9578063a22cb465146104c9578063a2522d2d146104e957600080fd5b80638456cb591461040d5780638da5cb5b146104225780638dbb7c061461044057806390061a0a1461046057600080fd5b80632930b73a11610185578063611f3f1011610154578063611f3f10146103a25780636352211e146103b857806370a08231146103d8578063715018a6146103f857600080fd5b80632930b73a146103375780633ccfd60b1461034d57806342842e0e1461036257806355f804b31461038257600080fd5b8063095ea7b3116101c1578063095ea7b3146102a457806318160ddd146102c4578063239c70ae146102eb57806323b872dd1461031757600080fd5b806301ffc9a7146101f3578063028a7d1f1461022857806306fdde031461024a578063081812fc1461026c575b600080fd5b3480156101ff57600080fd5b5061021361020e36600461182f565b61061a565b60405190151581526020015b60405180910390f35b34801561023457600080fd5b506102486102433660046118ff565b61066c565b005b34801561025657600080fd5b5061025f6106c9565b60405161021f91906119db565b34801561027857600080fd5b5061028c6102873660046118ff565b61075b565b6040516001600160a01b03909116815260200161021f565b3480156102b057600080fd5b506102486102bf36600461173f565b61079f565b3480156102d057600080fd5b5060015460005403600019015b60405190815260200161021f565b3480156102f757600080fd5b50600e546103059060ff1681565b60405160ff909116815260200161021f565b34801561032357600080fd5b50610248610332366004611607565b61083f565b34801561034357600080fd5b506102dd600b5481565b34801561035957600080fd5b506102486109d0565b34801561036e57600080fd5b5061024861037d366004611607565b610b27565b34801561038e57600080fd5b5061024861039d366004611869565b610b47565b3480156103ae57600080fd5b506102dd600a5481565b3480156103c457600080fd5b5061028c6103d33660046118ff565b610b5b565b3480156103e457600080fd5b506102dd6103f33660046115b9565b610b66565b34801561040457600080fd5b50610248610bb5565b34801561041957600080fd5b50610248610bc9565b34801561042e57600080fd5b506008546001600160a01b031661028c565b34801561044c57600080fd5b5061024861045b3660046118ff565b610be5565b34801561046c57600080fd5b50600c546104819062010000900461ffff1681565b60405161ffff909116815260200161021f565b3480156104a057600080fd5b5061025f610c3d565b3480156104b557600080fd5b506102486104c43660046118db565b610c4c565b3480156104d557600080fd5b506102486104e4366004611703565b610cc6565b6102486104f7366004611918565b610d5c565b34801561050857600080fd5b50610248610517366004611769565b610fb8565b34801561052857600080fd5b50610248610537366004611643565b611004565b34801561054857600080fd5b506010546102139060ff1681565b34801561056257600080fd5b5061025f6105713660046118ff565b61104e565b34801561058257600080fd5b50600c546104819061ffff1681565b34801561059d57600080fd5b506102136105ac3660046115d4565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156105e657600080fd5b506102486105f53660046115b9565b6110d3565b34801561060657600080fd5b50610248610615366004611918565b61114c565b60006301ffc9a760e01b6001600160e01b03198316148061064b57506380ac58cd60e01b6001600160e01b03198316145b806106665750635b5e139f60e01b6001600160e01b03198316145b92915050565b61067461116a565b600b548111156106c45760405162461bcd60e51b815260206004820152601660248201527543616e206e6f7420496e63726561736520436f73742160501b60448201526064015b60405180910390fd5b600b55565b6060600280546106d890611ac9565b80601f016020809104026020016040519081016040528092919081815260200182805461070490611ac9565b80156107515780601f1061072657610100808354040283529160200191610751565b820191906000526020600020905b81548152906001019060200180831161073457829003601f168201915b5050505050905090565b6000610766826111c4565b610783576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006107aa82610b5b565b9050336001600160a01b038216146107e3576107c681336105ac565b6107e3576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061084a826111f9565b9050836001600160a01b0316816001600160a01b03161461087d5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b038816909114176108ca576108ad86336105ac565b6108ca57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166108f157604051633a954ecd60e21b815260040160405180910390fd5b80156108fc57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b831661098757600184016000818152600460205260409020546109855760005481146109855760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b6109d861116a565b60026009541415610a2b5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016106bb565b60026009556000738cfaa0826255f2f6977888435e9c29a66bbeddbd6064610a54476032611a7e565b610a5e9190611a5c565b604051600081818185875af1925050503d8060008114610a9a576040519150601f19603f3d011682016040523d82523d6000602084013e610a9f565b606091505b5050905080610aad57600080fd5b6000610ac16008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610b0b576040519150601f19603f3d011682016040523d82523d6000602084013e610b10565b606091505b5050905080610b1e57600080fd5b50506001600955565b610b4283838360405180602001604052806000815250611004565b505050565b610b4f61116a565b610b42600f83836114f3565b6000610666826111f9565b60006001600160a01b038216610b8f576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610bbd61116a565b610bc76000611262565b565b610bd161116a565b6010805460ff19811660ff90911615179055565b610bed61116a565b600a54811115610c385760405162461bcd60e51b815260206004820152601660248201527543616e206e6f7420496e63726561736520436f73742160501b60448201526064016106bb565b600a55565b6060600380546106d890611ac9565b610c5461116a565b600c5461ffff9081169082161115610cae5760405162461bcd60e51b815260206004820152601c60248201527f43616e206e6f7420496e637265617365204d617820537570706c79210000000060448201526064016106bb565b600c805461ffff191661ffff92909216919091179055565b6001600160a01b038216331415610cf05760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b333214610d9a5760405162461bcd60e51b815260206004820152600c60248201526b6e6f20436f6e74726163742160a01b60448201526064016106bb565b6000610daf6001546000546000199190030190565b60105490915060ff16610dfa5760405162461bcd60e51b815260206004820152601360248201527229b0b6329034b9902737ba1020b1ba34bb329760691b60448201526064016106bb565b600c5461ffff16610e0e60ff841683611a1f565b1115610e535760405162461bcd60e51b81526020600482015260146024820152734d617820537570706c7920536f6c64204f75742160601b60448201526064016106bb565b600e54336000908152600d602052604090205460ff91821691610e7891859116611a37565b60ff161115610ebb5760405162461bcd60e51b815260206004820152600f60248201526e416c7265616479204d696e7465642160881b60448201526064016106bb565b600c5462010000900461ffff168110610f27578160ff16600a54610edf9190611a7e565b3414610f225760405162461bcd60e51b8152602060048201526012602482015271496e73756666696369656e742046756e642160701b60448201526064016106bb565b610f6d565b600b543414610f6d5760405162461bcd60e51b8152602060048201526012602482015271496e73756666696369656e742046756e642160701b60448201526064016106bb565b336000908152600d602052604081208054849290610f8f90849060ff16611a37565b92506101000a81548160ff021916908360ff160217905550610fb4338360ff166112b4565b5050565b610fc061116a565b60005b8251811015610b4257610ff2838281518110610fe157610fe1611b35565b60200260200101518360ff166112b4565b80610ffc81611b04565b915050610fc3565b61100f84848461083f565b6001600160a01b0383163b156110485761102b848484846113ab565b611048576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060611059826111c4565b61107657604051630a14c4b560e41b815260040160405180910390fd5b60006110806114a2565b90508051600014156110a157604051806020016040528060008152506110cc565b806110ab846114b1565b6040516020016110bc92919061195f565b6040516020818303038152906040525b9392505050565b6110db61116a565b6001600160a01b0381166111405760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106bb565b61114981611262565b50565b61115461116a565b600e805460ff191660ff92909216919091179055565b6008546001600160a01b03163314610bc75760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106bb565b6000816001111580156111d8575060005482105b8015610666575050600090815260046020526040902054600160e01b161590565b600081806001116112495760005481101561124957600081815260046020526040902054600160e01b8116611247575b806110cc575060001901600081815260046020526040902054611229565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600054816112d55760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461138457808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a460010161134c565b50816113a257604051622e076360e81b815260040160405180910390fd5b60005550505050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906113e090339089908890889060040161199e565b602060405180830381600087803b1580156113fa57600080fd5b505af192505050801561142a575060408051601f3d908101601f191682019092526114279181019061184c565b60015b611485573d808015611458576040519150601f19603f3d011682016040523d82523d6000602084013e61145d565b606091505b50805161147d576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b6060600f80546106d890611ac9565b604080516080019081905280825b600183039250600a81066030018353600a9004806114dc576114e1565b6114bf565b50819003601f19909101908152919050565b8280546114ff90611ac9565b90600052602060002090601f0160209004810192826115215760008555611567565b82601f1061153a5782800160ff19823516178555611567565b82800160010185558215611567579182015b8281111561156757823582559160200191906001019061154c565b50611573929150611577565b5090565b5b808211156115735760008155600101611578565b80356001600160a01b03811681146115a357600080fd5b919050565b803560ff811681146115a357600080fd5b6000602082840312156115cb57600080fd5b6110cc8261158c565b600080604083850312156115e757600080fd5b6115f08361158c565b91506115fe6020840161158c565b90509250929050565b60008060006060848603121561161c57600080fd5b6116258461158c565b92506116336020850161158c565b9150604084013590509250925092565b6000806000806080858703121561165957600080fd5b6116628561158c565b9350602061167181870161158c565b935060408601359250606086013567ffffffffffffffff8082111561169557600080fd5b818801915088601f8301126116a957600080fd5b8135818111156116bb576116bb611b4b565b6116cd601f8201601f191685016119ee565b915080825289848285010111156116e357600080fd5b808484018584013760008482840101525080935050505092959194509250565b6000806040838503121561171657600080fd5b61171f8361158c565b91506020830135801515811461173457600080fd5b809150509250929050565b6000806040838503121561175257600080fd5b61175b8361158c565b946020939093013593505050565b6000806040838503121561177c57600080fd5b823567ffffffffffffffff8082111561179457600080fd5b818501915085601f8301126117a857600080fd5b81356020828211156117bc576117bc611b4b565b8160051b92506117cd8184016119ee565b8281528181019085830185870184018b10156117e857600080fd5b600096505b84871015611812576117fe8161158c565b8352600196909601959183019183016117ed565b50965061182290508782016115a8565b9450505050509250929050565b60006020828403121561184157600080fd5b81356110cc81611b61565b60006020828403121561185e57600080fd5b81516110cc81611b61565b6000806020838503121561187c57600080fd5b823567ffffffffffffffff8082111561189457600080fd5b818501915085601f8301126118a857600080fd5b8135818111156118b757600080fd5b8660208285010111156118c957600080fd5b60209290920196919550909350505050565b6000602082840312156118ed57600080fd5b813561ffff811681146110cc57600080fd5b60006020828403121561191157600080fd5b5035919050565b60006020828403121561192a57600080fd5b6110cc826115a8565b6000815180845261194b816020860160208601611a9d565b601f01601f19169290920160200192915050565b60008351611971818460208801611a9d565b835190830190611985818360208801611a9d565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906119d190830184611933565b9695505050505050565b6020815260006110cc6020830184611933565b604051601f8201601f1916810167ffffffffffffffff81118282101715611a1757611a17611b4b565b604052919050565b60008219821115611a3257611a32611b1f565b500190565b600060ff821660ff84168060ff03821115611a5457611a54611b1f565b019392505050565b600082611a7957634e487b7160e01b600052601260045260246000fd5b500490565b6000816000190483118215151615611a9857611a98611b1f565b500290565b60005b83811015611ab8578181015183820152602001611aa0565b838111156110485750506000910152565b600181811c90821680611add57607f821691505b60208210811415611afe57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611b1857611b18611b1f565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461114957600080fdfea26469706673582212204ea629099bb52907b5f8f42a82fba91b1e10af123333f3c740f2a84bb2e5f74464736f6c63430008070033

Deployed Bytecode Sourcemap

75518:3296:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40312:639;;;;;;;;;;-1:-1:-1;40312:639:0;;;;;:::i;:::-;;:::i;:::-;;;7508:14:1;;7501:22;7483:41;;7471:2;7456:18;40312:639:0;;;;;;;;76820:188;;;;;;;;;;-1:-1:-1;76820:188:0;;;;;:::i;:::-;;:::i;:::-;;41214:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;47706:218::-;;;;;;;;;;-1:-1:-1;47706:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;6806:32:1;;;6788:51;;6776:2;6761:18;47706:218:0;6642:203:1;47147:400:0;;;;;;;;;;-1:-1:-1;47147:400:0;;;;;:::i;:::-;;:::i;36965:323::-;;;;;;;;;;-1:-1:-1;76803:1:0;37239:12;37026:7;37223:13;:28;-1:-1:-1;;37223:46:0;36965:323;;;11663:25:1;;;11651:2;11636:18;36965:323:0;11517:177:1;75881:30:0;;;;;;;;;;-1:-1:-1;75881:30:0;;;;;;;;;;;11871:4:1;11859:17;;;11841:36;;11829:2;11814:18;75881:30:0;11699:184:1;51413:2817:0;;;;;;;;;;-1:-1:-1;51413:2817:0;;;;;:::i;:::-;;:::i;75710:34::-;;;;;;;;;;;;;;;;78501:310;;;;;;;;;;;;;:::i;54326:185::-;;;;;;;;;;-1:-1:-1;54326:185:0;;;;;:::i;:::-;;:::i;78189:106::-;;;;;;;;;;-1:-1:-1;78189:106:0;;;;;:::i;:::-;;:::i;75661:42::-;;;;;;;;;;;;;;;;42616:152;;;;;;;;;;-1:-1:-1;42616:152:0;;;;;:::i;:::-;;:::i;38149:233::-;;;;;;;;;;-1:-1:-1;38149:233:0;;;;;:::i;:::-;;:::i;74593:103::-;;;;;;;;;;;;;:::i;78402:91::-;;;;;;;;;;;;;:::i;73945:87::-;;;;;;;;;;-1:-1:-1;74018:6:0;;-1:-1:-1;;;;;74018:6:0;73945:87;;76500:203;;;;;;;;;;-1:-1:-1;76500:203:0;;;;;:::i;:::-;;:::i;75787:30::-;;;;;;;;;;-1:-1:-1;75787:30:0;;;;;;;;;;;;;;11498:6:1;11486:19;;;11468:38;;11456:2;11441:18;75787:30:0;11324:188:1;41390:104:0;;;;;;;;;;;;;:::i;76292:200::-;;;;;;;;;;-1:-1:-1;76292:200:0;;;;;:::i;:::-;;:::i;48264:308::-;;;;;;;;;;-1:-1:-1;48264:308:0;;;;;:::i;:::-;;:::i;77219:710::-;;;;;;:::i;:::-;;:::i;77016:195::-;;;;;;;;;;-1:-1:-1;77016:195:0;;;;;:::i;:::-;;:::i;55109:399::-;;;;;;;;;;-1:-1:-1;55109:399:0;;;;;:::i;:::-;;:::i;76012:28::-;;;;;;;;;;-1:-1:-1;76012:28:0;;;;;;;;41600:327;;;;;;;;;;-1:-1:-1;41600:327:0;;;;;:::i;:::-;;:::i;75751:29::-;;;;;;;;;;-1:-1:-1;75751:29:0;;;;;;;;48729:164;;;;;;;;;;-1:-1:-1;48729:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;48850:25:0;;;48826:4;48850:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;48729:164;74851:201;;;;;;;;;;-1:-1:-1;74851:201:0;;;;;:::i;:::-;;:::i;77943:116::-;;;;;;;;;;-1:-1:-1;77943:116:0;;;;;:::i;:::-;;:::i;40312:639::-;40397:4;-1:-1:-1;;;;;;;;;40721:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;40798:25:0;;;40721:102;:179;;;-1:-1:-1;;;;;;;;;;40875:25:0;;;40721:179;40701:199;40312:639;-1:-1:-1;;40312:639:0:o;76820:188::-;73831:13;:11;:13::i;:::-;76920:9:::1;;76904:13;:25;76900:64;;;76931:33;::::0;-1:-1:-1;;;76931:33:0;;10458:2:1;76931:33:0::1;::::0;::::1;10440:21:1::0;10497:2;10477:18;;;10470:30;-1:-1:-1;;;10516:18:1;;;10509:52;10578:18;;76931:33:0::1;;;;;;;;76900:64;76975:9;:25:::0;76820:188::o;41214:100::-;41268:13;41301:5;41294:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41214:100;:::o;47706:218::-;47782:7;47807:16;47815:7;47807;:16::i;:::-;47802:64;;47832:34;;-1:-1:-1;;;47832:34:0;;;;;;;;;;;47802:64;-1:-1:-1;47886:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;47886:30:0;;47706:218::o;47147:400::-;47228:13;47244:16;47252:7;47244;:16::i;:::-;47228:32;-1:-1:-1;71004:10:0;-1:-1:-1;;;;;47277:28:0;;;47273:175;;47325:44;47342:5;71004:10;48729:164;:::i;47325:44::-;47320:128;;47397:35;;-1:-1:-1;;;47397:35:0;;;;;;;;;;;47320:128;47460:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;47460:35:0;-1:-1:-1;;;;;47460:35:0;;;;;;;;;47511:28;;47460:24;;47511:28;;;;;;;47217:330;47147:400;;:::o;51413:2817::-;51547:27;51577;51596:7;51577:18;:27::i;:::-;51547:57;;51662:4;-1:-1:-1;;;;;51621:45:0;51637:19;-1:-1:-1;;;;;51621:45:0;;51617:86;;51675:28;;-1:-1:-1;;;51675:28:0;;;;;;;;;;;51617:86;51717:27;50527:24;;;:15;:24;;;;;50749:26;;71004:10;50152:30;;;-1:-1:-1;;;;;49845:28:0;;50130:20;;;50127:56;51903:180;;51996:43;52013:4;71004:10;48729:164;:::i;51996:43::-;51991:92;;52048:35;;-1:-1:-1;;;52048:35:0;;;;;;;;;;;51991:92;-1:-1:-1;;;;;52100:16:0;;52096:52;;52125:23;;-1:-1:-1;;;52125:23:0;;;;;;;;;;;52096:52;52297:15;52294:160;;;52437:1;52416:19;52409:30;52294:160;-1:-1:-1;;;;;52834:24:0;;;;;;;:18;:24;;;;;;52832:26;;-1:-1:-1;;52832:26:0;;;52903:22;;;;;;;;;52901:24;;-1:-1:-1;52901:24:0;;;46005:11;45980:23;45976:41;45963:63;-1:-1:-1;;;45963:63:0;53196:26;;;;:17;:26;;;;;:175;-1:-1:-1;;;53491:47:0;;53487:627;;53596:1;53586:11;;53564:19;53719:30;;;:17;:30;;;;;;53715:384;;53857:13;;53842:11;:28;53838:242;;54004:30;;;;:17;:30;;;;;:52;;;53838:242;53545:569;53487:627;54161:7;54157:2;-1:-1:-1;;;;;54142:27:0;54151:4;-1:-1:-1;;;;;54142:27:0;;;;;;;;;;;51536:2694;;;51413:2817;;;:::o;78501:310::-;73831:13;:11;:13::i;:::-;8853:1:::1;9451:7;;:19;;9443:63;;;::::0;-1:-1:-1;;;9443:63:0;;10809:2:1;9443:63:0::1;::::0;::::1;10791:21:1::0;10848:2;10828:18;;;10821:30;10887:33;10867:18;;;10860:61;10938:18;;9443:63:0::1;10607:355:1::0;9443:63:0::1;8853:1;9584:7;:18:::0;78565:7:::2;78586:42;78671:3;78642:26;:21;78666:2;78642:26;:::i;:::-;:32;;;;:::i;:::-;78578:101;::::0;::::2;::::0;;;;;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;78564:115;;;78698:2;78690:11;;;::::0;::::2;;78713:7;78734;74018:6:::0;;-1:-1:-1;;;;;74018:6:0;;73945:87;78734:7:::2;-1:-1:-1::0;;;;;78726:21:0::2;78755;78726:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;78712:69;;;78800:2;78792:11;;;::::0;::::2;;-1:-1:-1::0;;8809:1:0::1;9763:7;:22:::0;78501:310::o;54326:185::-;54464:39;54481:4;54487:2;54491:7;54464:39;;;;;;;;;;;;:16;:39::i;:::-;54326:185;;;:::o;78189:106::-;73831:13;:11;:13::i;:::-;78264:23:::1;:13;78280:7:::0;;78264:23:::1;:::i;42616:152::-:0;42688:7;42731:27;42750:7;42731:18;:27::i;38149:233::-;38221:7;-1:-1:-1;;;;;38245:19:0;;38241:60;;38273:28;;-1:-1:-1;;;38273:28:0;;;;;;;;;;;38241:60;-1:-1:-1;;;;;;38319:25:0;;;;;:18;:25;;;;;;32308:13;38319:55;;38149:233::o;74593:103::-;73831:13;:11;:13::i;:::-;74658:30:::1;74685:1;74658:18;:30::i;:::-;74593:103::o:0;78402:91::-;73831:13;:11;:13::i;:::-;78469:16:::1;::::0;;-1:-1:-1;;78449:36:0;::::1;78469:16;::::0;;::::1;78468:17;78449:36;::::0;;78402:91::o;76500:203::-;73831:13;:11;:13::i;:::-;76606:12:::1;;76587:16;:31;76583:70;;;76620:33;::::0;-1:-1:-1;;;76620:33:0;;10458:2:1;76620:33:0::1;::::0;::::1;10440:21:1::0;10497:2;10477:18;;;10470:30;-1:-1:-1;;;10516:18:1;;;10509:52;10578:18;;76620:33:0::1;10256:346:1::0;76583:70:0::1;76664:12;:31:::0;76500:203::o;41390:104::-;41446:13;41479:7;41472:14;;;;;:::i;76292:200::-;73831:13;:11;:13::i;:::-;76394:9:::1;::::0;::::1;::::0;;::::1;76374:29:::0;;::::1;;76370:74;;;76405:39;::::0;-1:-1:-1;;;76405:39:0;;11169:2:1;76405:39:0::1;::::0;::::1;11151:21:1::0;11208:2;11188:18;;;11181:30;11247;11227:18;;;11220:58;11295:18;;76405:39:0::1;10967:352:1::0;76370:74:0::1;76455:9;:29:::0;;-1:-1:-1;;76455:29:0::1;;::::0;;;::::1;::::0;;;::::1;::::0;;76292:200::o;48264:308::-;-1:-1:-1;;;;;48363:31:0;;71004:10;48363:31;48359:61;;;48403:17;;-1:-1:-1;;;48403:17:0;;;;;;;;;;;48359:61;71004:10;48433:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;48433:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;48433:60:0;;;;;;;;;;48509:55;;7483:41:1;;;48433:49:0;;71004:10;48509:55;;7456:18:1;48509:55:0;;;;;;;48264:308;;:::o;77219:710::-;76216:10;76230:9;76216:23;76212:52;;76241:23;;-1:-1:-1;;;76241:23:0;;7961:2:1;76241:23:0;;;7943:21:1;8000:2;7980:18;;;7973:30;-1:-1:-1;;;8019:18:1;;;8012:42;8071:18;;76241:23:0;7759:336:1;76212:52:0;77289:10:::1;77302:13;76803:1:::0;37239:12;37026:7;37223:13;-1:-1:-1;;37223:28:0;;;:46;;36965:323;77302:13:::1;77335:16;::::0;77289:26;;-1:-1:-1;77335:16:0::1;;77330:53;;77353:30;::::0;-1:-1:-1;;;77353:30:0;;9400:2:1;77353:30:0::1;::::0;::::1;9382:21:1::0;9439:2;9419:18;;;9412:30;-1:-1:-1;;;9458:18:1;;;9451:49;9517:18;;77353:30:0::1;9198:343:1::0;77330:53:0::1;77417:9;::::0;::::1;;77402:12;;::::0;::::1;:2:::0;:12:::1;:::i;:::-;:24;77398:61;;;77428:31;::::0;-1:-1:-1;;;77428:31:0;;10109:2:1;77428:31:0::1;::::0;::::1;10091:21:1::0;10148:2;10128:18;;;10121:30;-1:-1:-1;;;10167:18:1;;;10160:50;10227:18;;77428:31:0::1;9907:344:1::0;77398:61:0::1;77510:13;::::0;77486:10:::1;77510:13;77478:19:::0;;;:7:::1;:19;::::0;;;;;77510:13:::1;::::0;;::::1;::::0;77478:29:::1;::::0;77500:7;;77478:19:::1;:29;:::i;:::-;:45;;;77474:94;;;77542:26;::::0;-1:-1:-1;;;77542:26:0;;8709:2:1;77542:26:0::1;::::0;::::1;8691:21:1::0;8748:2;8728:18;;;8721:30;-1:-1:-1;;;8767:18:1;;;8760:45;8822:18;;77542:26:0::1;8507:339:1::0;77474:94:0::1;77597:10;::::0;;;::::1;;;77591:16:::0;::::1;77587:242;;77665:7;77650:22;;:12;;:22;;;;:::i;:::-;77637:9;:35;77633:70;;77674:29;::::0;-1:-1:-1;;;77674:29:0;;9053:2:1;77674:29:0::1;::::0;::::1;9035:21:1::0;9092:2;9072:18;;;9065:30;-1:-1:-1;;;9111:18:1;;;9104:48;9169:18;;77674:29:0::1;8851:342:1::0;77633:70:0::1;77587:242;;;77769:9;;77756;:22;77752:57;;77780:29;::::0;-1:-1:-1;;;77780:29:0;;9053:2:1;77780:29:0::1;::::0;::::1;9035:21:1::0;9092:2;9072:18;;;9065:30;-1:-1:-1;;;9111:18:1;;;9104:48;9169:18;;77780:29:0::1;8851:342:1::0;77752:57:0::1;77853:10;77845:19;::::0;;;:7:::1;:19;::::0;;;;:30;;77868:7;;77845:19;:30:::1;::::0;77868:7;;77845:30:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;77891:26;77897:10;77909:7;77891:26;;:5;:26::i;:::-;77278:651;77219:710:::0;:::o;77016:195::-;73831:13;:11;:13::i;:::-;77111:9:::1;77106:98;77130:7;:14;77126:1;:18;77106:98;;;77166:26;77172:7;77180:1;77172:10;;;;;;;;:::i;:::-;;;;;;;77184:7;77166:26;;:5;:26::i;:::-;77146:3:::0;::::1;::::0;::::1;:::i;:::-;;;;77106:98;;55109:399:::0;55276:31;55289:4;55295:2;55299:7;55276:12;:31::i;:::-;-1:-1:-1;;;;;55322:14:0;;;:19;55318:183;;55361:56;55392:4;55398:2;55402:7;55411:5;55361:30;:56::i;:::-;55356:145;;55445:40;;-1:-1:-1;;;55445:40:0;;;;;;;;;;;55356:145;55109:399;;;;:::o;41600:327::-;41673:13;41704:16;41712:7;41704;:16::i;:::-;41699:59;;41729:29;;-1:-1:-1;;;41729:29:0;;;;;;;;;;;41699:59;41771:21;41795:10;:8;:10::i;:::-;41771:34;;41829:7;41823:21;41848:1;41823:26;;:96;;;;;;;;;;;;;;;;;41876:7;41885:18;41895:7;41885:9;:18::i;:::-;41859:54;;;;;;;;;:::i;:::-;;;;;;;;;;;;;41823:96;41816:103;41600:327;-1:-1:-1;;;41600:327:0:o;74851:201::-;73831:13;:11;:13::i;:::-;-1:-1:-1;;;;;74940:22:0;::::1;74932:73;;;::::0;-1:-1:-1;;;74932:73:0;;8302:2:1;74932:73:0::1;::::0;::::1;8284:21:1::0;8341:2;8321:18;;;8314:30;8380:34;8360:18;;;8353:62;-1:-1:-1;;;8431:18:1;;;8424:36;8477:19;;74932:73:0::1;8100:402:1::0;74932:73:0::1;75016:28;75035:8;75016:18;:28::i;:::-;74851:201:::0;:::o;77943:116::-;73831:13;:11;:13::i;:::-;78021::::1;:30:::0;;-1:-1:-1;;78021:30:0::1;;::::0;;;::::1;::::0;;;::::1;::::0;;77943:116::o;74110:132::-;74018:6;;-1:-1:-1;;;;;74018:6:0;71004:10;74174:23;74166:68;;;;-1:-1:-1;;;74166:68:0;;9748:2:1;74166:68:0;;;9730:21:1;;;9767:18;;;9760:30;9826:34;9806:18;;;9799:62;9878:18;;74166:68:0;9546:356:1;49151:282:0;49216:4;49272:7;76803:1;49253:26;;:66;;;;;49306:13;;49296:7;:23;49253:66;:153;;;;-1:-1:-1;;49357:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;49357:44:0;:49;;49151:282::o;43771:1275::-;43838:7;43873;;76803:1;43922:23;43918:1061;;43975:13;;43968:4;:20;43964:1015;;;44013:14;44030:23;;;:17;:23;;;;;;-1:-1:-1;;;44119:24:0;;44115:845;;44784:113;44791:11;44784:113;;-1:-1:-1;;;44862:6:0;44844:25;;;;:17;:25;;;;;;44784:113;;44115:845;43990:989;43964:1015;45007:31;;-1:-1:-1;;;45007:31:0;;;;;;;;;;;75212:191;75305:6;;;-1:-1:-1;;;;;75322:17:0;;;-1:-1:-1;;;;;;75322:17:0;;;;;;;75355:40;;75305:6;;;75322:17;75305:6;;75355:40;;75286:16;;75355:40;75275:128;75212:191;:::o;58770:2454::-;58843:20;58866:13;58894;58890:44;;58916:18;;-1:-1:-1;;;58916:18:0;;;;;;;;;;;58890:44;-1:-1:-1;;;;;59422:22:0;;;;;;:18;:22;;;;32446:2;59422:22;;;:71;;59460:32;59448:45;;59422:71;;;59736:31;;;:17;:31;;;;;-1:-1:-1;46436:15:0;;46410:24;46406:46;46005:11;45980:23;45976:41;45973:52;45963:63;;59736:173;;59971:23;;;;59736:31;;59422:22;;60470:25;59422:22;;60323:335;60738:1;60724:12;60720:20;60678:346;60779:3;60770:7;60767:16;60678:346;;60997:7;60987:8;60984:1;60957:25;60954:1;60951;60946:59;60832:1;60819:15;60678:346;;;-1:-1:-1;61057:13:0;61053:45;;61079:19;;-1:-1:-1;;;61079:19:0;;;;;;;;;;;61053:45;61115:13;:19;-1:-1:-1;54326:185:0;;;:::o;57592:716::-;57776:88;;-1:-1:-1;;;57776:88:0;;57755:4;;-1:-1:-1;;;;;57776:45:0;;;;;:88;;71004:10;;57843:4;;57849:7;;57858:5;;57776:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;57776:88:0;;;;;;;;-1:-1:-1;;57776:88:0;;;;;;;;;;;;:::i;:::-;;;57772:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;58059:13:0;;58055:235;;58105:40;;-1:-1:-1;;;58105:40:0;;;;;;;;;;;58055:235;58248:6;58242:13;58233:6;58229:2;58225:15;58218:38;57772:529;-1:-1:-1;;;;;;57935:64:0;-1:-1:-1;;;57935:64:0;;-1:-1:-1;57592:716:0;;;;;;:::o;78067:114::-;78127:13;78160;78153:20;;;;;:::i;71124:1581::-;71607:4;71601:11;;71614:4;71597:22;71693:17;;;;71597:22;72051:5;72033:428;72099:1;72094:3;72090:11;72083:18;;72270:2;72264:4;72260:13;72256:2;72252:22;72247:3;72239:36;72364:2;72354:13;;;72421:25;;72439:5;;72421:25;72033:428;;;-1:-1:-1;72491:13:0;;;-1:-1:-1;;72606:14:0;;;72668:19;;;72606:14;71124:1581;-1:-1:-1;71124:1581:0:o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:173:1;82:20;;-1:-1:-1;;;;;131:31:1;;121:42;;111:70;;177:1;174;167:12;111:70;14:173;;;:::o;192:156::-;258:20;;318:4;307:16;;297:27;;287:55;;338:1;335;328:12;353:186;412:6;465:2;453:9;444:7;440:23;436:32;433:52;;;481:1;478;471:12;433:52;504:29;523:9;504:29;:::i;544:260::-;612:6;620;673:2;661:9;652:7;648:23;644:32;641:52;;;689:1;686;679:12;641:52;712:29;731:9;712:29;:::i;:::-;702:39;;760:38;794:2;783:9;779:18;760:38;:::i;:::-;750:48;;544:260;;;;;:::o;809:328::-;886:6;894;902;955:2;943:9;934:7;930:23;926:32;923:52;;;971:1;968;961:12;923:52;994:29;1013:9;994:29;:::i;:::-;984:39;;1042:38;1076:2;1065:9;1061:18;1042:38;:::i;:::-;1032:48;;1127:2;1116:9;1112:18;1099:32;1089:42;;809:328;;;;;:::o;1142:980::-;1237:6;1245;1253;1261;1314:3;1302:9;1293:7;1289:23;1285:33;1282:53;;;1331:1;1328;1321:12;1282:53;1354:29;1373:9;1354:29;:::i;:::-;1344:39;;1402:2;1423:38;1457:2;1446:9;1442:18;1423:38;:::i;:::-;1413:48;;1508:2;1497:9;1493:18;1480:32;1470:42;;1563:2;1552:9;1548:18;1535:32;1586:18;1627:2;1619:6;1616:14;1613:34;;;1643:1;1640;1633:12;1613:34;1681:6;1670:9;1666:22;1656:32;;1726:7;1719:4;1715:2;1711:13;1707:27;1697:55;;1748:1;1745;1738:12;1697:55;1784:2;1771:16;1806:2;1802;1799:10;1796:36;;;1812:18;;:::i;:::-;1854:53;1897:2;1878:13;;-1:-1:-1;;1874:27:1;1870:36;;1854:53;:::i;:::-;1841:66;;1930:2;1923:5;1916:17;1970:7;1965:2;1960;1956;1952:11;1948:20;1945:33;1942:53;;;1991:1;1988;1981:12;1942:53;2046:2;2041;2037;2033:11;2028:2;2021:5;2017:14;2004:45;2090:1;2085:2;2080;2073:5;2069:14;2065:23;2058:34;;2111:5;2101:15;;;;;1142:980;;;;;;;:::o;2127:347::-;2192:6;2200;2253:2;2241:9;2232:7;2228:23;2224:32;2221:52;;;2269:1;2266;2259:12;2221:52;2292:29;2311:9;2292:29;:::i;:::-;2282:39;;2371:2;2360:9;2356:18;2343:32;2418:5;2411:13;2404:21;2397:5;2394:32;2384:60;;2440:1;2437;2430:12;2384:60;2463:5;2453:15;;;2127:347;;;;;:::o;2479:254::-;2547:6;2555;2608:2;2596:9;2587:7;2583:23;2579:32;2576:52;;;2624:1;2621;2614:12;2576:52;2647:29;2666:9;2647:29;:::i;:::-;2637:39;2723:2;2708:18;;;;2695:32;;-1:-1:-1;;;2479:254:1:o;2738:1035::-;2829:6;2837;2890:2;2878:9;2869:7;2865:23;2861:32;2858:52;;;2906:1;2903;2896:12;2858:52;2946:9;2933:23;2975:18;3016:2;3008:6;3005:14;3002:34;;;3032:1;3029;3022:12;3002:34;3070:6;3059:9;3055:22;3045:32;;3115:7;3108:4;3104:2;3100:13;3096:27;3086:55;;3137:1;3134;3127:12;3086:55;3173:2;3160:16;3195:4;3218:2;3214;3211:10;3208:36;;;3224:18;;:::i;:::-;3270:2;3267:1;3263:10;3253:20;;3293:28;3317:2;3313;3309:11;3293:28;:::i;:::-;3355:15;;;3386:12;;;;3418:11;;;3448;;;3444:20;;3441:33;-1:-1:-1;3438:53:1;;;3487:1;3484;3477:12;3438:53;3509:1;3500:10;;3519:169;3533:2;3530:1;3527:9;3519:169;;;3590:23;3609:3;3590:23;:::i;:::-;3578:36;;3551:1;3544:9;;;;;3634:12;;;;3666;;3519:169;;;-1:-1:-1;3707:5:1;-1:-1:-1;3731:36:1;;-1:-1:-1;3748:18:1;;;3731:36;:::i;:::-;3721:46;;;;;;2738:1035;;;;;:::o;3778:245::-;3836:6;3889:2;3877:9;3868:7;3864:23;3860:32;3857:52;;;3905:1;3902;3895:12;3857:52;3944:9;3931:23;3963:30;3987:5;3963:30;:::i;4028:249::-;4097:6;4150:2;4138:9;4129:7;4125:23;4121:32;4118:52;;;4166:1;4163;4156:12;4118:52;4198:9;4192:16;4217:30;4241:5;4217:30;:::i;4282:592::-;4353:6;4361;4414:2;4402:9;4393:7;4389:23;4385:32;4382:52;;;4430:1;4427;4420:12;4382:52;4470:9;4457:23;4499:18;4540:2;4532:6;4529:14;4526:34;;;4556:1;4553;4546:12;4526:34;4594:6;4583:9;4579:22;4569:32;;4639:7;4632:4;4628:2;4624:13;4620:27;4610:55;;4661:1;4658;4651:12;4610:55;4701:2;4688:16;4727:2;4719:6;4716:14;4713:34;;;4743:1;4740;4733:12;4713:34;4788:7;4783:2;4774:6;4770:2;4766:15;4762:24;4759:37;4756:57;;;4809:1;4806;4799:12;4756:57;4840:2;4832:11;;;;;4862:6;;-1:-1:-1;4282:592:1;;-1:-1:-1;;;;4282:592:1:o;4879:272::-;4937:6;4990:2;4978:9;4969:7;4965:23;4961:32;4958:52;;;5006:1;5003;4996:12;4958:52;5045:9;5032:23;5095:6;5088:5;5084:18;5077:5;5074:29;5064:57;;5117:1;5114;5107:12;5156:180;5215:6;5268:2;5256:9;5247:7;5243:23;5239:32;5236:52;;;5284:1;5281;5274:12;5236:52;-1:-1:-1;5307:23:1;;5156:180;-1:-1:-1;5156:180:1:o;5341:182::-;5398:6;5451:2;5439:9;5430:7;5426:23;5422:32;5419:52;;;5467:1;5464;5457:12;5419:52;5490:27;5507:9;5490:27;:::i;5528:257::-;5569:3;5607:5;5601:12;5634:6;5629:3;5622:19;5650:63;5706:6;5699:4;5694:3;5690:14;5683:4;5676:5;5672:16;5650:63;:::i;:::-;5767:2;5746:15;-1:-1:-1;;5742:29:1;5733:39;;;;5774:4;5729:50;;5528:257;-1:-1:-1;;5528:257:1:o;5790:637::-;6070:3;6108:6;6102:13;6124:53;6170:6;6165:3;6158:4;6150:6;6146:17;6124:53;:::i;:::-;6240:13;;6199:16;;;;6262:57;6240:13;6199:16;6296:4;6284:17;;6262:57;:::i;:::-;-1:-1:-1;;;6341:20:1;;6370:22;;;6419:1;6408:13;;5790:637;-1:-1:-1;;;;5790:637:1:o;6850:488::-;-1:-1:-1;;;;;7119:15:1;;;7101:34;;7171:15;;7166:2;7151:18;;7144:43;7218:2;7203:18;;7196:34;;;7266:3;7261:2;7246:18;;7239:31;;;7044:4;;7287:45;;7312:19;;7304:6;7287:45;:::i;:::-;7279:53;6850:488;-1:-1:-1;;;;;;6850:488:1:o;7535:219::-;7684:2;7673:9;7666:21;7647:4;7704:44;7744:2;7733:9;7729:18;7721:6;7704:44;:::i;11888:275::-;11959:2;11953:9;12024:2;12005:13;;-1:-1:-1;;12001:27:1;11989:40;;12059:18;12044:34;;12080:22;;;12041:62;12038:88;;;12106:18;;:::i;:::-;12142:2;12135:22;11888:275;;-1:-1:-1;11888:275:1:o;12168:128::-;12208:3;12239:1;12235:6;12232:1;12229:13;12226:39;;;12245:18;;:::i;:::-;-1:-1:-1;12281:9:1;;12168:128::o;12301:204::-;12339:3;12375:4;12372:1;12368:12;12407:4;12404:1;12400:12;12442:3;12436:4;12432:14;12427:3;12424:23;12421:49;;;12450:18;;:::i;:::-;12486:13;;12301:204;-1:-1:-1;;;12301:204:1:o;12510:217::-;12550:1;12576;12566:132;;12620:10;12615:3;12611:20;12608:1;12601:31;12655:4;12652:1;12645:15;12683:4;12680:1;12673:15;12566:132;-1:-1:-1;12712:9:1;;12510:217::o;12732:168::-;12772:7;12838:1;12834;12830:6;12826:14;12823:1;12820:21;12815:1;12808:9;12801:17;12797:45;12794:71;;;12845:18;;:::i;:::-;-1:-1:-1;12885:9:1;;12732:168::o;12905:258::-;12977:1;12987:113;13001:6;12998:1;12995:13;12987:113;;;13077:11;;;13071:18;13058:11;;;13051:39;13023:2;13016:10;12987:113;;;13118:6;13115:1;13112:13;13109:48;;;-1:-1:-1;;13153:1:1;13135:16;;13128:27;12905:258::o;13168:380::-;13247:1;13243:12;;;;13290;;;13311:61;;13365:4;13357:6;13353:17;13343:27;;13311:61;13418:2;13410:6;13407:14;13387:18;13384:38;13381:161;;;13464:10;13459:3;13455:20;13452:1;13445:31;13499:4;13496:1;13489:15;13527:4;13524:1;13517:15;13381:161;;13168:380;;;:::o;13553:135::-;13592:3;-1:-1:-1;;13613:17:1;;13610:43;;;13633:18;;:::i;:::-;-1:-1:-1;13680:1:1;13669:13;;13553:135::o;13693:127::-;13754:10;13749:3;13745:20;13742:1;13735:31;13785:4;13782:1;13775:15;13809:4;13806:1;13799:15;13825:127;13886:10;13881:3;13877:20;13874:1;13867:31;13917:4;13914:1;13907:15;13941:4;13938:1;13931:15;13957:127;14018:10;14013:3;14009:20;14006:1;13999:31;14049:4;14046:1;14039:15;14073:4;14070:1;14063:15;14089:131;-1:-1:-1;;;;;;14163:32:1;;14153:43;;14143:71;;14210:1;14207;14200:12

Swarm Source

ipfs://4ea629099bb52907b5f8f42a82fba91b1e10af123333f3c740f2a84bb2e5f744
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.