ETH Price: $3,394.56 (-1.12%)

Token

DownUnderMilady (DUM)
 

Overview

Max Total Supply

244 DUM

Holders

3

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
Fake_Phishing324025
Balance
69 DUM
0xb520f068a908a1782a543aacc3847adb77a04778
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:
DownUnderMilady

Compiler Version
v0.8.20+commit.a1b79de6

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

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

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


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

pragma solidity ^0.8.19;

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

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


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

pragma solidity ^0.8.19;


/**
 * @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: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/interfaces/IERC2981.sol


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

pragma solidity ^0.8.19;


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

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


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

pragma solidity ^0.8.19;



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

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

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

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

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

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

        return (royalty.receiver, royaltyAmount);
    }

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

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

        _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator);
    }

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

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

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

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

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


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

pragma solidity ^0.8.19;

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

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

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

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

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


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

pragma solidity ^0.8.19;

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

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

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

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

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

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v5.0._
     */
    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 up instead
     * of rounding down.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b - 1) / b can overflow on addition, so we distribute.
        return a == 0 ? 0 : (a - 1) / b + 1;
    }

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

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                // Solidity will revert if denominator == 0, unlike the div opcode on its own.
                // The surrounding unchecked block does not change this fact.
                // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic.
                return prod0 / denominator;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

pragma solidity ^0.8.19;



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

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

    /**
     * @dev Converts a `int256` to its ASCII `string` decimal representation.
     */
    function toString(int256 value) internal pure returns (string memory) {
        return string(abi.encodePacked(value < 0 ? "-" : "", toString(SignedMath.abs(value))));
    }

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

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

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

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

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


// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.19;

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

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

// File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/access/Ownable.sol


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

pragma solidity ^0.8.19;


/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor(address initialOwner) {
        _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 {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby disabling any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

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

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

// File: https://github.com/chiru-labs/ERC721A/blob/main/contracts/IERC721A.sol


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

pragma solidity ^0.8.4;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// File: https://github.com/chiru-labs/ERC721A/blob/main/contracts/ERC721A.sol


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

pragma solidity ^0.8.4;


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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        return _tokenApprovals[tokenId].value;
    }

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        address from = address(uint160(prevOwnershipPacked));

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// File: contracts/Milady.sol


pragma solidity ^0.8.20;






contract DownUnderMilady is ERC721A, ERC2981, Ownable {
   
    

    using Strings for uint256;
    uint256 public maxSupply = 6969;
    uint256 public maxFreeAmount = 4269;
    uint256 public maxFreePerWallet = 5;
    uint256 public price = 0.00169 ether;
    uint256 public maxPerTx = 169;
    uint256 public maxPerWallet = 169;
    bool public mintEnabled = false;
    string public baseURI;

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

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


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

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

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

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

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

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

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

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

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

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

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

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

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

Contract Security Audit

Contract ABI

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

6080604052611b39600b556110ad600c556005600d556606010bc9aba000600e5560a9600f8190556010556011805460ff1916905534801562000040575f80fd5b50604051620023063803806200230683398101604081905262000063916200035b565b338383600262000074838262000492565b50600362000083828262000492565b505060015f55506200009581620000b7565b50620000a18162000108565b620000ad338562000124565b505050506200055a565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b620001126200013a565b601262000120828262000492565b5050565b6200012e6200013a565b6200012082826200019c565b600a546001600160a01b031633146200019a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b565b6127106001600160601b03821611156200020c5760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b606482015260840162000191565b6001600160a01b038216620002645760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c696420726563656976657200000000000000604482015260640162000191565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600855565b634e487b7160e01b5f52604160045260245ffd5b5f82601f830112620002c1575f80fd5b81516001600160401b0380821115620002de57620002de6200029d565b604051601f8301601f19908116603f011681019082821181831017156200030957620003096200029d565b8160405283815260209250868385880101111562000325575f80fd5b5f91505b8382101562000348578582018301518183018401529082019062000329565b5f93810190920192909252949350505050565b5f805f80608085870312156200036f575f80fd5b84516001600160601b038116811462000386575f80fd5b60208601519094506001600160401b0380821115620003a3575f80fd5b620003b188838901620002b1565b94506040870151915080821115620003c7575f80fd5b620003d588838901620002b1565b93506060870151915080821115620003eb575f80fd5b50620003fa87828801620002b1565b91505092959194509250565b600181811c908216806200041b57607f821691505b6020821081036200043a57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156200048d575f81815260208120601f850160051c81016020861015620004685750805b601f850160051c820191505b81811015620004895782815560010162000474565b5050505b505050565b81516001600160401b03811115620004ae57620004ae6200029d565b620004c681620004bf845462000406565b8462000440565b602080601f831160018114620004fc575f8415620004e45750858301515b5f19600386901b1c1916600185901b17855562000489565b5f85815260208120601f198616915b828110156200052c578886015182559484019460019091019084016200050b565b50858210156200054a57878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b611d9e80620005685f395ff3fe6080604052600436106101fc575f3560e01c80636d7c4a4b11610113578063a70273571161009d578063d5abeb011161006d578063d5abeb0114610563578063e985e9c514610578578063f2fde38b14610597578063f892c6e2146105b6578063f968adbe146105cb575f80fd5b8063a702735714610503578063b88d4fde14610518578063c87b56dd1461052b578063d12397301461054a575f80fd5b80638da5cb5b116100e35780638da5cb5b1461047f57806391b7f5ed1461049c57806395d89b41146104bb578063a035b1fe146104cf578063a22cb465146104e4575f80fd5b80636d7c4a4b1461041957806370a0823114610438578063715018a6146104575780637ba5e6211461046b575f80fd5b80632a55205a1161019457806342842e0e1161016457806342842e0e1461039f578063453c2310146103b257806355f804b3146103c75780636352211e146103e65780636c0360eb14610405575f80fd5b80632a55205a1461031b5780632db11544146103595780633ccfd60b1461036c5780634248cf4314610380575f80fd5b8063095ea7b3116101cf578063095ea7b3146102ad5780630c23bb3f146102c057806318160ddd146102df57806323b872dd14610308575f80fd5b806301ffc9a71461020057806302fa7c471461023457806306fdde0314610255578063081812fc14610276575b5f80fd5b34801561020b575f80fd5b5061021f61021a3660046116f2565b6105e0565b60405190151581526020015b60405180910390f35b34801561023f575f80fd5b5061025361024e36600461172a565b6105ff565b005b348015610260575f80fd5b50610269610615565b60405161022b91906117b7565b348015610281575f80fd5b506102956102903660046117c9565b6106a5565b6040516001600160a01b03909116815260200161022b565b6102536102bb3660046117e0565b6106de565b3480156102cb575f80fd5b506102536102da3660046117c9565b6106ea565b3480156102ea575f80fd5b506102fa6001545f54035f190190565b60405190815260200161022b565b610253610316366004611808565b6106f7565b348015610326575f80fd5b5061033a610335366004611841565b610851565b604080516001600160a01b03909316835260208301919091520161022b565b6102536103673660046117c9565b6108fb565b348015610377575f80fd5b50610253610ad2565b34801561038b575f80fd5b5061025361039a366004611861565b610b65565b6102536103ad366004611808565b610c32565b3480156103bd575f80fd5b506102fa60105481565b3480156103d2575f80fd5b506102536103e1366004611960565b610c51565b3480156103f1575f80fd5b506102956104003660046117c9565b610c65565b348015610410575f80fd5b50610269610c6f565b348015610424575f80fd5b506102536104333660046117c9565b610cfb565b348015610443575f80fd5b506102fa6104523660046119a5565b610d08565b348015610462575f80fd5b50610253610d4c565b348015610476575f80fd5b50610253610d5f565b34801561048a575f80fd5b50600a546001600160a01b0316610295565b3480156104a7575f80fd5b506102536104b63660046117c9565b610d7b565b3480156104c6575f80fd5b50610269610d88565b3480156104da575f80fd5b506102fa600e5481565b3480156104ef575f80fd5b506102536104fe3660046119be565b610d97565b34801561050e575f80fd5b506102fa600d5481565b6102536105263660046119ec565b610e02565b348015610536575f80fd5b506102696105453660046117c9565b610e3d565b348015610555575f80fd5b5060115461021f9060ff1681565b34801561056e575f80fd5b506102fa600b5481565b348015610583575f80fd5b5061021f610592366004611a63565b610ede565b3480156105a2575f80fd5b506102536105b13660046119a5565b610f0b565b3480156105c1575f80fd5b506102fa600c5481565b3480156105d6575f80fd5b506102fa600f5481565b5f6105ea82610f81565b806105f957506105f982610fce565b92915050565b610607611002565b610611828261105c565b5050565b60606002805461062490611a94565b80601f016020809104026020016040519081016040528092919081815260200182805461065090611a94565b801561069b5780601f106106725761010080835404028352916020019161069b565b820191905f5260205f20905b81548152906001019060200180831161067e57829003601f168201915b5050505050905090565b5f6106af82611159565b6106c3576106c36333d1c03960e21b6111a3565b505f908152600660205260409020546001600160a01b031690565b610611828260016111ab565b6106f2611002565b600c55565b5f6107018261124c565b6001600160a01b0394851694909150811684146107275761072762a1148160e81b6111a3565b5f8281526006602052604090208054338082146001600160a01b0388169091141761076a576107568633610ede565b61076a5761076a632ce44b5f60e11b6111a3565b8015610774575f82555b6001600160a01b038681165f9081526005602052604080822080545f19019055918716808252919020805460010190554260a01b17600160e11b175f85815260046020526040812091909155600160e11b8416900361080057600184015f8181526004602052604081205490036107fe575f5481146107fe575f8181526004602052604090208490555b505b6001600160a01b0385168481887fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a4805f0361084857610848633a954ecd60e21b6111a3565b50505050505050565b5f8281526009602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b03169282019290925282916108c55750604080518082019091526008546001600160a01b0381168252600160a01b90046001600160601b031660208201525b60208101515f90612710906108e3906001600160601b031687611ae0565b6108ed9190611af7565b915196919550909350505050565b60115460ff166109525760405162461bcd60e51b815260206004820152601860248201527f4d696e74696e67206973206e6f74206c697665207965742e000000000000000060448201526064015b60405180910390fd5b600b54610960906001611b16565b816109706001545f54035f190190565b61097a9190611b16565b106109b15760405162461bcd60e51b81526020600482015260076024820152664e6f206d6f726560c81b6044820152606401610949565b600e54601054600c546109c96001545f54035f190190565b1080156109dc57506109da336112e6565b155b80156109ea5750600d548311155b156109f7575050600d545f905b8083610a02336112e6565b610a0c9190611b16565b1115610a4b5760405162461bcd60e51b815260206004820152600e60248201526d13585e081c195c881dd85b1b195d60921b6044820152606401610949565b82610a55336112e6565b5f03610a6957610a66600185611b29565b90505b610a738382611ae0565b341015610ac25760405162461bcd60e51b815260206004820152601d60248201527f506c656173652073656e642074686520657861637420616d6f756e742e0000006044820152606401610949565b610acc338561130e565b50505050565b610ada611002565b6040515f90339047908381818185875af1925050503d805f8114610b19576040519150601f19603f3d011682016040523d82523d5f602084013e610b1e565b606091505b5050905080610b625760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b6044820152606401610949565b50565b610b6d611002565b5f610b7d6001545f54035f190190565b90505f610b8a8386611ae0565b600b54909150610b9a8284611b16565b1115610bde5760405162461bcd60e51b815260206004820152601360248201527222bc31b2b2b2399036b0bc1039bab838363c9760691b6044820152606401610949565b5f5b83811015610c2a57610c18858583818110610bfd57610bfd611b3c565b9050602002016020810190610c1291906119a5565b8761130e565b80610c2281611b50565b915050610be0565b505050505050565b610c4c83838360405180602001604052805f815250610e02565b505050565b610c59611002565b60126106118282611bad565b5f6105f98261124c565b60128054610c7c90611a94565b80601f0160208091040260200160405190810160405280929190818152602001828054610ca890611a94565b8015610cf35780601f10610cca57610100808354040283529160200191610cf3565b820191905f5260205f20905b815481529060010190602001808311610cd657829003601f168201915b505050505081565b610d03611002565b600d55565b5f6001600160a01b038216610d2757610d276323d3ad8160e21b6111a3565b506001600160a01b03165f9081526005602052604090205467ffffffffffffffff1690565b610d54611002565b610d5d5f611327565b565b610d67611002565b6011805460ff19811660ff90911615179055565b610d83611002565b600e55565b60606003805461062490611a94565b335f8181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610e0d8484846106f7565b6001600160a01b0383163b15610acc57610e2984848484611378565b610acc57610acc6368d2bf6b60e11b6111a3565b6060610e4882611159565b610eac5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610949565b6012610eb783611457565b604051602001610ec8929190611c69565b6040516020818303038152906040529050919050565b6001600160a01b039182165f90815260076020908152604080832093909416825291909152205460ff1690565b610f13611002565b6001600160a01b038116610f785760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610949565b610b6281611327565b5f6301ffc9a760e01b6001600160e01b031983161480610fb157506380ac58cd60e01b6001600160e01b03198316145b806105f95750506001600160e01b031916635b5e139f60e01b1490565b5f6001600160e01b0319821663152a902d60e11b14806105f957506301ffc9a760e01b6001600160e01b03198316146105f9565b600a546001600160a01b03163314610d5d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610949565b6127106001600160601b03821611156110ca5760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b6064820152608401610949565b6001600160a01b0382166111205760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401610949565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600855565b5f8160011161119e575f5482101561119e575f5b505f82815260046020526040812054908190036111945761118d83611cfc565b925061116d565b600160e01b161590505b919050565b805f5260045ffd5b5f6111b583610c65565b90508180156111cd5750336001600160a01b03821614155b156111f0576111dc8133610ede565b6111f0576111f06367d9dca160e11b6111a3565b5f8381526006602052604080822080546001600160a01b0319166001600160a01b0388811691821790925591518693918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a450505050565b5f816001116112d657505f81815260046020526040812054908190036112c4575f54821061128457611284636f96cda160e11b6111a3565b5b505f19015f81815260046020526040902054801561128557600160e01b81165f036112af57919050565b6112bf636f96cda160e11b6111a3565b611285565b600160e01b81165f036112d657919050565b61119e636f96cda160e11b6111a3565b6001600160a01b03165f908152600560205260409081902054901c67ffffffffffffffff1690565b610611828260405180602001604052805f8152506114e7565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b604051630a85bd0160e11b81525f906001600160a01b0385169063150b7a02906113ac903390899088908890600401611d11565b6020604051808303815f875af19250505080156113e6575060408051601f3d908101601f191682019092526113e391810190611d4d565b60015b611439573d808015611413576040519150601f19603f3d011682016040523d82523d5f602084013e611418565b606091505b5080515f03611431576114316368d2bf6b60e11b6111a3565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60605f6114638361154c565b60010190505f8167ffffffffffffffff811115611482576114826118d9565b6040519080825280601f01601f1916602001820160405280156114ac576020820181803683370190505b5090508181016020015b5f19016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a85049450846114b657509392505050565b6114f18383611623565b6001600160a01b0383163b15610c4c575f548281035b6115195f868380600101945086611378565b61152d5761152d6368d2bf6b60e11b6111a3565b81811061150757815f5414611545576115455f6111a3565b5050505050565b5f8072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b831061158a5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef810000000083106115b6576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc1000083106115d457662386f26fc10000830492506010015b6305f5e10083106115ec576305f5e100830492506008015b612710831061160057612710830492506004015b60648310611612576064830492506002015b600a83106105f95760010192915050565b5f80549082900361163e5761163e63b562e8dd60e01b6111a3565b5f8181526004602090815260408083206001600160a01b0387164260a01b6001881460e11b1781179091558084526005909252822080546801000000000000000186020190559081900361169b5761169b622e076360e81b6111a3565b818301825b80835f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a48181600101915081036116a057505f5550505050565b6001600160e01b031981168114610b62575f80fd5b5f60208284031215611702575f80fd5b813561170d816116dd565b9392505050565b80356001600160a01b038116811461119e575f80fd5b5f806040838503121561173b575f80fd5b61174483611714565b915060208301356001600160601b038116811461175f575f80fd5b809150509250929050565b5f5b8381101561178457818101518382015260200161176c565b50505f910152565b5f81518084526117a381602086016020860161176a565b601f01601f19169290920160200192915050565b602081525f61170d602083018461178c565b5f602082840312156117d9575f80fd5b5035919050565b5f80604083850312156117f1575f80fd5b6117fa83611714565b946020939093013593505050565b5f805f6060848603121561181a575f80fd5b61182384611714565b925061183160208501611714565b9150604084013590509250925092565b5f8060408385031215611852575f80fd5b50508035926020909101359150565b5f805f60408486031215611873575f80fd5b83359250602084013567ffffffffffffffff80821115611891575f80fd5b818601915086601f8301126118a4575f80fd5b8135818111156118b2575f80fd5b8760208260051b85010111156118c6575f80fd5b6020830194508093505050509250925092565b634e487b7160e01b5f52604160045260245ffd5b5f67ffffffffffffffff80841115611907576119076118d9565b604051601f8501601f19908116603f0116810190828211818310171561192f5761192f6118d9565b81604052809350858152868686011115611947575f80fd5b858560208301375f602087830101525050509392505050565b5f60208284031215611970575f80fd5b813567ffffffffffffffff811115611986575f80fd5b8201601f81018413611996575f80fd5b61144f848235602084016118ed565b5f602082840312156119b5575f80fd5b61170d82611714565b5f80604083850312156119cf575f80fd5b6119d883611714565b91506020830135801515811461175f575f80fd5b5f805f80608085870312156119ff575f80fd5b611a0885611714565b9350611a1660208601611714565b925060408501359150606085013567ffffffffffffffff811115611a38575f80fd5b8501601f81018713611a48575f80fd5b611a57878235602084016118ed565b91505092959194509250565b5f8060408385031215611a74575f80fd5b611a7d83611714565b9150611a8b60208401611714565b90509250929050565b600181811c90821680611aa857607f821691505b602082108103611ac657634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b80820281158282048414176105f9576105f9611acc565b5f82611b1157634e487b7160e01b5f52601260045260245ffd5b500490565b808201808211156105f9576105f9611acc565b818103818111156105f9576105f9611acc565b634e487b7160e01b5f52603260045260245ffd5b5f60018201611b6157611b61611acc565b5060010190565b601f821115610c4c575f81815260208120601f850160051c81016020861015611b8e5750805b601f850160051c820191505b81811015610c2a57828155600101611b9a565b815167ffffffffffffffff811115611bc757611bc76118d9565b611bdb81611bd58454611a94565b84611b68565b602080601f831160018114611c0e575f8415611bf75750858301515b5f19600386901b1c1916600185901b178555610c2a565b5f85815260208120601f198616915b82811015611c3c57888601518255948401946001909101908401611c1d565b5085821015611c5957878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b5f808454611c7681611a94565b60018281168015611c8e5760018114611ca357611ccf565b60ff1984168752821515830287019450611ccf565b885f526020805f205f5b85811015611cc65781548a820152908401908201611cad565b50505082870194505b505050508351611ce381836020880161176a565b64173539b7b760d91b9101908152600501949350505050565b5f81611d0a57611d0a611acc565b505f190190565b6001600160a01b03858116825284166020820152604081018390526080606082018190525f90611d439083018461178c565b9695505050505050565b5f60208284031215611d5d575f80fd5b815161170d816116dd56fea264697066735822122012ec110c770df022b7bffd5d308d08b91a19ba9d3b05d06eb802f8e2fbe39c9264736f6c6343000814003300000000000000000000000000000000000000000000000000000000000001a4000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000f446f776e556e6465724d696c6164790000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000344554d00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000043697066733a2f2f6261667962656967377a36796d67327263756b68773475706b336d6e65337a666c62646e6e6f69756b626862666f79657a637161616774626976712f0000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106101fc575f3560e01c80636d7c4a4b11610113578063a70273571161009d578063d5abeb011161006d578063d5abeb0114610563578063e985e9c514610578578063f2fde38b14610597578063f892c6e2146105b6578063f968adbe146105cb575f80fd5b8063a702735714610503578063b88d4fde14610518578063c87b56dd1461052b578063d12397301461054a575f80fd5b80638da5cb5b116100e35780638da5cb5b1461047f57806391b7f5ed1461049c57806395d89b41146104bb578063a035b1fe146104cf578063a22cb465146104e4575f80fd5b80636d7c4a4b1461041957806370a0823114610438578063715018a6146104575780637ba5e6211461046b575f80fd5b80632a55205a1161019457806342842e0e1161016457806342842e0e1461039f578063453c2310146103b257806355f804b3146103c75780636352211e146103e65780636c0360eb14610405575f80fd5b80632a55205a1461031b5780632db11544146103595780633ccfd60b1461036c5780634248cf4314610380575f80fd5b8063095ea7b3116101cf578063095ea7b3146102ad5780630c23bb3f146102c057806318160ddd146102df57806323b872dd14610308575f80fd5b806301ffc9a71461020057806302fa7c471461023457806306fdde0314610255578063081812fc14610276575b5f80fd5b34801561020b575f80fd5b5061021f61021a3660046116f2565b6105e0565b60405190151581526020015b60405180910390f35b34801561023f575f80fd5b5061025361024e36600461172a565b6105ff565b005b348015610260575f80fd5b50610269610615565b60405161022b91906117b7565b348015610281575f80fd5b506102956102903660046117c9565b6106a5565b6040516001600160a01b03909116815260200161022b565b6102536102bb3660046117e0565b6106de565b3480156102cb575f80fd5b506102536102da3660046117c9565b6106ea565b3480156102ea575f80fd5b506102fa6001545f54035f190190565b60405190815260200161022b565b610253610316366004611808565b6106f7565b348015610326575f80fd5b5061033a610335366004611841565b610851565b604080516001600160a01b03909316835260208301919091520161022b565b6102536103673660046117c9565b6108fb565b348015610377575f80fd5b50610253610ad2565b34801561038b575f80fd5b5061025361039a366004611861565b610b65565b6102536103ad366004611808565b610c32565b3480156103bd575f80fd5b506102fa60105481565b3480156103d2575f80fd5b506102536103e1366004611960565b610c51565b3480156103f1575f80fd5b506102956104003660046117c9565b610c65565b348015610410575f80fd5b50610269610c6f565b348015610424575f80fd5b506102536104333660046117c9565b610cfb565b348015610443575f80fd5b506102fa6104523660046119a5565b610d08565b348015610462575f80fd5b50610253610d4c565b348015610476575f80fd5b50610253610d5f565b34801561048a575f80fd5b50600a546001600160a01b0316610295565b3480156104a7575f80fd5b506102536104b63660046117c9565b610d7b565b3480156104c6575f80fd5b50610269610d88565b3480156104da575f80fd5b506102fa600e5481565b3480156104ef575f80fd5b506102536104fe3660046119be565b610d97565b34801561050e575f80fd5b506102fa600d5481565b6102536105263660046119ec565b610e02565b348015610536575f80fd5b506102696105453660046117c9565b610e3d565b348015610555575f80fd5b5060115461021f9060ff1681565b34801561056e575f80fd5b506102fa600b5481565b348015610583575f80fd5b5061021f610592366004611a63565b610ede565b3480156105a2575f80fd5b506102536105b13660046119a5565b610f0b565b3480156105c1575f80fd5b506102fa600c5481565b3480156105d6575f80fd5b506102fa600f5481565b5f6105ea82610f81565b806105f957506105f982610fce565b92915050565b610607611002565b610611828261105c565b5050565b60606002805461062490611a94565b80601f016020809104026020016040519081016040528092919081815260200182805461065090611a94565b801561069b5780601f106106725761010080835404028352916020019161069b565b820191905f5260205f20905b81548152906001019060200180831161067e57829003601f168201915b5050505050905090565b5f6106af82611159565b6106c3576106c36333d1c03960e21b6111a3565b505f908152600660205260409020546001600160a01b031690565b610611828260016111ab565b6106f2611002565b600c55565b5f6107018261124c565b6001600160a01b0394851694909150811684146107275761072762a1148160e81b6111a3565b5f8281526006602052604090208054338082146001600160a01b0388169091141761076a576107568633610ede565b61076a5761076a632ce44b5f60e11b6111a3565b8015610774575f82555b6001600160a01b038681165f9081526005602052604080822080545f19019055918716808252919020805460010190554260a01b17600160e11b175f85815260046020526040812091909155600160e11b8416900361080057600184015f8181526004602052604081205490036107fe575f5481146107fe575f8181526004602052604090208490555b505b6001600160a01b0385168481887fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a4805f0361084857610848633a954ecd60e21b6111a3565b50505050505050565b5f8281526009602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b03169282019290925282916108c55750604080518082019091526008546001600160a01b0381168252600160a01b90046001600160601b031660208201525b60208101515f90612710906108e3906001600160601b031687611ae0565b6108ed9190611af7565b915196919550909350505050565b60115460ff166109525760405162461bcd60e51b815260206004820152601860248201527f4d696e74696e67206973206e6f74206c697665207965742e000000000000000060448201526064015b60405180910390fd5b600b54610960906001611b16565b816109706001545f54035f190190565b61097a9190611b16565b106109b15760405162461bcd60e51b81526020600482015260076024820152664e6f206d6f726560c81b6044820152606401610949565b600e54601054600c546109c96001545f54035f190190565b1080156109dc57506109da336112e6565b155b80156109ea5750600d548311155b156109f7575050600d545f905b8083610a02336112e6565b610a0c9190611b16565b1115610a4b5760405162461bcd60e51b815260206004820152600e60248201526d13585e081c195c881dd85b1b195d60921b6044820152606401610949565b82610a55336112e6565b5f03610a6957610a66600185611b29565b90505b610a738382611ae0565b341015610ac25760405162461bcd60e51b815260206004820152601d60248201527f506c656173652073656e642074686520657861637420616d6f756e742e0000006044820152606401610949565b610acc338561130e565b50505050565b610ada611002565b6040515f90339047908381818185875af1925050503d805f8114610b19576040519150601f19603f3d011682016040523d82523d5f602084013e610b1e565b606091505b5050905080610b625760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b6044820152606401610949565b50565b610b6d611002565b5f610b7d6001545f54035f190190565b90505f610b8a8386611ae0565b600b54909150610b9a8284611b16565b1115610bde5760405162461bcd60e51b815260206004820152601360248201527222bc31b2b2b2399036b0bc1039bab838363c9760691b6044820152606401610949565b5f5b83811015610c2a57610c18858583818110610bfd57610bfd611b3c565b9050602002016020810190610c1291906119a5565b8761130e565b80610c2281611b50565b915050610be0565b505050505050565b610c4c83838360405180602001604052805f815250610e02565b505050565b610c59611002565b60126106118282611bad565b5f6105f98261124c565b60128054610c7c90611a94565b80601f0160208091040260200160405190810160405280929190818152602001828054610ca890611a94565b8015610cf35780601f10610cca57610100808354040283529160200191610cf3565b820191905f5260205f20905b815481529060010190602001808311610cd657829003601f168201915b505050505081565b610d03611002565b600d55565b5f6001600160a01b038216610d2757610d276323d3ad8160e21b6111a3565b506001600160a01b03165f9081526005602052604090205467ffffffffffffffff1690565b610d54611002565b610d5d5f611327565b565b610d67611002565b6011805460ff19811660ff90911615179055565b610d83611002565b600e55565b60606003805461062490611a94565b335f8181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610e0d8484846106f7565b6001600160a01b0383163b15610acc57610e2984848484611378565b610acc57610acc6368d2bf6b60e11b6111a3565b6060610e4882611159565b610eac5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610949565b6012610eb783611457565b604051602001610ec8929190611c69565b6040516020818303038152906040529050919050565b6001600160a01b039182165f90815260076020908152604080832093909416825291909152205460ff1690565b610f13611002565b6001600160a01b038116610f785760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610949565b610b6281611327565b5f6301ffc9a760e01b6001600160e01b031983161480610fb157506380ac58cd60e01b6001600160e01b03198316145b806105f95750506001600160e01b031916635b5e139f60e01b1490565b5f6001600160e01b0319821663152a902d60e11b14806105f957506301ffc9a760e01b6001600160e01b03198316146105f9565b600a546001600160a01b03163314610d5d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610949565b6127106001600160601b03821611156110ca5760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b6064820152608401610949565b6001600160a01b0382166111205760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401610949565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600855565b5f8160011161119e575f5482101561119e575f5b505f82815260046020526040812054908190036111945761118d83611cfc565b925061116d565b600160e01b161590505b919050565b805f5260045ffd5b5f6111b583610c65565b90508180156111cd5750336001600160a01b03821614155b156111f0576111dc8133610ede565b6111f0576111f06367d9dca160e11b6111a3565b5f8381526006602052604080822080546001600160a01b0319166001600160a01b0388811691821790925591518693918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a450505050565b5f816001116112d657505f81815260046020526040812054908190036112c4575f54821061128457611284636f96cda160e11b6111a3565b5b505f19015f81815260046020526040902054801561128557600160e01b81165f036112af57919050565b6112bf636f96cda160e11b6111a3565b611285565b600160e01b81165f036112d657919050565b61119e636f96cda160e11b6111a3565b6001600160a01b03165f908152600560205260409081902054901c67ffffffffffffffff1690565b610611828260405180602001604052805f8152506114e7565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b604051630a85bd0160e11b81525f906001600160a01b0385169063150b7a02906113ac903390899088908890600401611d11565b6020604051808303815f875af19250505080156113e6575060408051601f3d908101601f191682019092526113e391810190611d4d565b60015b611439573d808015611413576040519150601f19603f3d011682016040523d82523d5f602084013e611418565b606091505b5080515f03611431576114316368d2bf6b60e11b6111a3565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60605f6114638361154c565b60010190505f8167ffffffffffffffff811115611482576114826118d9565b6040519080825280601f01601f1916602001820160405280156114ac576020820181803683370190505b5090508181016020015b5f19016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a85049450846114b657509392505050565b6114f18383611623565b6001600160a01b0383163b15610c4c575f548281035b6115195f868380600101945086611378565b61152d5761152d6368d2bf6b60e11b6111a3565b81811061150757815f5414611545576115455f6111a3565b5050505050565b5f8072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b831061158a5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef810000000083106115b6576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc1000083106115d457662386f26fc10000830492506010015b6305f5e10083106115ec576305f5e100830492506008015b612710831061160057612710830492506004015b60648310611612576064830492506002015b600a83106105f95760010192915050565b5f80549082900361163e5761163e63b562e8dd60e01b6111a3565b5f8181526004602090815260408083206001600160a01b0387164260a01b6001881460e11b1781179091558084526005909252822080546801000000000000000186020190559081900361169b5761169b622e076360e81b6111a3565b818301825b80835f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a48181600101915081036116a057505f5550505050565b6001600160e01b031981168114610b62575f80fd5b5f60208284031215611702575f80fd5b813561170d816116dd565b9392505050565b80356001600160a01b038116811461119e575f80fd5b5f806040838503121561173b575f80fd5b61174483611714565b915060208301356001600160601b038116811461175f575f80fd5b809150509250929050565b5f5b8381101561178457818101518382015260200161176c565b50505f910152565b5f81518084526117a381602086016020860161176a565b601f01601f19169290920160200192915050565b602081525f61170d602083018461178c565b5f602082840312156117d9575f80fd5b5035919050565b5f80604083850312156117f1575f80fd5b6117fa83611714565b946020939093013593505050565b5f805f6060848603121561181a575f80fd5b61182384611714565b925061183160208501611714565b9150604084013590509250925092565b5f8060408385031215611852575f80fd5b50508035926020909101359150565b5f805f60408486031215611873575f80fd5b83359250602084013567ffffffffffffffff80821115611891575f80fd5b818601915086601f8301126118a4575f80fd5b8135818111156118b2575f80fd5b8760208260051b85010111156118c6575f80fd5b6020830194508093505050509250925092565b634e487b7160e01b5f52604160045260245ffd5b5f67ffffffffffffffff80841115611907576119076118d9565b604051601f8501601f19908116603f0116810190828211818310171561192f5761192f6118d9565b81604052809350858152868686011115611947575f80fd5b858560208301375f602087830101525050509392505050565b5f60208284031215611970575f80fd5b813567ffffffffffffffff811115611986575f80fd5b8201601f81018413611996575f80fd5b61144f848235602084016118ed565b5f602082840312156119b5575f80fd5b61170d82611714565b5f80604083850312156119cf575f80fd5b6119d883611714565b91506020830135801515811461175f575f80fd5b5f805f80608085870312156119ff575f80fd5b611a0885611714565b9350611a1660208601611714565b925060408501359150606085013567ffffffffffffffff811115611a38575f80fd5b8501601f81018713611a48575f80fd5b611a57878235602084016118ed565b91505092959194509250565b5f8060408385031215611a74575f80fd5b611a7d83611714565b9150611a8b60208401611714565b90509250929050565b600181811c90821680611aa857607f821691505b602082108103611ac657634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b80820281158282048414176105f9576105f9611acc565b5f82611b1157634e487b7160e01b5f52601260045260245ffd5b500490565b808201808211156105f9576105f9611acc565b818103818111156105f9576105f9611acc565b634e487b7160e01b5f52603260045260245ffd5b5f60018201611b6157611b61611acc565b5060010190565b601f821115610c4c575f81815260208120601f850160051c81016020861015611b8e5750805b601f850160051c820191505b81811015610c2a57828155600101611b9a565b815167ffffffffffffffff811115611bc757611bc76118d9565b611bdb81611bd58454611a94565b84611b68565b602080601f831160018114611c0e575f8415611bf75750858301515b5f19600386901b1c1916600185901b178555610c2a565b5f85815260208120601f198616915b82811015611c3c57888601518255948401946001909101908401611c1d565b5085821015611c5957878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b5f808454611c7681611a94565b60018281168015611c8e5760018114611ca357611ccf565b60ff1984168752821515830287019450611ccf565b885f526020805f205f5b85811015611cc65781548a820152908401908201611cad565b50505082870194505b505050508351611ce381836020880161176a565b64173539b7b760d91b9101908152600501949350505050565b5f81611d0a57611d0a611acc565b505f190190565b6001600160a01b03858116825284166020820152604081018390526080606082018190525f90611d439083018461178c565b9695505050505050565b5f60208284031215611d5d575f80fd5b815161170d816116dd56fea264697066735822122012ec110c770df022b7bffd5d308d08b91a19ba9d3b05d06eb802f8e2fbe39c9264736f6c63430008140033

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

00000000000000000000000000000000000000000000000000000000000001a4000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000f446f776e556e6465724d696c6164790000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000344554d00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000043697066733a2f2f6261667962656967377a36796d67327263756b68773475706b336d6e65337a666c62646e6e6f69756b626862666f79657a637161616774626976712f0000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _royaltyFeesInBips (uint96): 420
Arg [1] : _name (string): DownUnderMilady
Arg [2] : _symbol (string): DUM
Arg [3] : _initBaseURI (string): ipfs://bafybeig7z6ymg2rcukhw4upk3mne3zflbdnnoiukbhbfoyezcqaagtbivq/

-----Encoded View---------------
12 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000001a4
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [4] : 000000000000000000000000000000000000000000000000000000000000000f
Arg [5] : 446f776e556e6465724d696c6164790000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [7] : 44554d0000000000000000000000000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000043
Arg [9] : 697066733a2f2f6261667962656967377a36796d67327263756b68773475706b
Arg [10] : 336d6e65337a666c62646e6e6f69756b626862666f79657a6371616167746269
Arg [11] : 76712f0000000000000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

84210:4015:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;84906:411;;;;;;;;;;-1:-1:-1;84906:411:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;84906:411:0;;;;;;;;85323:160;;;;;;;;;;-1:-1:-1;85323:160:0;;;;;:::i;:::-;;:::i;:::-;;49773:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;56807:227::-;;;;;;;;;;-1:-1:-1;56807:227:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;2246:32:1;;;2228:51;;2216:2;2201:18;56807:227:0;2082:203:1;56524:124:0;;;;;;:::i;:::-;;:::i;87786:104::-;;;;;;;;;;-1:-1:-1;87786:104:0;;;;;:::i;:::-;;:::i;45515:323::-;;;;;;;;;;;;86065:1;45789:12;45576:7;45773:13;:28;-1:-1:-1;;45773:46:0;;45515:323;;;;2695:25:1;;;2683:2;2668:18;45515:323:0;2549:177:1;60541:3523:0;;;;;;:::i;:::-;;:::i;4605:429::-;;;;;;;;;;-1:-1:-1;4605:429:0;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;3509:32:1;;;3491:51;;3573:2;3558:18;;3551:34;;;;3464:18;4605:429:0;3317:274:1;86084:966:0;;;;;;:::i;:::-;;:::i;88016:206::-;;;;;;;;;;;;;:::i;85491:479::-;;;;;;;;;;-1:-1:-1;85491:479:0;;;;;:::i;:::-;;:::i;64160:193::-;;;;;;:::i;:::-;;:::i;84517:33::-;;;;;;;;;;;;;;;;87590:88;;;;;;;;;;-1:-1:-1;87590:88:0;;;;;:::i;:::-;;:::i;51175:152::-;;;;;;;;;;-1:-1:-1;51175:152:0;;;;;:::i;:::-;;:::i;84595:21::-;;;;;;;;;;;;;:::i;87898:110::-;;;;;;;;;;-1:-1:-1;87898:110:0;;;;;:::i;:::-;;:::i;46699:242::-;;;;;;;;;;-1:-1:-1;46699:242:0;;;;;:::i;:::-;;:::i;29561:103::-;;;;;;;;;;;;;:::i;87498:84::-;;;;;;;;;;;;;:::i;28920:87::-;;;;;;;;;;-1:-1:-1;28993:6:0;;-1:-1:-1;;;;;28993:6:0;28920:87;;87686:92;;;;;;;;;;-1:-1:-1;87686:92:0;;;;;:::i;:::-;;:::i;49949:104::-;;;;;;;;;;;;;:::i;84438:36::-;;;;;;;;;;;;;;;;57374:234;;;;;;;;;;-1:-1:-1;57374:234:0;;;;;:::i;:::-;;:::i;84396:35::-;;;;;;;;;;;;;;;;64951:416;;;;;;:::i;:::-;;:::i;87174:316::-;;;;;;;;;;-1:-1:-1;87174:316:0;;;;;:::i;:::-;;:::i;84557:31::-;;;;;;;;;;-1:-1:-1;84557:31:0;;;;;;;;84316;;;;;;;;;;;;;;;;57765:164;;;;;;;;;;-1:-1:-1;57765:164:0;;;;;:::i;:::-;;:::i;29819:201::-;;;;;;;;;;-1:-1:-1;29819:201:0;;;;;:::i;:::-;;:::i;84354:35::-;;;;;;;;;;;;;;;;84481:29;;;;;;;;;;;;;;;;84906:411;85017:4;85223:38;85249:11;85223:25;:38::i;:::-;:90;;;;85275:38;85301:11;85275:25;:38::i;:::-;85206:107;84906:411;-1:-1:-1;;84906:411:0:o;85323:160::-;28806:13;:11;:13::i;:::-;85426:49:::1;85445:9;85456:18;85426;:49::i;:::-;85323:160:::0;;:::o;49773:100::-;49827:13;49860:5;49853:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49773:100;:::o;56807:227::-;56883:7;56908:16;56916:7;56908;:16::i;:::-;56903:73;;56926:50;-1:-1:-1;;;56926:7:0;:50::i;:::-;-1:-1:-1;56996:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;56996:30:0;;56807:227::o;56524:124::-;56613:27;56622:2;56626:7;56635:4;56613:8;:27::i;87786:104::-;28806:13;:11;:13::i;:::-;87859::::1;:23:::0;87786:104::o;60541:3523::-;60683:27;60713;60732:7;60713:18;:27::i;:::-;-1:-1:-1;;;;;60868:22:0;;;;60683:57;;-1:-1:-1;60928:45:0;;;;60924:95;;60975:44;-1:-1:-1;;;60975:7:0;:44::i;:::-;61033:27;59649:24;;;:15;:24;;;;;59877:26;;82033:10;59274:30;;;-1:-1:-1;;;;;58967:28:0;;59252:20;;;59249:56;61219:189;;61312:43;61329:4;82033:10;57765:164;:::i;61312:43::-;61307:101;;61357:51;-1:-1:-1;;;61357:7:0;:51::i;:::-;61557:15;61554:160;;;61697:1;61676:19;61669:30;61554:160;-1:-1:-1;;;;;62094:24:0;;;;;;;:18;:24;;;;;;62092:26;;-1:-1:-1;;62092:26:0;;;62163:22;;;;;;;;;62161:24;;-1:-1:-1;62161:24:0;;;55626:11;55601:23;55597:41;55584:63;-1:-1:-1;;;55584:63:0;62456:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;62751:47:0;;:52;;62747:627;;62856:1;62846:11;;62824:19;62979:30;;;:17;:30;;;;;;:35;;62975:384;;63117:13;;63102:11;:28;63098:242;;63264:30;;;;:17;:30;;;;;:52;;;63098:242;62805:569;62747:627;-1:-1:-1;;;;;63506:20:0;;63886:7;63506:20;63816:4;63758:25;63487:16;;63623:299;63947:8;63959:1;63947:13;63943:58;;63962:39;-1:-1:-1;;;63962:7:0;:39::i;:::-;60672:3392;;;;60541:3523;;;:::o;4605:429::-;4691:7;4749:26;;;:17;:26;;;;;;;;4720:55;;;;;;;;;-1:-1:-1;;;;;4720:55:0;;;;;-1:-1:-1;;;4720:55:0;;;-1:-1:-1;;;;;4720:55:0;;;;;;;;4691:7;;4788:92;;-1:-1:-1;4839:29:0;;;;;;;;;4849:19;4839:29;-1:-1:-1;;;;;4839:29:0;;;;-1:-1:-1;;;4839:29:0;;-1:-1:-1;;;;;4839:29:0;;;;;4788:92;4929:23;;;;4892:21;;5400:5;;4917:35;;-1:-1:-1;;;;;4917:35:0;:9;:35;:::i;:::-;4916:57;;;;:::i;:::-;4994:16;;;;;-1:-1:-1;4605:429:0;;-1:-1:-1;;;;4605:429:0:o;86084:966::-;86160:11;;;;86152:48;;;;-1:-1:-1;;;86152:48:0;;8235:2:1;86152:48:0;;;8217:21:1;8274:2;8254:18;;;8247:30;8313:26;8293:18;;;8286:54;8357:18;;86152:48:0;;;;;;;;;86246:9;;:13;;86258:1;86246:13;:::i;:::-;86235:8;86219:13;86065:1;45789:12;45576:7;45773:13;:28;-1:-1:-1;;45773:46:0;;45515:323;86219:13;:24;;;;:::i;:::-;:40;86211:60;;;;-1:-1:-1;;;86211:60:0;;8718:2:1;86211:60:0;;;8700:21:1;8757:1;8737:18;;;8730:29;-1:-1:-1;;;8775:18:1;;;8768:37;8822:18;;86211:60:0;8516:330:1;86211:60:0;86297:5;;86337:12;;86406:13;;86390;86065:1;45789:12;45576:7;45773:13;:28;-1:-1:-1;;45773:46:0;;45515:323;86390:13;:29;:76;;;;;86436:25;86450:10;86436:13;:25::i;:::-;:30;86390:76;:121;;;;;86495:16;;86483:8;:28;;86390:121;86372:233;;;-1:-1:-1;;86577:16:0;;86545:1;;86372:233;86679:13;86667:8;86639:25;86653:10;86639:13;:25::i;:::-;:36;;;;:::i;:::-;:53;;86617:117;;;;-1:-1:-1;;;86617:117:0;;9053:2:1;86617:117:0;;;9035:21:1;9092:2;9072:18;;;9065:30;-1:-1:-1;;;9111:18:1;;;9104:44;9165:18;;86617:117:0;8851:338:1;86617:117:0;86770:8;86793:25;86807:10;86793:13;:25::i;:::-;86822:1;86793:30;86789:90;;86855:12;86866:1;86855:8;:12;:::i;:::-;86840:27;;86789:90;86924:19;86939:4;86924:12;:19;:::i;:::-;86911:9;:32;;86889:111;;;;-1:-1:-1;;;86889:111:0;;9529:2:1;86889:111:0;;;9511:21:1;9568:2;9548:18;;;9541:30;9607:31;9587:18;;;9580:59;9656:18;;86889:111:0;9327:353:1;86889:111:0;87011:31;87021:10;87033:8;87011:9;:31::i;:::-;86141:909;;;86084:966;:::o;88016:206::-;28806:13;:11;:13::i;:::-;88085:82:::1;::::0;88067:12:::1;::::0;88093:10:::1;::::0;88131:21:::1;::::0;88067:12;88085:82;88067:12;88085:82;88131:21;88093:10;88085:82:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;88066:101;;;88186:7;88178:36;;;::::0;-1:-1:-1;;;88178:36:0;;10097:2:1;88178:36:0::1;::::0;::::1;10079:21:1::0;10136:2;10116:18;;;10109:30;-1:-1:-1;;;10155:18:1;;;10148:46;10211:18;;88178:36:0::1;9895:340:1::0;88178:36:0::1;88055:167;88016:206::o:0;85491:479::-;28806:13;:11;:13::i;:::-;85595:19:::1;85625:13;86065:1:::0;45789:12;45576:7;45773:13;:28;-1:-1:-1;;45773:46:0;;45515:323;85625:13:::1;85595:44:::0;-1:-1:-1;85647:16:0::1;85668:36;85688:9:::0;85668:17;:36:::1;:::i;:::-;85748:9;::::0;85647:57;;-1:-1:-1;85719:25:0::1;85647:57:::0;85719:11;:25:::1;:::i;:::-;:38;;85711:70;;;::::0;-1:-1:-1;;;85711:70:0;;10442:2:1;85711:70:0::1;::::0;::::1;10424:21:1::0;10481:2;10461:18;;;10454:30;-1:-1:-1;;;10500:18:1;;;10493:49;10559:18;;85711:70:0::1;10240:343:1::0;85711:70:0::1;85794:9;85789:116;85809:20:::0;;::::1;85789:116;;;85851:42;85861:9;;85871:1;85861:12;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;85875:17;85851:9;:42::i;:::-;85831:3:::0;::::1;::::0;::::1;:::i;:::-;;;;85789:116;;;-1:-1:-1::0;;;;;;85491:479:0:o;64160:193::-;64306:39;64323:4;64329:2;64333:7;64306:39;;;;;;;;;;;;:16;:39::i;:::-;64160:193;;;:::o;87590:88::-;28806:13;:11;:13::i;:::-;87657:7:::1;:13;87667:3:::0;87657:7;:13:::1;:::i;51175:152::-:0;51247:7;51290:27;51309:7;51290:18;:27::i;84595:21::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;87898:110::-;28806:13;:11;:13::i;:::-;87974:16:::1;:26:::0;87898:110::o;46699:242::-;46771:7;-1:-1:-1;;;;;46795:19:0;;46791:69;;46816:44;-1:-1:-1;;;46816:7:0;:44::i;:::-;-1:-1:-1;;;;;;46878:25:0;;;;;:18;:25;;;;;;40858:13;46878:55;;46699:242::o;29561:103::-;28806:13;:11;:13::i;:::-;29626:30:::1;29653:1;29626:18;:30::i;:::-;29561:103::o:0;87498:84::-;28806:13;:11;:13::i;:::-;87563:11:::1;::::0;;-1:-1:-1;;87548:26:0;::::1;87563:11;::::0;;::::1;87562:12;87548:26;::::0;;87498:84::o;87686:92::-;28806:13;:11;:13::i;:::-;87753:5:::1;:17:::0;87686:92::o;49949:104::-;50005:13;50038:7;50031:14;;;;;:::i;57374:234::-;82033:10;57469:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;57469:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;57469:60:0;;;;;;;;;;57545:55;;540:41:1;;;57469:49:0;;82033:10;57545:55;;513:18:1;57545:55:0;;;;;;;57374:234;;:::o;64951:416::-;65126:31;65139:4;65145:2;65149:7;65126:12;:31::i;:::-;-1:-1:-1;;;;;65172:14:0;;;:19;65168:192;;65211:56;65242:4;65248:2;65252:7;65261:5;65211:30;:56::i;:::-;65206:154;;65288:56;-1:-1:-1;;;65288:7:0;:56::i;87174:316::-;87263:13;87311:16;87319:7;87311;:16::i;:::-;87289:113;;;;-1:-1:-1;;;87289:113:0;;13266:2:1;87289:113:0;;;13248:21:1;13305:2;13285:18;;;13278:30;13344:34;13324:18;;;13317:62;-1:-1:-1;;;13395:18:1;;;13388:45;13450:19;;87289:113:0;13064:411:1;87289:113:0;87444:7;87453:18;:7;:16;:18::i;:::-;87427:54;;;;;;;;;:::i;:::-;;;;;;;;;;;;;87413:69;;87174:316;;;:::o;57765:164::-;-1:-1:-1;;;;;57886:25:0;;;57862:4;57886:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;57765:164::o;29819:201::-;28806:13;:11;:13::i;:::-;-1:-1:-1;;;;;29908:22:0;::::1;29900:73;;;::::0;-1:-1:-1;;;29900:73:0;;14874:2:1;29900:73:0::1;::::0;::::1;14856:21:1::0;14913:2;14893:18;;;14886:30;14952:34;14932:18;;;14925:62;-1:-1:-1;;;15003:18:1;;;14996:36;15049:19;;29900:73:0::1;14672:402:1::0;29900:73:0::1;29984:28;30003:8;29984:18;:28::i;48871:639::-:0;48956:4;-1:-1:-1;;;;;;;;;49280:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;49357:25:0;;;49280:102;:179;;;-1:-1:-1;;;;;;;;49434:25:0;-1:-1:-1;;;49434:25:0;;48871:639::o;4335:215::-;4437:4;-1:-1:-1;;;;;;4461:41:0;;-1:-1:-1;;;4461:41:0;;:81;;-1:-1:-1;;;;;;;;;;1890:40:0;;;4506:36;1790:148;29085:132;28993:6;;-1:-1:-1;;;;;28993:6:0;82033:10;29149:23;29141:68;;;;-1:-1:-1;;;29141:68:0;;15281:2:1;29141:68:0;;;15263:21:1;;;15300:18;;;15293:30;15359:34;15339:18;;;15332:62;15411:18;;29141:68:0;15079:356:1;5684:332:0;5400:5;-1:-1:-1;;;;;5787:33:0;;;;5779:88;;;;-1:-1:-1;;;5779:88:0;;15642:2:1;5779:88:0;;;15624:21:1;15681:2;15661:18;;;15654:30;15720:34;15700:18;;;15693:62;-1:-1:-1;;;15771:18:1;;;15764:40;15821:19;;5779:88:0;15440:406:1;5779:88:0;-1:-1:-1;;;;;5886:22:0;;5878:60;;;;-1:-1:-1;;;5878:60:0;;16053:2:1;5878:60:0;;;16035:21:1;16092:2;16072:18;;;16065:30;16131:27;16111:18;;;16104:55;16176:18;;5878:60:0;15851:349:1;5878:60:0;5973:35;;;;;;;;;-1:-1:-1;;;;;5973:35:0;;;;;;-1:-1:-1;;;;;5973:35:0;;;;;;;;;;-1:-1:-1;;;5951:57:0;;;;:19;:57;5684:332::o;58187:368::-;58252:11;58299:7;86065:1;58280:26;58276:272;;58337:13;;58327:7;:23;58323:214;;;58371:14;58404:60;-1:-1:-1;58421:26:0;;;;:17;:26;;;;;;;58411:42;;;58404:60;;58455:9;;;:::i;:::-;;;58404:60;;;-1:-1:-1;;;58492:24:0;:29;;-1:-1:-1;58323:214:0;58187:368;;;:::o;83965:165::-;84066:13;84060:4;84053:27;84107:4;84101;84094:18;75398:474;75527:13;75543:16;75551:7;75543;:16::i;:::-;75527:32;;75576:13;:45;;;;-1:-1:-1;82033:10:0;-1:-1:-1;;;;;75593:28:0;;;;75576:45;75572:201;;;75641:44;75658:5;82033:10;57765:164;:::i;75641:44::-;75636:137;;75706:51;-1:-1:-1;;;75706:7:0;:51::i;:::-;75785:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;75785:35:0;-1:-1:-1;;;;;75785:35:0;;;;;;;;;75836:28;;75785:24;;75836:28;;;;;;;75516:356;75398:474;;;:::o;52655:2012::-;52722:14;52772:7;86065:1;52753:26;52749:1853;;-1:-1:-1;52805:26:0;;;;:17;:26;;;;;;;52931:11;;;52927:1292;;52978:13;;52967:7;:24;52963:77;;52993:47;-1:-1:-1;;;52993:7:0;:47::i;:::-;53597:607;-1:-1:-1;;;53693:9:0;53675:28;;;;:17;:28;;;;;;53749:25;;53597:607;53749:25;-1:-1:-1;;;53801:6:0;:24;53829:1;53801:29;53797:48;;52655:2012;;;:::o;53797:48::-;54137:47;-1:-1:-1;;;54137:7:0;:47::i;:::-;53597:607;;52927:1292;-1:-1:-1;;;54546:6:0;:24;54574:1;54546:29;54542:48;;52655:2012;;;:::o;54542:48::-;54612:47;-1:-1:-1;;;54612:7:0;:47::i;47023:178::-;-1:-1:-1;;;;;47112:25:0;47084:7;47112:25;;;:18;:25;;40996:2;47112:25;;;;;:50;;40858:13;47111:82;;47023:178::o;74480:112::-;74557:27;74567:2;74571:8;74557:27;;;;;;;;;;;;:9;:27::i;30180:191::-;30273:6;;;-1:-1:-1;;;;;30290:17:0;;;-1:-1:-1;;;;;;30290:17:0;;;;;;;30323:40;;30273:6;;;30290:17;30273:6;;30323:40;;30254:16;;30323:40;30243:128;30180:191;:::o;67451:691::-;67635:88;;-1:-1:-1;;;67635:88:0;;67614:4;;-1:-1:-1;;;;;67635:45:0;;;;;:88;;82033:10;;67702:4;;67708:7;;67717:5;;67635:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;67635:88:0;;;;;;;;-1:-1:-1;;67635:88:0;;;;;;;;;;;;:::i;:::-;;;67631:504;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;67918:6;:13;67935:1;67918:18;67914:115;;67957:56;-1:-1:-1;;;67957:7:0;:56::i;:::-;68101:6;68095:13;68086:6;68082:2;68078:15;68071:38;67631:504;-1:-1:-1;;;;;;67794:64:0;-1:-1:-1;;;67794:64:0;;-1:-1:-1;67631:504:0;67451:691;;;;;;:::o;24224:716::-;24280:13;24331:14;24348:17;24359:5;24348:10;:17::i;:::-;24368:1;24348:21;24331:38;;24384:20;24418:6;24407:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;24407:18:0;-1:-1:-1;24384:41:0;-1:-1:-1;24549:28:0;;;24565:2;24549:28;24606:288;-1:-1:-1;;24638:5:0;-1:-1:-1;;;24775:2:0;24764:14;;24759:30;24638:5;24746:44;24836:2;24827:11;;;-1:-1:-1;24857:21:0;24606:288;24857:21;-1:-1:-1;24915:6:0;24224:716;-1:-1:-1;;;24224:716:0:o;73688:708::-;73819:19;73825:2;73829:8;73819:5;:19::i;:::-;-1:-1:-1;;;;;73880:14:0;;;:19;73876:502;;73920:11;73934:13;73982:14;;;74015:242;74046:62;74085:1;74089:2;74093:7;;;;;;74102:5;74046:30;:62::i;:::-;74041:176;;74137:56;-1:-1:-1;;;74137:7:0;:56::i;:::-;74252:3;74244:5;:11;74015:242;;74339:3;74322:13;;:20;74318:44;;74344:18;74359:1;74344:7;:18::i;:::-;73901:477;;73688:708;;;:::o;21004:948::-;21057:7;;-1:-1:-1;;;21135:17:0;;21131:106;;-1:-1:-1;;;21173:17:0;;;-1:-1:-1;21219:2:0;21209:12;21131:106;21264:8;21255:5;:17;21251:106;;21302:8;21293:17;;;-1:-1:-1;21339:2:0;21329:12;21251:106;21384:8;21375:5;:17;21371:106;;21422:8;21413:17;;;-1:-1:-1;21459:2:0;21449:12;21371:106;21504:7;21495:5;:16;21491:103;;21541:7;21532:16;;;-1:-1:-1;21577:1:0;21567:11;21491:103;21621:7;21612:5;:16;21608:103;;21658:7;21649:16;;;-1:-1:-1;21694:1:0;21684:11;21608:103;21738:7;21729:5;:16;21725:103;;21775:7;21766:16;;;-1:-1:-1;21811:1:0;21801:11;21725:103;21855:7;21846:5;:16;21842:68;;21893:1;21883:11;21938:6;21004:948;-1:-1:-1;;21004:948:0:o;68604:2305::-;68677:20;68700:13;;;68728;;;68724:53;;68743:34;-1:-1:-1;;;68743:7:0;:34::i;:::-;69290:31;;;;:17;:31;;;;;;;;-1:-1:-1;;;;;55452:28:0;;55626:11;55601:23;55597:41;56070:1;56057:15;;56031:24;56027:46;55594:52;55584:63;;69290:173;;;69681:22;;;:18;:22;;;;;:71;;69719:32;69707:45;;69681:71;;;55452:28;69942:13;;;69938:54;;69957:35;-1:-1:-1;;;69957:7:0;:35::i;:::-;70023:23;;;:12;70108:676;70527:7;70483:8;70438:1;70372:25;70309:1;70244;70213:358;70779:3;70766:9;;;;;;:16;70108:676;;-1:-1:-1;70800:13:0;:19;-1:-1:-1;64160:193:0;;;:::o;14:131:1:-;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;:::-;384:5;150:245;-1:-1:-1;;;150:245:1:o;592:173::-;660:20;;-1:-1:-1;;;;;709:31:1;;699:42;;689:70;;755:1;752;745:12;770:366;837:6;845;898:2;886:9;877:7;873:23;869:32;866:52;;;914:1;911;904:12;866:52;937:29;956:9;937:29;:::i;:::-;927:39;;1016:2;1005:9;1001:18;988:32;-1:-1:-1;;;;;1053:5:1;1049:38;1042:5;1039:49;1029:77;;1102:1;1099;1092:12;1029:77;1125:5;1115:15;;;770:366;;;;;:::o;1141:250::-;1226:1;1236:113;1250:6;1247:1;1244:13;1236:113;;;1326:11;;;1320:18;1307:11;;;1300:39;1272:2;1265:10;1236:113;;;-1:-1:-1;;1383:1:1;1365:16;;1358:27;1141:250::o;1396:271::-;1438:3;1476:5;1470:12;1503:6;1498:3;1491:19;1519:76;1588:6;1581:4;1576:3;1572:14;1565:4;1558:5;1554:16;1519:76;:::i;:::-;1649:2;1628:15;-1:-1:-1;;1624:29:1;1615:39;;;;1656:4;1611:50;;1396:271;-1:-1:-1;;1396:271:1:o;1672:220::-;1821:2;1810:9;1803:21;1784:4;1841:45;1882:2;1871:9;1867:18;1859:6;1841:45;:::i;1897:180::-;1956:6;2009:2;1997:9;1988:7;1984:23;1980:32;1977:52;;;2025:1;2022;2015:12;1977:52;-1:-1:-1;2048:23:1;;1897:180;-1:-1:-1;1897:180:1:o;2290:254::-;2358:6;2366;2419:2;2407:9;2398:7;2394:23;2390:32;2387:52;;;2435:1;2432;2425:12;2387:52;2458:29;2477:9;2458:29;:::i;:::-;2448:39;2534:2;2519:18;;;;2506:32;;-1:-1:-1;;;2290:254:1:o;2731:328::-;2808:6;2816;2824;2877:2;2865:9;2856:7;2852:23;2848:32;2845:52;;;2893:1;2890;2883:12;2845:52;2916:29;2935:9;2916:29;:::i;:::-;2906:39;;2964:38;2998:2;2987:9;2983:18;2964:38;:::i;:::-;2954:48;;3049:2;3038:9;3034:18;3021:32;3011:42;;2731:328;;;;;:::o;3064:248::-;3132:6;3140;3193:2;3181:9;3172:7;3168:23;3164:32;3161:52;;;3209:1;3206;3199:12;3161:52;-1:-1:-1;;3232:23:1;;;3302:2;3287:18;;;3274:32;;-1:-1:-1;3064:248:1:o;3596:683::-;3691:6;3699;3707;3760:2;3748:9;3739:7;3735:23;3731:32;3728:52;;;3776:1;3773;3766:12;3728:52;3812:9;3799:23;3789:33;;3873:2;3862:9;3858:18;3845:32;3896:18;3937:2;3929:6;3926:14;3923:34;;;3953:1;3950;3943:12;3923:34;3991:6;3980:9;3976:22;3966:32;;4036:7;4029:4;4025:2;4021:13;4017:27;4007:55;;4058:1;4055;4048:12;4007:55;4098:2;4085:16;4124:2;4116:6;4113:14;4110:34;;;4140:1;4137;4130:12;4110:34;4193:7;4188:2;4178:6;4175:1;4171:14;4167:2;4163:23;4159:32;4156:45;4153:65;;;4214:1;4211;4204:12;4153:65;4245:2;4241;4237:11;4227:21;;4267:6;4257:16;;;;;3596:683;;;;;:::o;4284:127::-;4345:10;4340:3;4336:20;4333:1;4326:31;4376:4;4373:1;4366:15;4400:4;4397:1;4390:15;4416:632;4481:5;4511:18;4552:2;4544:6;4541:14;4538:40;;;4558:18;;:::i;:::-;4633:2;4627:9;4601:2;4687:15;;-1:-1:-1;;4683:24:1;;;4709:2;4679:33;4675:42;4663:55;;;4733:18;;;4753:22;;;4730:46;4727:72;;;4779:18;;:::i;:::-;4819:10;4815:2;4808:22;4848:6;4839:15;;4878:6;4870;4863:22;4918:3;4909:6;4904:3;4900:16;4897:25;4894:45;;;4935:1;4932;4925:12;4894:45;4985:6;4980:3;4973:4;4965:6;4961:17;4948:44;5040:1;5033:4;5024:6;5016;5012:19;5008:30;5001:41;;;;4416:632;;;;;:::o;5053:451::-;5122:6;5175:2;5163:9;5154:7;5150:23;5146:32;5143:52;;;5191:1;5188;5181:12;5143:52;5231:9;5218:23;5264:18;5256:6;5253:30;5250:50;;;5296:1;5293;5286:12;5250:50;5319:22;;5372:4;5364:13;;5360:27;-1:-1:-1;5350:55:1;;5401:1;5398;5391:12;5350:55;5424:74;5490:7;5485:2;5472:16;5467:2;5463;5459:11;5424:74;:::i;5509:186::-;5568:6;5621:2;5609:9;5600:7;5596:23;5592:32;5589:52;;;5637:1;5634;5627:12;5589:52;5660:29;5679:9;5660:29;:::i;5700:347::-;5765:6;5773;5826:2;5814:9;5805:7;5801:23;5797:32;5794:52;;;5842:1;5839;5832:12;5794:52;5865:29;5884:9;5865:29;:::i;:::-;5855:39;;5944:2;5933:9;5929:18;5916:32;5991:5;5984:13;5977:21;5970:5;5967:32;5957:60;;6013:1;6010;6003:12;6052:667;6147:6;6155;6163;6171;6224:3;6212:9;6203:7;6199:23;6195:33;6192:53;;;6241:1;6238;6231:12;6192:53;6264:29;6283:9;6264:29;:::i;:::-;6254:39;;6312:38;6346:2;6335:9;6331:18;6312:38;:::i;:::-;6302:48;;6397:2;6386:9;6382:18;6369:32;6359:42;;6452:2;6441:9;6437:18;6424:32;6479:18;6471:6;6468:30;6465:50;;;6511:1;6508;6501:12;6465:50;6534:22;;6587:4;6579:13;;6575:27;-1:-1:-1;6565:55:1;;6616:1;6613;6606:12;6565:55;6639:74;6705:7;6700:2;6687:16;6682:2;6678;6674:11;6639:74;:::i;:::-;6629:84;;;6052:667;;;;;;;:::o;6724:260::-;6792:6;6800;6853:2;6841:9;6832:7;6828:23;6824:32;6821:52;;;6869:1;6866;6859:12;6821:52;6892:29;6911:9;6892:29;:::i;:::-;6882:39;;6940:38;6974:2;6963:9;6959:18;6940:38;:::i;:::-;6930:48;;6724:260;;;;;:::o;6989:380::-;7068:1;7064:12;;;;7111;;;7132:61;;7186:4;7178:6;7174:17;7164:27;;7132:61;7239:2;7231:6;7228:14;7208:18;7205:38;7202:161;;7285:10;7280:3;7276:20;7273:1;7266:31;7320:4;7317:1;7310:15;7348:4;7345:1;7338:15;7202:161;;6989:380;;;:::o;7374:127::-;7435:10;7430:3;7426:20;7423:1;7416:31;7466:4;7463:1;7456:15;7490:4;7487:1;7480:15;7506:168;7579:9;;;7610;;7627:15;;;7621:22;;7607:37;7597:71;;7648:18;;:::i;7811:217::-;7851:1;7877;7867:132;;7921:10;7916:3;7912:20;7909:1;7902:31;7956:4;7953:1;7946:15;7984:4;7981:1;7974:15;7867:132;-1:-1:-1;8013:9:1;;7811:217::o;8386:125::-;8451:9;;;8472:10;;;8469:36;;;8485:18;;:::i;9194:128::-;9261:9;;;9282:11;;;9279:37;;;9296:18;;:::i;10588:127::-;10649:10;10644:3;10640:20;10637:1;10630:31;10680:4;10677:1;10670:15;10704:4;10701:1;10694:15;10720:135;10759:3;10780:17;;;10777:43;;10800:18;;:::i;:::-;-1:-1:-1;10847:1:1;10836:13;;10720:135::o;10986:545::-;11088:2;11083:3;11080:11;11077:448;;;11124:1;11149:5;11145:2;11138:17;11194:4;11190:2;11180:19;11264:2;11252:10;11248:19;11245:1;11241:27;11235:4;11231:38;11300:4;11288:10;11285:20;11282:47;;;-1:-1:-1;11323:4:1;11282:47;11378:2;11373:3;11369:12;11366:1;11362:20;11356:4;11352:31;11342:41;;11433:82;11451:2;11444:5;11441:13;11433:82;;;11496:17;;;11477:1;11466:13;11433:82;;11707:1352;11833:3;11827:10;11860:18;11852:6;11849:30;11846:56;;;11882:18;;:::i;:::-;11911:97;12001:6;11961:38;11993:4;11987:11;11961:38;:::i;:::-;11955:4;11911:97;:::i;:::-;12063:4;;12127:2;12116:14;;12144:1;12139:663;;;;12846:1;12863:6;12860:89;;;-1:-1:-1;12915:19:1;;;12909:26;12860:89;-1:-1:-1;;11664:1:1;11660:11;;;11656:24;11652:29;11642:40;11688:1;11684:11;;;11639:57;12962:81;;12109:944;;12139:663;10933:1;10926:14;;;10970:4;10957:18;;-1:-1:-1;;12175:20:1;;;12293:236;12307:7;12304:1;12301:14;12293:236;;;12396:19;;;12390:26;12375:42;;12488:27;;;;12456:1;12444:14;;;;12323:19;;12293:236;;;12297:3;12557:6;12548:7;12545:19;12542:201;;;12618:19;;;12612:26;-1:-1:-1;;12701:1:1;12697:14;;;12713:3;12693:24;12689:37;12685:42;12670:58;12655:74;;12542:201;-1:-1:-1;;;;;12789:1:1;12773:14;;;12769:22;12756:36;;-1:-1:-1;11707:1352:1:o;13480:1187::-;13757:3;13786:1;13819:6;13813:13;13849:36;13875:9;13849:36;:::i;:::-;13904:1;13921:18;;;13948:133;;;;14095:1;14090:356;;;;13914:532;;13948:133;-1:-1:-1;;13981:24:1;;13969:37;;14054:14;;14047:22;14035:35;;14026:45;;;-1:-1:-1;13948:133:1;;14090:356;14121:6;14118:1;14111:17;14151:4;14196:2;14193:1;14183:16;14221:1;14235:165;14249:6;14246:1;14243:13;14235:165;;;14327:14;;14314:11;;;14307:35;14370:16;;;;14264:10;;14235:165;;;14239:3;;;14429:6;14424:3;14420:16;14413:23;;13914:532;;;;;14477:6;14471:13;14493:68;14552:8;14547:3;14540:4;14532:6;14528:17;14493:68;:::i;:::-;-1:-1:-1;;;14583:18:1;;14610:22;;;14659:1;14648:13;;13480:1187;-1:-1:-1;;;;13480:1187:1:o;16205:136::-;16244:3;16272:5;16262:39;;16281:18;;:::i;:::-;-1:-1:-1;;;16317:18:1;;16205:136::o;16346:489::-;-1:-1:-1;;;;;16615:15:1;;;16597:34;;16667:15;;16662:2;16647:18;;16640:43;16714:2;16699:18;;16692:34;;;16762:3;16757:2;16742:18;;16735:31;;;16540:4;;16783:46;;16809:19;;16801:6;16783:46;:::i;:::-;16775:54;16346:489;-1:-1:-1;;;;;;16346:489:1:o;16840:249::-;16909:6;16962:2;16950:9;16941:7;16937:23;16933:32;16930:52;;;16978:1;16975;16968:12;16930:52;17010:9;17004:16;17029:30;17053:5;17029:30;:::i

Swarm Source

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