ETH Price: $2,403.30 (-3.17%)
 

Overview

Max Total Supply

3,333 LL

Holders

959

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
dddd8888.eth
Balance
9 LL
0x8887d6eef2befeed989287f968eb124a7c7f0941
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:
Lethal

Compiler Version
v0.8.18+commit.87f61d96

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2023-04-20
*/

// SPDX-License-Identifier: MIT
// File: @openzeppelin/contracts/security/ReentrancyGuard.sol


// OpenZeppelin Contracts (last updated v4.8.0) (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() {
        _nonReentrantBefore();
        _;
        _nonReentrantAfter();
    }

    function _nonReentrantBefore() private {
        // On the first call to nonReentrant, _status will be _NOT_ENTERED
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

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

    function _nonReentrantAfter() private {
        // 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/math/Math.sol


// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            require(denominator > prod1);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


// OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol)

pragma solidity ^0.8.0;


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

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        unchecked {
            uint256 length = Math.log10(value) + 1;
            string memory buffer = new string(length);
            uint256 ptr;
            /// @solidity memory-safe-assembly
            assembly {
                ptr := add(buffer, add(32, length))
            }
            while (true) {
                ptr--;
                /// @solidity memory-safe-assembly
                assembly {
                    mstore8(ptr, byte(mod(value, 10), _SYMBOLS))
                }
                value /= 10;
                if (value == 0) break;
            }
            return buffer;
        }
    }

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

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

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

// 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: @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: operator-filter-registry/src/lib/Constants.sol


pragma solidity ^0.8.13;

address constant CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS = 0x000000000000AAeB6D7670E522A718067333cd4E;
address constant CANONICAL_CORI_SUBSCRIPTION = 0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6;

// File: operator-filter-registry/src/IOperatorFilterRegistry.sol


pragma solidity ^0.8.13;

interface IOperatorFilterRegistry {
    /**
     * @notice Returns true if operator is not filtered for a given token, either by address or codeHash. Also returns
     *         true if supplied registrant address is not registered.
     */
    function isOperatorAllowed(address registrant, address operator) external view returns (bool);

    /**
     * @notice Registers an address with the registry. May be called by address itself or by EIP-173 owner.
     */
    function register(address registrant) external;

    /**
     * @notice Registers an address with the registry and "subscribes" to another address's filtered operators and codeHashes.
     */
    function registerAndSubscribe(address registrant, address subscription) external;

    /**
     * @notice Registers an address with the registry and copies the filtered operators and codeHashes from another
     *         address without subscribing.
     */
    function registerAndCopyEntries(address registrant, address registrantToCopy) external;

    /**
     * @notice Unregisters an address with the registry and removes its subscription. May be called by address itself or by EIP-173 owner.
     *         Note that this does not remove any filtered addresses or codeHashes.
     *         Also note that any subscriptions to this registrant will still be active and follow the existing filtered addresses and codehashes.
     */
    function unregister(address addr) external;

    /**
     * @notice Update an operator address for a registered address - when filtered is true, the operator is filtered.
     */
    function updateOperator(address registrant, address operator, bool filtered) external;

    /**
     * @notice Update multiple operators for a registered address - when filtered is true, the operators will be filtered. Reverts on duplicates.
     */
    function updateOperators(address registrant, address[] calldata operators, bool filtered) external;

    /**
     * @notice Update a codeHash for a registered address - when filtered is true, the codeHash is filtered.
     */
    function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external;

    /**
     * @notice Update multiple codeHashes for a registered address - when filtered is true, the codeHashes will be filtered. Reverts on duplicates.
     */
    function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external;

    /**
     * @notice Subscribe an address to another registrant's filtered operators and codeHashes. Will remove previous
     *         subscription if present.
     *         Note that accounts with subscriptions may go on to subscribe to other accounts - in this case,
     *         subscriptions will not be forwarded. Instead the former subscription's existing entries will still be
     *         used.
     */
    function subscribe(address registrant, address registrantToSubscribe) external;

    /**
     * @notice Unsubscribe an address from its current subscribed registrant, and optionally copy its filtered operators and codeHashes.
     */
    function unsubscribe(address registrant, bool copyExistingEntries) external;

    /**
     * @notice Get the subscription address of a given registrant, if any.
     */
    function subscriptionOf(address addr) external returns (address registrant);

    /**
     * @notice Get the set of addresses subscribed to a given registrant.
     *         Note that order is not guaranteed as updates are made.
     */
    function subscribers(address registrant) external returns (address[] memory);

    /**
     * @notice Get the subscriber at a given index in the set of addresses subscribed to a given registrant.
     *         Note that order is not guaranteed as updates are made.
     */
    function subscriberAt(address registrant, uint256 index) external returns (address);

    /**
     * @notice Copy filtered operators and codeHashes from a different registrantToCopy to addr.
     */
    function copyEntriesOf(address registrant, address registrantToCopy) external;

    /**
     * @notice Returns true if operator is filtered by a given address or its subscription.
     */
    function isOperatorFiltered(address registrant, address operator) external returns (bool);

    /**
     * @notice Returns true if the hash of an address's code is filtered by a given address or its subscription.
     */
    function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool);

    /**
     * @notice Returns true if a codeHash is filtered by a given address or its subscription.
     */
    function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool);

    /**
     * @notice Returns a list of filtered operators for a given address or its subscription.
     */
    function filteredOperators(address addr) external returns (address[] memory);

    /**
     * @notice Returns the set of filtered codeHashes for a given address or its subscription.
     *         Note that order is not guaranteed as updates are made.
     */
    function filteredCodeHashes(address addr) external returns (bytes32[] memory);

    /**
     * @notice Returns the filtered operator at the given index of the set of filtered operators for a given address or
     *         its subscription.
     *         Note that order is not guaranteed as updates are made.
     */
    function filteredOperatorAt(address registrant, uint256 index) external returns (address);

    /**
     * @notice Returns the filtered codeHash at the given index of the list of filtered codeHashes for a given address or
     *         its subscription.
     *         Note that order is not guaranteed as updates are made.
     */
    function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32);

    /**
     * @notice Returns true if an address has registered
     */
    function isRegistered(address addr) external returns (bool);

    /**
     * @dev Convenience method to compute the code hash of an arbitrary contract
     */
    function codeHashOf(address addr) external returns (bytes32);
}

// File: operator-filter-registry/src/OperatorFilterer.sol


pragma solidity ^0.8.13;


/**
 * @title  OperatorFilterer
 * @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another
 *         registrant's entries in the OperatorFilterRegistry.
 * @dev    This smart contract is meant to be inherited by token contracts so they can use the following:
 *         - `onlyAllowedOperator` modifier for `transferFrom` and `safeTransferFrom` methods.
 *         - `onlyAllowedOperatorApproval` modifier for `approve` and `setApprovalForAll` methods.
 *         Please note that if your token contract does not provide an owner with EIP-173, it must provide
 *         administration methods on the contract itself to interact with the registry otherwise the subscription
 *         will be locked to the options set during construction.
 */

abstract contract OperatorFilterer {
    /// @dev Emitted when an operator is not allowed.
    error OperatorNotAllowed(address operator);

    IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY =
        IOperatorFilterRegistry(CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS);

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

    /**
     * @dev A helper function to check if an operator is allowed.
     */
    modifier onlyAllowedOperator(address from) virtual {
        // Allow spending tokens from addresses with balance
        // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred
        // from an EOA.
        if (from != msg.sender) {
            _checkFilterOperator(msg.sender);
        }
        _;
    }

    /**
     * @dev A helper function to check if an operator approval is allowed.
     */
    modifier onlyAllowedOperatorApproval(address operator) virtual {
        _checkFilterOperator(operator);
        _;
    }

    /**
     * @dev A helper function to check if an operator is allowed.
     */
    function _checkFilterOperator(address operator) internal view virtual {
        // Check registry code length to facilitate testing in environments without a deployed registry.
        if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) {
            // under normal circumstances, this function will revert rather than return false, but inheriting contracts
            // may specify their own OperatorFilterRegistry implementations, which may behave differently
            if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), operator)) {
                revert OperatorNotAllowed(operator);
            }
        }
    }
}

// File: operator-filter-registry/src/DefaultOperatorFilterer.sol


pragma solidity ^0.8.13;


/**
 * @title  DefaultOperatorFilterer
 * @notice Inherits from OperatorFilterer and automatically subscribes to the default OpenSea subscription.
 * @dev    Please note that if your token contract does not provide an owner with EIP-173, it must provide
 *         administration methods on the contract itself to interact with the registry otherwise the subscription
 *         will be locked to the options set during construction.
 */

abstract contract DefaultOperatorFilterer is OperatorFilterer {
    /// @dev The constructor that is called when the contract is being deployed.
    constructor() OperatorFilterer(CANONICAL_CORI_SUBSCRIPTION, true) {}
}

// File: erc721a/contracts/IERC721A.sol


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

pragma solidity ^0.8.4;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// File: erc721a/contracts/ERC721A.sol


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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

    /**
     * @dev Returns the starting token ID.
     * To change the starting token ID, please override this function.
     */
    function _startTokenId() internal view virtual returns (uint256) {
        return 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))) : '';
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        return _tokenApprovals[tokenId].value;
    }

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            uint256 toMasked;
            uint256 end = startTokenId + quantity;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        address from = address(uint160(prevOwnershipPacked));

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// File: erc721a/contracts/extensions/IERC721AQueryable.sol


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

pragma solidity ^0.8.4;


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

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

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

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

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

// File: erc721a/contracts/extensions/ERC721AQueryable.sol


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

pragma solidity ^0.8.4;



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

    /**
     * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order.
     * See {ERC721AQueryable-explicitOwnershipOf}
     */
    function explicitOwnershipsOf(uint256[] calldata tokenIds)
        external
        view
        virtual
        override
        returns (TokenOwnership[] memory)
    {
        unchecked {
            uint256 tokenIdsLength = tokenIds.length;
            TokenOwnership[] memory ownerships = new TokenOwnership[](tokenIdsLength);
            for (uint256 i; i != tokenIdsLength; ++i) {
                ownerships[i] = explicitOwnershipOf(tokenIds[i]);
            }
            return ownerships;
        }
    }

    /**
     * @dev Returns an array of token IDs owned by `owner`,
     * in the range [`start`, `stop`)
     * (i.e. `start <= tokenId < stop`).
     *
     * This function allows for tokens to be queried if the collection
     * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}.
     *
     * Requirements:
     *
     * - `start < stop`
     */
    function tokensOfOwnerIn(
        address owner,
        uint256 start,
        uint256 stop
    ) external view virtual override returns (uint256[] memory) {
        unchecked {
            if (start >= stop) revert InvalidQueryRange();
            uint256 tokenIdsIdx;
            uint256 stopLimit = _nextTokenId();
            // Set `start = max(start, _startTokenId())`.
            if (start < _startTokenId()) {
                start = _startTokenId();
            }
            // Set `stop = min(stop, stopLimit)`.
            if (stop > stopLimit) {
                stop = stopLimit;
            }
            uint256 tokenIdsMaxLength = balanceOf(owner);
            // Set `tokenIdsMaxLength = min(balanceOf(owner), stop - start)`,
            // to cater for cases where `balanceOf(owner)` is too big.
            if (start < stop) {
                uint256 rangeLength = stop - start;
                if (rangeLength < tokenIdsMaxLength) {
                    tokenIdsMaxLength = rangeLength;
                }
            } else {
                tokenIdsMaxLength = 0;
            }
            uint256[] memory tokenIds = new uint256[](tokenIdsMaxLength);
            if (tokenIdsMaxLength == 0) {
                return tokenIds;
            }
            // We need to call `explicitOwnershipOf(start)`,
            // because the slot at `start` may not be initialized.
            TokenOwnership memory ownership = explicitOwnershipOf(start);
            address currOwnershipAddr;
            // If the starting slot exists (i.e. not burned), initialize `currOwnershipAddr`.
            // `ownership.address` will not be zero, as `start` is clamped to the valid token ID range.
            if (!ownership.burned) {
                currOwnershipAddr = ownership.addr;
            }
            for (uint256 i = start; i != stop && tokenIdsIdx != tokenIdsMaxLength; ++i) {
                ownership = _ownershipAt(i);
                if (ownership.burned) {
                    continue;
                }
                if (ownership.addr != address(0)) {
                    currOwnershipAddr = ownership.addr;
                }
                if (currOwnershipAddr == owner) {
                    tokenIds[tokenIdsIdx++] = i;
                }
            }
            // Downsize the array to fit.
            assembly {
                mstore(tokenIds, tokenIdsIdx)
            }
            return tokenIds;
        }
    }

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

// File: contracts/Lethal.sol



pragma solidity ^0.8.18;






contract Lethal is
    ERC721AQueryable,
    Ownable,
    DefaultOperatorFilterer,
    ReentrancyGuard
{
    error Paused();
    error NotPublic();
    error WhitelistEnd();
    error NotWhitelisted();
    error InsufficientFunds();
    error ExceedsMaxSupply();
    error ExceedsMaxPerUser();
    using Strings for uint256;

    uint256 public _mintPriceWl = 0.01 ether;
    uint256 public _maxPerUserWl = 2;
    uint256 public _mintPricePublic = 0.02 ether;
    uint256 public _maxPerUserPublic = 3;
    uint256 public _maxSupply = 3333;
    bool public _paused = true;
    bool public whitelistMint = true;
    bool private _revealed;
    bytes32 private _MerkleRoot =
        0x1587fdc0ddc90fe1ffaf4fc40c5d74a93064c69ba00ff461ff6c70d02048fa26;
    string private _notRevealedUri;
    string private baseURI;
    string private _baseExtension = ".json";
    mapping(address => uint256) public _walletMintedCountWl;

    constructor(
        string memory _name,
        string memory _symbol,
        string memory _initBaseURI,
        string memory _initNotRevealedUri
    ) ERC721A(_name, _symbol) {
        setBaseURI(_initBaseURI);
        _notRevealedUri = _initNotRevealedUri;
    }

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

    // public mint
    function mint(uint256 _mintAmount) external payable {
        if (_paused) revert Paused();
        if (totalSupply() + _mintAmount > _maxSupply) revert ExceedsMaxSupply();

        if (msg.sender != owner()) {
            if (whitelistMint) revert NotPublic();

            if (_mintAmount > _maxPerUserPublic) revert ExceedsMaxPerUser();

            if (msg.value < _mintAmount * _mintPricePublic)
                revert InsufficientFunds();
        }

        _mint(msg.sender, _mintAmount);
    }

    // whitelist mint
    function WLmint(bytes32[] calldata proof, uint256 _mintAmount)
        external
        payable
    {
        if (_paused) revert Paused();
        if (totalSupply() + _mintAmount > _maxSupply) revert ExceedsMaxSupply();

        if (!whitelistMint) revert WhitelistEnd();

        uint256 wlMints = _walletMintedCountWl[msg.sender];
        if (_mintAmount + wlMints > _maxPerUserWl) revert ExceedsMaxPerUser();

        if (msg.value < _mintAmount * _mintPriceWl) revert InsufficientFunds();

        if (!MerkleProofLib.verify(proof, _MerkleRoot, _leaf()))
            revert NotWhitelisted();

        _walletMintedCountWl[msg.sender] += _mintAmount;
        _mint(msg.sender, _mintAmount);
    }

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

        if (!_revealed) {
            return _notRevealedUri;
        }

        string memory currentBaseURI = _baseURI();
        return
            bytes(currentBaseURI).length > 0
                ? string(
                    abi.encodePacked(
                        currentBaseURI,
                        tokenId.toString(),
                        _baseExtension
                    )
                )
                : "";
    }

    //GETTERS
    function _leaf() internal view returns (bytes32) {
        return keccak256(abi.encodePacked(msg.sender));
    }

    //only owner
    function setMerkleRoot(bytes32 _NewMerkleRoot) external onlyOwner {
        _MerkleRoot = _NewMerkleRoot;
    }

    function reveal() external onlyOwner {
        _revealed = true;
    }

    function setNotRevealedURI(string memory _notRevealedURI)
        external
        onlyOwner
    {
        _notRevealedUri = _notRevealedURI;
    }

    function setBaseURI(string memory _newBaseURI) public onlyOwner {
        baseURI = _newBaseURI;
    }

    function setBaseExtension(string memory _newBaseExtension)
        external
        onlyOwner
    {
        _baseExtension = _newBaseExtension;
    }

    function pause(bool _state) external onlyOwner {
        _paused = _state;
    }

    function setOnlyWhitelisted(bool _state) external onlyOwner {
        whitelistMint = _state;
    }

    function setMintPriceWl(uint256 _newMintPrice) external onlyOwner {
        _mintPriceWl = _newMintPrice;
    }

    function setMintPricePublic(uint256 _newMintPrice) external onlyOwner {
        _mintPricePublic = _newMintPrice;
    }

    function setMaxPerUserWl(uint256 _newMaxPerUser) external onlyOwner {
        _maxPerUserWl = _newMaxPerUser;
    }

    function setMaxPerUserPublic(uint256 _newMaxPerUser) external onlyOwner {
        _maxPerUserPublic = _newMaxPerUser;
    }

    function setMaxSupply(uint256 _newMaxSupply) external onlyOwner {
        _maxSupply = _newMaxSupply;
    }

    function withdrawAll() external onlyOwner nonReentrant {
        uint256 balance = address(this).balance;

        (bool os, ) = payable(owner()).call{value: balance}("");
        require(os, "Withdrawal failed");
    }

    // OPENSEA OPERATOR OVERRIDES (ROYALTIES)

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

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

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

library MerkleProofLib {
    /// @dev Returns whether `leaf` exists in the Merkle tree with `root`, given `proof`.
    function verify(
        bytes32[] calldata proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool isValid) {
        /// @solidity memory-safe-assembly
        assembly {
            if proof.length {
                // Left shift by 5 is equivalent to multiplying by 0x20.
                let end := add(proof.offset, shl(5, proof.length))
                // Initialize `offset` to the offset of `proof` in the calldata.
                let offset := proof.offset
                // Iterate over proof elements to compute root hash.
                // prettier-ignore
                for {} 1 {} {
                    // Slot of `leaf` in scratch space.
                    // If the condition is true: 0x20, otherwise: 0x00.
                    let scratch := shl(5, gt(leaf, calldataload(offset)))
                    // Store elements to hash contiguously in scratch space.
                    // Scratch space is 64 bytes (0x00 - 0x3f) and both elements are 32 bytes.
                    mstore(scratch, leaf)
                    mstore(xor(scratch, 0x20), calldataload(offset))
                    // Reuse `leaf` to store the hash to reduce stack operations.
                    leaf := keccak256(0x00, 0x40)
                    offset := add(offset, 0x20)
                    // prettier-ignore
                    if iszero(lt(offset, end)) { break }
                }
            }
            isValid := eq(leaf, root)
        }
    }

    /// @dev Returns whether all `leafs` exist in the Merkle tree with `root`,
    /// given `proof` and `flags`.
    function verifyMultiProof(
        bytes32[] calldata proof,
        bytes32 root,
        bytes32[] calldata leafs,
        bool[] calldata flags
    ) internal pure returns (bool isValid) {
        // Rebuilds the root by consuming and producing values on a queue.
        // The queue starts with the `leafs` array, and goes into a `hashes` array.
        // After the process, the last element on the queue is verified
        // to be equal to the `root`.
        //
        // The `flags` array denotes whether the sibling
        // should be popped from the queue (`flag == true`), or
        // should be popped from the `proof` (`flag == false`).
        /// @solidity memory-safe-assembly
        assembly {
            // If the number of flags is correct.
            // prettier-ignore
            for {} eq(add(leafs.length, proof.length), add(flags.length, 1)) {} {

                // For the case where `proof.length + leafs.length == 1`.
                if iszero(flags.length) {
                    // `isValid = (proof.length == 1 ? proof[0] : leafs[0]) == root`.
                    isValid := eq(
                        calldataload(
                            xor(leafs.offset, mul(xor(proof.offset, leafs.offset), proof.length))
                        ),
                        root
                    )
                    break
                }

                // We can use the free memory space for the queue.
                // We don't need to allocate, since the queue is temporary.
                let hashesFront := mload(0x40)
                // Copy the leafs into the hashes.
                // Sometimes, a little memory expansion costs less than branching.
                // Should cost less, even with a high free memory offset of 0x7d00.
                // Left shift by 5 is equivalent to multiplying by 0x20.
                calldatacopy(hashesFront, leafs.offset, shl(5, leafs.length))
                // Compute the back of the hashes.
                let hashesBack := add(hashesFront, shl(5, leafs.length))
                // This is the end of the memory for the queue.
                // We recycle `flags.length` to save on stack variables
                // (this trick may not always save gas).
                flags.length := add(hashesBack, shl(5, flags.length))

                // We don't need to make a copy of `proof.offset` or `flags.offset`,
                // as they are pass-by-value (this trick may not always save gas).

                // prettier-ignore
                for {} 1 {} {
                    // Pop from `hashes`.
                    let a := mload(hashesFront)
                    // Pop from `hashes`.
                    let b := mload(add(hashesFront, 0x20))
                    hashesFront := add(hashesFront, 0x40)

                    // If the flag is false, load the next proof,
                    // else, pops from the queue.
                    if iszero(calldataload(flags.offset)) {
                        // Loads the next proof.
                        b := calldataload(proof.offset)
                        proof.offset := add(proof.offset, 0x20)
                        // Unpop from `hashes`.
                        hashesFront := sub(hashesFront, 0x20)
                    }
                    
                    // Advance to the next flag offset.
                    flags.offset := add(flags.offset, 0x20)

                    // Slot of `a` in scratch space.
                    // If the condition is true: 0x20, otherwise: 0x00.
                    let scratch := shl(5, gt(a, b))
                    // Hash the scratch space and push the result onto the queue.
                    mstore(scratch, a)
                    mstore(xor(scratch, 0x20), b)
                    mstore(hashesBack, keccak256(0x00, 0x40))
                    hashesBack := add(hashesBack, 0x20)
                    // prettier-ignore
                    if iszero(lt(hashesBack, flags.length)) { break }
                }
                // Checks if the last value in the queue is same as the root.
                isValid := eq(mload(sub(hashesBack, 0x20)), root)
                break
            }
        }
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"string","name":"_initBaseURI","type":"string"},{"internalType":"string","name":"_initNotRevealedUri","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"ExceedsMaxPerUser","type":"error"},{"inputs":[],"name":"ExceedsMaxSupply","type":"error"},{"inputs":[],"name":"InsufficientFunds","type":"error"},{"inputs":[],"name":"InvalidQueryRange","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"NotPublic","type":"error"},{"inputs":[],"name":"NotWhitelisted","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"Paused","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"},{"inputs":[],"name":"WhitelistEnd","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"},{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"WLmint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"_maxPerUserPublic","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxPerUserWl","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_mintPricePublic","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_mintPriceWl","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_walletMintedCountWl","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"explicitOwnershipOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"explicitOwnershipsOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"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":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","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":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reveal","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":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseExtension","type":"string"}],"name":"setBaseExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMaxPerUser","type":"uint256"}],"name":"setMaxPerUserPublic","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMaxPerUser","type":"uint256"}],"name":"setMaxPerUserWl","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMaxSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_NewMerkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMintPrice","type":"uint256"}],"name":"setMintPricePublic","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMintPrice","type":"uint256"}],"name":"setMintPriceWl","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_notRevealedURI","type":"string"}],"name":"setNotRevealedURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setOnlyWhitelisted","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"start","type":"uint256"},{"internalType":"uint256","name":"stop","type":"uint256"}],"name":"tokensOfOwnerIn","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"whitelistMint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]

662386f26fc10000600a556002600b5566470de4df820000600c556003600d55610d05600e55600f805461ffff19166101011790557f1587fdc0ddc90fe1ffaf4fc40c5d74a93064c69ba00ff461ff6c70d02048fa2660105560c06040526005608090815264173539b7b760d91b60a0526013906200007f9082620003dd565b503480156200008d57600080fd5b5060405162002bce38038062002bce833981016040819052620000b09162000558565b733cc6cdda760b79bafa08df41ecfa224f810dceb6600185856002620000d78382620003dd565b506003620000e68282620003dd565b5050600160005550620000f93362000269565b6daaeb6d7670e522a718067333cd4e3b156200023e5780156200018c57604051633e9f1edf60e11b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e90637d3e3dbe906044015b600060405180830381600087803b1580156200016d57600080fd5b505af115801562000182573d6000803e3d6000fd5b505050506200023e565b6001600160a01b03821615620001dd5760405163a0af290360e01b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e9063a0af29039060440162000152565b604051632210724360e11b81523060048201526daaeb6d7670e522a718067333cd4e90634420e48690602401600060405180830381600087803b1580156200022457600080fd5b505af115801562000239573d6000803e3d6000fd5b505050505b505060016009556200025082620002bb565b60116200025e8282620003dd565b505050505062000611565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b620002c5620002d7565b6012620002d38282620003dd565b5050565b6008546001600160a01b03163314620003365760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200036357607f821691505b6020821081036200038457634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620003d857600081815260208120601f850160051c81016020861015620003b35750805b601f850160051c820191505b81811015620003d457828155600101620003bf565b5050505b505050565b81516001600160401b03811115620003f957620003f962000338565b62000411816200040a84546200034e565b846200038a565b602080601f831160018114620004495760008415620004305750858301515b600019600386901b1c1916600185901b178555620003d4565b600085815260208120601f198616915b828110156200047a5788860151825594840194600190910190840162000459565b5085821015620004995787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600082601f830112620004bb57600080fd5b81516001600160401b0380821115620004d857620004d862000338565b604051601f8301601f19908116603f0116810190828211818310171562000503576200050362000338565b816040528381526020925086838588010111156200052057600080fd5b600091505b8382101562000544578582018301518183018401529082019062000525565b600093810190920192909252949350505050565b600080600080608085870312156200056f57600080fd5b84516001600160401b03808211156200058757600080fd5b6200059588838901620004a9565b95506020870151915080821115620005ac57600080fd5b620005ba88838901620004a9565b94506040870151915080821115620005d157600080fd5b620005df88838901620004a9565b93506060870151915080821115620005f657600080fd5b506200060587828801620004a9565b91505092959194509250565b6125ad80620006216000396000f3fe6080604052600436106102725760003560e01c80636f8b44b01161014f578063a0712d68116100c1578063c9321e871161007a578063c9321e871461071a578063da3ef23f14610730578063e2920f4714610750578063e985e9c514610770578063f2c4ce1e146107b9578063f2fde38b146107d957600080fd5b8063a0712d6814610672578063a22cb46514610685578063a475b5dd146106a5578063b88d4fde146106ba578063c23dc68f146106cd578063c87b56dd146106fa57600080fd5b8063804f43cd11610113578063804f43cd146105be5780638462151c146105dd578063853828b61461060a5780638da5cb5b1461061f57806395d89b411461063d57806399a2557a1461065257600080fd5b80636f8b44b01461051c57806370a082311461053c578063715018a61461055c57806378331876146105715780637cb647591461059e57600080fd5b80632847ae82116101e85780634904dba4116101ac5780634904dba41461047057806355f804b3146104865780635b3e803d146104a65780635bbb2177146104bc5780636352211e146104e95780636d08c3ae1461050957600080fd5b80632847ae82146103e55780633c952764146103fb57806341f434341461041b57806342842e0e1461043d578063446ff4be1461045057600080fd5b8063095ea7b31161023a578063095ea7b314610348578063153bca181461035b57806316c61ccc1461037b57806318160ddd1461039557806322f4596f146103bc57806323b872dd146103d257600080fd5b806301ffc9a71461027757806302329a29146102ac578063060bbf98146102ce57806306fdde03146102ee578063081812fc14610310575b600080fd5b34801561028357600080fd5b50610297610292366004611de4565b6107f9565b60405190151581526020015b60405180910390f35b3480156102b857600080fd5b506102cc6102c7366004611e0f565b61084b565b005b3480156102da57600080fd5b506102cc6102e9366004611e2c565b610866565b3480156102fa57600080fd5b50610303610873565b6040516102a39190611e95565b34801561031c57600080fd5b5061033061032b366004611e2c565b610905565b6040516001600160a01b0390911681526020016102a3565b6102cc610356366004611ec4565b610949565b34801561036757600080fd5b506102cc610376366004611e2c565b6109e9565b34801561038757600080fd5b50600f546102979060ff1681565b3480156103a157600080fd5b5060015460005403600019015b6040519081526020016102a3565b3480156103c857600080fd5b506103ae600e5481565b6102cc6103e0366004611eee565b6109f6565b3480156103f157600080fd5b506103ae600c5481565b34801561040757600080fd5b506102cc610416366004611e0f565b610a21565b34801561042757600080fd5b506103306daaeb6d7670e522a718067333cd4e81565b6102cc61044b366004611eee565b610a43565b34801561045c57600080fd5b506102cc61046b366004611e2c565b610a68565b34801561047c57600080fd5b506103ae600d5481565b34801561049257600080fd5b506102cc6104a1366004611fb5565b610a75565b3480156104b257600080fd5b506103ae600b5481565b3480156104c857600080fd5b506104dc6104d7366004612048565b610a8d565b6040516102a391906120c5565b3480156104f557600080fd5b50610330610504366004611e2c565b610b58565b6102cc610517366004612107565b610b63565b34801561052857600080fd5b506102cc610537366004611e2c565b610cea565b34801561054857600080fd5b506103ae610557366004612152565b610cf7565b34801561056857600080fd5b506102cc610d45565b34801561057d57600080fd5b506103ae61058c366004612152565b60146020526000908152604090205481565b3480156105aa57600080fd5b506102cc6105b9366004611e2c565b610d59565b3480156105ca57600080fd5b50600f5461029790610100900460ff1681565b3480156105e957600080fd5b506105fd6105f8366004612152565b610d66565b6040516102a3919061216d565b34801561061657600080fd5b506102cc610e6e565b34801561062b57600080fd5b506008546001600160a01b0316610330565b34801561064957600080fd5b50610303610f38565b34801561065e57600080fd5b506105fd61066d3660046121a5565b610f47565b6102cc610680366004611e2c565b6110ce565b34801561069157600080fd5b506102cc6106a03660046121d8565b6111c4565b3480156106b157600080fd5b506102cc611230565b6102cc6106c836600461220f565b61124b565b3480156106d957600080fd5b506106ed6106e8366004611e2c565b611278565b6040516102a3919061228a565b34801561070657600080fd5b50610303610715366004611e2c565b611300565b34801561072657600080fd5b506103ae600a5481565b34801561073c57600080fd5b506102cc61074b366004611fb5565b61146f565b34801561075c57600080fd5b506102cc61076b366004611e2c565b611483565b34801561077c57600080fd5b5061029761078b366004612298565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156107c557600080fd5b506102cc6107d4366004611fb5565b611490565b3480156107e557600080fd5b506102cc6107f4366004612152565b6114a4565b60006301ffc9a760e01b6001600160e01b03198316148061082a57506380ac58cd60e01b6001600160e01b03198316145b806108455750635b5e139f60e01b6001600160e01b03198316145b92915050565b61085361151a565b600f805460ff1916911515919091179055565b61086e61151a565b600a55565b606060028054610882906122cb565b80601f01602080910402602001604051908101604052809291908181526020018280546108ae906122cb565b80156108fb5780601f106108d0576101008083540402835291602001916108fb565b820191906000526020600020905b8154815290600101906020018083116108de57829003601f168201915b5050505050905090565b600061091082611574565b61092d576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061095482610b58565b9050336001600160a01b0382161461098d57610970813361078b565b61098d576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6109f161151a565b600b55565b826001600160a01b0381163314610a1057610a10336115a9565b610a1b848484611662565b50505050565b610a2961151a565b600f80549115156101000261ff0019909216919091179055565b826001600160a01b0381163314610a5d57610a5d336115a9565b610a1b8484846117fb565b610a7061151a565b600c55565b610a7d61151a565b6012610a89828261234b565b5050565b6060816000816001600160401b03811115610aaa57610aaa611f2a565b604051908082528060200260200182016040528015610afc57816020015b604080516080810182526000808252602080830182905292820181905260608201528252600019909201910181610ac85790505b50905060005b828114610b4f57610b2a868683818110610b1e57610b1e61240a565b90506020020135611278565b828281518110610b3c57610b3c61240a565b6020908102919091010152600101610b02565b50949350505050565b60006108458261181b565b600f5460ff1615610b87576040516313d0ff5960e31b815260040160405180910390fd5b600e546001546000548391900360001901610ba29190612436565b1115610bc15760405163c30436e960e01b815260040160405180910390fd5b600f54610100900460ff16610be95760405163b1db24c760e01b815260040160405180910390fd5b33600090815260146020526040902054600b54610c068284612436565b1115610c25576040516340aadc2b60e01b815260040160405180910390fd5b600a54610c329083612449565b341015610c525760405163356680b760e01b815260040160405180910390fd5b610c9e8484601054610c996040516bffffffffffffffffffffffff193360601b16602082015260009060340160405160208183030381529060405280519060200120905090565b61188a565b610cbb57604051630b094f2760e31b815260040160405180910390fd5b3360009081526014602052604081208054849290610cda908490612436565b90915550610a1b905033836118c4565b610cf261151a565b600e55565b60006001600160a01b038216610d20576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b610d4d61151a565b610d5760006119c2565b565b610d6161151a565b601055565b60606000806000610d7685610cf7565b90506000816001600160401b03811115610d9257610d92611f2a565b604051908082528060200260200182016040528015610dbb578160200160208202803683370190505b509050610de860408051608081018252600080825260208201819052918101829052606081019190915290565b60015b838614610e6257610dfb81611a14565b91508160400151610e5a5781516001600160a01b031615610e1b57815194505b876001600160a01b0316856001600160a01b031603610e5a5780838780600101985081518110610e4d57610e4d61240a565b6020026020010181815250505b600101610deb565b50909695505050505050565b610e7661151a565b610e7e611a50565b476000610e936008546001600160a01b031690565b6001600160a01b03168260405160006040518083038185875af1925050503d8060008114610edd576040519150601f19603f3d011682016040523d82523d6000602084013e610ee2565b606091505b5050905080610f2c5760405162461bcd60e51b815260206004820152601160248201527015da5d1a191c985dd85b0819985a5b1959607a1b60448201526064015b60405180910390fd5b5050610d576001600955565b606060038054610882906122cb565b6060818310610f6957604051631960ccad60e11b815260040160405180910390fd5b600080610f7560005490565b90506001851015610f8557600194505b80841115610f91578093505b6000610f9c87610cf7565b905084861015610fbb5785850381811015610fb5578091505b50610fbf565b5060005b6000816001600160401b03811115610fd957610fd9611f2a565b604051908082528060200260200182016040528015611002578160200160208202803683370190505b509050816000036110185793506110c792505050565b600061102388611278565b905060008160400151611034575080515b885b8881141580156110465750848714155b156110bb5761105481611a14565b925082604001516110b35782516001600160a01b03161561107457825191505b8a6001600160a01b0316826001600160a01b0316036110b357808488806001019950815181106110a6576110a661240a565b6020026020010181815250505b600101611036565b50505092835250909150505b9392505050565b600f5460ff16156110f2576040516313d0ff5960e31b815260040160405180910390fd5b600e54600154600054839190036000190161110d9190612436565b111561112c5760405163c30436e960e01b815260040160405180910390fd5b6008546001600160a01b031633146111b757600f54610100900460ff161561116757604051637002ac7160e11b815260040160405180910390fd5b600d5481111561118a576040516340aadc2b60e01b815260040160405180910390fd5b600c546111979082612449565b3410156111b75760405163356680b760e01b815260040160405180910390fd5b6111c133826118c4565b50565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61123861151a565b600f805462ff0000191662010000179055565b836001600160a01b038116331461126557611265336115a9565b61127185858585611aa9565b5050505050565b60408051608081018252600080825260208201819052918101829052606081019190915260408051608081018252600080825260208201819052918101829052606081019190915260018310806112d157506000548310155b156112dc5792915050565b6112e583611a14565b90508060400151156112f75792915050565b6110c783611aed565b606061130b82611574565b61136f5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610f23565b600f5462010000900460ff16611411576011805461138c906122cb565b80601f01602080910402602001604051908101604052809291908181526020018280546113b8906122cb565b80156114055780601f106113da57610100808354040283529160200191611405565b820191906000526020600020905b8154815290600101906020018083116113e857829003601f168201915b50505050509050919050565b600061141b611b22565b9050600081511161143b57604051806020016040528060008152506110c7565b8061144584611b31565b601360405160200161145993929190612460565b6040516020818303038152906040529392505050565b61147761151a565b6013610a89828261234b565b61148b61151a565b600d55565b61149861151a565b6011610a89828261234b565b6114ac61151a565b6001600160a01b0381166115115760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610f23565b6111c1816119c2565b6008546001600160a01b03163314610d575760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610f23565b600081600111158015611588575060005482105b8015610845575050600090815260046020526040902054600160e01b161590565b6daaeb6d7670e522a718067333cd4e3b156111c157604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015611616573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061163a9190612500565b6111c157604051633b79c77360e21b81526001600160a01b0382166004820152602401610f23565b600061166d8261181b565b9050836001600160a01b0316816001600160a01b0316146116a05760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b038816909114176116ed576116d0863361078b565b6116ed57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661171457604051633a954ecd60e21b815260040160405180910390fd5b801561171f57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b841690036117b1576001840160008181526004602052604081205490036117af5760005481146117af5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b6118168383836040518060200160405280600081525061124b565b505050565b60008180600111611871576000548110156118715760008181526004602052604081205490600160e01b8216900361186f575b806000036110c757506000190160008181526004602052604090205461184e565b505b604051636f96cda160e11b815260040160405180910390fd5b600083156118bc578360051b8501855b803580851160051b9485526020948518526040600020930181811061189a5750505b501492915050565b60008054908290036118e95760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461199857808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611960565b50816000036119b957604051622e076360e81b815260040160405180910390fd5b60005550505050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60408051608081018252600080825260208201819052918101829052606081019190915260008281526004602052604090205461084590611bc3565b600260095403611aa25760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610f23565b6002600955565b611ab48484846109f6565b6001600160a01b0383163b15610a1b57611ad084848484611c0a565b610a1b576040516368d2bf6b60e11b815260040160405180910390fd5b604080516080810182526000808252602082018190529181018290526060810191909152610845611b1d8361181b565b611bc3565b606060128054610882906122cb565b60606000611b3e83611cf6565b60010190506000816001600160401b03811115611b5d57611b5d611f2a565b6040519080825280601f01601f191660200182016040528015611b87576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a8504945084611b9157509392505050565b604080516080810182526001600160a01b038316815260a083901c6001600160401b03166020820152600160e01b831615159181019190915260e89190911c606082015290565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611c3f90339089908890889060040161251d565b6020604051808303816000875af1925050508015611c7a575060408051601f3d908101601f19168201909252611c779181019061255a565b60015b611cd8573d808015611ca8576040519150601f19603f3d011682016040523d82523d6000602084013e611cad565b606091505b508051600003611cd0576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310611d355772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611d61576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310611d7f57662386f26fc10000830492506010015b6305f5e1008310611d97576305f5e100830492506008015b6127108310611dab57612710830492506004015b60648310611dbd576064830492506002015b600a83106108455760010192915050565b6001600160e01b0319811681146111c157600080fd5b600060208284031215611df657600080fd5b81356110c781611dce565b80151581146111c157600080fd5b600060208284031215611e2157600080fd5b81356110c781611e01565b600060208284031215611e3e57600080fd5b5035919050565b60005b83811015611e60578181015183820152602001611e48565b50506000910152565b60008151808452611e81816020860160208601611e45565b601f01601f19169290920160200192915050565b6020815260006110c76020830184611e69565b80356001600160a01b0381168114611ebf57600080fd5b919050565b60008060408385031215611ed757600080fd5b611ee083611ea8565b946020939093013593505050565b600080600060608486031215611f0357600080fd5b611f0c84611ea8565b9250611f1a60208501611ea8565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b60006001600160401b0380841115611f5a57611f5a611f2a565b604051601f8501601f19908116603f01168101908282118183101715611f8257611f82611f2a565b81604052809350858152868686011115611f9b57600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611fc757600080fd5b81356001600160401b03811115611fdd57600080fd5b8201601f81018413611fee57600080fd5b611cee84823560208401611f40565b60008083601f84011261200f57600080fd5b5081356001600160401b0381111561202657600080fd5b6020830191508360208260051b850101111561204157600080fd5b9250929050565b6000806020838503121561205b57600080fd5b82356001600160401b0381111561207157600080fd5b61207d85828601611ffd565b90969095509350505050565b80516001600160a01b031682526020808201516001600160401b03169083015260408082015115159083015260609081015162ffffff16910152565b6020808252825182820181905260009190848201906040850190845b81811015610e62576120f4838551612089565b92840192608092909201916001016120e1565b60008060006040848603121561211c57600080fd5b83356001600160401b0381111561213257600080fd5b61213e86828701611ffd565b909790965060209590950135949350505050565b60006020828403121561216457600080fd5b6110c782611ea8565b6020808252825182820181905260009190848201906040850190845b81811015610e6257835183529284019291840191600101612189565b6000806000606084860312156121ba57600080fd5b6121c384611ea8565b95602085013595506040909401359392505050565b600080604083850312156121eb57600080fd5b6121f483611ea8565b9150602083013561220481611e01565b809150509250929050565b6000806000806080858703121561222557600080fd5b61222e85611ea8565b935061223c60208601611ea8565b92506040850135915060608501356001600160401b0381111561225e57600080fd5b8501601f8101871361226f57600080fd5b61227e87823560208401611f40565b91505092959194509250565b608081016108458284612089565b600080604083850312156122ab57600080fd5b6122b483611ea8565b91506122c260208401611ea8565b90509250929050565b600181811c908216806122df57607f821691505b6020821081036122ff57634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561181657600081815260208120601f850160051c8101602086101561232c5750805b601f850160051c820191505b818110156117f357828155600101612338565b81516001600160401b0381111561236457612364611f2a565b6123788161237284546122cb565b84612305565b602080601f8311600181146123ad57600084156123955750858301515b600019600386901b1c1916600185901b1785556117f3565b600085815260208120601f198616915b828110156123dc578886015182559484019460019091019084016123bd565b50858210156123fa5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b8082018082111561084557610845612420565b808202811582820484141761084557610845612420565b6000845160206124738285838a01611e45565b8551918401916124868184848a01611e45565b8554920191600090612497816122cb565b600182811680156124af57600181146124c4576124f0565b60ff19841687528215158302870194506124f0565b896000528560002060005b848110156124e8578154898201529083019087016124cf565b505082870194505b50929a9950505050505050505050565b60006020828403121561251257600080fd5b81516110c781611e01565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061255090830184611e69565b9695505050505050565b60006020828403121561256c57600080fd5b81516110c781611dce56fea2646970667358221220df6ec5d469327c97471484d7f46387923a81e766820927feed9787967b6062e264736f6c63430008120033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000000d4c657468616c204c697a6172640000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000024c4c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041697066733a2f2f516d634b4346427977504a7057636b7658566a4c7752583974705376594d4d68656f48393637396375515156714b2f68696464656e2e6a736f6e00000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106102725760003560e01c80636f8b44b01161014f578063a0712d68116100c1578063c9321e871161007a578063c9321e871461071a578063da3ef23f14610730578063e2920f4714610750578063e985e9c514610770578063f2c4ce1e146107b9578063f2fde38b146107d957600080fd5b8063a0712d6814610672578063a22cb46514610685578063a475b5dd146106a5578063b88d4fde146106ba578063c23dc68f146106cd578063c87b56dd146106fa57600080fd5b8063804f43cd11610113578063804f43cd146105be5780638462151c146105dd578063853828b61461060a5780638da5cb5b1461061f57806395d89b411461063d57806399a2557a1461065257600080fd5b80636f8b44b01461051c57806370a082311461053c578063715018a61461055c57806378331876146105715780637cb647591461059e57600080fd5b80632847ae82116101e85780634904dba4116101ac5780634904dba41461047057806355f804b3146104865780635b3e803d146104a65780635bbb2177146104bc5780636352211e146104e95780636d08c3ae1461050957600080fd5b80632847ae82146103e55780633c952764146103fb57806341f434341461041b57806342842e0e1461043d578063446ff4be1461045057600080fd5b8063095ea7b31161023a578063095ea7b314610348578063153bca181461035b57806316c61ccc1461037b57806318160ddd1461039557806322f4596f146103bc57806323b872dd146103d257600080fd5b806301ffc9a71461027757806302329a29146102ac578063060bbf98146102ce57806306fdde03146102ee578063081812fc14610310575b600080fd5b34801561028357600080fd5b50610297610292366004611de4565b6107f9565b60405190151581526020015b60405180910390f35b3480156102b857600080fd5b506102cc6102c7366004611e0f565b61084b565b005b3480156102da57600080fd5b506102cc6102e9366004611e2c565b610866565b3480156102fa57600080fd5b50610303610873565b6040516102a39190611e95565b34801561031c57600080fd5b5061033061032b366004611e2c565b610905565b6040516001600160a01b0390911681526020016102a3565b6102cc610356366004611ec4565b610949565b34801561036757600080fd5b506102cc610376366004611e2c565b6109e9565b34801561038757600080fd5b50600f546102979060ff1681565b3480156103a157600080fd5b5060015460005403600019015b6040519081526020016102a3565b3480156103c857600080fd5b506103ae600e5481565b6102cc6103e0366004611eee565b6109f6565b3480156103f157600080fd5b506103ae600c5481565b34801561040757600080fd5b506102cc610416366004611e0f565b610a21565b34801561042757600080fd5b506103306daaeb6d7670e522a718067333cd4e81565b6102cc61044b366004611eee565b610a43565b34801561045c57600080fd5b506102cc61046b366004611e2c565b610a68565b34801561047c57600080fd5b506103ae600d5481565b34801561049257600080fd5b506102cc6104a1366004611fb5565b610a75565b3480156104b257600080fd5b506103ae600b5481565b3480156104c857600080fd5b506104dc6104d7366004612048565b610a8d565b6040516102a391906120c5565b3480156104f557600080fd5b50610330610504366004611e2c565b610b58565b6102cc610517366004612107565b610b63565b34801561052857600080fd5b506102cc610537366004611e2c565b610cea565b34801561054857600080fd5b506103ae610557366004612152565b610cf7565b34801561056857600080fd5b506102cc610d45565b34801561057d57600080fd5b506103ae61058c366004612152565b60146020526000908152604090205481565b3480156105aa57600080fd5b506102cc6105b9366004611e2c565b610d59565b3480156105ca57600080fd5b50600f5461029790610100900460ff1681565b3480156105e957600080fd5b506105fd6105f8366004612152565b610d66565b6040516102a3919061216d565b34801561061657600080fd5b506102cc610e6e565b34801561062b57600080fd5b506008546001600160a01b0316610330565b34801561064957600080fd5b50610303610f38565b34801561065e57600080fd5b506105fd61066d3660046121a5565b610f47565b6102cc610680366004611e2c565b6110ce565b34801561069157600080fd5b506102cc6106a03660046121d8565b6111c4565b3480156106b157600080fd5b506102cc611230565b6102cc6106c836600461220f565b61124b565b3480156106d957600080fd5b506106ed6106e8366004611e2c565b611278565b6040516102a3919061228a565b34801561070657600080fd5b50610303610715366004611e2c565b611300565b34801561072657600080fd5b506103ae600a5481565b34801561073c57600080fd5b506102cc61074b366004611fb5565b61146f565b34801561075c57600080fd5b506102cc61076b366004611e2c565b611483565b34801561077c57600080fd5b5061029761078b366004612298565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156107c557600080fd5b506102cc6107d4366004611fb5565b611490565b3480156107e557600080fd5b506102cc6107f4366004612152565b6114a4565b60006301ffc9a760e01b6001600160e01b03198316148061082a57506380ac58cd60e01b6001600160e01b03198316145b806108455750635b5e139f60e01b6001600160e01b03198316145b92915050565b61085361151a565b600f805460ff1916911515919091179055565b61086e61151a565b600a55565b606060028054610882906122cb565b80601f01602080910402602001604051908101604052809291908181526020018280546108ae906122cb565b80156108fb5780601f106108d0576101008083540402835291602001916108fb565b820191906000526020600020905b8154815290600101906020018083116108de57829003601f168201915b5050505050905090565b600061091082611574565b61092d576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061095482610b58565b9050336001600160a01b0382161461098d57610970813361078b565b61098d576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6109f161151a565b600b55565b826001600160a01b0381163314610a1057610a10336115a9565b610a1b848484611662565b50505050565b610a2961151a565b600f80549115156101000261ff0019909216919091179055565b826001600160a01b0381163314610a5d57610a5d336115a9565b610a1b8484846117fb565b610a7061151a565b600c55565b610a7d61151a565b6012610a89828261234b565b5050565b6060816000816001600160401b03811115610aaa57610aaa611f2a565b604051908082528060200260200182016040528015610afc57816020015b604080516080810182526000808252602080830182905292820181905260608201528252600019909201910181610ac85790505b50905060005b828114610b4f57610b2a868683818110610b1e57610b1e61240a565b90506020020135611278565b828281518110610b3c57610b3c61240a565b6020908102919091010152600101610b02565b50949350505050565b60006108458261181b565b600f5460ff1615610b87576040516313d0ff5960e31b815260040160405180910390fd5b600e546001546000548391900360001901610ba29190612436565b1115610bc15760405163c30436e960e01b815260040160405180910390fd5b600f54610100900460ff16610be95760405163b1db24c760e01b815260040160405180910390fd5b33600090815260146020526040902054600b54610c068284612436565b1115610c25576040516340aadc2b60e01b815260040160405180910390fd5b600a54610c329083612449565b341015610c525760405163356680b760e01b815260040160405180910390fd5b610c9e8484601054610c996040516bffffffffffffffffffffffff193360601b16602082015260009060340160405160208183030381529060405280519060200120905090565b61188a565b610cbb57604051630b094f2760e31b815260040160405180910390fd5b3360009081526014602052604081208054849290610cda908490612436565b90915550610a1b905033836118c4565b610cf261151a565b600e55565b60006001600160a01b038216610d20576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b610d4d61151a565b610d5760006119c2565b565b610d6161151a565b601055565b60606000806000610d7685610cf7565b90506000816001600160401b03811115610d9257610d92611f2a565b604051908082528060200260200182016040528015610dbb578160200160208202803683370190505b509050610de860408051608081018252600080825260208201819052918101829052606081019190915290565b60015b838614610e6257610dfb81611a14565b91508160400151610e5a5781516001600160a01b031615610e1b57815194505b876001600160a01b0316856001600160a01b031603610e5a5780838780600101985081518110610e4d57610e4d61240a565b6020026020010181815250505b600101610deb565b50909695505050505050565b610e7661151a565b610e7e611a50565b476000610e936008546001600160a01b031690565b6001600160a01b03168260405160006040518083038185875af1925050503d8060008114610edd576040519150601f19603f3d011682016040523d82523d6000602084013e610ee2565b606091505b5050905080610f2c5760405162461bcd60e51b815260206004820152601160248201527015da5d1a191c985dd85b0819985a5b1959607a1b60448201526064015b60405180910390fd5b5050610d576001600955565b606060038054610882906122cb565b6060818310610f6957604051631960ccad60e11b815260040160405180910390fd5b600080610f7560005490565b90506001851015610f8557600194505b80841115610f91578093505b6000610f9c87610cf7565b905084861015610fbb5785850381811015610fb5578091505b50610fbf565b5060005b6000816001600160401b03811115610fd957610fd9611f2a565b604051908082528060200260200182016040528015611002578160200160208202803683370190505b509050816000036110185793506110c792505050565b600061102388611278565b905060008160400151611034575080515b885b8881141580156110465750848714155b156110bb5761105481611a14565b925082604001516110b35782516001600160a01b03161561107457825191505b8a6001600160a01b0316826001600160a01b0316036110b357808488806001019950815181106110a6576110a661240a565b6020026020010181815250505b600101611036565b50505092835250909150505b9392505050565b600f5460ff16156110f2576040516313d0ff5960e31b815260040160405180910390fd5b600e54600154600054839190036000190161110d9190612436565b111561112c5760405163c30436e960e01b815260040160405180910390fd5b6008546001600160a01b031633146111b757600f54610100900460ff161561116757604051637002ac7160e11b815260040160405180910390fd5b600d5481111561118a576040516340aadc2b60e01b815260040160405180910390fd5b600c546111979082612449565b3410156111b75760405163356680b760e01b815260040160405180910390fd5b6111c133826118c4565b50565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61123861151a565b600f805462ff0000191662010000179055565b836001600160a01b038116331461126557611265336115a9565b61127185858585611aa9565b5050505050565b60408051608081018252600080825260208201819052918101829052606081019190915260408051608081018252600080825260208201819052918101829052606081019190915260018310806112d157506000548310155b156112dc5792915050565b6112e583611a14565b90508060400151156112f75792915050565b6110c783611aed565b606061130b82611574565b61136f5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610f23565b600f5462010000900460ff16611411576011805461138c906122cb565b80601f01602080910402602001604051908101604052809291908181526020018280546113b8906122cb565b80156114055780601f106113da57610100808354040283529160200191611405565b820191906000526020600020905b8154815290600101906020018083116113e857829003601f168201915b50505050509050919050565b600061141b611b22565b9050600081511161143b57604051806020016040528060008152506110c7565b8061144584611b31565b601360405160200161145993929190612460565b6040516020818303038152906040529392505050565b61147761151a565b6013610a89828261234b565b61148b61151a565b600d55565b61149861151a565b6011610a89828261234b565b6114ac61151a565b6001600160a01b0381166115115760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610f23565b6111c1816119c2565b6008546001600160a01b03163314610d575760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610f23565b600081600111158015611588575060005482105b8015610845575050600090815260046020526040902054600160e01b161590565b6daaeb6d7670e522a718067333cd4e3b156111c157604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015611616573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061163a9190612500565b6111c157604051633b79c77360e21b81526001600160a01b0382166004820152602401610f23565b600061166d8261181b565b9050836001600160a01b0316816001600160a01b0316146116a05760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b038816909114176116ed576116d0863361078b565b6116ed57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661171457604051633a954ecd60e21b815260040160405180910390fd5b801561171f57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b841690036117b1576001840160008181526004602052604081205490036117af5760005481146117af5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b6118168383836040518060200160405280600081525061124b565b505050565b60008180600111611871576000548110156118715760008181526004602052604081205490600160e01b8216900361186f575b806000036110c757506000190160008181526004602052604090205461184e565b505b604051636f96cda160e11b815260040160405180910390fd5b600083156118bc578360051b8501855b803580851160051b9485526020948518526040600020930181811061189a5750505b501492915050565b60008054908290036118e95760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461199857808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611960565b50816000036119b957604051622e076360e81b815260040160405180910390fd5b60005550505050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60408051608081018252600080825260208201819052918101829052606081019190915260008281526004602052604090205461084590611bc3565b600260095403611aa25760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610f23565b6002600955565b611ab48484846109f6565b6001600160a01b0383163b15610a1b57611ad084848484611c0a565b610a1b576040516368d2bf6b60e11b815260040160405180910390fd5b604080516080810182526000808252602082018190529181018290526060810191909152610845611b1d8361181b565b611bc3565b606060128054610882906122cb565b60606000611b3e83611cf6565b60010190506000816001600160401b03811115611b5d57611b5d611f2a565b6040519080825280601f01601f191660200182016040528015611b87576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a8504945084611b9157509392505050565b604080516080810182526001600160a01b038316815260a083901c6001600160401b03166020820152600160e01b831615159181019190915260e89190911c606082015290565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611c3f90339089908890889060040161251d565b6020604051808303816000875af1925050508015611c7a575060408051601f3d908101601f19168201909252611c779181019061255a565b60015b611cd8573d808015611ca8576040519150601f19603f3d011682016040523d82523d6000602084013e611cad565b606091505b508051600003611cd0576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310611d355772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611d61576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310611d7f57662386f26fc10000830492506010015b6305f5e1008310611d97576305f5e100830492506008015b6127108310611dab57612710830492506004015b60648310611dbd576064830492506002015b600a83106108455760010192915050565b6001600160e01b0319811681146111c157600080fd5b600060208284031215611df657600080fd5b81356110c781611dce565b80151581146111c157600080fd5b600060208284031215611e2157600080fd5b81356110c781611e01565b600060208284031215611e3e57600080fd5b5035919050565b60005b83811015611e60578181015183820152602001611e48565b50506000910152565b60008151808452611e81816020860160208601611e45565b601f01601f19169290920160200192915050565b6020815260006110c76020830184611e69565b80356001600160a01b0381168114611ebf57600080fd5b919050565b60008060408385031215611ed757600080fd5b611ee083611ea8565b946020939093013593505050565b600080600060608486031215611f0357600080fd5b611f0c84611ea8565b9250611f1a60208501611ea8565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b60006001600160401b0380841115611f5a57611f5a611f2a565b604051601f8501601f19908116603f01168101908282118183101715611f8257611f82611f2a565b81604052809350858152868686011115611f9b57600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611fc757600080fd5b81356001600160401b03811115611fdd57600080fd5b8201601f81018413611fee57600080fd5b611cee84823560208401611f40565b60008083601f84011261200f57600080fd5b5081356001600160401b0381111561202657600080fd5b6020830191508360208260051b850101111561204157600080fd5b9250929050565b6000806020838503121561205b57600080fd5b82356001600160401b0381111561207157600080fd5b61207d85828601611ffd565b90969095509350505050565b80516001600160a01b031682526020808201516001600160401b03169083015260408082015115159083015260609081015162ffffff16910152565b6020808252825182820181905260009190848201906040850190845b81811015610e62576120f4838551612089565b92840192608092909201916001016120e1565b60008060006040848603121561211c57600080fd5b83356001600160401b0381111561213257600080fd5b61213e86828701611ffd565b909790965060209590950135949350505050565b60006020828403121561216457600080fd5b6110c782611ea8565b6020808252825182820181905260009190848201906040850190845b81811015610e6257835183529284019291840191600101612189565b6000806000606084860312156121ba57600080fd5b6121c384611ea8565b95602085013595506040909401359392505050565b600080604083850312156121eb57600080fd5b6121f483611ea8565b9150602083013561220481611e01565b809150509250929050565b6000806000806080858703121561222557600080fd5b61222e85611ea8565b935061223c60208601611ea8565b92506040850135915060608501356001600160401b0381111561225e57600080fd5b8501601f8101871361226f57600080fd5b61227e87823560208401611f40565b91505092959194509250565b608081016108458284612089565b600080604083850312156122ab57600080fd5b6122b483611ea8565b91506122c260208401611ea8565b90509250929050565b600181811c908216806122df57607f821691505b6020821081036122ff57634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561181657600081815260208120601f850160051c8101602086101561232c5750805b601f850160051c820191505b818110156117f357828155600101612338565b81516001600160401b0381111561236457612364611f2a565b6123788161237284546122cb565b84612305565b602080601f8311600181146123ad57600084156123955750858301515b600019600386901b1c1916600185901b1785556117f3565b600085815260208120601f198616915b828110156123dc578886015182559484019460019091019084016123bd565b50858210156123fa5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b8082018082111561084557610845612420565b808202811582820484141761084557610845612420565b6000845160206124738285838a01611e45565b8551918401916124868184848a01611e45565b8554920191600090612497816122cb565b600182811680156124af57600181146124c4576124f0565b60ff19841687528215158302870194506124f0565b896000528560002060005b848110156124e8578154898201529083019087016124cf565b505082870194505b50929a9950505050505050505050565b60006020828403121561251257600080fd5b81516110c781611e01565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061255090830184611e69565b9695505050505050565b60006020828403121561256c57600080fd5b81516110c781611dce56fea2646970667358221220df6ec5d469327c97471484d7f46387923a81e766820927feed9787967b6062e264736f6c63430008120033

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

000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000000d4c657468616c204c697a6172640000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000024c4c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041697066733a2f2f516d634b4346427977504a7057636b7658566a4c7752583974705376594d4d68656f48393637396375515156714b2f68696464656e2e6a736f6e00000000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _name (string): Lethal Lizard
Arg [1] : _symbol (string): LL
Arg [2] : _initBaseURI (string):
Arg [3] : _initNotRevealedUri (string): ipfs://QmcKCFBywPJpWckvXVjLwRX9tpSvYMMheoH9679cuQQVqK/hidden.json

-----Encoded View---------------
13 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [4] : 000000000000000000000000000000000000000000000000000000000000000d
Arg [5] : 4c657468616c204c697a61726400000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [7] : 4c4c000000000000000000000000000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000041
Arg [10] : 697066733a2f2f516d634b4346427977504a7057636b7658566a4c7752583974
Arg [11] : 705376594d4d68656f48393637396375515156714b2f68696464656e2e6a736f
Arg [12] : 6e00000000000000000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

93344:6047:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51263:639;;;;;;;;;;-1:-1:-1;51263:639:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;51263:639:0;;;;;;;;97545:82;;;;;;;;;;-1:-1:-1;97545:82:0;;;;;:::i;:::-;;:::i;:::-;;97744:113;;;;;;;;;;-1:-1:-1;97744:113:0;;;;;:::i;:::-;;:::i;52165:100::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;58656:218::-;;;;;;;;;;-1:-1:-1;58656:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;2066:32:1;;;2048:51;;2036:2;2021:18;58656:218:0;1902:203:1;58089:408:0;;;;;;:::i;:::-;;:::i;97994:117::-;;;;;;;;;;-1:-1:-1;97994:117:0;;;;;:::i;:::-;;:::i;93908:26::-;;;;;;;;;;-1:-1:-1;93908:26:0;;;;;;;;47916:323;;;;;;;;;;-1:-1:-1;47515:1:0;48190:12;47977:7;48174:13;:28;-1:-1:-1;;48174:46:0;47916:323;;;2693:25:1;;;2681:2;2666:18;47916:323:0;2547:177:1;93869:32:0;;;;;;;;;;;;;;;;98650:224;;;;;;:::i;:::-;;:::i;93775:44::-;;;;;;;;;;;;;;;;97635:101;;;;;;;;;;-1:-1:-1;97635:101:0;;;;;:::i;:::-;;:::i;29506:143::-;;;;;;;;;;;;21922:42;29506:143;;98882:232;;;;;;:::i;:::-;;:::i;97865:121::-;;;;;;;;;;-1:-1:-1;97865:121:0;;;;;:::i;:::-;;:::i;93826:36::-;;;;;;;;;;;;;;;;97271:104;;;;;;;;;;-1:-1:-1;97271:104:0;;;;;:::i;:::-;;:::i;93736:32::-;;;;;;;;;;;;;;;;88486:528;;;;;;;;;;-1:-1:-1;88486:528:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;53558:152::-;;;;;;;;;;-1:-1:-1;53558:152:0;;;;;:::i;:::-;;:::i;95281:719::-;;;;;;:::i;:::-;;:::i;98252:109::-;;;;;;;;;;-1:-1:-1;98252:109:0;;;;;:::i;:::-;;:::i;49100:233::-;;;;;;;;;;-1:-1:-1;49100:233:0;;;;;:::i;:::-;;:::i;20954:103::-;;;;;;;;;;;;;:::i;94233:55::-;;;;;;;;;;-1:-1:-1;94233:55:0;;;;;:::i;:::-;;;;;;;;;;;;;;96910:113;;;;;;;;;;-1:-1:-1;96910:113:0;;;;;:::i;:::-;;:::i;93941:32::-;;;;;;;;;;-1:-1:-1;93941:32:0;;;;;;;;;;;92362:900;;;;;;;;;;-1:-1:-1;92362:900:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;98369:224::-;;;;;;;;;;;;;:::i;20306:87::-;;;;;;;;;;-1:-1:-1;20379:6:0;;-1:-1:-1;;;;;20379:6:0;20306:87;;52341:104;;;;;;;;;;;;;:::i;89402:2513::-;;;;;;;;;;-1:-1:-1;89402:2513:0;;;;;:::i;:::-;;:::i;94735:515::-;;;;;;:::i;:::-;;:::i;59214:234::-;;;;;;;;;;-1:-1:-1;59214:234:0;;;;;:::i;:::-;;:::i;97031:72::-;;;;;;;;;;;;;:::i;99122:266::-;;;;;;:::i;:::-;;:::i;87899:428::-;;;;;;;;;;-1:-1:-1;87899:428:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;96008:739::-;;;;;;;;;;-1:-1:-1;96008:739:0;;;;;:::i;:::-;;:::i;93689:40::-;;;;;;;;;;;;;;;;97383:154;;;;;;;;;;-1:-1:-1;97383:154:0;;;;;:::i;:::-;;:::i;98119:125::-;;;;;;;;;;-1:-1:-1;98119:125:0;;;;;:::i;:::-;;:::i;59605:164::-;;;;;;;;;;-1:-1:-1;59605:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;59726:25:0;;;59702:4;59726:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;59605:164;97111:152;;;;;;;;;;-1:-1:-1;97111:152:0;;;;;:::i;:::-;;:::i;21212:201::-;;;;;;;;;;-1:-1:-1;21212:201:0;;;;;:::i;:::-;;:::i;51263:639::-;51348:4;-1:-1:-1;;;;;;;;;51672:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;51749:25:0;;;51672:102;:179;;;-1:-1:-1;;;;;;;;;;51826:25:0;;;51672:179;51652:199;51263:639;-1:-1:-1;;51263:639:0:o;97545:82::-;20192:13;:11;:13::i;:::-;97603:7:::1;:16:::0;;-1:-1:-1;;97603:16:0::1;::::0;::::1;;::::0;;;::::1;::::0;;97545:82::o;97744:113::-;20192:13;:11;:13::i;:::-;97821:12:::1;:28:::0;97744:113::o;52165:100::-;52219:13;52252:5;52245:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52165:100;:::o;58656:218::-;58732:7;58757:16;58765:7;58757;:16::i;:::-;58752:64;;58782:34;;-1:-1:-1;;;58782:34:0;;;;;;;;;;;58752:64;-1:-1:-1;58836:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;58836:30:0;;58656:218::o;58089:408::-;58178:13;58194:16;58202:7;58194;:16::i;:::-;58178:32;-1:-1:-1;82422:10:0;-1:-1:-1;;;;;58227:28:0;;;58223:175;;58275:44;58292:5;82422:10;59605:164;:::i;58275:44::-;58270:128;;58347:35;;-1:-1:-1;;;58347:35:0;;;;;;;;;;;58270:128;58410:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;58410:35:0;-1:-1:-1;;;;;58410:35:0;;;;;;;;;58461:28;;58410:24;;58461:28;;;;;;;58167:330;58089:408;;:::o;97994:117::-;20192:13;:11;:13::i;:::-;98073::::1;:30:::0;97994:117::o;98650:224::-;98812:4;-1:-1:-1;;;;;31014:18:0;;31022:10;31014:18;31010:83;;31049:32;31070:10;31049:20;:32::i;:::-;98829:37:::1;98848:4;98854:2;98858:7;98829:18;:37::i;:::-;98650:224:::0;;;;:::o;97635:101::-;20192:13;:11;:13::i;:::-;97706::::1;:22:::0;;;::::1;;;;-1:-1:-1::0;;97706:22:0;;::::1;::::0;;;::::1;::::0;;97635:101::o;98882:232::-;99048:4;-1:-1:-1;;;;;31014:18:0;;31022:10;31014:18;31010:83;;31049:32;31070:10;31049:20;:32::i;:::-;99065:41:::1;99088:4;99094:2;99098:7;99065:22;:41::i;97865:121::-:0;20192:13;:11;:13::i;:::-;97946:16:::1;:32:::0;97865:121::o;97271:104::-;20192:13;:11;:13::i;:::-;97346:7:::1;:21;97356:11:::0;97346:7;:21:::1;:::i;:::-;;97271:104:::0;:::o;88486:528::-;88630:23;88721:8;88696:22;88721:8;-1:-1:-1;;;;;88788:36:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;88788:36:0;;-1:-1:-1;;88788:36:0;;;;;;;;;;;;88751:73;;88844:9;88839:125;88860:14;88855:1;:19;88839:125;;88916:32;88936:8;;88945:1;88936:11;;;;;;;:::i;:::-;;;;;;;88916:19;:32::i;:::-;88900:10;88911:1;88900:13;;;;;;;;:::i;:::-;;;;;;;;;;:48;88876:3;;88839:125;;;-1:-1:-1;88985:10:0;88486:528;-1:-1:-1;;;;88486:528:0:o;53558:152::-;53630:7;53673:27;53692:7;53673:18;:27::i;95281:719::-;95399:7;;;;95395:28;;;95415:8;;-1:-1:-1;;;95415:8:0;;;;;;;;;;;95395:28;95468:10;;47515:1;48190:12;47977:7;48174:13;95454:11;;48174:28;;-1:-1:-1;;48174:46:0;95438:27;;;;:::i;:::-;:40;95434:71;;;95487:18;;-1:-1:-1;;;95487:18:0;;;;;;;;;;;95434:71;95523:13;;;;;;;95518:41;;95545:14;;-1:-1:-1;;;95545:14:0;;;;;;;;;;;95518:41;95611:10;95572:15;95590:32;;;:20;:32;;;;;;95661:13;;95637:21;95590:32;95637:11;:21;:::i;:::-;:37;95633:69;;;95683:19;;-1:-1:-1;;;95683:19:0;;;;;;;;;;;95633:69;95745:12;;95731:26;;:11;:26;:::i;:::-;95719:9;:38;95715:70;;;95766:19;;-1:-1:-1;;;95766:19:0;;;;;;;;;;;95715:70;95803:50;95825:5;;95832:11;;95845:7;96847:28;;-1:-1:-1;;96864:10:0;16669:2:1;16665:15;16661:53;96847:28:0;;;16649:66:1;96810:7:0;;16731:12:1;;96847:28:0;;;;;;;;;;;;96837:39;;;;;;96830:46;;96770:114;;95845:7;95803:21;:50::i;:::-;95798:93;;95875:16;;-1:-1:-1;;;95875:16:0;;;;;;;;;;;95798:93;95925:10;95904:32;;;;:20;:32;;;;;:47;;95940:11;;95904:32;:47;;95940:11;;95904:47;:::i;:::-;;;;-1:-1:-1;95962:30:0;;-1:-1:-1;95968:10:0;95980:11;95962:5;:30::i;98252:109::-;20192:13;:11;:13::i;:::-;98327:10:::1;:26:::0;98252:109::o;49100:233::-;49172:7;-1:-1:-1;;;;;49196:19:0;;49192:60;;49224:28;;-1:-1:-1;;;49224:28:0;;;;;;;;;;;49192:60;-1:-1:-1;;;;;;49270:25:0;;;;;:18;:25;;;;;;-1:-1:-1;;;;;49270:55:0;;49100:233::o;20954:103::-;20192:13;:11;:13::i;:::-;21019:30:::1;21046:1;21019:18;:30::i;:::-;20954:103::o:0;96910:113::-;20192:13;:11;:13::i;:::-;96987:11:::1;:28:::0;96910:113::o;92362:900::-;92440:16;92494:19;92528:25;92568:22;92593:16;92603:5;92593:9;:16::i;:::-;92568:41;;92624:25;92666:14;-1:-1:-1;;;;;92652:29:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;92652:29:0;;92624:57;;92696:31;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;92696:31:0;47515:1;92742:472;92791:14;92776:11;:29;92742:472;;92843:15;92856:1;92843:12;:15::i;:::-;92831:27;;92881:9;:16;;;92922:8;92877:73;92972:14;;-1:-1:-1;;;;;92972:28:0;;92968:111;;93045:14;;;-1:-1:-1;92968:111:0;93122:5;-1:-1:-1;;;;;93101:26:0;:17;-1:-1:-1;;;;;93101:26:0;;93097:102;;93178:1;93152:8;93161:13;;;;;;93152:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;93097:102;92807:3;;92742:472;;;-1:-1:-1;93235:8:0;;92362:900;-1:-1:-1;;;;;;92362:900:0:o;98369:224::-;20192:13;:11;:13::i;:::-;2378:21:::1;:19;:21::i;:::-;98453::::2;98435:15;98509:7;20379:6:::0;;-1:-1:-1;;;;;20379:6:0;;20306:87;98509:7:::2;-1:-1:-1::0;;;;;98501:21:0::2;98530:7;98501:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;98487:55;;;98561:2;98553:32;;;::::0;-1:-1:-1;;;98553:32:0;;13372:2:1;98553:32:0::2;::::0;::::2;13354:21:1::0;13411:2;13391:18;;;13384:30;-1:-1:-1;;;13430:18:1;;;13423:47;13487:18;;98553:32:0::2;;;;;;;;;98424:169;;2422:20:::1;1816:1:::0;2942:7;:22;2759:213;52341:104;52397:13;52430:7;52423:14;;;;;:::i;89402:2513::-;89545:16;89612:4;89603:5;:13;89599:45;;89625:19;;-1:-1:-1;;;89625:19:0;;;;;;;;;;;89599:45;89659:19;89693:17;89713:14;47658:7;47685:13;;47603:103;89713:14;89693:34;-1:-1:-1;47515:1:0;89805:5;:23;89801:87;;;47515:1;89849:23;;89801:87;89964:9;89957:4;:16;89953:73;;;90001:9;89994:16;;89953:73;90040:25;90068:16;90078:5;90068:9;:16::i;:::-;90040:44;;90262:4;90254:5;:12;90250:278;;;90309:12;;;90344:31;;;90340:111;;;90420:11;90400:31;;90340:111;90268:198;90250:278;;;-1:-1:-1;90511:1:0;90250:278;90542:25;90584:17;-1:-1:-1;;;;;90570:32:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;90570:32:0;;90542:60;;90621:17;90642:1;90621:22;90617:78;;90671:8;-1:-1:-1;90664:15:0;;-1:-1:-1;;;90664:15:0;90617:78;90839:31;90873:26;90893:5;90873:19;:26::i;:::-;90839:60;;90914:25;91159:9;:16;;;91154:92;;-1:-1:-1;91216:14:0;;91154:92;91277:5;91260:478;91289:4;91284:1;:9;;:45;;;;;91312:17;91297:11;:32;;91284:45;91260:478;;;91367:15;91380:1;91367:12;:15::i;:::-;91355:27;;91405:9;:16;;;91446:8;91401:73;91496:14;;-1:-1:-1;;;;;91496:28:0;;91492:111;;91569:14;;;-1:-1:-1;91492:111:0;91646:5;-1:-1:-1;;;;;91625:26:0;:17;-1:-1:-1;;;;;91625:26:0;;91621:102;;91702:1;91676:8;91685:13;;;;;;91676:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;91621:102;91331:3;;91260:478;;;-1:-1:-1;;;91823:29:0;;;-1:-1:-1;91830:8:0;;-1:-1:-1;;89402:2513:0;;;;;;:::o;94735:515::-;94802:7;;;;94798:28;;;94818:8;;-1:-1:-1;;;94818:8:0;;;;;;;;;;;94798:28;94871:10;;47515:1;48190:12;47977:7;48174:13;94857:11;;48174:28;;-1:-1:-1;;48174:46:0;94841:27;;;;:::i;:::-;:40;94837:71;;;94890:18;;-1:-1:-1;;;94890:18:0;;;;;;;;;;;94837:71;20379:6;;-1:-1:-1;;;;;20379:6:0;94925:10;:21;94921:279;;94967:13;;;;;;;94963:37;;;94989:11;;-1:-1:-1;;;94989:11:0;;;;;;;;;;;94963:37;95035:17;;95021:11;:31;95017:63;;;95061:19;;-1:-1:-1;;;95061:19:0;;;;;;;;;;;95017:63;95127:16;;95113:30;;:11;:30;:::i;:::-;95101:9;:42;95097:91;;;95169:19;;-1:-1:-1;;;95169:19:0;;;;;;;;;;;95097:91;95212:30;95218:10;95230:11;95212:5;:30::i;:::-;94735:515;:::o;59214:234::-;82422:10;59309:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;59309:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;59309:60:0;;;;;;;;;;59385:55;;540:41:1;;;59309:49:0;;82422:10;59385:55;;513:18:1;59385:55:0;;;;;;;59214:234;;:::o;97031:72::-;20192:13;:11;:13::i;:::-;97079:9:::1;:16:::0;;-1:-1:-1;;97079:16:0::1;::::0;::::1;::::0;;97031:72::o;99122:266::-;99316:4;-1:-1:-1;;;;;31014:18:0;;31022:10;31014:18;31010:83;;31049:32;31070:10;31049:20;:32::i;:::-;99333:47:::1;99356:4;99362:2;99366:7;99375:4;99333:22;:47::i;:::-;99122:266:::0;;;;;:::o;87899:428::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47515:1:0;88063:7;:25;:54;;;-1:-1:-1;47658:7:0;47685:13;88092:7;:25;;88063:54;88059:103;;;88141:9;87899:428;-1:-1:-1;;87899:428:0:o;88059:103::-;88184:21;88197:7;88184:12;:21::i;:::-;88172:33;;88220:9;:16;;;88216:65;;;88260:9;87899:428;-1:-1:-1;;87899:428:0:o;88216:65::-;88298:21;88311:7;88298:12;:21::i;96008:739::-;96145:13;96198:16;96206:7;96198;:16::i;:::-;96176:113;;;;-1:-1:-1;;;96176:113:0;;13718:2:1;96176:113:0;;;13700:21:1;13757:2;13737:18;;;13730:30;13796:34;13776:18;;;13769:62;-1:-1:-1;;;13847:18:1;;;13840:45;13902:19;;96176:113:0;13516:411:1;96176:113:0;96307:9;;;;;;;96302:65;;96340:15;96333:22;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;96008:739;;;:::o;96302:65::-;96379:28;96410:10;:8;:10::i;:::-;96379:41;;96482:1;96457:14;96451:28;:32;:288;;;;;;;;;;;;;;;;;96575:14;96616:18;:7;:16;:18::i;:::-;96661:14;96532:166;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;96431:308;96008:739;-1:-1:-1;;;96008:739:0:o;97383:154::-;20192:13;:11;:13::i;:::-;97495:14:::1;:34;97512:17:::0;97495:14;:34:::1;:::i;98119:125::-:0;20192:13;:11;:13::i;:::-;98202:17:::1;:34:::0;98119:125::o;97111:152::-;20192:13;:11;:13::i;:::-;97222:15:::1;:33;97240:15:::0;97222;:33:::1;:::i;21212:201::-:0;20192:13;:11;:13::i;:::-;-1:-1:-1;;;;;21301:22:0;::::1;21293:73;;;::::0;-1:-1:-1;;;21293:73:0;;15395:2:1;21293:73:0::1;::::0;::::1;15377:21:1::0;15434:2;15414:18;;;15407:30;15473:34;15453:18;;;15446:62;-1:-1:-1;;;15524:18:1;;;15517:36;15570:19;;21293:73:0::1;15193:402:1::0;21293:73:0::1;21377:28;21396:8;21377:18;:28::i;20471:132::-:0;20379:6;;-1:-1:-1;;;;;20379:6:0;82422:10;20535:23;20527:68;;;;-1:-1:-1;;;20527:68:0;;15802:2:1;20527:68:0;;;15784:21:1;;;15821:18;;;15814:30;15880:34;15860:18;;;15853:62;15932:18;;20527:68:0;15600:356:1;60027:282:0;60092:4;60148:7;47515:1;60129:26;;:66;;;;;60182:13;;60172:7;:23;60129:66;:153;;;;-1:-1:-1;;60233:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;60233:44:0;:49;;60027:282::o;31431:647::-;21922:42;31622:45;:49;31618:453;;31921:67;;-1:-1:-1;;;31921:67:0;;31972:4;31921:67;;;16173:34:1;-1:-1:-1;;;;;16243:15:1;;16223:18;;;16216:43;21922:42:0;;31921;;16108:18:1;;31921:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;31916:144;;32016:28;;-1:-1:-1;;;32016:28:0;;-1:-1:-1;;;;;2066:32:1;;32016:28:0;;;2048:51:1;2021:18;;32016:28:0;1902:203:1;62295:2825:0;62437:27;62467;62486:7;62467:18;:27::i;:::-;62437:57;;62552:4;-1:-1:-1;;;;;62511:45:0;62527:19;-1:-1:-1;;;;;62511:45:0;;62507:86;;62565:28;;-1:-1:-1;;;62565:28:0;;;;;;;;;;;62507:86;62607:27;61403:24;;;:15;:24;;;;;61631:26;;82422:10;61028:30;;;-1:-1:-1;;;;;60721:28:0;;61006:20;;;61003:56;62793:180;;62886:43;62903:4;82422:10;59605:164;:::i;62886:43::-;62881:92;;62938:35;;-1:-1:-1;;;62938:35:0;;;;;;;;;;;62881:92;-1:-1:-1;;;;;62990:16:0;;62986:52;;63015:23;;-1:-1:-1;;;63015:23:0;;;;;;;;;;;62986:52;63187:15;63184:160;;;63327:1;63306:19;63299:30;63184:160;-1:-1:-1;;;;;63724:24:0;;;;;;;:18;:24;;;;;;63722:26;;-1:-1:-1;;63722:26:0;;;63793:22;;;;;;;;;63791:24;;-1:-1:-1;63791:24:0;;;56947:11;56922:23;56918:41;56905:63;-1:-1:-1;;;56905:63:0;64086:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;64381:47:0;;:52;;64377:627;;64486:1;64476:11;;64454:19;64609:30;;;:17;:30;;;;;;:35;;64605:384;;64747:13;;64732:11;:28;64728:242;;64894:30;;;;:17;:30;;;;;:52;;;64728:242;64435:569;64377:627;65051:7;65047:2;-1:-1:-1;;;;;65032:27:0;65041:4;-1:-1:-1;;;;;65032:27:0;;;;;;;;;;;65070:42;62426:2694;;;62295:2825;;;:::o;65216:193::-;65362:39;65379:4;65385:2;65389:7;65362:39;;;;;;;;;;;;:16;:39::i;:::-;65216:193;;;:::o;54713:1275::-;54780:7;54815;;47515:1;54864:23;54860:1061;;54917:13;;54910:4;:20;54906:1015;;;54955:14;54972:23;;;:17;:23;;;;;;;-1:-1:-1;;;55061:24:0;;:29;;55057:845;;55726:113;55733:6;55743:1;55733:11;55726:113;;-1:-1:-1;;;55804:6:0;55786:25;;;;:17;:25;;;;;;55726:113;;55057:845;54932:989;54906:1015;55949:31;;-1:-1:-1;;;55949:31:0;;;;;;;;;;;99516:1506;99643:12;99739;99736:1229;;;99881:12;99878:1;99874:20;99860:12;99856:39;100009:12;100145:805;100341:20;;100332:30;;;100329:1;100325:38;100559:21;;;100622:4;100609:18;;;100602:48;100779:4;100773;100763:21;;100816:17;100905:15;;;100145:805;100895:36;100149:2;;99736:1229;-1:-1:-1;100990:14:0;;99516:1506;-1:-1:-1;;99516:1506:0:o;69676:2966::-;69749:20;69772:13;;;69800;;;69796:44;;69822:18;;-1:-1:-1;;;69822:18:0;;;;;;;;;;;69796:44;-1:-1:-1;;;;;70328:22:0;;;;;;:18;:22;;;;43397:2;70328:22;;;:71;;70366:32;70354:45;;70328:71;;;70642:31;;;:17;:31;;;;;-1:-1:-1;57378:15:0;;57352:24;57348:46;56947:11;56922:23;56918:41;56915:52;56905:63;;70642:173;;70877:23;;;;70642:31;;70328:22;;71642:25;70328:22;;71495:335;72156:1;72142:12;72138:20;72096:346;72197:3;72188:7;72185:16;72096:346;;72415:7;72405:8;72402:1;72375:25;72372:1;72369;72364:59;72250:1;72237:15;72096:346;;;72100:77;72475:8;72487:1;72475:13;72471:45;;72497:19;;-1:-1:-1;;;72497:19:0;;;;;;;;;;;72471:45;72533:13;:19;-1:-1:-1;65216:193:0;;;:::o;21573:191::-;21666:6;;;-1:-1:-1;;;;;21683:17:0;;;-1:-1:-1;;;;;;21683:17:0;;;;;;;21716:40;;21666:6;;;21683:17;21666:6;;21716:40;;21647:16;;21716:40;21636:128;21573:191;:::o;54161:161::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54289:24:0;;;;:17;:24;;;;;;54270:44;;:18;:44::i;2458:293::-;1860:1;2592:7;;:19;2584:63;;;;-1:-1:-1;;;2584:63:0;;16956:2:1;2584:63:0;;;16938:21:1;16995:2;16975:18;;;16968:30;17034:33;17014:18;;;17007:61;17085:18;;2584:63:0;16754:355:1;2584:63:0;1860:1;2725:7;:18;2458:293::o;66007:407::-;66182:31;66195:4;66201:2;66205:7;66182:12;:31::i;:::-;-1:-1:-1;;;;;66228:14:0;;;:19;66224:183;;66267:56;66298:4;66304:2;66308:7;66317:5;66267:30;:56::i;:::-;66262:145;;66351:40;;-1:-1:-1;;;66351:40:0;;;;;;;;;;;53899:166;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54010:47:0;54029:27;54048:7;54029:18;:27::i;:::-;54010:18;:47::i;94599:108::-;94659:13;94692:7;94685:14;;;;;:::i;16284:716::-;16340:13;16391:14;16408:17;16419:5;16408:10;:17::i;:::-;16428:1;16408:21;16391:38;;16444:20;16478:6;-1:-1:-1;;;;;16467:18:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;16467:18:0;-1:-1:-1;16444:41:0;-1:-1:-1;16609:28:0;;;16625:2;16609:28;16666:288;-1:-1:-1;;16698:5:0;-1:-1:-1;;;16835:2:0;16824:14;;16819:30;16698:5;16806:44;16896:2;16887:11;;;-1:-1:-1;16917:21:0;16666:288;16917:21;-1:-1:-1;16975:6:0;16284:716;-1:-1:-1;;;16284:716:0:o;56087:366::-;-1:-1:-1;;;;;;;;;;;;;56197:41:0;;;;43918:3;56283:33;;;-1:-1:-1;;;;;56249:68:0;-1:-1:-1;;;56249:68:0;-1:-1:-1;;;56347:24:0;;:29;;-1:-1:-1;;;56328:48:0;;;;44439:3;56416:28;;;;-1:-1:-1;;;56387:58:0;-1:-1:-1;56087:366:0:o;68498:716::-;68682:88;;-1:-1:-1;;;68682:88:0;;68661:4;;-1:-1:-1;;;;;68682:45:0;;;;;:88;;82422:10;;68749:4;;68755:7;;68764:5;;68682:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;68682:88:0;;;;;;;;-1:-1:-1;;68682:88:0;;;;;;;;;;;;:::i;:::-;;;68678:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;68965:6;:13;68982:1;68965:18;68961:235;;69011:40;;-1:-1:-1;;;69011:40:0;;;;;;;;;;;68961:235;69154:6;69148:13;69139:6;69135:2;69131:15;69124:38;68678:529;-1:-1:-1;;;;;;68841:64:0;-1:-1:-1;;;68841:64:0;;-1:-1:-1;68678:529:0;68498:716;;;;;;:::o;13150:922::-;13203:7;;-1:-1:-1;;;13281:15:0;;13277:102;;-1:-1:-1;;;13317:15:0;;;-1:-1:-1;13361:2:0;13351:12;13277:102;13406:6;13397:5;:15;13393:102;;13442:6;13433:15;;;-1:-1:-1;13477:2:0;13467:12;13393:102;13522:6;13513:5;:15;13509:102;;13558:6;13549:15;;;-1:-1:-1;13593:2:0;13583:12;13509:102;13638:5;13629;:14;13625:99;;13673:5;13664:14;;;-1:-1:-1;13707:1:0;13697:11;13625:99;13751:5;13742;:14;13738:99;;13786:5;13777:14;;;-1:-1:-1;13820:1:0;13810:11;13738:99;13864:5;13855;:14;13851:99;;13899:5;13890:14;;;-1:-1:-1;13933:1:0;13923:11;13851:99;13977:5;13968;:14;13964:66;;14013:1;14003:11;14058:6;13150:922;-1:-1:-1;;13150:922:0:o;14:131:1:-;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:118::-;678:5;671:13;664:21;657:5;654:32;644:60;;700:1;697;690:12;715:241;771:6;824:2;812:9;803:7;799:23;795:32;792:52;;;840:1;837;830:12;792:52;879:9;866:23;898:28;920:5;898:28;:::i;961:180::-;1020:6;1073:2;1061:9;1052:7;1048:23;1044:32;1041:52;;;1089:1;1086;1079:12;1041:52;-1:-1:-1;1112:23:1;;961:180;-1:-1:-1;961:180:1:o;1146:250::-;1231:1;1241:113;1255:6;1252:1;1249:13;1241:113;;;1331:11;;;1325:18;1312:11;;;1305:39;1277:2;1270:10;1241:113;;;-1:-1:-1;;1388:1:1;1370:16;;1363:27;1146:250::o;1401:271::-;1443:3;1481:5;1475:12;1508:6;1503:3;1496:19;1524:76;1593:6;1586:4;1581:3;1577:14;1570:4;1563:5;1559:16;1524:76;:::i;:::-;1654:2;1633:15;-1:-1:-1;;1629:29:1;1620:39;;;;1661:4;1616:50;;1401:271;-1:-1:-1;;1401:271:1:o;1677:220::-;1826:2;1815:9;1808:21;1789:4;1846:45;1887:2;1876:9;1872:18;1864:6;1846:45;:::i;2110:173::-;2178:20;;-1:-1:-1;;;;;2227:31:1;;2217:42;;2207:70;;2273:1;2270;2263:12;2207:70;2110:173;;;:::o;2288:254::-;2356:6;2364;2417:2;2405:9;2396:7;2392:23;2388:32;2385:52;;;2433:1;2430;2423:12;2385:52;2456:29;2475:9;2456:29;:::i;:::-;2446:39;2532:2;2517:18;;;;2504:32;;-1:-1:-1;;;2288:254:1:o;2729:328::-;2806:6;2814;2822;2875:2;2863:9;2854:7;2850:23;2846:32;2843:52;;;2891:1;2888;2881:12;2843:52;2914:29;2933:9;2914:29;:::i;:::-;2904:39;;2962:38;2996:2;2985:9;2981:18;2962:38;:::i;:::-;2952:48;;3047:2;3036:9;3032:18;3019:32;3009:42;;2729:328;;;;;:::o;3302:127::-;3363:10;3358:3;3354:20;3351:1;3344:31;3394:4;3391:1;3384:15;3418:4;3415:1;3408:15;3434:632;3499:5;-1:-1:-1;;;;;3570:2:1;3562:6;3559:14;3556:40;;;3576:18;;:::i;:::-;3651:2;3645:9;3619:2;3705:15;;-1:-1:-1;;3701:24:1;;;3727:2;3697:33;3693:42;3681:55;;;3751:18;;;3771:22;;;3748:46;3745:72;;;3797:18;;:::i;:::-;3837:10;3833:2;3826:22;3866:6;3857:15;;3896:6;3888;3881:22;3936:3;3927:6;3922:3;3918:16;3915:25;3912:45;;;3953:1;3950;3943:12;3912:45;4003:6;3998:3;3991:4;3983:6;3979:17;3966:44;4058:1;4051:4;4042:6;4034;4030:19;4026:30;4019:41;;;;3434:632;;;;;:::o;4071:451::-;4140:6;4193:2;4181:9;4172:7;4168:23;4164:32;4161:52;;;4209:1;4206;4199:12;4161:52;4249:9;4236:23;-1:-1:-1;;;;;4274:6:1;4271:30;4268:50;;;4314:1;4311;4304:12;4268:50;4337:22;;4390:4;4382:13;;4378:27;-1:-1:-1;4368:55:1;;4419:1;4416;4409:12;4368:55;4442:74;4508:7;4503:2;4490:16;4485:2;4481;4477:11;4442:74;:::i;4527:367::-;4590:8;4600:6;4654:3;4647:4;4639:6;4635:17;4631:27;4621:55;;4672:1;4669;4662:12;4621:55;-1:-1:-1;4695:20:1;;-1:-1:-1;;;;;4727:30:1;;4724:50;;;4770:1;4767;4760:12;4724:50;4807:4;4799:6;4795:17;4783:29;;4867:3;4860:4;4850:6;4847:1;4843:14;4835:6;4831:27;4827:38;4824:47;4821:67;;;4884:1;4881;4874:12;4821:67;4527:367;;;;;:::o;4899:437::-;4985:6;4993;5046:2;5034:9;5025:7;5021:23;5017:32;5014:52;;;5062:1;5059;5052:12;5014:52;5102:9;5089:23;-1:-1:-1;;;;;5127:6:1;5124:30;5121:50;;;5167:1;5164;5157:12;5121:50;5206:70;5268:7;5259:6;5248:9;5244:22;5206:70;:::i;:::-;5295:8;;5180:96;;-1:-1:-1;4899:437:1;-1:-1:-1;;;;4899:437:1:o;5341:349::-;5425:12;;-1:-1:-1;;;;;5421:38:1;5409:51;;5513:4;5502:16;;;5496:23;-1:-1:-1;;;;;5492:48:1;5476:14;;;5469:72;5604:4;5593:16;;;5587:23;5580:31;5573:39;5557:14;;;5550:63;5666:4;5655:16;;;5649:23;5674:8;5645:38;5629:14;;5622:62;5341:349::o;5695:724::-;5930:2;5982:21;;;6052:13;;5955:18;;;6074:22;;;5901:4;;5930:2;6153:15;;;;6127:2;6112:18;;;5901:4;6196:197;6210:6;6207:1;6204:13;6196:197;;;6259:52;6307:3;6298:6;6292:13;6259:52;:::i;:::-;6368:15;;;;6340:4;6331:14;;;;;6232:1;6225:9;6196:197;;6424:505;6519:6;6527;6535;6588:2;6576:9;6567:7;6563:23;6559:32;6556:52;;;6604:1;6601;6594:12;6556:52;6644:9;6631:23;-1:-1:-1;;;;;6669:6:1;6666:30;6663:50;;;6709:1;6706;6699:12;6663:50;6748:70;6810:7;6801:6;6790:9;6786:22;6748:70;:::i;:::-;6837:8;;6722:96;;-1:-1:-1;6919:2:1;6904:18;;;;6891:32;;6424:505;-1:-1:-1;;;;6424:505:1:o;6934:186::-;6993:6;7046:2;7034:9;7025:7;7021:23;7017:32;7014:52;;;7062:1;7059;7052:12;7014:52;7085:29;7104:9;7085:29;:::i;7310:632::-;7481:2;7533:21;;;7603:13;;7506:18;;;7625:22;;;7452:4;;7481:2;7704:15;;;;7678:2;7663:18;;;7452:4;7747:169;7761:6;7758:1;7755:13;7747:169;;;7822:13;;7810:26;;7891:15;;;;7856:12;;;;7783:1;7776:9;7747:169;;7947:322;8024:6;8032;8040;8093:2;8081:9;8072:7;8068:23;8064:32;8061:52;;;8109:1;8106;8099:12;8061:52;8132:29;8151:9;8132:29;:::i;:::-;8122:39;8208:2;8193:18;;8180:32;;-1:-1:-1;8259:2:1;8244:18;;;8231:32;;7947:322;-1:-1:-1;;;7947:322:1:o;8274:315::-;8339:6;8347;8400:2;8388:9;8379:7;8375:23;8371:32;8368:52;;;8416:1;8413;8406:12;8368:52;8439:29;8458:9;8439:29;:::i;:::-;8429:39;;8518:2;8507:9;8503:18;8490:32;8531:28;8553:5;8531:28;:::i;:::-;8578:5;8568:15;;;8274:315;;;;;:::o;8594:667::-;8689:6;8697;8705;8713;8766:3;8754:9;8745:7;8741:23;8737:33;8734:53;;;8783:1;8780;8773:12;8734:53;8806:29;8825:9;8806:29;:::i;:::-;8796:39;;8854:38;8888:2;8877:9;8873:18;8854:38;:::i;:::-;8844:48;;8939:2;8928:9;8924:18;8911:32;8901:42;;8994:2;8983:9;8979:18;8966:32;-1:-1:-1;;;;;9013:6:1;9010:30;9007:50;;;9053:1;9050;9043:12;9007:50;9076:22;;9129:4;9121:13;;9117:27;-1:-1:-1;9107:55:1;;9158:1;9155;9148:12;9107:55;9181:74;9247:7;9242:2;9229:16;9224:2;9220;9216:11;9181:74;:::i;:::-;9171:84;;;8594:667;;;;;;;:::o;9266:268::-;9464:3;9449:19;;9477:51;9453:9;9510:6;9477:51;:::i;9539:260::-;9607:6;9615;9668:2;9656:9;9647:7;9643:23;9639:32;9636:52;;;9684:1;9681;9674:12;9636:52;9707:29;9726:9;9707:29;:::i;:::-;9697:39;;9755:38;9789:2;9778:9;9774:18;9755:38;:::i;:::-;9745:48;;9539:260;;;;;:::o;9804:380::-;9883:1;9879:12;;;;9926;;;9947:61;;10001:4;9993:6;9989:17;9979:27;;9947:61;10054:2;10046:6;10043:14;10023:18;10020:38;10017:161;;10100:10;10095:3;10091:20;10088:1;10081:31;10135:4;10132:1;10125:15;10163:4;10160:1;10153:15;10017:161;;9804:380;;;:::o;10315:545::-;10417:2;10412:3;10409:11;10406:448;;;10453:1;10478:5;10474:2;10467:17;10523:4;10519:2;10509:19;10593:2;10581:10;10577:19;10574:1;10570:27;10564:4;10560:38;10629:4;10617:10;10614:20;10611:47;;;-1:-1:-1;10652:4:1;10611:47;10707:2;10702:3;10698:12;10695:1;10691:20;10685:4;10681:31;10671:41;;10762:82;10780:2;10773:5;10770:13;10762:82;;;10825:17;;;10806:1;10795:13;10762:82;;11036:1352;11162:3;11156:10;-1:-1:-1;;;;;11181:6:1;11178:30;11175:56;;;11211:18;;:::i;:::-;11240:97;11330:6;11290:38;11322:4;11316:11;11290:38;:::i;:::-;11284:4;11240:97;:::i;:::-;11392:4;;11456:2;11445:14;;11473:1;11468:663;;;;12175:1;12192:6;12189:89;;;-1:-1:-1;12244:19:1;;;12238:26;12189:89;-1:-1:-1;;10993:1:1;10989:11;;;10985:24;10981:29;10971:40;11017:1;11013:11;;;10968:57;12291:81;;11438:944;;11468:663;10262:1;10255:14;;;10299:4;10286:18;;-1:-1:-1;;11504:20:1;;;11622:236;11636:7;11633:1;11630:14;11622:236;;;11725:19;;;11719:26;11704:42;;11817:27;;;;11785:1;11773:14;;;;11652:19;;11622:236;;;11626:3;11886:6;11877:7;11874:19;11871:201;;;11947:19;;;11941:26;-1:-1:-1;;12030:1:1;12026:14;;;12042:3;12022:24;12018:37;12014:42;11999:58;11984:74;;11871:201;-1:-1:-1;;;;;12118:1:1;12102:14;;;12098:22;12085:36;;-1:-1:-1;11036:1352:1:o;12393:127::-;12454:10;12449:3;12445:20;12442:1;12435:31;12485:4;12482:1;12475:15;12509:4;12506:1;12499:15;12525:127;12586:10;12581:3;12577:20;12574:1;12567:31;12617:4;12614:1;12607:15;12641:4;12638:1;12631:15;12657:125;12722:9;;;12743:10;;;12740:36;;;12756:18;;:::i;12787:168::-;12860:9;;;12891;;12908:15;;;12902:22;;12888:37;12878:71;;12929:18;;:::i;13932:1256::-;14156:3;14194:6;14188:13;14220:4;14233:64;14290:6;14285:3;14280:2;14272:6;14268:15;14233:64;:::i;:::-;14360:13;;14319:16;;;;14382:68;14360:13;14319:16;14417:15;;;14382:68;:::i;:::-;14539:13;;14472:20;;;14512:1;;14577:36;14539:13;14577:36;:::i;:::-;14632:1;14649:18;;;14676:141;;;;14831:1;14826:337;;;;14642:521;;14676:141;-1:-1:-1;;14711:24:1;;14697:39;;14788:16;;14781:24;14767:39;;14756:51;;;-1:-1:-1;14676:141:1;;14826:337;14857:6;14854:1;14847:17;14905:2;14902:1;14892:16;14930:1;14944:169;14958:8;14955:1;14952:15;14944:169;;;15040:14;;15025:13;;;15018:37;15083:16;;;;14975:10;;14944:169;;;14948:3;;15144:8;15137:5;15133:20;15126:27;;14642:521;-1:-1:-1;15179:3:1;;13932:1256;-1:-1:-1;;;;;;;;;;13932:1256:1:o;16270:245::-;16337:6;16390:2;16378:9;16369:7;16365:23;16361:32;16358:52;;;16406:1;16403;16396:12;16358:52;16438:9;16432:16;16457:28;16479:5;16457:28;:::i;17246:489::-;-1:-1:-1;;;;;17515:15:1;;;17497:34;;17567:15;;17562:2;17547:18;;17540:43;17614:2;17599:18;;17592:34;;;17662:3;17657:2;17642:18;;17635:31;;;17440:4;;17683:46;;17709:19;;17701:6;17683:46;:::i;:::-;17675:54;17246:489;-1:-1:-1;;;;;;17246:489:1:o;17740:249::-;17809:6;17862:2;17850:9;17841:7;17837:23;17833:32;17830:52;;;17878:1;17875;17868:12;17830:52;17910:9;17904:16;17929:30;17953:5;17929:30;:::i

Swarm Source

ipfs://df6ec5d469327c97471484d7f46387923a81e766820927feed9787967b6062e2
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.