ETH Price: $2,625.02 (+7.34%)

Token

Dualities Of Reflection (DOFR)
 

Overview

Max Total Supply

360 DOFR

Holders

82

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Balance
2 DOFR
0xe0588942b0d05194aa9154e33321f3c7d81b2e90
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:
Dualities_Of_Reflection

Compiler Version
v0.8.22+commit.4fc1097e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2023-11-29
*/

// SPDX-License-Identifier: MIT

// File: @openzeppelin/contracts/utils/introspection/IERC165.sol


// OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/IERC165.sol)

pragma solidity ^0.8.20;

/**
 * @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: @openzeppelin/contracts/utils/introspection/ERC165.sol


// OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/ERC165.sol)

pragma solidity ^0.8.20;


/**
 * @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);
 * }
 * ```
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

// File: @openzeppelin/contracts/interfaces/IERC2981.sol


// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC2981.sol)

pragma solidity ^0.8.20;


/**
 * @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.
 */
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: @openzeppelin/contracts/token/common/ERC2981.sol


// OpenZeppelin Contracts (last updated v5.0.0) (token/common/ERC2981.sol)

pragma solidity ^0.8.20;



/**
 * @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.
 */
abstract contract ERC2981 is IERC2981, ERC165 {
    struct RoyaltyInfo {
        address receiver;
        uint96 royaltyFraction;
    }

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

    /**
     * @dev The default royalty set is invalid (eg. (numerator / denominator) >= 1).
     */
    error ERC2981InvalidDefaultRoyalty(uint256 numerator, uint256 denominator);

    /**
     * @dev The default royalty receiver is invalid.
     */
    error ERC2981InvalidDefaultRoyaltyReceiver(address receiver);

    /**
     * @dev The royalty set for an specific `tokenId` is invalid (eg. (numerator / denominator) >= 1).
     */
    error ERC2981InvalidTokenRoyalty(uint256 tokenId, uint256 numerator, uint256 denominator);

    /**
     * @dev The royalty receiver for `tokenId` is invalid.
     */
    error ERC2981InvalidTokenRoyaltyReceiver(uint256 tokenId, address receiver);

    /**
     * @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 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 {
        uint256 denominator = _feeDenominator();
        if (feeNumerator > denominator) {
            // Royalty fee will exceed the sale price
            revert ERC2981InvalidDefaultRoyalty(feeNumerator, denominator);
        }
        if (receiver == address(0)) {
            revert ERC2981InvalidDefaultRoyaltyReceiver(address(0));
        }

        _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 {
        uint256 denominator = _feeDenominator();
        if (feeNumerator > denominator) {
            // Royalty fee will exceed the sale price
            revert ERC2981InvalidTokenRoyalty(tokenId, feeNumerator, denominator);
        }
        if (receiver == address(0)) {
            revert ERC2981InvalidTokenRoyaltyReceiver(tokenId, address(0));
        }

        _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: @openzeppelin/contracts/utils/math/SignedMath.sol


// OpenZeppelin Contracts (last updated v5.0.0) (utils/math/SignedMath.sol)

pragma solidity ^0.8.20;

/**
 * @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: @openzeppelin/contracts/utils/math/Math.sol


// OpenZeppelin Contracts (last updated v5.0.0) (utils/math/Math.sol)

pragma solidity ^0.8.20;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    /**
     * @dev Muldiv operation overflow.
     */
    error MathOverflowedMulDiv();

    enum Rounding {
        Floor, // Toward negative infinity
        Ceil, // Toward positive infinity
        Trunc, // Toward zero
        Expand // Away from zero
    }

    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

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

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

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

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

    /**
     * @dev Returns the 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 towards infinity instead
     * of rounding towards zero.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        if (b == 0) {
            // Guarantee the same behavior as in a regular Solidity division.
            return a / b;
        }

        // (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 = x * y; // Least significant 256 bits of the product
            uint256 prod1; // Most significant 256 bits of the product
            assembly {
                let mm := mulmod(x, y, not(0))
                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.
            if (denominator <= prod1) {
                revert MathOverflowedMulDiv();
            }

            ///////////////////////////////////////////////
            // 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.

            uint256 twos = denominator & (0 - denominator);
            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 (unsignedRoundsUp(rounding) && 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
     * towards zero.
     *
     * 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 + (unsignedRoundsUp(rounding) && result * result < a ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 2 of a positive value rounded towards zero.
     * 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 + (unsignedRoundsUp(rounding) && 1 << result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 10 of a positive value rounded towards zero.
     * 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 + (unsignedRoundsUp(rounding) && 10 ** result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 256 of a positive value rounded towards zero.
     * 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 + (unsignedRoundsUp(rounding) && 1 << (result << 3) < value ? 1 : 0);
        }
    }

    /**
     * @dev Returns whether a provided rounding mode is considered rounding up for unsigned integers.
     */
    function unsignedRoundsUp(Rounding rounding) internal pure returns (bool) {
        return uint8(rounding) % 2 == 1;
    }
}

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


// OpenZeppelin Contracts (last updated v5.0.0) (utils/Strings.sol)

pragma solidity ^0.8.20;



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

    /**
     * @dev The `value` string doesn't fit in the specified `length`.
     */
    error StringsInsufficientHexLength(uint256 value, uint256 length);

    /**
     * @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), HEX_DIGITS))
                }
                value /= 10;
                if (value == 0) break;
            }
            return buffer;
        }
    }

    /**
     * @dev Converts a `int256` to its ASCII `string` decimal representation.
     */
    function toStringSigned(int256 value) internal pure returns (string memory) {
        return string.concat(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) {
        uint256 localValue = value;
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = HEX_DIGITS[localValue & 0xf];
            localValue >>= 4;
        }
        if (localValue != 0) {
            revert StringsInsufficientHexLength(value, length);
        }
        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 bytes(a).length == bytes(b).length && keccak256(bytes(a)) == keccak256(bytes(b));
    }
}

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


// OpenZeppelin Contracts (last updated v4.9.0) (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        _nonReentrantBefore();
        _;
        _nonReentrantAfter();
    }

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

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

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

    /**
     * @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a
     * `nonReentrant` function in the call stack.
     */
    function _reentrancyGuardEntered() internal view returns (bool) {
        return _status == _ENTERED;
    }
}

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


// OpenZeppelin Contracts (last updated v5.0.0) (utils/Context.sol)

pragma solidity ^0.8.20;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

// File: @openzeppelin/contracts/access/Ownable.sol


// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)

pragma solidity ^0.8.20;


/**
 * @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.
 *
 * The initial owner is set to the address provided by the deployer. 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;

    /**
     * @dev The caller account is not authorized to perform an operation.
     */
    error OwnableUnauthorizedAccount(address account);

    /**
     * @dev The owner is not a valid owner account. (eg. `address(0)`)
     */
    error OwnableInvalidOwner(address owner);

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

    /**
     * @dev Initializes the contract setting the address provided by the deployer as the initial owner.
     */
    constructor(address initialOwner) {
        if (initialOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(initialOwner);
    }

    /**
     * @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 {
        if (owner() != _msgSender()) {
            revert OwnableUnauthorizedAccount(_msgSender());
        }
    }

    /**
     * @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 {
        if (newOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _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: erc721a/contracts/IERC721A.sol


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

pragma solidity ^0.8.4;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// File: erc721a/contracts/ERC721A.sol


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

pragma solidity ^0.8.4;


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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        return _tokenApprovals[tokenId].value;
    }

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            uint256 toMasked;
            uint256 end = startTokenId + quantity;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        address from = address(uint160(prevOwnershipPacked));

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// File: contracts/DOFR.sol



pragma solidity ^0.8.9;







contract Dualities_Of_Reflection is ERC721A, Ownable, ReentrancyGuard, ERC2981 { 
    event DevMintEvent(address ownerAddress, uint256 startWith, uint256 amountMinted);
    uint256 public devTotal;
    uint256 public _maxSupply = 375;
    uint256 public _mintPrice = 0.008 ether;
    uint256 public _maxMintPerTx = 2;
    uint256 public _maxFreeMintPerAddr = 0;
    uint256 public _maxFreeMintSupply = 0;
    uint256 public devSupply = 15;

    bool claimed = false;

    uint256 public token_price = 0.008 ether;
    bool public publicSaleActive;

    using Strings for uint256;
    string public baseURI;
    mapping(address => uint256) private _mintedFreeAmount;

    // Royalties
    address public royaltyAdd;

    // Constants
    uint256 public constant MAX_PUBLIC_PER_TX = 2;  // Adjust the value accordingly
    uint256 public constant MAX_PUBLIC_MINT_PER_WALLET = 2;  // Adjust the value accordingly

    constructor() ERC721A("Dualities Of Reflection", "DOFR") Ownable(msg.sender) ERC2981() {
        setDefaultRoyalty(msg.sender, 300); // 3%
    }

    modifier validatePublicStatus(uint256 _quantity) {
        require(publicSaleActive, "Sale hasn't started");
        require(msg.value >= token_price * _quantity, "Need to send more ETH.");
        require(_quantity > 0 && _quantity <= MAX_PUBLIC_PER_TX, "Invalid mint amount.");
        require(
            _numberMinted(msg.sender) + _quantity <= MAX_PUBLIC_MINT_PER_WALLET,
            "This purchase would exceed the maximum allocation for public mints for this wallet"
        );

        _;
    }

   // Set default royalty account & percentage
    function setDefaultRoyalty(address _receiver, uint96 _feeNumerator) public {
        royaltyAdd = _receiver;
        _setDefaultRoyalty(_receiver, _feeNumerator);
    }
 
    // Set token specific royalty
    function setTokenRoyalty(uint256 tokenId, uint96 feeNumerator) external onlyOwner {
        _setTokenRoyalty(tokenId, royaltyAdd, feeNumerator);
    }
 
    function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view override returns (address, uint256) {
        (, uint256 royaltyAmt) = super.royaltyInfo(_tokenId, _salePrice);
        return (royaltyAdd, royaltyAmt);
    }
 
    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721A, ERC2981) returns (bool) {
        return interfaceId == type(IERC2981).interfaceId || 
            interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165.
            interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721.
            interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata.
    }
 
    function mint(uint256 count) external payable {
        uint256 cost = _mintPrice;
        bool isFree = (
            (totalSupply() + count < _maxFreeMintSupply + 1) &&
            (_mintedFreeAmount[msg.sender] + count <= _maxFreeMintPerAddr)
        ) || (msg.sender == owner());
 
        if (isFree) {
            cost = 0;
        }
 
        require(msg.value >= count * cost, "Please send the exact amount.");
        require(totalSupply() + count < _maxSupply - devSupply + 1, "Sold out!");
        require(count < _maxMintPerTx + 1, "Max per TX reached.");
 
        if (isFree) {
            _mintedFreeAmount[msg.sender] += count;
        }
 
        _safeMint(msg.sender, count);
    }
 
    function devMint() public onlyOwner {
        devTotal += devSupply;
        emit DevMintEvent(_msgSender(), devTotal, devSupply);
        _safeMint(msg.sender, devSupply);
    }

   
 
    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 setBaseURI(string memory uri) public onlyOwner {
        baseURI = uri;
    }
 
    function setFreeAmount(uint256 amount) external onlyOwner {
        _maxFreeMintSupply = amount;
    }
 
    function setPrice(uint256 _newPrice) external onlyOwner {
        _mintPrice = _newPrice;
    }
 
    function setMaxMintPerTx(uint256 _newMaxMintPerTx) external onlyOwner {
        _maxMintPerTx = _newMaxMintPerTx;
    }
 
    function withdraw() public payable onlyOwner nonReentrant {
        (bool success, ) = payable(msg.sender).call{ value: address(this).balance }("");
        require(success);
    }

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[{"internalType":"uint256","name":"numerator","type":"uint256"},{"internalType":"uint256","name":"denominator","type":"uint256"}],"name":"ERC2981InvalidDefaultRoyalty","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC2981InvalidDefaultRoyaltyReceiver","type":"error"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"numerator","type":"uint256"},{"internalType":"uint256","name":"denominator","type":"uint256"}],"name":"ERC2981InvalidTokenRoyalty","type":"error"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC2981InvalidTokenRoyaltyReceiver","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","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":false,"internalType":"address","name":"ownerAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"startWith","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amountMinted","type":"uint256"}],"name":"DevMintEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_PUBLIC_MINT_PER_WALLET","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PUBLIC_PER_TX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxFreeMintPerAddr","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxFreeMintSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxMintPerTx","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":"_mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"devMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"devSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"devTotal","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flipPublicSale","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":[{"internalType":"uint256","name":"count","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"royaltyAdd","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","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":"address","name":"_receiver","type":"address"},{"internalType":"uint96","name":"_feeNumerator","type":"uint96"}],"name":"setDefaultRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setFreeAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMaxMintPerTx","type":"uint256"}],"name":"setMaxMintPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint96","name":"feeNumerator","type":"uint96"}],"name":"setTokenRoyalty","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":"token_price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]

6080604052610177600d55661c6bf526340000600e8190556002600f9081555f60108190556011556012556013805460ff1916905560145534801562000043575f80fd5b50336040518060400160405280601781526020017f4475616c6974696573204f66205265666c656374696f6e000000000000000000815250604051806040016040528060048152602001632227a32960e11b8152508160029081620000a99190620002d2565b506003620000b88282620002d2565b505f805550506001600160a01b038116620000ed57604051631e4fbdf760e01b81525f60048201526024015b60405180910390fd5b620000f88162000112565b5060016009556200010c3361012c62000163565b6200039e565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b601880546001600160a01b0319166001600160a01b0384161790556200018a82826200018e565b5050565b6127106001600160601b038216811015620001cf57604051636f483d0960e01b81526001600160601b038316600482015260248101829052604401620000e4565b6001600160a01b038316620001fa57604051635b6cc80560e11b81525f6004820152602401620000e4565b50604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600a55565b634e487b7160e01b5f52604160045260245ffd5b600181811c908216806200025d57607f821691505b6020821081036200027c57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115620002cd57805f5260205f20601f840160051c81016020851015620002a95750805b601f840160051c820191505b81811015620002ca575f8155600101620002b5565b50505b505050565b81516001600160401b03811115620002ee57620002ee62000234565b6200030681620002ff845462000248565b8462000282565b602080601f8311600181146200033c575f8415620003245750858301515b5f19600386901b1c1916600185901b17855562000396565b5f85815260208120601f198616915b828110156200036c578886015182559484019460019091019084016200034b565b50858210156200038a57878501515f19600388901b60f8161c191681555b505060018460011b0185555b505050505050565b611da180620003ac5f395ff3fe60806040526004361061023e575f3560e01c80636c0360eb116101345780639cb57d20116100b3578063bc8893b411610078578063bc8893b4146105f8578063c87b56dd14610611578063c8d5ed681461059f578063de314a5914610630578063e985e9c514610645578063f2fde38b14610664575f80fd5b80639cb57d201461058a5780639f55252e1461059f578063a0712d68146105b3578063a22cb465146105c6578063b88d4fde146105e5575f80fd5b806388084605116100f957806388084605146105075780638da5cb5b1461051b57806391b7f5ed1461053857806392910eec1461055757806395d89b4114610576575f80fd5b80636c0360eb1461049757806370a08231146104ab578063715018a6146104ca5780637b4fd96e146104de5780637c69e207146104f3575f80fd5b806323b872dd116101c057806355f804b31161018557806355f804b3146104065780635e1c4b6014610425578063616cdb1e1461043a5780636352211e1461045957806367a4f4a914610478575f80fd5b806323b872dd146103855780632a55205a146103985780633ccfd60b146103d657806341c66d0a146103de57806342842e0e146103f3575f80fd5b8063095ea7b311610206578063095ea7b3146103125780630afb04db1461032557806318160ddd1461033a578063190866921461035157806322f4596f14610370575f80fd5b806301ffc9a7146102425780630387da421461027657806304634d8d1461029957806306fdde03146102ba578063081812fc146102db575b5f80fd5b34801561024d575f80fd5b5061026161025c366004611787565b610683565b60405190151581526020015b60405180910390f35b348015610281575f80fd5b5061028b600e5481565b60405190815260200161026d565b3480156102a4575f80fd5b506102b86102b33660046117d3565b6106ef565b005b3480156102c5575f80fd5b506102ce610718565b60405161026d9190611851565b3480156102e6575f80fd5b506102fa6102f5366004611863565b6107a8565b6040516001600160a01b03909116815260200161026d565b6102b861032036600461187a565b6107ea565b348015610330575f80fd5b5061028b600c5481565b348015610345575f80fd5b506001545f540361028b565b34801561035c575f80fd5b506018546102fa906001600160a01b031681565b34801561037b575f80fd5b5061028b600d5481565b6102b86103933660046118a2565b610888565b3480156103a3575f80fd5b506103b76103b23660046118db565b610a18565b604080516001600160a01b03909316835260208301919091520161026d565b6102b8610a3d565b3480156103e9575f80fd5b5061028b60125481565b6102b86104013660046118a2565b610aab565b348015610411575f80fd5b506102b8610420366004611982565b610aca565b348015610430575f80fd5b5061028b60115481565b348015610445575f80fd5b506102b8610454366004611863565b610ade565b348015610464575f80fd5b506102fa610473366004611863565b610aeb565b348015610483575f80fd5b506102b86104923660046119c7565b610af5565b3480156104a2575f80fd5b506102ce610b15565b3480156104b6575f80fd5b5061028b6104c53660046119e8565b610ba1565b3480156104d5575f80fd5b506102b8610bee565b3480156104e9575f80fd5b5061028b60145481565b3480156104fe575f80fd5b506102b8610bff565b348015610512575f80fd5b506102b8610c72565b348015610526575f80fd5b506008546001600160a01b03166102fa565b348015610543575f80fd5b506102b8610552366004611863565b610c8e565b348015610562575f80fd5b506102b8610571366004611863565b610c9b565b348015610581575f80fd5b506102ce610ca8565b348015610595575f80fd5b5061028b60105481565b3480156105aa575f80fd5b5061028b600281565b6102b86105c1366004611863565b610cb7565b3480156105d1575f80fd5b506102b86105e0366004611a01565b610e79565b6102b86105f3366004611a3a565b610ee4565b348015610603575f80fd5b506015546102619060ff1681565b34801561061c575f80fd5b506102ce61062b366004611863565b610f2e565b34801561063b575f80fd5b5061028b600f5481565b348015610650575f80fd5b5061026161065f366004611ab1565b610fcf565b34801561066f575f80fd5b506102b861067e3660046119e8565b610ffc565b5f6001600160e01b0319821663152a902d60e11b14806106b357506301ffc9a760e01b6001600160e01b03198316145b806106ce57506380ac58cd60e01b6001600160e01b03198316145b806106e95750635b5e139f60e01b6001600160e01b03198316145b92915050565b601880546001600160a01b0319166001600160a01b0384161790556107148282611039565b5050565b60606002805461072790611ad9565b80601f016020809104026020016040519081016040528092919081815260200182805461075390611ad9565b801561079e5780601f106107755761010080835404028352916020019161079e565b820191905f5260205f20905b81548152906001019060200180831161078157829003601f168201915b5050505050905090565b5f6107b2826110db565b6107cf576040516333d1c03960e21b815260040160405180910390fd5b505f908152600660205260409020546001600160a01b031690565b5f6107f482610aeb565b9050336001600160a01b0382161461082d576108108133610fcf565b61082d576040516367d9dca160e11b815260040160405180910390fd5b5f8281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b5f61089282611100565b9050836001600160a01b0316816001600160a01b0316146108c55760405162a1148160e81b815260040160405180910390fd5b5f8281526006602052604090208054338082146001600160a01b03881690911417610911576108f48633610fcf565b61091157604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661093857604051633a954ecd60e21b815260040160405180910390fd5b8015610942575f82555b6001600160a01b038681165f9081526005602052604080822080545f19019055918716808252919020805460010190554260a01b17600160e11b175f85815260046020526040812091909155600160e11b841690036109ce57600184015f8181526004602052604081205490036109cc575f5481146109cc575f8181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b5f805f610a258585611168565b6018546001600160a01b031697909650945050505050565b610a45611212565b610a4d61123f565b6040515f90339047908381818185875af1925050503d805f8114610a8c576040519150601f19603f3d011682016040523d82523d5f602084013e610a91565b606091505b5050905080610a9e575f80fd5b50610aa96001600955565b565b610ac583838360405180602001604052805f815250610ee4565b505050565b610ad2611212565b60166107148282611b55565b610ae6611212565b600f55565b5f6106e982611100565b610afd611212565b6018546107149083906001600160a01b031683611298565b60168054610b2290611ad9565b80601f0160208091040260200160405190810160405280929190818152602001828054610b4e90611ad9565b8015610b995780601f10610b7057610100808354040283529160200191610b99565b820191905f5260205f20905b815481529060010190602001808311610b7c57829003601f168201915b505050505081565b5f6001600160a01b038216610bc9576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03165f9081526005602052604090205467ffffffffffffffff1690565b610bf6611212565b610aa95f611358565b610c07611212565b601254600c5f828254610c1a9190611c25565b9091555050600c5460125460408051338152602081019390935282810191909152517f8d8664e4328cbcd16b52db004cff5622d17995140cefada9f4578b857f9b204e9181900360600190a1610aa9336012546113a9565b610c7a611212565b6015805460ff19811660ff90911615179055565b610c96611212565b600e55565b610ca3611212565b601155565b60606003805461072790611ad9565b600e546011545f90610cca906001611c25565b83610cd76001545f540390565b610ce19190611c25565b108015610d095750601054335f90815260176020526040902054610d06908590611c25565b11155b80610d1e57506008546001600160a01b031633145b90508015610d2a575f91505b610d348284611c38565b341015610d885760405162461bcd60e51b815260206004820152601d60248201527f506c656173652073656e642074686520657861637420616d6f756e742e00000060448201526064015b60405180910390fd5b601254600d54610d989190611c4f565b610da3906001611c25565b83610db06001545f540390565b610dba9190611c25565b10610df35760405162461bcd60e51b8152602060048201526009602482015268536f6c64206f75742160b81b6044820152606401610d7f565b600f54610e01906001611c25565b8310610e455760405162461bcd60e51b815260206004820152601360248201527226b0bc103832b9102a2c103932b0b1b432b21760691b6044820152606401610d7f565b8015610e6f57335f9081526017602052604081208054859290610e69908490611c25565b90915550505b610ac533846113a9565b335f8181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610eef848484610888565b6001600160a01b0383163b15610f2857610f0b848484846113c2565b610f28576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610f39826110db565b610f9d5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610d7f565b6016610fa8836114aa565b604051602001610fb9929190611c62565b6040516020818303038152906040529050919050565b6001600160a01b039182165f90815260076020908152604080832093909416825291909152205460ff1690565b611004611212565b6001600160a01b03811661102d57604051631e4fbdf760e01b81525f6004820152602401610d7f565b61103681611358565b50565b6127106001600160601b03821681101561107857604051636f483d0960e01b81526001600160601b038316600482015260248101829052604401610d7f565b6001600160a01b0383166110a157604051635b6cc80560e11b81525f6004820152602401610d7f565b50604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600a55565b5f8054821080156106e95750505f90815260046020526040902054600160e01b161590565b5f815f5481101561114f575f8181526004602052604081205490600160e01b8216900361114d575b805f0361114657505f19015f81815260046020526040902054611128565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b5f828152600b602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b03169282019290925282916111dc575060408051808201909152600a546001600160a01b0381168252600160a01b90046001600160601b031660208201525b60208101515f90612710906111fa906001600160601b031687611c38565b6112049190611cf5565b915196919550909350505050565b6008546001600160a01b03163314610aa95760405163118cdaa760e01b8152336004820152602401610d7f565b6002600954036112915760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610d7f565b6002600955565b6127106001600160601b0382168110156112de5760405163dfd1fc1b60e01b8152600481018590526001600160601b038316602482015260448101829052606401610d7f565b6001600160a01b03831661130e57604051634b4f842960e11b8152600481018590525f6024820152604401610d7f565b506040805180820182526001600160a01b0393841681526001600160601b0392831660208083019182525f968752600b90529190942093519051909116600160a01b029116179055565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b610714828260405180602001604052805f81525061153a565b604051630a85bd0160e11b81525f906001600160a01b0385169063150b7a02906113f6903390899088908890600401611d14565b6020604051808303815f875af1925050508015611430575060408051601f3d908101601f1916820190925261142d91810190611d50565b60015b61148c573d80801561145d576040519150601f19603f3d011682016040523d82523d5f602084013e611462565b606091505b5080515f03611484576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60605f6114b6836115a3565b60010190505f8167ffffffffffffffff8111156114d5576114d56118fb565b6040519080825280601f01601f1916602001820160405280156114ff576020820181803683370190505b5090508181016020015b5f19016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461150957509392505050565b611544838361167a565b6001600160a01b0383163b15610ac5575f548281035b61156c5f8683806001019450866113c2565b611589576040516368d2bf6b60e11b815260040160405180910390fd5b81811061155a57815f541461159c575f80fd5b5050505050565b5f8072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106115e15772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef8100000000831061160d576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061162b57662386f26fc10000830492506010015b6305f5e1008310611643576305f5e100830492506008015b612710831061165757612710830492506004015b60648310611669576064830492506002015b600a83106106e95760010192915050565b5f80549082900361169e5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b0383165f8181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461174a5780835f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a4600101611714565b50815f0361176a57604051622e076360e81b815260040160405180910390fd5b5f5550505050565b6001600160e01b031981168114611036575f80fd5b5f60208284031215611797575f80fd5b813561114681611772565b80356001600160a01b03811681146117b8575f80fd5b919050565b80356001600160601b03811681146117b8575f80fd5b5f80604083850312156117e4575f80fd5b6117ed836117a2565b91506117fb602084016117bd565b90509250929050565b5f5b8381101561181e578181015183820152602001611806565b50505f910152565b5f815180845261183d816020860160208601611804565b601f01601f19169290920160200192915050565b602081525f6111466020830184611826565b5f60208284031215611873575f80fd5b5035919050565b5f806040838503121561188b575f80fd5b611894836117a2565b946020939093013593505050565b5f805f606084860312156118b4575f80fd5b6118bd846117a2565b92506118cb602085016117a2565b9150604084013590509250925092565b5f80604083850312156118ec575f80fd5b50508035926020909101359150565b634e487b7160e01b5f52604160045260245ffd5b5f67ffffffffffffffff80841115611929576119296118fb565b604051601f8501601f19908116603f01168101908282118183101715611951576119516118fb565b81604052809350858152868686011115611969575f80fd5b858560208301375f602087830101525050509392505050565b5f60208284031215611992575f80fd5b813567ffffffffffffffff8111156119a8575f80fd5b8201601f810184136119b8575f80fd5b6114a28482356020840161190f565b5f80604083850312156119d8575f80fd5b823591506117fb602084016117bd565b5f602082840312156119f8575f80fd5b611146826117a2565b5f8060408385031215611a12575f80fd5b611a1b836117a2565b915060208301358015158114611a2f575f80fd5b809150509250929050565b5f805f8060808587031215611a4d575f80fd5b611a56856117a2565b9350611a64602086016117a2565b925060408501359150606085013567ffffffffffffffff811115611a86575f80fd5b8501601f81018713611a96575f80fd5b611aa58782356020840161190f565b91505092959194509250565b5f8060408385031215611ac2575f80fd5b611acb836117a2565b91506117fb602084016117a2565b600181811c90821680611aed57607f821691505b602082108103611b0b57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115610ac557805f5260205f20601f840160051c81016020851015611b365750805b601f840160051c820191505b8181101561159c575f8155600101611b42565b815167ffffffffffffffff811115611b6f57611b6f6118fb565b611b8381611b7d8454611ad9565b84611b11565b602080601f831160018114611bb6575f8415611b9f5750858301515b5f19600386901b1c1916600185901b178555610a10565b5f85815260208120601f198616915b82811015611be457888601518255948401946001909101908401611bc5565b5085821015611c0157878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b5f52601160045260245ffd5b808201808211156106e9576106e9611c11565b80820281158282048414176106e9576106e9611c11565b818103818111156106e9576106e9611c11565b5f808454611c6f81611ad9565b60018281168015611c875760018114611c9c57611cc8565b60ff1984168752821515830287019450611cc8565b885f526020805f205f5b85811015611cbf5781548a820152908401908201611ca6565b50505082870194505b505050508351611cdc818360208801611804565b64173539b7b760d91b9101908152600501949350505050565b5f82611d0f57634e487b7160e01b5f52601260045260245ffd5b500490565b6001600160a01b03858116825284166020820152604081018390526080606082018190525f90611d4690830184611826565b9695505050505050565b5f60208284031215611d60575f80fd5b81516111468161177256fea26469706673582212205a6a4374c77186e1623b4f8217f8e1efcf33d32f6eb7b3d9f1e40236f350f4db64736f6c63430008160033

Deployed Bytecode

0x60806040526004361061023e575f3560e01c80636c0360eb116101345780639cb57d20116100b3578063bc8893b411610078578063bc8893b4146105f8578063c87b56dd14610611578063c8d5ed681461059f578063de314a5914610630578063e985e9c514610645578063f2fde38b14610664575f80fd5b80639cb57d201461058a5780639f55252e1461059f578063a0712d68146105b3578063a22cb465146105c6578063b88d4fde146105e5575f80fd5b806388084605116100f957806388084605146105075780638da5cb5b1461051b57806391b7f5ed1461053857806392910eec1461055757806395d89b4114610576575f80fd5b80636c0360eb1461049757806370a08231146104ab578063715018a6146104ca5780637b4fd96e146104de5780637c69e207146104f3575f80fd5b806323b872dd116101c057806355f804b31161018557806355f804b3146104065780635e1c4b6014610425578063616cdb1e1461043a5780636352211e1461045957806367a4f4a914610478575f80fd5b806323b872dd146103855780632a55205a146103985780633ccfd60b146103d657806341c66d0a146103de57806342842e0e146103f3575f80fd5b8063095ea7b311610206578063095ea7b3146103125780630afb04db1461032557806318160ddd1461033a578063190866921461035157806322f4596f14610370575f80fd5b806301ffc9a7146102425780630387da421461027657806304634d8d1461029957806306fdde03146102ba578063081812fc146102db575b5f80fd5b34801561024d575f80fd5b5061026161025c366004611787565b610683565b60405190151581526020015b60405180910390f35b348015610281575f80fd5b5061028b600e5481565b60405190815260200161026d565b3480156102a4575f80fd5b506102b86102b33660046117d3565b6106ef565b005b3480156102c5575f80fd5b506102ce610718565b60405161026d9190611851565b3480156102e6575f80fd5b506102fa6102f5366004611863565b6107a8565b6040516001600160a01b03909116815260200161026d565b6102b861032036600461187a565b6107ea565b348015610330575f80fd5b5061028b600c5481565b348015610345575f80fd5b506001545f540361028b565b34801561035c575f80fd5b506018546102fa906001600160a01b031681565b34801561037b575f80fd5b5061028b600d5481565b6102b86103933660046118a2565b610888565b3480156103a3575f80fd5b506103b76103b23660046118db565b610a18565b604080516001600160a01b03909316835260208301919091520161026d565b6102b8610a3d565b3480156103e9575f80fd5b5061028b60125481565b6102b86104013660046118a2565b610aab565b348015610411575f80fd5b506102b8610420366004611982565b610aca565b348015610430575f80fd5b5061028b60115481565b348015610445575f80fd5b506102b8610454366004611863565b610ade565b348015610464575f80fd5b506102fa610473366004611863565b610aeb565b348015610483575f80fd5b506102b86104923660046119c7565b610af5565b3480156104a2575f80fd5b506102ce610b15565b3480156104b6575f80fd5b5061028b6104c53660046119e8565b610ba1565b3480156104d5575f80fd5b506102b8610bee565b3480156104e9575f80fd5b5061028b60145481565b3480156104fe575f80fd5b506102b8610bff565b348015610512575f80fd5b506102b8610c72565b348015610526575f80fd5b506008546001600160a01b03166102fa565b348015610543575f80fd5b506102b8610552366004611863565b610c8e565b348015610562575f80fd5b506102b8610571366004611863565b610c9b565b348015610581575f80fd5b506102ce610ca8565b348015610595575f80fd5b5061028b60105481565b3480156105aa575f80fd5b5061028b600281565b6102b86105c1366004611863565b610cb7565b3480156105d1575f80fd5b506102b86105e0366004611a01565b610e79565b6102b86105f3366004611a3a565b610ee4565b348015610603575f80fd5b506015546102619060ff1681565b34801561061c575f80fd5b506102ce61062b366004611863565b610f2e565b34801561063b575f80fd5b5061028b600f5481565b348015610650575f80fd5b5061026161065f366004611ab1565b610fcf565b34801561066f575f80fd5b506102b861067e3660046119e8565b610ffc565b5f6001600160e01b0319821663152a902d60e11b14806106b357506301ffc9a760e01b6001600160e01b03198316145b806106ce57506380ac58cd60e01b6001600160e01b03198316145b806106e95750635b5e139f60e01b6001600160e01b03198316145b92915050565b601880546001600160a01b0319166001600160a01b0384161790556107148282611039565b5050565b60606002805461072790611ad9565b80601f016020809104026020016040519081016040528092919081815260200182805461075390611ad9565b801561079e5780601f106107755761010080835404028352916020019161079e565b820191905f5260205f20905b81548152906001019060200180831161078157829003601f168201915b5050505050905090565b5f6107b2826110db565b6107cf576040516333d1c03960e21b815260040160405180910390fd5b505f908152600660205260409020546001600160a01b031690565b5f6107f482610aeb565b9050336001600160a01b0382161461082d576108108133610fcf565b61082d576040516367d9dca160e11b815260040160405180910390fd5b5f8281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b5f61089282611100565b9050836001600160a01b0316816001600160a01b0316146108c55760405162a1148160e81b815260040160405180910390fd5b5f8281526006602052604090208054338082146001600160a01b03881690911417610911576108f48633610fcf565b61091157604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661093857604051633a954ecd60e21b815260040160405180910390fd5b8015610942575f82555b6001600160a01b038681165f9081526005602052604080822080545f19019055918716808252919020805460010190554260a01b17600160e11b175f85815260046020526040812091909155600160e11b841690036109ce57600184015f8181526004602052604081205490036109cc575f5481146109cc575f8181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b5f805f610a258585611168565b6018546001600160a01b031697909650945050505050565b610a45611212565b610a4d61123f565b6040515f90339047908381818185875af1925050503d805f8114610a8c576040519150601f19603f3d011682016040523d82523d5f602084013e610a91565b606091505b5050905080610a9e575f80fd5b50610aa96001600955565b565b610ac583838360405180602001604052805f815250610ee4565b505050565b610ad2611212565b60166107148282611b55565b610ae6611212565b600f55565b5f6106e982611100565b610afd611212565b6018546107149083906001600160a01b031683611298565b60168054610b2290611ad9565b80601f0160208091040260200160405190810160405280929190818152602001828054610b4e90611ad9565b8015610b995780601f10610b7057610100808354040283529160200191610b99565b820191905f5260205f20905b815481529060010190602001808311610b7c57829003601f168201915b505050505081565b5f6001600160a01b038216610bc9576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03165f9081526005602052604090205467ffffffffffffffff1690565b610bf6611212565b610aa95f611358565b610c07611212565b601254600c5f828254610c1a9190611c25565b9091555050600c5460125460408051338152602081019390935282810191909152517f8d8664e4328cbcd16b52db004cff5622d17995140cefada9f4578b857f9b204e9181900360600190a1610aa9336012546113a9565b610c7a611212565b6015805460ff19811660ff90911615179055565b610c96611212565b600e55565b610ca3611212565b601155565b60606003805461072790611ad9565b600e546011545f90610cca906001611c25565b83610cd76001545f540390565b610ce19190611c25565b108015610d095750601054335f90815260176020526040902054610d06908590611c25565b11155b80610d1e57506008546001600160a01b031633145b90508015610d2a575f91505b610d348284611c38565b341015610d885760405162461bcd60e51b815260206004820152601d60248201527f506c656173652073656e642074686520657861637420616d6f756e742e00000060448201526064015b60405180910390fd5b601254600d54610d989190611c4f565b610da3906001611c25565b83610db06001545f540390565b610dba9190611c25565b10610df35760405162461bcd60e51b8152602060048201526009602482015268536f6c64206f75742160b81b6044820152606401610d7f565b600f54610e01906001611c25565b8310610e455760405162461bcd60e51b815260206004820152601360248201527226b0bc103832b9102a2c103932b0b1b432b21760691b6044820152606401610d7f565b8015610e6f57335f9081526017602052604081208054859290610e69908490611c25565b90915550505b610ac533846113a9565b335f8181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610eef848484610888565b6001600160a01b0383163b15610f2857610f0b848484846113c2565b610f28576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610f39826110db565b610f9d5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610d7f565b6016610fa8836114aa565b604051602001610fb9929190611c62565b6040516020818303038152906040529050919050565b6001600160a01b039182165f90815260076020908152604080832093909416825291909152205460ff1690565b611004611212565b6001600160a01b03811661102d57604051631e4fbdf760e01b81525f6004820152602401610d7f565b61103681611358565b50565b6127106001600160601b03821681101561107857604051636f483d0960e01b81526001600160601b038316600482015260248101829052604401610d7f565b6001600160a01b0383166110a157604051635b6cc80560e11b81525f6004820152602401610d7f565b50604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600a55565b5f8054821080156106e95750505f90815260046020526040902054600160e01b161590565b5f815f5481101561114f575f8181526004602052604081205490600160e01b8216900361114d575b805f0361114657505f19015f81815260046020526040902054611128565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b5f828152600b602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b03169282019290925282916111dc575060408051808201909152600a546001600160a01b0381168252600160a01b90046001600160601b031660208201525b60208101515f90612710906111fa906001600160601b031687611c38565b6112049190611cf5565b915196919550909350505050565b6008546001600160a01b03163314610aa95760405163118cdaa760e01b8152336004820152602401610d7f565b6002600954036112915760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610d7f565b6002600955565b6127106001600160601b0382168110156112de5760405163dfd1fc1b60e01b8152600481018590526001600160601b038316602482015260448101829052606401610d7f565b6001600160a01b03831661130e57604051634b4f842960e11b8152600481018590525f6024820152604401610d7f565b506040805180820182526001600160a01b0393841681526001600160601b0392831660208083019182525f968752600b90529190942093519051909116600160a01b029116179055565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b610714828260405180602001604052805f81525061153a565b604051630a85bd0160e11b81525f906001600160a01b0385169063150b7a02906113f6903390899088908890600401611d14565b6020604051808303815f875af1925050508015611430575060408051601f3d908101601f1916820190925261142d91810190611d50565b60015b61148c573d80801561145d576040519150601f19603f3d011682016040523d82523d5f602084013e611462565b606091505b5080515f03611484576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60605f6114b6836115a3565b60010190505f8167ffffffffffffffff8111156114d5576114d56118fb565b6040519080825280601f01601f1916602001820160405280156114ff576020820181803683370190505b5090508181016020015b5f19016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461150957509392505050565b611544838361167a565b6001600160a01b0383163b15610ac5575f548281035b61156c5f8683806001019450866113c2565b611589576040516368d2bf6b60e11b815260040160405180910390fd5b81811061155a57815f541461159c575f80fd5b5050505050565b5f8072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106115e15772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef8100000000831061160d576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061162b57662386f26fc10000830492506010015b6305f5e1008310611643576305f5e100830492506008015b612710831061165757612710830492506004015b60648310611669576064830492506002015b600a83106106e95760010192915050565b5f80549082900361169e5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b0383165f8181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461174a5780835f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a4600101611714565b50815f0361176a57604051622e076360e81b815260040160405180910390fd5b5f5550505050565b6001600160e01b031981168114611036575f80fd5b5f60208284031215611797575f80fd5b813561114681611772565b80356001600160a01b03811681146117b8575f80fd5b919050565b80356001600160601b03811681146117b8575f80fd5b5f80604083850312156117e4575f80fd5b6117ed836117a2565b91506117fb602084016117bd565b90509250929050565b5f5b8381101561181e578181015183820152602001611806565b50505f910152565b5f815180845261183d816020860160208601611804565b601f01601f19169290920160200192915050565b602081525f6111466020830184611826565b5f60208284031215611873575f80fd5b5035919050565b5f806040838503121561188b575f80fd5b611894836117a2565b946020939093013593505050565b5f805f606084860312156118b4575f80fd5b6118bd846117a2565b92506118cb602085016117a2565b9150604084013590509250925092565b5f80604083850312156118ec575f80fd5b50508035926020909101359150565b634e487b7160e01b5f52604160045260245ffd5b5f67ffffffffffffffff80841115611929576119296118fb565b604051601f8501601f19908116603f01168101908282118183101715611951576119516118fb565b81604052809350858152868686011115611969575f80fd5b858560208301375f602087830101525050509392505050565b5f60208284031215611992575f80fd5b813567ffffffffffffffff8111156119a8575f80fd5b8201601f810184136119b8575f80fd5b6114a28482356020840161190f565b5f80604083850312156119d8575f80fd5b823591506117fb602084016117bd565b5f602082840312156119f8575f80fd5b611146826117a2565b5f8060408385031215611a12575f80fd5b611a1b836117a2565b915060208301358015158114611a2f575f80fd5b809150509250929050565b5f805f8060808587031215611a4d575f80fd5b611a56856117a2565b9350611a64602086016117a2565b925060408501359150606085013567ffffffffffffffff811115611a86575f80fd5b8501601f81018713611a96575f80fd5b611aa58782356020840161190f565b91505092959194509250565b5f8060408385031215611ac2575f80fd5b611acb836117a2565b91506117fb602084016117a2565b600181811c90821680611aed57607f821691505b602082108103611b0b57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115610ac557805f5260205f20601f840160051c81016020851015611b365750805b601f840160051c820191505b8181101561159c575f8155600101611b42565b815167ffffffffffffffff811115611b6f57611b6f6118fb565b611b8381611b7d8454611ad9565b84611b11565b602080601f831160018114611bb6575f8415611b9f5750858301515b5f19600386901b1c1916600185901b178555610a10565b5f85815260208120601f198616915b82811015611be457888601518255948401946001909101908401611bc5565b5085821015611c0157878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b5f52601160045260245ffd5b808201808211156106e9576106e9611c11565b80820281158282048414176106e9576106e9611c11565b818103818111156106e9576106e9611c11565b5f808454611c6f81611ad9565b60018281168015611c875760018114611c9c57611cc8565b60ff1984168752821515830287019450611cc8565b885f526020805f205f5b85811015611cbf5781548a820152908401908201611ca6565b50505082870194505b505050508351611cdc818360208801611804565b64173539b7b760d91b9101908152600501949350505050565b5f82611d0f57634e487b7160e01b5f52601260045260245ffd5b500490565b6001600160a01b03858116825284166020820152604081018390526080606082018190525f90611d4690830184611826565b9695505050505050565b5f60208284031215611d60575f80fd5b81516111468161177256fea26469706673582212205a6a4374c77186e1623b4f8217f8e1efcf33d32f6eb7b3d9f1e40236f350f4db64736f6c63430008160033

Deployed Bytecode Sourcemap

86815:4761:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;89096:416;;;;;;;;;;-1:-1:-1;89096:416:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;89096:416:0;;;;;;;;87058:39;;;;;;;;;;;;;;;;;;;738:25:1;;;726:2;711:18;87058:39:0;592:177:1;88479:171:0;;;;;;;;;;-1:-1:-1;88479:171:0;;;;;:::i;:::-;;:::i;:::-;;54612:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;61103:218::-;;;;;;;;;;-1:-1:-1;61103:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;2504:32:1;;;2486:51;;2474:2;2459:18;61103:218:0;2340:203:1;60536:408:0;;;;;;:::i;:::-;;:::i;86990:23::-;;;;;;;;;;;;;;;;50363:323;;;;;;;;;;-1:-1:-1;50637:12:0;;50424:7;50621:13;:28;50363:323;;87523:25;;;;;;;;;;-1:-1:-1;87523:25:0;;;;-1:-1:-1;;;;;87523:25:0;;;87020:31;;;;;;;;;;;;;;;;64742:2825;;;;;;:::i;:::-;;:::i;88855:232::-;;;;;;;;;;-1:-1:-1;88855:232:0;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;3585:32:1;;;3567:51;;3649:2;3634:18;;3627:34;;;;3540:18;88855:232:0;3393:274:1;91282:183:0;;;:::i;87232:29::-;;;;;;;;;;;;;;;;67663:193;;;;;;:::i;:::-;;:::i;90836:88::-;;;;;;;;;;-1:-1:-1;90836:88:0;;;;;:::i;:::-;;:::i;87188:37::-;;;;;;;;;;;;;;;;91152:121;;;;;;;;;;-1:-1:-1;91152:121:0;;;;;:::i;:::-;;:::i;56005:152::-;;;;;;;;;;-1:-1:-1;56005:152:0;;;;;:::i;:::-;;:::i;88694:::-;;;;;;;;;;-1:-1:-1;88694:152:0;;;;;:::i;:::-;;:::i;87415:21::-;;;;;;;;;;;;;:::i;51547:233::-;;;;;;;;;;-1:-1:-1;51547:233:0;;;;;:::i;:::-;;:::i;34470:103::-;;;;;;;;;;;;;:::i;87299:40::-;;;;;;;;;;;;;;;;90249:182;;;;;;;;;;;;;:::i;91473:100::-;;;;;;;;;;;;;:::i;33795:87::-;;;;;;;;;;-1:-1:-1;33868:6:0;;-1:-1:-1;;;;;33868:6:0;33795:87;;91046:97;;;;;;;;;;-1:-1:-1;91046:97:0;;;;;:::i;:::-;;:::i;90933:104::-;;;;;;;;;;-1:-1:-1;90933:104:0;;;;;:::i;:::-;;:::i;54788:::-;;;;;;;;;;;;;:::i;87143:38::-;;;;;;;;;;;;;;;;87575:45;;;;;;;;;;;;87619:1;87575:45;;89521:719;;;;;;:::i;:::-;;:::i;61661:234::-;;;;;;;;;;-1:-1:-1;61661:234:0;;;;;:::i;:::-;;:::i;68454:407::-;;;;;;:::i;:::-;;:::i;87346:28::-;;;;;;;;;;-1:-1:-1;87346:28:0;;;;;;;;90564:263;;;;;;;;;;-1:-1:-1;90564:263:0;;;;;:::i;:::-;;:::i;87104:32::-;;;;;;;;;;;;;;;;62052:164;;;;;;;;;;-1:-1:-1;62052:164:0;;;;;:::i;:::-;;:::i;34728:220::-;;;;;;;;;;-1:-1:-1;34728:220:0;;;;;:::i;:::-;;:::i;89096:416::-;89199:4;-1:-1:-1;;;;;;89223:41:0;;-1:-1:-1;;;89223:41:0;;:84;;-1:-1:-1;;;;;;;;;;89282:25:0;;;89223:84;:161;;;-1:-1:-1;;;;;;;;;;89359:25:0;;;89223:161;:238;;;-1:-1:-1;;;;;;;;;;89436:25:0;;;89223:238;89216:245;89096:416;-1:-1:-1;;89096:416:0:o;88479:171::-;88565:10;:22;;-1:-1:-1;;;;;;88565:22:0;-1:-1:-1;;;;;88565:22:0;;;;;88598:44;88565:22;88628:13;88598:18;:44::i;:::-;88479:171;;:::o;54612:100::-;54666:13;54699:5;54692:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54612:100;:::o;61103:218::-;61179:7;61204:16;61212:7;61204;:16::i;:::-;61199:64;;61229:34;;-1:-1:-1;;;61229:34:0;;;;;;;;;;;61199:64;-1:-1:-1;61283:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;61283:30:0;;61103:218::o;60536:408::-;60625:13;60641:16;60649:7;60641;:16::i;:::-;60625:32;-1:-1:-1;84869:10:0;-1:-1:-1;;;;;60674:28:0;;;60670:175;;60722:44;60739:5;84869:10;62052:164;:::i;60722:44::-;60717:128;;60794:35;;-1:-1:-1;;;60794:35:0;;;;;;;;;;;60717:128;60857:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;60857:35:0;-1:-1:-1;;;;;60857:35:0;;;;;;;;;60908:28;;60857:24;;60908:28;;;;;;;60614:330;60536:408;;:::o;64742:2825::-;64884:27;64914;64933:7;64914:18;:27::i;:::-;64884:57;;64999:4;-1:-1:-1;;;;;64958:45:0;64974:19;-1:-1:-1;;;;;64958:45:0;;64954:86;;65012:28;;-1:-1:-1;;;65012:28:0;;;;;;;;;;;64954:86;65054:27;63850:24;;;:15;:24;;;;;64078:26;;84869:10;63475:30;;;-1:-1:-1;;;;;63168:28:0;;63453:20;;;63450:56;65240:180;;65333:43;65350:4;84869:10;62052:164;:::i;65333:43::-;65328:92;;65385:35;;-1:-1:-1;;;65385:35:0;;;;;;;;;;;65328:92;-1:-1:-1;;;;;65437:16:0;;65433:52;;65462:23;;-1:-1:-1;;;65462:23:0;;;;;;;;;;;65433:52;65634:15;65631:160;;;65774:1;65753:19;65746:30;65631:160;-1:-1:-1;;;;;66171:24:0;;;;;;;:18;:24;;;;;;66169:26;;-1:-1:-1;;66169:26:0;;;66240:22;;;;;;;;;66238:24;;-1:-1:-1;66238:24:0;;;59394:11;59369:23;59365:41;59352:63;-1:-1:-1;;;59352:63:0;66533:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;66828:47:0;;:52;;66824:627;;66933:1;66923:11;;66901:19;67056:30;;;:17;:30;;;;;;:35;;67052:384;;67194:13;;67179:11;:28;67175:242;;67341:30;;;;:17;:30;;;;;:52;;;67175:242;66882:569;66824:627;67498:7;67494:2;-1:-1:-1;;;;;67479:27:0;67488:4;-1:-1:-1;;;;;67479:27:0;;;;;;;;;;;67517:42;64873:2694;;;64742:2825;;;:::o;88855:232::-;88944:7;88953;88976:18;88998:39;89016:8;89026:10;88998:17;:39::i;:::-;89056:10;;-1:-1:-1;;;;;89056:10:0;;88973:64;;-1:-1:-1;88855:232:0;-1:-1:-1;;;;;88855:232:0:o;91282:183::-;33681:13;:11;:13::i;:::-;30321:21:::1;:19;:21::i;:::-;91370:60:::2;::::0;91352:12:::2;::::0;91378:10:::2;::::0;91403:21:::2;::::0;91352:12;91370:60;91352:12;91370:60;91403:21;91378:10;91370:60:::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;91351:79;;;91449:7;91441:16;;;::::0;::::2;;91340:125;30365:20:::1;29759:1:::0;30885:7;:22;30702:213;30365:20:::1;91282:183::o:0;67663:193::-;67809:39;67826:4;67832:2;67836:7;67809:39;;;;;;;;;;;;:16;:39::i;:::-;67663:193;;;:::o;90836:88::-;33681:13;:11;:13::i;:::-;90903:7:::1;:13;90913:3:::0;90903:7;:13:::1;:::i;91152:121::-:0;33681:13;:11;:13::i;:::-;91233::::1;:32:::0;91152:121::o;56005:152::-;56077:7;56120:27;56139:7;56120:18;:27::i;88694:152::-;33681:13;:11;:13::i;:::-;88813:10:::1;::::0;88787:51:::1;::::0;88804:7;;-1:-1:-1;;;;;88813:10:0::1;88825:12:::0;88787:16:::1;:51::i;87415:21::-:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;51547:233::-;51619:7;-1:-1:-1;;;;;51643:19:0;;51639:60;;51671:28;;-1:-1:-1;;;51671:28:0;;;;;;;;;;;51639:60;-1:-1:-1;;;;;;51717:25:0;;;;;:18;:25;;;;;;45706:13;51717:55;;51547:233::o;34470:103::-;33681:13;:11;:13::i;:::-;34535:30:::1;34562:1;34535:18;:30::i;90249:182::-:0;33681:13;:11;:13::i;:::-;90308:9:::1;;90296:8;;:21;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;;90360:8:0::1;::::0;90370:9:::1;::::0;90333:47:::1;::::0;;84869:10;9863:51:1;;9945:2;9930:18;;9923:34;;;;9973:18;;;9966:34;;;;90333:47:0;::::1;::::0;;;;9851:2:1;90333:47:0;;::::1;90391:32;90401:10;90413:9;;90391;:32::i;91473:100::-:0;33681:13;:11;:13::i;:::-;91549:16:::1;::::0;;-1:-1:-1;;91529:36:0;::::1;91549:16;::::0;;::::1;91548:17;91529:36;::::0;;91473:100::o;91046:97::-;33681:13;:11;:13::i;:::-;91113:10:::1;:22:::0;91046:97::o;90933:104::-;33681:13;:11;:13::i;:::-;91002:18:::1;:27:::0;90933:104::o;54788:::-;54844:13;54877:7;54870:14;;;;;:::i;89521:719::-;89593:10;;89668:18;;89578:12;;89668:22;;89689:1;89668:22;:::i;:::-;89660:5;89644:13;50637:12;;50424:7;50621:13;:28;;50363:323;89644:13;:21;;;;:::i;:::-;:46;89643:127;;;;-1:-1:-1;89750:19:0;;89727:10;89709:29;;;;:17;:29;;;;;;:37;;89741:5;;89709:37;:::i;:::-;:60;;89643:127;89628:180;;;-1:-1:-1;33868:6:0;;-1:-1:-1;;;;;33868:6:0;89786:10;:21;89628:180;89614:194;;89826:6;89822:47;;;89856:1;89849:8;;89822:47;89903:12;89911:4;89903:5;:12;:::i;:::-;89890:9;:25;;89882:67;;;;-1:-1:-1;;;89882:67:0;;10386:2:1;89882:67:0;;;10368:21:1;10425:2;10405:18;;;10398:30;10464:31;10444:18;;;10437:59;10513:18;;89882:67:0;;;;;;;;;90005:9;;89992:10;;:22;;;;:::i;:::-;:26;;90017:1;89992:26;:::i;:::-;89984:5;89968:13;50637:12;;50424:7;50621:13;:28;;50363:323;89968:13;:21;;;;:::i;:::-;:50;89960:72;;;;-1:-1:-1;;;89960:72:0;;10877:2:1;89960:72:0;;;10859:21:1;10916:1;10896:18;;;10889:29;-1:-1:-1;;;10934:18:1;;;10927:39;10983:18;;89960:72:0;10675:332:1;89960:72:0;90059:13;;:17;;90075:1;90059:17;:::i;:::-;90051:5;:25;90043:57;;;;-1:-1:-1;;;90043:57:0;;11214:2:1;90043:57:0;;;11196:21:1;11253:2;11233:18;;;11226:30;-1:-1:-1;;;11272:18:1;;;11265:49;11331:18;;90043:57:0;11012:343:1;90043:57:0;90118:6;90114:77;;;90159:10;90141:29;;;;:17;:29;;;;;:38;;90174:5;;90141:29;:38;;90174:5;;90141:38;:::i;:::-;;;;-1:-1:-1;;90114:77:0;90204:28;90214:10;90226:5;90204:9;:28::i;61661:234::-;84869:10;61756:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;61756:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;61756:60:0;;;;;;;;;;61832:55;;540:41:1;;;61756:49:0;;84869:10;61832:55;;513:18:1;61832:55:0;;;;;;;61661:234;;:::o;68454:407::-;68629:31;68642:4;68648:2;68652:7;68629:12;:31::i;:::-;-1:-1:-1;;;;;68675:14:0;;;:19;68671:183;;68714:56;68745:4;68751:2;68755:7;68764:5;68714:30;:56::i;:::-;68709:145;;68798:40;;-1:-1:-1;;;68798:40:0;;;;;;;;;;;68709:145;68454:407;;;;:::o;90564:263::-;90637:13;90671:16;90679:7;90671;:16::i;:::-;90663:76;;;;-1:-1:-1;;;90663:76:0;;11562:2:1;90663:76:0;;;11544:21:1;11601:2;11581:18;;;11574:30;11640:34;11620:18;;;11613:62;-1:-1:-1;;;11691:18:1;;;11684:45;11746:19;;90663:76:0;11360:411:1;90663:76:0;90781:7;90790:18;:7;:16;:18::i;:::-;90764:54;;;;;;;;;:::i;:::-;;;;;;;;;;;;;90750:69;;90564:263;;;:::o;62052:164::-;-1:-1:-1;;;;;62173:25:0;;;62149:4;62173:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;62052:164::o;34728:220::-;33681:13;:11;:13::i;:::-;-1:-1:-1;;;;;34813:22:0;::::1;34809:93;;34859:31;::::0;-1:-1:-1;;;34859:31:0;;34887:1:::1;34859:31;::::0;::::1;2486:51:1::0;2459:18;;34859:31:0::1;2340:203:1::0;34809:93:0::1;34912:28;34931:8;34912:18;:28::i;:::-;34728:220:::0;:::o;6191:518::-;5907:5;-1:-1:-1;;;;;6340:26:0;;;-1:-1:-1;6336:176:0;;;6445:55;;-1:-1:-1;;;6445:55:0;;-1:-1:-1;;;;;13160:39:1;;6445:55:0;;;13142:58:1;13216:18;;;13209:34;;;13115:18;;6445:55:0;12969:280:1;6336:176:0;-1:-1:-1;;;;;6526:22:0;;6522:110;;6572:48;;-1:-1:-1;;;6572:48:0;;6617:1;6572:48;;;2486:51:1;2459:18;;6572:48:0;2340:203:1;6522:110:0;-1:-1:-1;6666:35:0;;;;;;;;;-1:-1:-1;;;;;6666:35:0;;;;;;-1:-1:-1;;;;;6666:35:0;;;;;;;;;;-1:-1:-1;;;6644:57:0;;;;:19;:57;6191:518::o;62474:282::-;62539:4;62629:13;;62619:7;:23;62576:153;;;;-1:-1:-1;;62680:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;62680:44:0;:49;;62474:282::o;57160:1275::-;57227:7;57262;57364:13;;57357:4;:20;57353:1015;;;57402:14;57419:23;;;:17;:23;;;;;;;-1:-1:-1;;;57508:24:0;;:29;;57504:845;;58173:113;58180:6;58190:1;58180:11;58173:113;;-1:-1:-1;;;58251:6:0;58233:25;;;;:17;:25;;;;;;58173:113;;;58319:6;57160:1275;-1:-1:-1;;;57160:1275:0:o;57504:845::-;57379:989;57353:1015;58396:31;;-1:-1:-1;;;58396:31:0;;;;;;;;;;;5112:429;5198:7;5256:26;;;:17;:26;;;;;;;;5227:55;;;;;;;;;-1:-1:-1;;;;;5227:55:0;;;;;-1:-1:-1;;;5227:55:0;;;-1:-1:-1;;;;;5227:55:0;;;;;;;;5198:7;;5295:92;;-1:-1:-1;5346:29:0;;;;;;;;;5356:19;5346:29;-1:-1:-1;;;;;5346:29:0;;;;-1:-1:-1;;;5346:29:0;;-1:-1:-1;;;;;5346:29:0;;;;;5295:92;5436:23;;;;5399:21;;5907:5;;5424:35;;-1:-1:-1;;;;;5424:35:0;:9;:35;:::i;:::-;5423:57;;;;:::i;:::-;5501:16;;;;;-1:-1:-1;5112:429:0;;-1:-1:-1;;;;5112:429:0:o;33960:166::-;33868:6;;-1:-1:-1;;;;;33868:6:0;84869:10;34020:23;34016:103;;34067:40;;-1:-1:-1;;;34067:40:0;;84869:10;34067:40;;;2486:51:1;2459:18;;34067:40:0;2340:203:1;30401:293:0;29803:1;30535:7;;:19;30527:63;;;;-1:-1:-1;;;30527:63:0;;13810:2:1;30527:63:0;;;13792:21:1;13849:2;13829:18;;;13822:30;13888:33;13868:18;;;13861:61;13939:18;;30527:63:0;13608:355:1;30527:63:0;29803:1;30668:7;:18;30401:293::o;7160:554::-;5907:5;-1:-1:-1;;;;;7324:26:0;;;-1:-1:-1;7320:183:0;;;7429:62;;-1:-1:-1;;;7429:62:0;;;;;14169:25:1;;;-1:-1:-1;;;;;14230:39:1;;14210:18;;;14203:67;14286:18;;;14279:34;;;14142:18;;7429:62:0;13968:351:1;7320:183:0;-1:-1:-1;;;;;7517:22:0;;7513:117;;7563:55;;-1:-1:-1;;;7563:55:0;;;;;14498:25:1;;;7615:1:0;14539:18:1;;;14532:60;14471:18;;7563:55:0;14324:274:1;7513:117:0;-1:-1:-1;7671:35:0;;;;;;;;-1:-1:-1;;;;;7671:35:0;;;;;-1:-1:-1;;;;;7671:35:0;;;;;;;;;;-1:-1:-1;7642:26:0;;;:17;:26;;;;;;:64;;;;;;;-1:-1:-1;;;7642:64:0;;;;;;7160:554::o;35108:191::-;35201:6;;;-1:-1:-1;;;;;35218:17:0;;;-1:-1:-1;;;;;;35218:17:0;;;;;;;35251:40;;35201:6;;;35218:17;35201:6;;35251:40;;35182:16;;35251:40;35171:128;35108:191;:::o;78614:112::-;78691:27;78701:2;78705:8;78691:27;;;;;;;;;;;;:9;:27::i;70945:716::-;71129:88;;-1:-1:-1;;;71129:88:0;;71108:4;;-1:-1:-1;;;;;71129:45:0;;;;;:88;;84869:10;;71196:4;;71202:7;;71211:5;;71129:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;71129:88:0;;;;;;;;-1:-1:-1;;71129:88:0;;;;;;;;;;;;:::i;:::-;;;71125:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;71412:6;:13;71429:1;71412:18;71408:235;;71458:40;;-1:-1:-1;;;71458:40:0;;;;;;;;;;;71408:235;71601:6;71595:13;71586:6;71582:2;71578:15;71571:38;71125:529;-1:-1:-1;;;;;;71288:64:0;-1:-1:-1;;;71288:64:0;;-1:-1:-1;71125:529:0;70945:716;;;;;;:::o;25441:718::-;25497:13;25548:14;25565:17;25576:5;25565:10;:17::i;:::-;25585:1;25565:21;25548:38;;25601:20;25635:6;25624:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;25624:18:0;-1:-1:-1;25601:41:0;-1:-1:-1;25766:28:0;;;25782:2;25766:28;25823:290;-1:-1:-1;;25855:5:0;-1:-1:-1;;;25992:2:0;25981:14;;25976:32;25855:5;25963:46;26055:2;26046:11;;;-1:-1:-1;26076:21:0;25823:290;26076:21;-1:-1:-1;26134:6:0;25441:718;-1:-1:-1;;;25441:718:0:o;77841:689::-;77972:19;77978:2;77982:8;77972:5;:19::i;:::-;-1:-1:-1;;;;;78033:14:0;;;:19;78029:483;;78073:11;78087:13;78135:14;;;78168:233;78199:62;78238:1;78242:2;78246:7;;;;;;78255:5;78199:30;:62::i;:::-;78194:167;;78297:40;;-1:-1:-1;;;78297:40:0;;;;;;;;;;;78194:167;78396:3;78388:5;:11;78168:233;;78483:3;78466:13;;:20;78462:34;;78488:8;;;78462:34;78054:458;;77841:689;;;:::o;21845:948::-;21898:7;;-1:-1:-1;;;21976:17:0;;21972:106;;-1:-1:-1;;;22014:17:0;;;-1:-1:-1;22060:2:0;22050:12;21972:106;22105:8;22096:5;:17;22092:106;;22143:8;22134:17;;;-1:-1:-1;22180:2:0;22170:12;22092:106;22225:8;22216:5;:17;22212:106;;22263:8;22254:17;;;-1:-1:-1;22300:2:0;22290:12;22212:106;22345:7;22336:5;:16;22332:103;;22382:7;22373:16;;;-1:-1:-1;22418:1:0;22408:11;22332:103;22462:7;22453:5;:16;22449:103;;22499:7;22490:16;;;-1:-1:-1;22535:1:0;22525:11;22449:103;22579:7;22570:5;:16;22566:103;;22616:7;22607:16;;;-1:-1:-1;22652:1:0;22642:11;22566:103;22696:7;22687:5;:16;22683:68;;22734:1;22724:11;22779:6;21845:948;-1:-1:-1;;21845:948:0:o;72123:2966::-;72196:20;72219:13;;;72247;;;72243:44;;72269:18;;-1:-1:-1;;;72269:18:0;;;;;;;;;;;72243:44;-1:-1:-1;;;;;72775:22:0;;;;;;:18;:22;;;;45844:2;72775:22;;;:71;;72813:32;72801:45;;72775:71;;;73089:31;;;:17;:31;;;;;-1:-1:-1;59825:15:0;;59799:24;59795:46;59394:11;59369:23;59365:41;59362:52;59352:63;;73089:173;;73324:23;;;;73089:31;;72775:22;;74089:25;72775:22;;73942:335;74603:1;74589:12;74585:20;74543:346;74644:3;74635:7;74632:16;74543:346;;74862:7;74852:8;74849:1;74822:25;74819:1;74816;74811:59;74697:1;74684:15;74543:346;;;74547:77;74922:8;74934:1;74922:13;74918:45;;74944:19;;-1:-1:-1;;;74944:19:0;;;;;;;;;;;74918:45;74980:13;:19;-1:-1:-1;67663: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;774:173::-;842:20;;-1:-1:-1;;;;;891:31:1;;881:42;;871:70;;937:1;934;927:12;871:70;774:173;;;:::o;952:179::-;1019:20;;-1:-1:-1;;;;;1068:38:1;;1058:49;;1048:77;;1121:1;1118;1111:12;1136:258;1203:6;1211;1264:2;1252:9;1243:7;1239:23;1235:32;1232:52;;;1280:1;1277;1270:12;1232:52;1303:29;1322:9;1303:29;:::i;:::-;1293:39;;1351:37;1384:2;1373:9;1369:18;1351:37;:::i;:::-;1341:47;;1136:258;;;;;:::o;1399:250::-;1484:1;1494:113;1508:6;1505:1;1502:13;1494:113;;;1584:11;;;1578:18;1565:11;;;1558:39;1530:2;1523:10;1494:113;;;-1:-1:-1;;1641:1:1;1623:16;;1616:27;1399:250::o;1654:271::-;1696:3;1734:5;1728:12;1761:6;1756:3;1749:19;1777:76;1846:6;1839:4;1834:3;1830:14;1823:4;1816:5;1812:16;1777:76;:::i;:::-;1907:2;1886:15;-1:-1:-1;;1882:29:1;1873:39;;;;1914:4;1869:50;;1654:271;-1:-1:-1;;1654:271:1:o;1930:220::-;2079:2;2068:9;2061:21;2042:4;2099:45;2140:2;2129:9;2125:18;2117:6;2099:45;:::i;2155:180::-;2214:6;2267:2;2255:9;2246:7;2242:23;2238:32;2235:52;;;2283:1;2280;2273:12;2235:52;-1:-1:-1;2306:23:1;;2155:180;-1:-1:-1;2155:180:1:o;2548:254::-;2616:6;2624;2677:2;2665:9;2656:7;2652:23;2648:32;2645:52;;;2693:1;2690;2683:12;2645:52;2716:29;2735:9;2716:29;:::i;:::-;2706:39;2792:2;2777:18;;;;2764:32;;-1:-1:-1;;;2548:254:1:o;2807:328::-;2884:6;2892;2900;2953:2;2941:9;2932:7;2928:23;2924:32;2921:52;;;2969:1;2966;2959:12;2921:52;2992:29;3011:9;2992:29;:::i;:::-;2982:39;;3040:38;3074:2;3063:9;3059:18;3040:38;:::i;:::-;3030:48;;3125:2;3114:9;3110:18;3097:32;3087:42;;2807:328;;;;;:::o;3140:248::-;3208:6;3216;3269:2;3257:9;3248:7;3244:23;3240:32;3237:52;;;3285:1;3282;3275:12;3237:52;-1:-1:-1;;3308:23:1;;;3378:2;3363:18;;;3350:32;;-1:-1:-1;3140:248:1:o;3672:127::-;3733:10;3728:3;3724:20;3721:1;3714:31;3764:4;3761:1;3754:15;3788:4;3785:1;3778:15;3804:632;3869:5;3899:18;3940:2;3932:6;3929:14;3926:40;;;3946:18;;:::i;:::-;4021:2;4015:9;3989:2;4075:15;;-1:-1:-1;;4071:24:1;;;4097:2;4067:33;4063:42;4051:55;;;4121:18;;;4141:22;;;4118:46;4115:72;;;4167:18;;:::i;:::-;4207:10;4203:2;4196:22;4236:6;4227:15;;4266:6;4258;4251:22;4306:3;4297:6;4292:3;4288:16;4285:25;4282:45;;;4323:1;4320;4313:12;4282:45;4373:6;4368:3;4361:4;4353:6;4349:17;4336:44;4428:1;4421:4;4412:6;4404;4400:19;4396:30;4389:41;;;;3804:632;;;;;:::o;4441:451::-;4510:6;4563:2;4551:9;4542:7;4538:23;4534:32;4531:52;;;4579:1;4576;4569:12;4531:52;4619:9;4606:23;4652:18;4644:6;4641:30;4638:50;;;4684:1;4681;4674:12;4638:50;4707:22;;4760:4;4752:13;;4748:27;-1:-1:-1;4738:55:1;;4789:1;4786;4779:12;4738:55;4812:74;4878:7;4873:2;4860:16;4855:2;4851;4847:11;4812:74;:::i;4897:252::-;4964:6;4972;5025:2;5013:9;5004:7;5000:23;4996:32;4993:52;;;5041:1;5038;5031:12;4993:52;5077:9;5064:23;5054:33;;5106:37;5139:2;5128:9;5124:18;5106:37;:::i;5154:186::-;5213:6;5266:2;5254:9;5245:7;5241:23;5237:32;5234:52;;;5282:1;5279;5272:12;5234:52;5305:29;5324:9;5305:29;:::i;5345:347::-;5410:6;5418;5471:2;5459:9;5450:7;5446:23;5442:32;5439:52;;;5487:1;5484;5477:12;5439:52;5510:29;5529:9;5510:29;:::i;:::-;5500:39;;5589:2;5578:9;5574:18;5561:32;5636:5;5629:13;5622:21;5615:5;5612:32;5602:60;;5658:1;5655;5648:12;5602:60;5681:5;5671:15;;;5345:347;;;;;:::o;5697:667::-;5792:6;5800;5808;5816;5869:3;5857:9;5848:7;5844:23;5840:33;5837:53;;;5886:1;5883;5876:12;5837:53;5909:29;5928:9;5909:29;:::i;:::-;5899:39;;5957:38;5991:2;5980:9;5976:18;5957:38;:::i;:::-;5947:48;;6042:2;6031:9;6027:18;6014:32;6004:42;;6097:2;6086:9;6082:18;6069:32;6124:18;6116:6;6113:30;6110:50;;;6156:1;6153;6146:12;6110:50;6179:22;;6232:4;6224:13;;6220:27;-1:-1:-1;6210:55:1;;6261:1;6258;6251:12;6210:55;6284:74;6350:7;6345:2;6332:16;6327:2;6323;6319:11;6284:74;:::i;:::-;6274:84;;;5697:667;;;;;;;:::o;6369:260::-;6437:6;6445;6498:2;6486:9;6477:7;6473:23;6469:32;6466:52;;;6514:1;6511;6504:12;6466:52;6537:29;6556:9;6537:29;:::i;:::-;6527:39;;6585:38;6619:2;6608:9;6604:18;6585:38;:::i;6634:380::-;6713:1;6709:12;;;;6756;;;6777:61;;6831:4;6823:6;6819:17;6809:27;;6777:61;6884:2;6876:6;6873:14;6853:18;6850:38;6847:161;;6930:10;6925:3;6921:20;6918:1;6911:31;6965:4;6962:1;6955:15;6993:4;6990:1;6983:15;6847:161;;6634:380;;;:::o;7355:518::-;7457:2;7452:3;7449:11;7446:421;;;7493:5;7490:1;7483:16;7537:4;7534:1;7524:18;7607:2;7595:10;7591:19;7588:1;7584:27;7578:4;7574:38;7643:4;7631:10;7628:20;7625:47;;;-1:-1:-1;7666:4:1;7625:47;7721:2;7716:3;7712:12;7709:1;7705:20;7699:4;7695:31;7685:41;;7776:81;7794:2;7787:5;7784:13;7776:81;;;7853:1;7839:16;;7820:1;7809:13;7776:81;;8049:1345;8175:3;8169:10;8202:18;8194:6;8191:30;8188:56;;;8224:18;;:::i;:::-;8253:97;8343:6;8303:38;8335:4;8329:11;8303:38;:::i;:::-;8297:4;8253:97;:::i;:::-;8405:4;;8462:2;8451:14;;8479:1;8474:663;;;;9181:1;9198:6;9195:89;;;-1:-1:-1;9250:19:1;;;9244:26;9195:89;-1:-1:-1;;8006:1:1;8002:11;;;7998:24;7994:29;7984:40;8030:1;8026:11;;;7981:57;9297:81;;8444:944;;8474:663;7302:1;7295:14;;;7339:4;7326:18;;-1:-1:-1;;8510:20:1;;;8628:236;8642:7;8639:1;8636:14;8628:236;;;8731:19;;;8725:26;8710:42;;8823:27;;;;8791:1;8779:14;;;;8658:19;;8628:236;;;8632:3;8892:6;8883:7;8880:19;8877:201;;;8953:19;;;8947:26;-1:-1:-1;;9036:1:1;9032:14;;;9048:3;9028:24;9024:37;9020:42;9005:58;8990:74;;8877:201;-1:-1:-1;;;;;9124:1:1;9108:14;;;9104:22;9091:36;;-1:-1:-1;8049:1345:1:o;9399:127::-;9460:10;9455:3;9451:20;9448:1;9441:31;9491:4;9488:1;9481:15;9515:4;9512:1;9505:15;9531:125;9596:9;;;9617:10;;;9614:36;;;9630:18;;:::i;10011:168::-;10084:9;;;10115;;10132:15;;;10126:22;;10112:37;10102:71;;10153:18;;:::i;10542:128::-;10609:9;;;10630:11;;;10627:37;;;10644:18;;:::i;11776:1188::-;12053:3;12082:1;12115:6;12109:13;12145:36;12171:9;12145:36;:::i;:::-;12200:1;12217:17;;;12243:133;;;;12390:1;12385:358;;;;12210:533;;12243:133;-1:-1:-1;;12276:24:1;;12264:37;;12349:14;;12342:22;12330:35;;12321:45;;;-1:-1:-1;12243:133:1;;12385:358;12416:6;12413:1;12406:17;12446:4;12491;12488:1;12478:18;12518:1;12532:165;12546:6;12543:1;12540:13;12532:165;;;12624:14;;12611:11;;;12604:35;12667:16;;;;12561:10;;12532:165;;;12536:3;;;12726:6;12721:3;12717:16;12710:23;;12210:533;;;;;12774:6;12768:13;12790:68;12849:8;12844:3;12837:4;12829:6;12825:17;12790:68;:::i;:::-;-1:-1:-1;;;12880:18:1;;12907:22;;;12956:1;12945:13;;11776:1188;-1:-1:-1;;;;11776:1188:1:o;13386:217::-;13426:1;13452;13442:132;;13496:10;13491:3;13487:20;13484:1;13477:31;13531:4;13528:1;13521:15;13559:4;13556:1;13549:15;13442:132;-1:-1:-1;13588:9:1;;13386:217::o;14603:489::-;-1:-1:-1;;;;;14872:15:1;;;14854:34;;14924:15;;14919:2;14904:18;;14897:43;14971:2;14956:18;;14949:34;;;15019:3;15014:2;14999:18;;14992:31;;;14797:4;;15040:46;;15066:19;;15058:6;15040:46;:::i;:::-;15032:54;14603:489;-1:-1:-1;;;;;;14603:489:1:o;15097:249::-;15166:6;15219:2;15207:9;15198:7;15194:23;15190:32;15187:52;;;15235:1;15232;15225:12;15187:52;15267:9;15261:16;15286:30;15310:5;15286:30;:::i

Swarm Source

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