ETH Price: $3,711.59 (+3.14%)

Token

Gemewiz (GMWZ)
 

Overview

Max Total Supply

1,888 GMWZ

Holders

546

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
icevalley.eth
Balance
1 GMWZ
0x7f2bc2e317c00e551a792177396e318858330226
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:
Gemewiz

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 300 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

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

// File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/introspection/IERC165.sol


// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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

// File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/introspection/ERC165.sol


// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;


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

// File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/interfaces/IERC2981.sol


// OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol)

pragma solidity ^0.8.0;


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

// File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/common/ERC2981.sol


// OpenZeppelin Contracts (last updated v4.7.0) (token/common/ERC2981.sol)

pragma solidity ^0.8.0;



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

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

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

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

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

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

        return (royalty.receiver, royaltyAmount);
    }

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

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

        _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator);
    }

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

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

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

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

// File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/math/SignedMath.sol


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

pragma solidity ^0.8.0;

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

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

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

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

// File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/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) {
                // Solidity will revert if denominator == 0, unlike the div opcode on its own.
                // The surrounding unchecked block does not change this fact.
                // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic.
                return prod0 / denominator;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/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 `int256` to its ASCII `string` decimal representation.
     */
    function toString(int256 value) internal pure returns (string memory) {
        return string(abi.encodePacked(value < 0 ? "-" : "", toString(SignedMath.abs(value))));
    }

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

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

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

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

// File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/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: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/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. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby disabling any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

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

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

// File: https://github.com/chiru-labs/ERC721A/blob/main/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: https://github.com/chiru-labs/ERC721A/blob/main/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 0;
    }

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

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

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

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

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

    /**
     * @dev Returns the number of tokens in `owner`'s account.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        if (owner == address(0)) _revert(BalanceQueryForZeroAddress.selector);
        return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        return _tokenApprovals[tokenId].value;
    }

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

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

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

        // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean.
        uint256 toMasked = uint256(uint160(to)) & _BITMASK_ADDRESS;
        assembly {
            // Emit the `Transfer` event.
            log4(
                0, // Start of data (0, since no data).
                0, // End of data (0, since no data).
                _TRANSFER_EVENT_SIGNATURE, // Signature.
                from, // `from`.
                toMasked, // `to`.
                tokenId // `tokenId`.
            )
        }
        if (toMasked == 0) _revert(TransferToZeroAddress.selector);

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

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

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

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

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

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

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

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

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

        // Overflows are incredibly unrealistic.
        // `balance` and `numberMinted` have a maximum limit of 2**64.
        // `tokenId` has a maximum limit of 2**256.
        unchecked {
            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `quantity == 1`.
            _packedOwnerships[startTokenId] = _packOwnershipData(
                to,
                _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0)
            );

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

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

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

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

            do {
                assembly {
                    // Emit the `Transfer` event.
                    log4(
                        0, // Start of data (0, since no data).
                        0, // End of data (0, since no data).
                        _TRANSFER_EVENT_SIGNATURE, // Signature.
                        0, // `address(0)`.
                        toMasked, // `to`.
                        tokenId // `tokenId`.
                    )
                }
                // The `!=` check ensures that large values of `quantity`
                // that overflows uint256 will make the loop run out of gas.
            } while (++tokenId != end);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        address from = address(uint160(prevOwnershipPacked));

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// File: Gemewiz.sol


pragma solidity ^0.8.17;






contract Gemewiz is ERC721A, ERC2981, Ownable {
   
    

    using Strings for uint256;
    uint256 public maxSupply = 1888;
    uint256 public maxFreeAmount = 1888;
    uint256 public maxFreePerWallet = 2;
    uint256 public price = 0.002 ether;
    uint256 public maxPerTx = 20;
    uint256 public maxPerWallet = 40;
    bool public mintEnabled = false;
    string public baseURI;

 constructor(uint96 _royaltyFeesInBips, 
    string memory _name,
    string memory _symbol,
    string memory _initBaseURI
  ) ERC721A(_name,_symbol) {
        setBaseURI(_initBaseURI);
        setRoyaltyInfo(msg.sender, _royaltyFeesInBips);
     
    }

function supportsInterface(
    bytes4 interfaceId
) public view virtual override(ERC721A, ERC2981) returns (bool) {
    // Supports the following `interfaceId`s:
    // - IERC165: 0x01ffc9a7
    // - IERC721: 0x80ac58cd
    // - IERC721Metadata: 0x5b5e139f
    // - IERC2981: 0x2a55205a
    return 
        ERC721A.supportsInterface(interfaceId) || 
        ERC2981.supportsInterface(interfaceId);
}
    function setRoyaltyInfo(address _receiver, uint96 _royaltyFeesInBips) public onlyOwner
    {
        _setDefaultRoyalty(_receiver, _royaltyFeesInBips);
    }


  function  Airdrop(uint256 _amountPerAddress, address[] calldata addresses) external onlyOwner {
     uint256 totalSupply = uint256(totalSupply());
     uint totalAmount =   _amountPerAddress * addresses.length;
    require(totalSupply + totalAmount <= maxSupply, "Exceeds max supply.");
     for (uint256 i = 0; i < addresses.length; i++) {
            _safeMint(addresses[i], _amountPerAddress);
        }

     delete _amountPerAddress;
     delete totalSupply;
  }
        function _startTokenId() internal pure override returns (uint256) {
         return 1;
        }
    function  publicMint(uint256 quantity) external payable  {
        require(mintEnabled, "Minting is not live yet.");
        require(totalSupply() + quantity < maxSupply + 1, "No more");
        uint256 cost = price;
        uint256 _maxPerWallet = maxPerWallet;
        

        if (
            totalSupply() < maxFreeAmount &&
            _numberMinted(msg.sender) == 0 &&
            quantity <= maxFreePerWallet
        ) {
            cost = 0;
            _maxPerWallet = maxFreePerWallet;
        }

        require(
            _numberMinted(msg.sender) + quantity <= _maxPerWallet,
            "Max per wallet"
        );

        uint256 needPayCount = quantity;
        if (_numberMinted(msg.sender) == 0) {
            needPayCount = quantity;
        }
        require(
            msg.value >= needPayCount * cost,
            "Please send the exact amount."
        );
        _safeMint(msg.sender, quantity);
    }

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

    function tokenURI(
        uint256 tokenId
    ) public view virtual override returns (string memory) {
        require(
            _exists(tokenId),
            "ERC721Metadata: URI query for nonexistent token"
        );
        return string(abi.encodePacked(baseURI, tokenId.toString(), ".json"));
    }

    function flipSale() external onlyOwner {
        mintEnabled = !mintEnabled;
    }

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

    function setPrice(uint256 _newPrice) external onlyOwner {
        price = _newPrice;
    }

    function setMaxFreeAmount(uint256 _amount) external onlyOwner {
        maxFreeAmount = _amount;
    }

    function setMaxFreePerWallet(uint256 _amount) external onlyOwner {
        maxFreePerWallet = _amount;
    }

    function withdraw() external onlyOwner {
        (bool success, ) = payable(msg.sender).call{
            value: address(this).balance
        }("");
        require(success, "Transfer failed.");
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"uint96","name":"_royaltyFeesInBips","type":"uint96"},{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"string","name":"_initBaseURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"uint256","name":"_amountPerAddress","type":"uint256"},{"internalType":"address[]","name":"addresses","type":"address[]"}],"name":"Airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flipSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxFreeAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxFreePerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerWallet","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":"mintEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"setMaxFreeAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"setMaxFreePerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_receiver","type":"address"},{"internalType":"uint96","name":"_royaltyFeesInBips","type":"uint96"}],"name":"setRoyaltyInfo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052610760600b819055600c556002600d5566071afd498d0000600e556014600f5560286010556011805460ff191690553480156200004057600080fd5b50604051620023fb380380620023fb833981016040819052620000639162000362565b82826002620000738382620004a3565b506003620000828282620004a3565b50506001600055506200009533620000b6565b620000a08162000108565b620000ac338562000124565b505050506200056f565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b620001126200013a565b6012620001208282620004a3565b5050565b6200012e6200013a565b6200012082826200019c565b600a546001600160a01b031633146200019a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b565b6127106001600160601b03821611156200020c5760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b606482015260840162000191565b6001600160a01b038216620002645760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c696420726563656976657200000000000000604482015260640162000191565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600855565b634e487b7160e01b600052604160045260246000fd5b600082601f830112620002c557600080fd5b81516001600160401b0380821115620002e257620002e26200029d565b604051601f8301601f19908116603f011681019082821181831017156200030d576200030d6200029d565b816040528381526020925086838588010111156200032a57600080fd5b600091505b838210156200034e57858201830151818301840152908201906200032f565b600093810190920192909252949350505050565b600080600080608085870312156200037957600080fd5b84516001600160601b03811681146200039157600080fd5b60208601519094506001600160401b0380821115620003af57600080fd5b620003bd88838901620002b3565b94506040870151915080821115620003d457600080fd5b620003e288838901620002b3565b93506060870151915080821115620003f957600080fd5b506200040887828801620002b3565b91505092959194509250565b600181811c908216806200042957607f821691505b6020821081036200044a57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200049e57600081815260208120601f850160051c81016020861015620004795750805b601f850160051c820191505b818110156200049a5782815560010162000485565b5050505b505050565b81516001600160401b03811115620004bf57620004bf6200029d565b620004d781620004d0845462000414565b8462000450565b602080601f8311600181146200050f5760008415620004f65750858301515b600019600386901b1c1916600185901b1785556200049a565b600085815260208120601f198616915b8281101562000540578886015182559484019460019091019084016200051f565b50858210156200055f5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b611e7c806200057f6000396000f3fe6080604052600436106102045760003560e01c80636d7c4a4b11610118578063a7027357116100a0578063d5abeb011161006f578063d5abeb0114610582578063e985e9c514610598578063f2fde38b146105e1578063f892c6e214610601578063f968adbe1461061757600080fd5b8063a70273571461051f578063b88d4fde14610535578063c87b56dd14610548578063d12397301461056857600080fd5b80638da5cb5b116100e75780638da5cb5b1461049657806391b7f5ed146104b457806395d89b41146104d4578063a035b1fe146104e9578063a22cb465146104ff57600080fd5b80636d7c4a4b1461042c57806370a082311461044c578063715018a61461046c5780637ba5e6211461048157600080fd5b80632a55205a1161019b578063453c23101161016a578063453c2310146103a157806355f804b3146103b75780635f6640aa146103d75780636352211e146103f75780636c0360eb1461041757600080fd5b80632a55205a146103275780632db11544146103665780633ccfd60b1461037957806342842e0e1461038e57600080fd5b8063095ea7b3116101d7578063095ea7b3146102ba5780630c23bb3f146102cd57806318160ddd146102ed57806323b872dd1461031457600080fd5b806301ffc9a71461020957806302fa7c471461023e57806306fdde0314610260578063081812fc14610282575b600080fd5b34801561021557600080fd5b5061022961022436600461179d565b61062d565b60405190151581526020015b60405180910390f35b34801561024a57600080fd5b5061025e6102593660046117d8565b61064d565b005b34801561026c57600080fd5b50610275610663565b604051610235919061186b565b34801561028e57600080fd5b506102a261029d36600461187e565b6106f5565b6040516001600160a01b039091168152602001610235565b61025e6102c8366004611897565b610730565b3480156102d957600080fd5b5061025e6102e836600461187e565b61073c565b3480156102f957600080fd5b5060015460005403600019015b604051908152602001610235565b61025e6103223660046118c1565b610749565b34801561033357600080fd5b506103476103423660046118fd565b6108cb565b604080516001600160a01b039093168352602083019190915201610235565b61025e61037436600461187e565b610977565b34801561038557600080fd5b5061025e610b7e565b61025e61039c3660046118c1565b610c14565b3480156103ad57600080fd5b5061030660105481565b3480156103c357600080fd5b5061025e6103d23660046119ab565b610c34565b3480156103e357600080fd5b5061025e6103f23660046119f4565b610c48565b34801561040357600080fd5b506102a261041236600461187e565b610d1c565b34801561042357600080fd5b50610275610d27565b34801561043857600080fd5b5061025e61044736600461187e565b610db5565b34801561045857600080fd5b50610306610467366004611a73565b610dc2565b34801561047857600080fd5b5061025e610e08565b34801561048d57600080fd5b5061025e610e1c565b3480156104a257600080fd5b50600a546001600160a01b03166102a2565b3480156104c057600080fd5b5061025e6104cf36600461187e565b610e38565b3480156104e057600080fd5b50610275610e45565b3480156104f557600080fd5b50610306600e5481565b34801561050b57600080fd5b5061025e61051a366004611a8e565b610e54565b34801561052b57600080fd5b50610306600d5481565b61025e610543366004611abf565b610ec0565b34801561055457600080fd5b5061027561056336600461187e565b610efb565b34801561057457600080fd5b506011546102299060ff1681565b34801561058e57600080fd5b50610306600b5481565b3480156105a457600080fd5b506102296105b3366004611b3b565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156105ed57600080fd5b5061025e6105fc366004611a73565b610f9c565b34801561060d57600080fd5b50610306600c5481565b34801561062357600080fd5b50610306600f5481565b600061063882611012565b80610647575061064782611060565b92915050565b610655611095565b61065f82826110ef565b5050565b60606002805461067290611b6e565b80601f016020809104026020016040519081016040528092919081815260200182805461069e90611b6e565b80156106eb5780601f106106c0576101008083540402835291602001916106eb565b820191906000526020600020905b8154815290600101906020018083116106ce57829003601f168201915b5050505050905090565b6000610700826111ec565b610714576107146333d1c03960e21b61123a565b506000908152600660205260409020546001600160a01b031690565b61065f82826001611244565b610744611095565b600c55565b600061075482611304565b6001600160a01b03948516949091508116841461077a5761077a62a1148160e81b61123a565b60008281526006602052604090208054338082146001600160a01b038816909114176107db576001600160a01b038616600090815260076020908152604080832033845290915290205460ff166107db576107db632ce44b5f60e11b61123a565b80156107e657600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003610878576001840160008181526004602052604081205490036108765760005481146108765760008181526004602052604090208490555b505b6001600160a01b0385168481887fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4806000036108c2576108c2633a954ecd60e21b61123a565b50505050505050565b60008281526009602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b03169282019290925282916109405750604080518082019091526008546001600160a01b0381168252600160a01b90046001600160601b031660208201525b60208101516000906127109061095f906001600160601b031687611bbe565b6109699190611bd5565b915196919550909350505050565b60115460ff166109ce5760405162461bcd60e51b815260206004820152601860248201527f4d696e74696e67206973206e6f74206c697665207965742e000000000000000060448201526064015b60405180910390fd5b600b546109dc906001611bf7565b60015460005483919003600019016109f49190611bf7565b10610a2b5760405162461bcd60e51b81526020600482015260076024820152664e6f206d6f726560c81b60448201526064016109c5565b600e54601054600c546001546000540360001901108015610a67575033600090815260056020526040908190205467ffffffffffffffff911c16155b8015610a755750600d548311155b15610a83575050600d546000905b3360009081526005602052604090819020548291610aad9186911c67ffffffffffffffff16611bf7565b1115610aec5760405162461bcd60e51b815260206004820152600e60248201526d13585e081c195c881dd85b1b195d60921b60448201526064016109c5565b33600090815260056020526040908190205484911c67ffffffffffffffff16600003610b155750825b610b1f8382611bbe565b341015610b6e5760405162461bcd60e51b815260206004820152601d60248201527f506c656173652073656e642074686520657861637420616d6f756e742e00000060448201526064016109c5565b610b7833856113a5565b50505050565b610b86611095565b604051600090339047908381818185875af1925050503d8060008114610bc8576040519150601f19603f3d011682016040523d82523d6000602084013e610bcd565b606091505b5050905080610c115760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b60448201526064016109c5565b50565b610c2f83838360405180602001604052806000815250610ec0565b505050565b610c3c611095565b601261065f8282611c50565b610c50611095565b6000610c656001546000546000199190030190565b90506000610c738386611bbe565b600b54909150610c838284611bf7565b1115610cc75760405162461bcd60e51b815260206004820152601360248201527222bc31b2b2b2399036b0bc1039bab838363c9760691b60448201526064016109c5565b60005b83811015610d1457610d02858583818110610ce757610ce7611d10565b9050602002016020810190610cfc9190611a73565b876113a5565b80610d0c81611d26565b915050610cca565b505050505050565b600061064782611304565b60128054610d3490611b6e565b80601f0160208091040260200160405190810160405280929190818152602001828054610d6090611b6e565b8015610dad5780601f10610d8257610100808354040283529160200191610dad565b820191906000526020600020905b815481529060010190602001808311610d9057829003601f168201915b505050505081565b610dbd611095565b600d55565b60006001600160a01b038216610de257610de26323d3ad8160e21b61123a565b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610e10611095565b610e1a60006113bf565b565b610e24611095565b6011805460ff19811660ff90911615179055565b610e40611095565b600e55565b60606003805461067290611b6e565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610ecb848484610749565b6001600160a01b0383163b15610b7857610ee784848484611411565b610b7857610b786368d2bf6b60e11b61123a565b6060610f06826111ec565b610f6a5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016109c5565b6012610f75836114f4565b604051602001610f86929190611d3f565b6040516020818303038152906040529050919050565b610fa4611095565b6001600160a01b0381166110095760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109c5565b610c11816113bf565b60006301ffc9a760e01b6001600160e01b03198316148061104357506380ac58cd60e01b6001600160e01b03198316145b806106475750506001600160e01b031916635b5e139f60e01b1490565b60006001600160e01b0319821663152a902d60e11b148061064757506301ffc9a760e01b6001600160e01b0319831614610647565b600a546001600160a01b03163314610e1a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109c5565b6127106001600160601b038216111561115d5760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b60648201526084016109c5565b6001600160a01b0382166111b35760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c69642072656365697665720000000000000060448201526064016109c5565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600855565b600081600111611235576000548210156112355760005b506000828152600460205260408120549081900361122b5761122483611dd6565b9250611203565b600160e01b161590505b919050565b8060005260046000fd5b600061124f83610d1c565b90508180156112675750336001600160a01b03821614155b156112a7576001600160a01b038116600090815260076020908152604080832033845290915290205460ff166112a7576112a76367d9dca160e11b61123a565b60008381526006602052604080822080546001600160a01b0319166001600160a01b0388811691821790925591518693918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a450505050565b60008160011161139557506000818152600460205260408120549081900361138257600054821061133f5761133f636f96cda160e11b61123a565b5b5060001901600081815260046020526040902054801561134057600160e01b811660000361136d57919050565b61137d636f96cda160e11b61123a565b611340565b600160e01b811660000361139557919050565b611235636f96cda160e11b61123a565b61065f828260405180602001604052806000815250611587565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611446903390899088908890600401611ded565b6020604051808303816000875af1925050508015611481575060408051601f3d908101601f1916820190925261147e91810190611e29565b60015b6114d6573d8080156114af576040519150601f19603f3d011682016040523d82523d6000602084013e6114b4565b606091505b5080516000036114ce576114ce6368d2bf6b60e11b61123a565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60606000611501836115f0565b600101905060008167ffffffffffffffff8111156115215761152161191f565b6040519080825280601f01601f19166020018201604052801561154b576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461155557509392505050565b61159183836116c8565b6001600160a01b0383163b15610c2f576000548281035b6115bb6000868380600101945086611411565b6115cf576115cf6368d2bf6b60e11b61123a565b8181106115a85781600054146115e9576115e9600061123a565b5050505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b831061162f5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef8100000000831061165b576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061167957662386f26fc10000830492506010015b6305f5e1008310611691576305f5e100830492506008015b61271083106116a557612710830492506004015b606483106116b7576064830492506002015b600a83106106475760010192915050565b60008054908290036116e4576116e463b562e8dd60e01b61123a565b60008181526004602090815260408083206001600160a01b0387164260a01b6001881460e11b1781179091558084526005909252822080546801000000000000000186020190559081900361174257611742622e076360e81b61123a565b818301825b808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4818160010191508103611747575060005550505050565b6001600160e01b031981168114610c1157600080fd5b6000602082840312156117af57600080fd5b81356117ba81611787565b9392505050565b80356001600160a01b038116811461123557600080fd5b600080604083850312156117eb57600080fd5b6117f4836117c1565b915060208301356001600160601b038116811461181057600080fd5b809150509250929050565b60005b8381101561183657818101518382015260200161181e565b50506000910152565b6000815180845261185781602086016020860161181b565b601f01601f19169290920160200192915050565b6020815260006117ba602083018461183f565b60006020828403121561189057600080fd5b5035919050565b600080604083850312156118aa57600080fd5b6118b3836117c1565b946020939093013593505050565b6000806000606084860312156118d657600080fd5b6118df846117c1565b92506118ed602085016117c1565b9150604084013590509250925092565b6000806040838503121561191057600080fd5b50508035926020909101359150565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156119505761195061191f565b604051601f8501601f19908116603f011681019082821181831017156119785761197861191f565b8160405280935085815286868601111561199157600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156119bd57600080fd5b813567ffffffffffffffff8111156119d457600080fd5b8201601f810184136119e557600080fd5b6114ec84823560208401611935565b600080600060408486031215611a0957600080fd5b83359250602084013567ffffffffffffffff80821115611a2857600080fd5b818601915086601f830112611a3c57600080fd5b813581811115611a4b57600080fd5b8760208260051b8501011115611a6057600080fd5b6020830194508093505050509250925092565b600060208284031215611a8557600080fd5b6117ba826117c1565b60008060408385031215611aa157600080fd5b611aaa836117c1565b91506020830135801515811461181057600080fd5b60008060008060808587031215611ad557600080fd5b611ade856117c1565b9350611aec602086016117c1565b925060408501359150606085013567ffffffffffffffff811115611b0f57600080fd5b8501601f81018713611b2057600080fd5b611b2f87823560208401611935565b91505092959194509250565b60008060408385031215611b4e57600080fd5b611b57836117c1565b9150611b65602084016117c1565b90509250929050565b600181811c90821680611b8257607f821691505b602082108103611ba257634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141761064757610647611ba8565b600082611bf257634e487b7160e01b600052601260045260246000fd5b500490565b8082018082111561064757610647611ba8565b601f821115610c2f57600081815260208120601f850160051c81016020861015611c315750805b601f850160051c820191505b81811015610d1457828155600101611c3d565b815167ffffffffffffffff811115611c6a57611c6a61191f565b611c7e81611c788454611b6e565b84611c0a565b602080601f831160018114611cb35760008415611c9b5750858301515b600019600386901b1c1916600185901b178555610d14565b600085815260208120601f198616915b82811015611ce257888601518255948401946001909101908401611cc3565b5085821015611d005787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052603260045260246000fd5b600060018201611d3857611d38611ba8565b5060010190565b6000808454611d4d81611b6e565b60018281168015611d655760018114611d7a57611da9565b60ff1984168752821515830287019450611da9565b8860005260208060002060005b85811015611da05781548a820152908401908201611d87565b50505082870194505b505050508351611dbd81836020880161181b565b64173539b7b760d91b9101908152600501949350505050565b600081611de557611de5611ba8565b506000190190565b60006001600160a01b03808716835280861660208401525083604083015260806060830152611e1f608083018461183f565b9695505050505050565b600060208284031215611e3b57600080fd5b81516117ba8161178756fea26469706673582212209a16198d5a87cdf4f418511eeb32e9bdb4180b24aeead58f588d00a4e662499b64736f6c634300081100330000000000000000000000000000000000000000000000000000000000000186000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000747656d6577697a000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004474d575a000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000043697066733a2f2f626166796265696766326b6174706d7073766f7a6e36776d73756d363464356b3433693378347734366b34376a33776e326e6c657a36686e3579712f0000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106102045760003560e01c80636d7c4a4b11610118578063a7027357116100a0578063d5abeb011161006f578063d5abeb0114610582578063e985e9c514610598578063f2fde38b146105e1578063f892c6e214610601578063f968adbe1461061757600080fd5b8063a70273571461051f578063b88d4fde14610535578063c87b56dd14610548578063d12397301461056857600080fd5b80638da5cb5b116100e75780638da5cb5b1461049657806391b7f5ed146104b457806395d89b41146104d4578063a035b1fe146104e9578063a22cb465146104ff57600080fd5b80636d7c4a4b1461042c57806370a082311461044c578063715018a61461046c5780637ba5e6211461048157600080fd5b80632a55205a1161019b578063453c23101161016a578063453c2310146103a157806355f804b3146103b75780635f6640aa146103d75780636352211e146103f75780636c0360eb1461041757600080fd5b80632a55205a146103275780632db11544146103665780633ccfd60b1461037957806342842e0e1461038e57600080fd5b8063095ea7b3116101d7578063095ea7b3146102ba5780630c23bb3f146102cd57806318160ddd146102ed57806323b872dd1461031457600080fd5b806301ffc9a71461020957806302fa7c471461023e57806306fdde0314610260578063081812fc14610282575b600080fd5b34801561021557600080fd5b5061022961022436600461179d565b61062d565b60405190151581526020015b60405180910390f35b34801561024a57600080fd5b5061025e6102593660046117d8565b61064d565b005b34801561026c57600080fd5b50610275610663565b604051610235919061186b565b34801561028e57600080fd5b506102a261029d36600461187e565b6106f5565b6040516001600160a01b039091168152602001610235565b61025e6102c8366004611897565b610730565b3480156102d957600080fd5b5061025e6102e836600461187e565b61073c565b3480156102f957600080fd5b5060015460005403600019015b604051908152602001610235565b61025e6103223660046118c1565b610749565b34801561033357600080fd5b506103476103423660046118fd565b6108cb565b604080516001600160a01b039093168352602083019190915201610235565b61025e61037436600461187e565b610977565b34801561038557600080fd5b5061025e610b7e565b61025e61039c3660046118c1565b610c14565b3480156103ad57600080fd5b5061030660105481565b3480156103c357600080fd5b5061025e6103d23660046119ab565b610c34565b3480156103e357600080fd5b5061025e6103f23660046119f4565b610c48565b34801561040357600080fd5b506102a261041236600461187e565b610d1c565b34801561042357600080fd5b50610275610d27565b34801561043857600080fd5b5061025e61044736600461187e565b610db5565b34801561045857600080fd5b50610306610467366004611a73565b610dc2565b34801561047857600080fd5b5061025e610e08565b34801561048d57600080fd5b5061025e610e1c565b3480156104a257600080fd5b50600a546001600160a01b03166102a2565b3480156104c057600080fd5b5061025e6104cf36600461187e565b610e38565b3480156104e057600080fd5b50610275610e45565b3480156104f557600080fd5b50610306600e5481565b34801561050b57600080fd5b5061025e61051a366004611a8e565b610e54565b34801561052b57600080fd5b50610306600d5481565b61025e610543366004611abf565b610ec0565b34801561055457600080fd5b5061027561056336600461187e565b610efb565b34801561057457600080fd5b506011546102299060ff1681565b34801561058e57600080fd5b50610306600b5481565b3480156105a457600080fd5b506102296105b3366004611b3b565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156105ed57600080fd5b5061025e6105fc366004611a73565b610f9c565b34801561060d57600080fd5b50610306600c5481565b34801561062357600080fd5b50610306600f5481565b600061063882611012565b80610647575061064782611060565b92915050565b610655611095565b61065f82826110ef565b5050565b60606002805461067290611b6e565b80601f016020809104026020016040519081016040528092919081815260200182805461069e90611b6e565b80156106eb5780601f106106c0576101008083540402835291602001916106eb565b820191906000526020600020905b8154815290600101906020018083116106ce57829003601f168201915b5050505050905090565b6000610700826111ec565b610714576107146333d1c03960e21b61123a565b506000908152600660205260409020546001600160a01b031690565b61065f82826001611244565b610744611095565b600c55565b600061075482611304565b6001600160a01b03948516949091508116841461077a5761077a62a1148160e81b61123a565b60008281526006602052604090208054338082146001600160a01b038816909114176107db576001600160a01b038616600090815260076020908152604080832033845290915290205460ff166107db576107db632ce44b5f60e11b61123a565b80156107e657600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003610878576001840160008181526004602052604081205490036108765760005481146108765760008181526004602052604090208490555b505b6001600160a01b0385168481887fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4806000036108c2576108c2633a954ecd60e21b61123a565b50505050505050565b60008281526009602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b03169282019290925282916109405750604080518082019091526008546001600160a01b0381168252600160a01b90046001600160601b031660208201525b60208101516000906127109061095f906001600160601b031687611bbe565b6109699190611bd5565b915196919550909350505050565b60115460ff166109ce5760405162461bcd60e51b815260206004820152601860248201527f4d696e74696e67206973206e6f74206c697665207965742e000000000000000060448201526064015b60405180910390fd5b600b546109dc906001611bf7565b60015460005483919003600019016109f49190611bf7565b10610a2b5760405162461bcd60e51b81526020600482015260076024820152664e6f206d6f726560c81b60448201526064016109c5565b600e54601054600c546001546000540360001901108015610a67575033600090815260056020526040908190205467ffffffffffffffff911c16155b8015610a755750600d548311155b15610a83575050600d546000905b3360009081526005602052604090819020548291610aad9186911c67ffffffffffffffff16611bf7565b1115610aec5760405162461bcd60e51b815260206004820152600e60248201526d13585e081c195c881dd85b1b195d60921b60448201526064016109c5565b33600090815260056020526040908190205484911c67ffffffffffffffff16600003610b155750825b610b1f8382611bbe565b341015610b6e5760405162461bcd60e51b815260206004820152601d60248201527f506c656173652073656e642074686520657861637420616d6f756e742e00000060448201526064016109c5565b610b7833856113a5565b50505050565b610b86611095565b604051600090339047908381818185875af1925050503d8060008114610bc8576040519150601f19603f3d011682016040523d82523d6000602084013e610bcd565b606091505b5050905080610c115760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b60448201526064016109c5565b50565b610c2f83838360405180602001604052806000815250610ec0565b505050565b610c3c611095565b601261065f8282611c50565b610c50611095565b6000610c656001546000546000199190030190565b90506000610c738386611bbe565b600b54909150610c838284611bf7565b1115610cc75760405162461bcd60e51b815260206004820152601360248201527222bc31b2b2b2399036b0bc1039bab838363c9760691b60448201526064016109c5565b60005b83811015610d1457610d02858583818110610ce757610ce7611d10565b9050602002016020810190610cfc9190611a73565b876113a5565b80610d0c81611d26565b915050610cca565b505050505050565b600061064782611304565b60128054610d3490611b6e565b80601f0160208091040260200160405190810160405280929190818152602001828054610d6090611b6e565b8015610dad5780601f10610d8257610100808354040283529160200191610dad565b820191906000526020600020905b815481529060010190602001808311610d9057829003601f168201915b505050505081565b610dbd611095565b600d55565b60006001600160a01b038216610de257610de26323d3ad8160e21b61123a565b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610e10611095565b610e1a60006113bf565b565b610e24611095565b6011805460ff19811660ff90911615179055565b610e40611095565b600e55565b60606003805461067290611b6e565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610ecb848484610749565b6001600160a01b0383163b15610b7857610ee784848484611411565b610b7857610b786368d2bf6b60e11b61123a565b6060610f06826111ec565b610f6a5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016109c5565b6012610f75836114f4565b604051602001610f86929190611d3f565b6040516020818303038152906040529050919050565b610fa4611095565b6001600160a01b0381166110095760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109c5565b610c11816113bf565b60006301ffc9a760e01b6001600160e01b03198316148061104357506380ac58cd60e01b6001600160e01b03198316145b806106475750506001600160e01b031916635b5e139f60e01b1490565b60006001600160e01b0319821663152a902d60e11b148061064757506301ffc9a760e01b6001600160e01b0319831614610647565b600a546001600160a01b03163314610e1a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109c5565b6127106001600160601b038216111561115d5760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b60648201526084016109c5565b6001600160a01b0382166111b35760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c69642072656365697665720000000000000060448201526064016109c5565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600855565b600081600111611235576000548210156112355760005b506000828152600460205260408120549081900361122b5761122483611dd6565b9250611203565b600160e01b161590505b919050565b8060005260046000fd5b600061124f83610d1c565b90508180156112675750336001600160a01b03821614155b156112a7576001600160a01b038116600090815260076020908152604080832033845290915290205460ff166112a7576112a76367d9dca160e11b61123a565b60008381526006602052604080822080546001600160a01b0319166001600160a01b0388811691821790925591518693918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a450505050565b60008160011161139557506000818152600460205260408120549081900361138257600054821061133f5761133f636f96cda160e11b61123a565b5b5060001901600081815260046020526040902054801561134057600160e01b811660000361136d57919050565b61137d636f96cda160e11b61123a565b611340565b600160e01b811660000361139557919050565b611235636f96cda160e11b61123a565b61065f828260405180602001604052806000815250611587565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611446903390899088908890600401611ded565b6020604051808303816000875af1925050508015611481575060408051601f3d908101601f1916820190925261147e91810190611e29565b60015b6114d6573d8080156114af576040519150601f19603f3d011682016040523d82523d6000602084013e6114b4565b606091505b5080516000036114ce576114ce6368d2bf6b60e11b61123a565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60606000611501836115f0565b600101905060008167ffffffffffffffff8111156115215761152161191f565b6040519080825280601f01601f19166020018201604052801561154b576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461155557509392505050565b61159183836116c8565b6001600160a01b0383163b15610c2f576000548281035b6115bb6000868380600101945086611411565b6115cf576115cf6368d2bf6b60e11b61123a565b8181106115a85781600054146115e9576115e9600061123a565b5050505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b831061162f5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef8100000000831061165b576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061167957662386f26fc10000830492506010015b6305f5e1008310611691576305f5e100830492506008015b61271083106116a557612710830492506004015b606483106116b7576064830492506002015b600a83106106475760010192915050565b60008054908290036116e4576116e463b562e8dd60e01b61123a565b60008181526004602090815260408083206001600160a01b0387164260a01b6001881460e11b1781179091558084526005909252822080546801000000000000000186020190559081900361174257611742622e076360e81b61123a565b818301825b808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4818160010191508103611747575060005550505050565b6001600160e01b031981168114610c1157600080fd5b6000602082840312156117af57600080fd5b81356117ba81611787565b9392505050565b80356001600160a01b038116811461123557600080fd5b600080604083850312156117eb57600080fd5b6117f4836117c1565b915060208301356001600160601b038116811461181057600080fd5b809150509250929050565b60005b8381101561183657818101518382015260200161181e565b50506000910152565b6000815180845261185781602086016020860161181b565b601f01601f19169290920160200192915050565b6020815260006117ba602083018461183f565b60006020828403121561189057600080fd5b5035919050565b600080604083850312156118aa57600080fd5b6118b3836117c1565b946020939093013593505050565b6000806000606084860312156118d657600080fd5b6118df846117c1565b92506118ed602085016117c1565b9150604084013590509250925092565b6000806040838503121561191057600080fd5b50508035926020909101359150565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156119505761195061191f565b604051601f8501601f19908116603f011681019082821181831017156119785761197861191f565b8160405280935085815286868601111561199157600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156119bd57600080fd5b813567ffffffffffffffff8111156119d457600080fd5b8201601f810184136119e557600080fd5b6114ec84823560208401611935565b600080600060408486031215611a0957600080fd5b83359250602084013567ffffffffffffffff80821115611a2857600080fd5b818601915086601f830112611a3c57600080fd5b813581811115611a4b57600080fd5b8760208260051b8501011115611a6057600080fd5b6020830194508093505050509250925092565b600060208284031215611a8557600080fd5b6117ba826117c1565b60008060408385031215611aa157600080fd5b611aaa836117c1565b91506020830135801515811461181057600080fd5b60008060008060808587031215611ad557600080fd5b611ade856117c1565b9350611aec602086016117c1565b925060408501359150606085013567ffffffffffffffff811115611b0f57600080fd5b8501601f81018713611b2057600080fd5b611b2f87823560208401611935565b91505092959194509250565b60008060408385031215611b4e57600080fd5b611b57836117c1565b9150611b65602084016117c1565b90509250929050565b600181811c90821680611b8257607f821691505b602082108103611ba257634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141761064757610647611ba8565b600082611bf257634e487b7160e01b600052601260045260246000fd5b500490565b8082018082111561064757610647611ba8565b601f821115610c2f57600081815260208120601f850160051c81016020861015611c315750805b601f850160051c820191505b81811015610d1457828155600101611c3d565b815167ffffffffffffffff811115611c6a57611c6a61191f565b611c7e81611c788454611b6e565b84611c0a565b602080601f831160018114611cb35760008415611c9b5750858301515b600019600386901b1c1916600185901b178555610d14565b600085815260208120601f198616915b82811015611ce257888601518255948401946001909101908401611cc3565b5085821015611d005787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052603260045260246000fd5b600060018201611d3857611d38611ba8565b5060010190565b6000808454611d4d81611b6e565b60018281168015611d655760018114611d7a57611da9565b60ff1984168752821515830287019450611da9565b8860005260208060002060005b85811015611da05781548a820152908401908201611d87565b50505082870194505b505050508351611dbd81836020880161181b565b64173539b7b760d91b9101908152600501949350505050565b600081611de557611de5611ba8565b506000190190565b60006001600160a01b03808716835280861660208401525083604083015260806060830152611e1f608083018461183f565b9695505050505050565b600060208284031215611e3b57600080fd5b81516117ba8161178756fea26469706673582212209a16198d5a87cdf4f418511eeb32e9bdb4180b24aeead58f588d00a4e662499b64736f6c63430008110033

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

0000000000000000000000000000000000000000000000000000000000000186000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000747656d6577697a000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004474d575a000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000043697066733a2f2f626166796265696766326b6174706d7073766f7a6e36776d73756d363464356b3433693378347734366b34376a33776e326e6c657a36686e3579712f0000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _royaltyFeesInBips (uint96): 390
Arg [1] : _name (string): Gemewiz
Arg [2] : _symbol (string): GMWZ
Arg [3] : _initBaseURI (string): ipfs://bafybeigf2katpmpsvozn6wmsum64d5k43i3x4w46k47j3wn2nlez6hn5yq/

-----Encoded View---------------
12 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000186
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [5] : 47656d6577697a00000000000000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [7] : 474d575a00000000000000000000000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000043
Arg [9] : 697066733a2f2f626166796265696766326b6174706d7073766f7a6e36776d73
Arg [10] : 756d363464356b3433693378347734366b34376a33776e326e6c657a36686e35
Arg [11] : 79712f0000000000000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

82165:3978:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;82830:411;;;;;;;;;;-1:-1:-1;82830:411:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;82830:411:0;;;;;;;;83247:160;;;;;;;;;;-1:-1:-1;83247:160:0;;;;;:::i;:::-;;:::i;:::-;;47737:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;54771:227::-;;;;;;;;;;-1:-1:-1;54771:227:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;2269:55:1;;;2251:74;;2239:2;2224:18;54771:227:0;2105:226:1;54488:124:0;;;;;;:::i;:::-;;:::i;85704:104::-;;;;;;;;;;-1:-1:-1;85704:104:0;;;;;:::i;:::-;;:::i;43479:323::-;;;;;;;;;;-1:-1:-1;83987:1:0;43753:12;43540:7;43737:13;:28;-1:-1:-1;;43737:46:0;43479:323;;;2741:25:1;;;2729:2;2714:18;43479:323:0;2595:177:1;58505:3523:0;;;;;;:::i;:::-;;:::i;4710:438::-;;;;;;;;;;-1:-1:-1;4710:438:0;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;3555:55:1;;;3537:74;;3642:2;3627:18;;3620:34;;;;3510:18;4710:438:0;3363:297:1;84006:962:0;;;;;;:::i;:::-;;:::i;85934:206::-;;;;;;;;;;;;;:::i;62124:193::-;;;;;;:::i;:::-;;:::i;82461:32::-;;;;;;;;;;;;;;;;85508:88;;;;;;;;;;-1:-1:-1;85508:88:0;;;;;:::i;:::-;;:::i;83415:477::-;;;;;;;;;;-1:-1:-1;83415:477:0;;;;;:::i;:::-;;:::i;49139:152::-;;;;;;;;;;-1:-1:-1;49139:152:0;;;;;:::i;:::-;;:::i;82538:21::-;;;;;;;;;;;;;:::i;85816:110::-;;;;;;;;;;-1:-1:-1;85816:110:0;;;;;:::i;:::-;;:::i;44663:242::-;;;;;;;;;;-1:-1:-1;44663:242:0;;;;;:::i;:::-;;:::i;27525:103::-;;;;;;;;;;;;;:::i;85416:84::-;;;;;;;;;;;;;:::i;26884:87::-;;;;;;;;;;-1:-1:-1;26957:6:0;;-1:-1:-1;;;;;26957:6:0;26884:87;;85604:92;;;;;;;;;;-1:-1:-1;85604:92:0;;;;;:::i;:::-;;:::i;47913:104::-;;;;;;;;;;;;;:::i;82385:34::-;;;;;;;;;;;;;;;;55338:234;;;;;;;;;;-1:-1:-1;55338:234:0;;;;;:::i;:::-;;:::i;82343:35::-;;;;;;;;;;;;;;;;62915:416;;;;;;:::i;:::-;;:::i;85092:316::-;;;;;;;;;;-1:-1:-1;85092:316:0;;;;;:::i;:::-;;:::i;82500:31::-;;;;;;;;;;-1:-1:-1;82500:31:0;;;;;;;;82263;;;;;;;;;;;;;;;;55729:164;;;;;;;;;;-1:-1:-1;55729:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;55850:25:0;;;55826:4;55850:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;55729:164;27783:201;;;;;;;;;;-1:-1:-1;27783:201:0;;;;;:::i;:::-;;:::i;82301:35::-;;;;;;;;;;;;;;;;82426:28;;;;;;;;;;;;;;;;82830:411;82941:4;83147:38;83173:11;83147:25;:38::i;:::-;:90;;;;83199:38;83225:11;83199:25;:38::i;:::-;83130:107;82830:411;-1:-1:-1;;82830:411:0:o;83247:160::-;26770:13;:11;:13::i;:::-;83350:49:::1;83369:9;83380:18;83350;:49::i;:::-;83247:160:::0;;:::o;47737:100::-;47791:13;47824:5;47817:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47737:100;:::o;54771:227::-;54847:7;54872:16;54880:7;54872;:16::i;:::-;54867:73;;54890:50;-1:-1:-1;;;54890:7:0;:50::i;:::-;-1:-1:-1;54960:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;54960:30:0;;54771:227::o;54488:124::-;54577:27;54586:2;54590:7;54599:4;54577:8;:27::i;85704:104::-;26770:13;:11;:13::i;:::-;85777::::1;:23:::0;85704:104::o;58505:3523::-;58647:27;58677;58696:7;58677:18;:27::i;:::-;-1:-1:-1;;;;;58832:22:0;;;;58647:57;;-1:-1:-1;58892:45:0;;;;58888:95;;58939:44;-1:-1:-1;;;58939:7:0;:44::i;:::-;58997:27;57613:24;;;:15;:24;;;;;57841:26;;79997:10;57238:30;;;-1:-1:-1;;;;;56931:28:0;;57216:20;;;57213:56;59183:189;;-1:-1:-1;;;;;55850:25:0;;55826:4;55850:25;;;:18;:25;;;;;;;;79997:10;55850:35;;;;;;;;;;59271:101;;59321:51;-1:-1:-1;;;59321:7:0;:51::i;:::-;59521:15;59518:160;;;59661:1;59640:19;59633:30;59518:160;-1:-1:-1;;;;;60058:24:0;;;;;;;:18;:24;;;;;;60056:26;;-1:-1:-1;;60056:26:0;;;60127:22;;;;;;;;;60125:24;;-1:-1:-1;60125:24:0;;;53590:11;53565:23;53561:41;53548:63;-1:-1:-1;;;53548:63:0;60420:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;60715:47:0;;:52;;60711:627;;60820:1;60810:11;;60788:19;60943:30;;;:17;:30;;;;;;:35;;60939:384;;61081:13;;61066:11;:28;61062:242;;61228:30;;;;:17;:30;;;;;:52;;;61062:242;60769:569;60711:627;-1:-1:-1;;;;;61470:20:0;;61850:7;61470:20;61780:4;61722:25;61451:16;;61587:299;61911:8;61923:1;61911:13;61907:58;;61926:39;-1:-1:-1;;;61926:7:0;:39::i;:::-;58636:3392;;;;58505:3523;;;:::o;4710:438::-;4805:7;4863:26;;;:17;:26;;;;;;;;4834:55;;;;;;;;;-1:-1:-1;;;;;4834:55:0;;;;;-1:-1:-1;;;4834:55:0;;;-1:-1:-1;;;;;4834:55:0;;;;;;;;4805:7;;4902:92;;-1:-1:-1;4953:29:0;;;;;;;;;4963:19;4953:29;-1:-1:-1;;;;;4953:29:0;;;;-1:-1:-1;;;4953:29:0;;-1:-1:-1;;;;;4953:29:0;;;;;4902:92;5043:23;;;;5006:21;;5514:5;;5031:35;;-1:-1:-1;;;;;5031:35:0;:9;:35;:::i;:::-;5030:57;;;;:::i;:::-;5108:16;;;;;-1:-1:-1;4710:438:0;;-1:-1:-1;;;;4710:438:0:o;84006:962::-;84082:11;;;;84074:48;;;;-1:-1:-1;;;84074:48:0;;8304:2:1;84074:48:0;;;8286:21:1;8343:2;8323:18;;;8316:30;8382:26;8362:18;;;8355:54;8426:18;;84074:48:0;;;;;;;;;84168:9;;:13;;84180:1;84168:13;:::i;:::-;83987:1;43753:12;43540:7;43737:13;84157:8;;43737:28;;-1:-1:-1;;43737:46:0;84141:24;;;;:::i;:::-;:40;84133:60;;;;-1:-1:-1;;;84133:60:0;;8787:2:1;84133:60:0;;;8769:21:1;8826:1;8806:18;;;8799:29;-1:-1:-1;;;8844:18:1;;;8837:37;8891:18;;84133:60:0;8585:330:1;84133:60:0;84219:5;;84259:12;;84328:13;;83987:1;43753:12;43540:7;43737:13;:28;-1:-1:-1;;43737:46:0;84312:29;:76;;;;-1:-1:-1;84372:10:0;45048:7;45076:25;;;:18;:25;;38960:2;45076:25;;;;;38822:13;45076:50;;45075:82;84358:30;84312:76;:121;;;;;84417:16;;84405:8;:28;;84312:121;84294:233;;;-1:-1:-1;;84499:16:0;;84467:1;;84294:233;84575:10;45048:7;45076:25;;;:18;:25;;38960:2;45076:25;;;;;84601:13;;84561:36;;84589:8;;45076:50;38822:13;45075:82;84561:36;:::i;:::-;:53;;84539:117;;;;-1:-1:-1;;;84539:117:0;;9122:2:1;84539:117:0;;;9104:21:1;9161:2;9141:18;;;9134:30;-1:-1:-1;;;9180:18:1;;;9173:44;9234:18;;84539:117:0;8920:338:1;84539:117:0;84729:10;45048:7;45076:25;;;:18;:25;;38960:2;45076:25;;;;;84692:8;;45076:50;38822:13;45075:82;84744:1;84715:30;84711:86;;-1:-1:-1;84777:8:0;84711:86;84842:19;84857:4;84842:12;:19;:::i;:::-;84829:9;:32;;84807:111;;;;-1:-1:-1;;;84807:111:0;;9465:2:1;84807:111:0;;;9447:21:1;9504:2;9484:18;;;9477:30;9543:31;9523:18;;;9516:59;9592:18;;84807:111:0;9263:353:1;84807:111:0;84929:31;84939:10;84951:8;84929:9;:31::i;:::-;84063:905;;;84006:962;:::o;85934:206::-;26770:13;:11;:13::i;:::-;86003:82:::1;::::0;85985:12:::1;::::0;86011:10:::1;::::0;86049:21:::1;::::0;85985:12;86003:82;85985:12;86003:82;86049:21;86011:10;86003:82:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;85984:101;;;86104:7;86096:36;;;::::0;-1:-1:-1;;;86096:36:0;;10033:2:1;86096:36:0::1;::::0;::::1;10015:21:1::0;10072:2;10052:18;;;10045:30;-1:-1:-1;;;10091:18:1;;;10084:46;10147:18;;86096:36:0::1;9831:340:1::0;86096:36:0::1;85973:167;85934:206::o:0;62124:193::-;62270:39;62287:4;62293:2;62297:7;62270:39;;;;;;;;;;;;:16;:39::i;:::-;62124:193;;;:::o;85508:88::-;26770:13;:11;:13::i;:::-;85575:7:::1;:13;85585:3:::0;85575:7;:13:::1;:::i;83415:477::-:0;26770:13;:11;:13::i;:::-;83517:19:::1;83547:13;83987:1:::0;43753:12;43540:7;43737:13;-1:-1:-1;;43737:28:0;;;:46;;43479:323;83547:13:::1;83517:44:::0;-1:-1:-1;83569:16:0::1;83590:36;83610:9:::0;83590:17;:36:::1;:::i;:::-;83670:9;::::0;83569:57;;-1:-1:-1;83641:25:0::1;83569:57:::0;83641:11;:25:::1;:::i;:::-;:38;;83633:70;;;::::0;-1:-1:-1;;;83633:70:0;;12582:2:1;83633:70:0::1;::::0;::::1;12564:21:1::0;12621:2;12601:18;;;12594:30;-1:-1:-1;;;12640:18:1;;;12633:49;12699:18;;83633:70:0::1;12380:343:1::0;83633:70:0::1;83716:9;83711:116;83731:20:::0;;::::1;83711:116;;;83773:42;83783:9;;83793:1;83783:12;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;83797:17;83773:9;:42::i;:::-;83753:3:::0;::::1;::::0;::::1;:::i;:::-;;;;83711:116;;;-1:-1:-1::0;;;;;;83415:477:0:o;49139:152::-;49211:7;49254:27;49273:7;49254:18;:27::i;82538:21::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;85816:110::-;26770:13;:11;:13::i;:::-;85892:16:::1;:26:::0;85816:110::o;44663:242::-;44735:7;-1:-1:-1;;;;;44759:19:0;;44755:69;;44780:44;-1:-1:-1;;;44780:7:0;:44::i;:::-;-1:-1:-1;;;;;;44842:25:0;;;;;:18;:25;;;;;;38822:13;44842:55;;44663:242::o;27525:103::-;26770:13;:11;:13::i;:::-;27590:30:::1;27617:1;27590:18;:30::i;:::-;27525:103::o:0;85416:84::-;26770:13;:11;:13::i;:::-;85481:11:::1;::::0;;-1:-1:-1;;85466:26:0;::::1;85481:11;::::0;;::::1;85480:12;85466:26;::::0;;85416:84::o;85604:92::-;26770:13;:11;:13::i;:::-;85671:5:::1;:17:::0;85604:92::o;47913:104::-;47969:13;48002:7;47995:14;;;;;:::i;55338:234::-;79997:10;55433:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;55433:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;55433:60:0;;;;;;;;;;55509:55;;540:41:1;;;55433:49:0;;79997:10;55509:55;;513:18:1;55509:55:0;;;;;;;55338:234;;:::o;62915:416::-;63090:31;63103:4;63109:2;63113:7;63090:12;:31::i;:::-;-1:-1:-1;;;;;63136:14:0;;;:19;63132:192;;63175:56;63206:4;63212:2;63216:7;63225:5;63175:30;:56::i;:::-;63170:154;;63252:56;-1:-1:-1;;;63252:7:0;:56::i;85092:316::-;85181:13;85229:16;85237:7;85229;:16::i;:::-;85207:113;;;;-1:-1:-1;;;85207:113:0;;13202:2:1;85207:113:0;;;13184:21:1;13241:2;13221:18;;;13214:30;13280:34;13260:18;;;13253:62;-1:-1:-1;;;13331:18:1;;;13324:45;13386:19;;85207:113:0;13000:411:1;85207:113:0;85362:7;85371:18;:7;:16;:18::i;:::-;85345:54;;;;;;;;;:::i;:::-;;;;;;;;;;;;;85331:69;;85092:316;;;:::o;27783:201::-;26770:13;:11;:13::i;:::-;-1:-1:-1;;;;;27872:22:0;::::1;27864:73;;;::::0;-1:-1:-1;;;27864:73:0;;14810:2:1;27864:73:0::1;::::0;::::1;14792:21:1::0;14849:2;14829:18;;;14822:30;14888:34;14868:18;;;14861:62;-1:-1:-1;;;14939:18:1;;;14932:36;14985:19;;27864:73:0::1;14608:402:1::0;27864:73:0::1;27948:28;27967:8;27948:18;:28::i;46835:639::-:0;46920:4;-1:-1:-1;;;;;;;;;47244:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;47321:25:0;;;47244:102;:179;;;-1:-1:-1;;;;;;;;47398:25:0;-1:-1:-1;;;47398:25:0;;46835:639::o;4440:215::-;4542:4;-1:-1:-1;;;;;;4566:41:0;;-1:-1:-1;;;4566:41:0;;:81;;-1:-1:-1;;;;;;;;;;1997:40:0;;;4611:36;1888:157;27049:132;26957:6;;-1:-1:-1;;;;;26957:6:0;79997:10;27113:23;27105:68;;;;-1:-1:-1;;;27105:68:0;;15217:2:1;27105:68:0;;;15199:21:1;;;15236:18;;;15229:30;15295:34;15275:18;;;15268:62;15347:18;;27105:68:0;15015:356:1;5798:332:0;5514:5;-1:-1:-1;;;;;5901:33:0;;;;5893:88;;;;-1:-1:-1;;;5893:88:0;;15578:2:1;5893:88:0;;;15560:21:1;15617:2;15597:18;;;15590:30;15656:34;15636:18;;;15629:62;-1:-1:-1;;;15707:18:1;;;15700:40;15757:19;;5893:88:0;15376:406:1;5893:88:0;-1:-1:-1;;;;;6000:22:0;;5992:60;;;;-1:-1:-1;;;5992:60:0;;15989:2:1;5992:60:0;;;15971:21:1;16028:2;16008:18;;;16001:30;16067:27;16047:18;;;16040:55;16112:18;;5992:60:0;15787:349:1;5992:60:0;6087:35;;;;;;;;;-1:-1:-1;;;;;6087:35:0;;;;;;-1:-1:-1;;;;;6087:35:0;;;;;;;;;;-1:-1:-1;;;6065:57:0;;;;:19;:57;5798:332::o;56151:368::-;56216:11;56263:7;83987:1;56244:26;56240:272;;56301:13;;56291:7;:23;56287:214;;;56335:14;56368:60;-1:-1:-1;56385:26:0;;;;:17;:26;;;;;;;56375:42;;;56368:60;;56419:9;;;:::i;:::-;;;56368:60;;;-1:-1:-1;;;56456:24:0;:29;;-1:-1:-1;56287:214:0;56151:368;;;:::o;81929:165::-;82030:13;82024:4;82017:27;82071:4;82065;82058:18;73362:474;73491:13;73507:16;73515:7;73507;:16::i;:::-;73491:32;;73540:13;:45;;;;-1:-1:-1;79997:10:0;-1:-1:-1;;;;;73557:28:0;;;;73540:45;73536:201;;;-1:-1:-1;;;;;55850:25:0;;55826:4;55850:25;;;:18;:25;;;;;;;;79997:10;55850:35;;;;;;;;;;73600:137;;73670:51;-1:-1:-1;;;73670:7:0;:51::i;:::-;73749:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;73749:35:0;-1:-1:-1;;;;;73749:35:0;;;;;;;;;73800:28;;73749:24;;73800:28;;;;;;;73480:356;73362:474;;;:::o;50619:2012::-;50686:14;50736:7;83987:1;50717:26;50713:1853;;-1:-1:-1;50769:26:0;;;;:17;:26;;;;;;;50895:11;;;50891:1292;;50942:13;;50931:7;:24;50927:77;;50957:47;-1:-1:-1;;;50957:7:0;:47::i;:::-;51561:607;-1:-1:-1;;;51657:9:0;51639:28;;;;:17;:28;;;;;;51713:25;;51561:607;51713:25;-1:-1:-1;;;51765:6:0;:24;51793:1;51765:29;51761:48;;50619:2012;;;:::o;51761:48::-;52101:47;-1:-1:-1;;;52101:7:0;:47::i;:::-;51561:607;;50891:1292;-1:-1:-1;;;52510:6:0;:24;52538:1;52510:29;52506:48;;50619:2012;;;:::o;52506:48::-;52576:47;-1:-1:-1;;;52576:7:0;:47::i;72444:112::-;72521:27;72531:2;72535:8;72521:27;;;;;;;;;;;;:9;:27::i;28144:191::-;28237:6;;;-1:-1:-1;;;;;28254:17:0;;;-1:-1:-1;;;;;;28254:17:0;;;;;;;28287:40;;28237:6;;;28254:17;28237:6;;28287:40;;28218:16;;28287:40;28207:128;28144:191;:::o;65415:691::-;65599:88;;-1:-1:-1;;;65599:88:0;;65578:4;;-1:-1:-1;;;;;65599:45:0;;;;;:88;;79997:10;;65666:4;;65672:7;;65681:5;;65599:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;65599:88:0;;;;;;;;-1:-1:-1;;65599:88:0;;;;;;;;;;;;:::i;:::-;;;65595:504;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;65882:6;:13;65899:1;65882:18;65878:115;;65921:56;-1:-1:-1;;;65921:7:0;:56::i;:::-;66065:6;66059:13;66050:6;66046:2;66042:15;66035:38;65595:504;-1:-1:-1;;;;;;65758:64:0;-1:-1:-1;;;65758:64:0;;-1:-1:-1;65595:504:0;65415:691;;;;;;:::o;22248:716::-;22304:13;22355:14;22372:17;22383:5;22372:10;:17::i;:::-;22392:1;22372:21;22355:38;;22408:20;22442:6;22431:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;22431:18:0;-1:-1:-1;22408:41:0;-1:-1:-1;22573:28:0;;;22589:2;22573:28;22630:288;-1:-1:-1;;22662:5:0;-1:-1:-1;;;22799:2:0;22788:14;;22783:30;22662:5;22770:44;22860:2;22851:11;;;-1:-1:-1;22881:21:0;22630:288;22881:21;-1:-1:-1;22939:6:0;22248:716;-1:-1:-1;;;22248:716:0:o;71652:708::-;71783:19;71789:2;71793:8;71783:5;:19::i;:::-;-1:-1:-1;;;;;71844:14:0;;;:19;71840:502;;71884:11;71898:13;71946:14;;;71979:242;72010:62;72049:1;72053:2;72057:7;;;;;;72066:5;72010:30;:62::i;:::-;72005:176;;72101:56;-1:-1:-1;;;72101:7:0;:56::i;:::-;72216:3;72208:5;:11;71979:242;;72303:3;72286:13;;:20;72282:44;;72308:18;72323:1;72308:7;:18::i;:::-;71865:477;;71652:708;;;:::o;19029:948::-;19082:7;;-1:-1:-1;;;19160:17:0;;19156:106;;-1:-1:-1;;;19198:17:0;;;-1:-1:-1;19244:2:0;19234:12;19156:106;19289:8;19280:5;:17;19276:106;;19327:8;19318:17;;;-1:-1:-1;19364:2:0;19354:12;19276:106;19409:8;19400:5;:17;19396:106;;19447:8;19438:17;;;-1:-1:-1;19484:2:0;19474:12;19396:106;19529:7;19520:5;:16;19516:103;;19566:7;19557:16;;;-1:-1:-1;19602:1:0;19592:11;19516:103;19646:7;19637:5;:16;19633:103;;19683:7;19674:16;;;-1:-1:-1;19719:1:0;19709:11;19633:103;19763:7;19754:5;:16;19750:103;;19800:7;19791:16;;;-1:-1:-1;19836:1:0;19826:11;19750:103;19880:7;19871:5;:16;19867:68;;19918:1;19908:11;19963:6;19029:948;-1:-1:-1;;19029:948:0:o;66568:2305::-;66641:20;66664:13;;;66692;;;66688:53;;66707:34;-1:-1:-1;;;66707:7:0;:34::i;:::-;67254:31;;;;:17;:31;;;;;;;;-1:-1:-1;;;;;53416:28:0;;53590:11;53565:23;53561:41;54034:1;54021:15;;53995:24;53991:46;53558:52;53548:63;;67254:173;;;67645:22;;;:18;:22;;;;;:71;;67683:32;67671:45;;67645:71;;;53416:28;67906:13;;;67902:54;;67921:35;-1:-1:-1;;;67921:7:0;:35::i;:::-;67987:23;;;:12;68072:676;68491:7;68447:8;68402:1;68336:25;68273:1;68208;68177:358;68743:3;68730:9;;;;;;:16;68072:676;;-1:-1:-1;68764:13:0;:19;-1:-1:-1;62124:193: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;:::-;384:5;150:245;-1:-1:-1;;;150:245:1:o;592:196::-;660:20;;-1:-1:-1;;;;;709:54:1;;699:65;;689:93;;778:1;775;768:12;793:366;860:6;868;921:2;909:9;900:7;896:23;892:32;889:52;;;937:1;934;927:12;889:52;960:29;979:9;960:29;:::i;:::-;950:39;;1039:2;1028:9;1024:18;1011:32;-1:-1:-1;;;;;1076:5:1;1072:38;1065:5;1062:49;1052:77;;1125:1;1122;1115:12;1052:77;1148:5;1138:15;;;793:366;;;;;:::o;1164:250::-;1249:1;1259:113;1273:6;1270:1;1267:13;1259:113;;;1349:11;;;1343:18;1330:11;;;1323:39;1295:2;1288:10;1259:113;;;-1:-1:-1;;1406:1:1;1388:16;;1381:27;1164:250::o;1419:271::-;1461:3;1499:5;1493:12;1526:6;1521:3;1514:19;1542:76;1611:6;1604:4;1599:3;1595:14;1588:4;1581:5;1577:16;1542:76;:::i;:::-;1672:2;1651:15;-1:-1:-1;;1647:29:1;1638:39;;;;1679:4;1634:50;;1419:271;-1:-1:-1;;1419:271:1:o;1695:220::-;1844:2;1833:9;1826:21;1807:4;1864:45;1905:2;1894:9;1890:18;1882:6;1864:45;:::i;1920:180::-;1979:6;2032:2;2020:9;2011:7;2007:23;2003:32;2000:52;;;2048:1;2045;2038:12;2000:52;-1:-1:-1;2071:23:1;;1920:180;-1:-1:-1;1920:180:1:o;2336:254::-;2404:6;2412;2465:2;2453:9;2444:7;2440:23;2436:32;2433:52;;;2481:1;2478;2471:12;2433:52;2504:29;2523:9;2504:29;:::i;:::-;2494:39;2580:2;2565:18;;;;2552:32;;-1:-1:-1;;;2336:254:1:o;2777:328::-;2854:6;2862;2870;2923:2;2911:9;2902:7;2898:23;2894:32;2891:52;;;2939:1;2936;2929:12;2891:52;2962:29;2981:9;2962:29;:::i;:::-;2952:39;;3010:38;3044:2;3033:9;3029:18;3010:38;:::i;:::-;3000:48;;3095:2;3084:9;3080:18;3067:32;3057:42;;2777:328;;;;;:::o;3110:248::-;3178:6;3186;3239:2;3227:9;3218:7;3214:23;3210:32;3207:52;;;3255:1;3252;3245:12;3207:52;-1:-1:-1;;3278:23:1;;;3348:2;3333:18;;;3320:32;;-1:-1:-1;3110:248:1:o;3665:127::-;3726:10;3721:3;3717:20;3714:1;3707:31;3757:4;3754:1;3747:15;3781:4;3778:1;3771:15;3797:632;3862:5;3892:18;3933:2;3925:6;3922:14;3919:40;;;3939:18;;:::i;:::-;4014:2;4008:9;3982:2;4068:15;;-1:-1:-1;;4064:24:1;;;4090:2;4060:33;4056:42;4044:55;;;4114:18;;;4134:22;;;4111:46;4108:72;;;4160:18;;:::i;:::-;4200:10;4196:2;4189:22;4229:6;4220:15;;4259:6;4251;4244:22;4299:3;4290:6;4285:3;4281:16;4278:25;4275:45;;;4316:1;4313;4306:12;4275:45;4366:6;4361:3;4354:4;4346:6;4342:17;4329:44;4421:1;4414:4;4405:6;4397;4393:19;4389:30;4382:41;;;;3797:632;;;;;:::o;4434:451::-;4503:6;4556:2;4544:9;4535:7;4531:23;4527:32;4524:52;;;4572:1;4569;4562:12;4524:52;4612:9;4599:23;4645:18;4637:6;4634:30;4631:50;;;4677:1;4674;4667:12;4631:50;4700:22;;4753:4;4745:13;;4741:27;-1:-1:-1;4731:55:1;;4782:1;4779;4772:12;4731:55;4805:74;4871:7;4866:2;4853:16;4848:2;4844;4840:11;4805:74;:::i;4890:683::-;4985:6;4993;5001;5054:2;5042:9;5033:7;5029:23;5025:32;5022:52;;;5070:1;5067;5060:12;5022:52;5106:9;5093:23;5083:33;;5167:2;5156:9;5152:18;5139:32;5190:18;5231:2;5223:6;5220:14;5217:34;;;5247:1;5244;5237:12;5217:34;5285:6;5274:9;5270:22;5260:32;;5330:7;5323:4;5319:2;5315:13;5311:27;5301:55;;5352:1;5349;5342:12;5301:55;5392:2;5379:16;5418:2;5410:6;5407:14;5404:34;;;5434:1;5431;5424:12;5404:34;5487:7;5482:2;5472:6;5469:1;5465:14;5461:2;5457:23;5453:32;5450:45;5447:65;;;5508:1;5505;5498:12;5447:65;5539:2;5535;5531:11;5521:21;;5561:6;5551:16;;;;;4890:683;;;;;:::o;5578:186::-;5637:6;5690:2;5678:9;5669:7;5665:23;5661:32;5658:52;;;5706:1;5703;5696:12;5658:52;5729:29;5748:9;5729:29;:::i;5769:347::-;5834:6;5842;5895:2;5883:9;5874:7;5870:23;5866:32;5863:52;;;5911:1;5908;5901:12;5863:52;5934:29;5953:9;5934:29;:::i;:::-;5924:39;;6013:2;6002:9;5998:18;5985:32;6060:5;6053:13;6046:21;6039:5;6036:32;6026:60;;6082:1;6079;6072:12;6121:667;6216:6;6224;6232;6240;6293:3;6281:9;6272:7;6268:23;6264:33;6261:53;;;6310:1;6307;6300:12;6261:53;6333:29;6352:9;6333:29;:::i;:::-;6323:39;;6381:38;6415:2;6404:9;6400:18;6381:38;:::i;:::-;6371:48;;6466:2;6455:9;6451:18;6438:32;6428:42;;6521:2;6510:9;6506:18;6493:32;6548:18;6540:6;6537:30;6534:50;;;6580:1;6577;6570:12;6534:50;6603:22;;6656:4;6648:13;;6644:27;-1:-1:-1;6634:55:1;;6685:1;6682;6675:12;6634:55;6708:74;6774:7;6769:2;6756:16;6751:2;6747;6743:11;6708:74;:::i;:::-;6698:84;;;6121:667;;;;;;;:::o;6793:260::-;6861:6;6869;6922:2;6910:9;6901:7;6897:23;6893:32;6890:52;;;6938:1;6935;6928:12;6890:52;6961:29;6980:9;6961:29;:::i;:::-;6951:39;;7009:38;7043:2;7032:9;7028:18;7009:38;:::i;:::-;6999:48;;6793:260;;;;;:::o;7058:380::-;7137:1;7133:12;;;;7180;;;7201:61;;7255:4;7247:6;7243:17;7233:27;;7201:61;7308:2;7300:6;7297:14;7277:18;7274:38;7271:161;;7354:10;7349:3;7345:20;7342:1;7335:31;7389:4;7386:1;7379:15;7417:4;7414:1;7407:15;7271:161;;7058:380;;;:::o;7443:127::-;7504:10;7499:3;7495:20;7492:1;7485:31;7535:4;7532:1;7525:15;7559:4;7556:1;7549:15;7575:168;7648:9;;;7679;;7696:15;;;7690:22;;7676:37;7666:71;;7717:18;;:::i;7880:217::-;7920:1;7946;7936:132;;7990:10;7985:3;7981:20;7978:1;7971:31;8025:4;8022:1;8015:15;8053:4;8050:1;8043:15;7936:132;-1:-1:-1;8082:9:1;;7880:217::o;8455:125::-;8520:9;;;8541:10;;;8538:36;;;8554:18;;:::i;10302:545::-;10404:2;10399:3;10396:11;10393:448;;;10440:1;10465:5;10461:2;10454:17;10510:4;10506:2;10496:19;10580:2;10568:10;10564:19;10561:1;10557:27;10551:4;10547:38;10616:4;10604:10;10601:20;10598:47;;;-1:-1:-1;10639:4:1;10598:47;10694:2;10689:3;10685:12;10682:1;10678:20;10672:4;10668:31;10658:41;;10749:82;10767:2;10760:5;10757:13;10749:82;;;10812:17;;;10793:1;10782:13;10749:82;;11023:1352;11149:3;11143:10;11176:18;11168:6;11165:30;11162:56;;;11198:18;;:::i;:::-;11227:97;11317:6;11277:38;11309:4;11303:11;11277:38;:::i;:::-;11271:4;11227:97;:::i;:::-;11379:4;;11443:2;11432:14;;11460:1;11455:663;;;;12162:1;12179:6;12176:89;;;-1:-1:-1;12231:19:1;;;12225:26;12176:89;-1:-1:-1;;10980:1:1;10976:11;;;10972:24;10968:29;10958:40;11004:1;11000:11;;;10955:57;12278:81;;11425:944;;11455:663;10249:1;10242:14;;;10286:4;10273:18;;-1:-1:-1;;11491:20:1;;;11609:236;11623:7;11620:1;11617:14;11609:236;;;11712:19;;;11706:26;11691:42;;11804:27;;;;11772:1;11760:14;;;;11639:19;;11609:236;;;11613:3;11873:6;11864:7;11861:19;11858:201;;;11934:19;;;11928:26;-1:-1:-1;;12017:1:1;12013:14;;;12029:3;12009:24;12005:37;12001:42;11986:58;11971:74;;11858:201;-1:-1:-1;;;;;12105:1:1;12089:14;;;12085:22;12072:36;;-1:-1:-1;11023:1352:1:o;12728:127::-;12789:10;12784:3;12780:20;12777:1;12770:31;12820:4;12817:1;12810:15;12844:4;12841:1;12834:15;12860:135;12899:3;12920:17;;;12917:43;;12940:18;;:::i;:::-;-1:-1:-1;12987:1:1;12976:13;;12860:135::o;13416:1187::-;13693:3;13722:1;13755:6;13749:13;13785:36;13811:9;13785:36;:::i;:::-;13840:1;13857:18;;;13884:133;;;;14031:1;14026:356;;;;13850:532;;13884:133;-1:-1:-1;;13917:24:1;;13905:37;;13990:14;;13983:22;13971:35;;13962:45;;;-1:-1:-1;13884:133:1;;14026:356;14057:6;14054:1;14047:17;14087:4;14132:2;14129:1;14119:16;14157:1;14171:165;14185:6;14182:1;14179:13;14171:165;;;14263:14;;14250:11;;;14243:35;14306:16;;;;14200:10;;14171:165;;;14175:3;;;14365:6;14360:3;14356:16;14349:23;;13850:532;;;;;14413:6;14407:13;14429:68;14488:8;14483:3;14476:4;14468:6;14464:17;14429:68;:::i;:::-;-1:-1:-1;;;14519:18:1;;14546:22;;;14595:1;14584:13;;13416:1187;-1:-1:-1;;;;13416:1187:1:o;16141:136::-;16180:3;16208:5;16198:39;;16217:18;;:::i;:::-;-1:-1:-1;;;16253:18:1;;16141:136::o;16282:512::-;16476:4;-1:-1:-1;;;;;16586:2:1;16578:6;16574:15;16563:9;16556:34;16638:2;16630:6;16626:15;16621:2;16610:9;16606:18;16599:43;;16678:6;16673:2;16662:9;16658:18;16651:34;16721:3;16716:2;16705:9;16701:18;16694:31;16742:46;16783:3;16772:9;16768:19;16760:6;16742:46;:::i;:::-;16734:54;16282:512;-1:-1:-1;;;;;;16282:512:1:o;16799:249::-;16868:6;16921:2;16909:9;16900:7;16896:23;16892:32;16889:52;;;16937:1;16934;16927:12;16889:52;16969:9;16963:16;16988:30;17012:5;16988:30;:::i

Swarm Source

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