ETH Price: $3,006.02 (-1.62%)
Gas: 3 Gwei

Token

Bricked (Bricked)
 

Overview

Max Total Supply

1,111 Bricked

Holders

1,011

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 Bricked
0xc86bb9e8e1633edc76aea75478c22ec44986c549
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:
Bricked

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

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

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


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

pragma solidity ^0.8.0;

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

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


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

pragma solidity ^0.8.0;


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

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


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

pragma solidity ^0.8.0;


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

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


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

pragma solidity ^0.8.0;



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

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

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

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

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

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

        return (royalty.receiver, royaltyAmount);
    }

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

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

        _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator);
    }

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

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

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

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

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


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

pragma solidity ^0.8.0;

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

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

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

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

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


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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

pragma solidity ^0.8.0;



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

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

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

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

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

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

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

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


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

pragma solidity ^0.8.0;

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

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

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


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

pragma solidity ^0.8.0;


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

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

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

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

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

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


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

pragma solidity ^0.8.4;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

pragma solidity ^0.8.4;


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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        return _tokenApprovals[tokenId].value;
    }

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        address from = address(uint160(prevOwnershipPacked));

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// File: contracts/Bricked.sol


pragma solidity ^0.8.17;






contract Bricked is ERC721A, ERC2981, Ownable {
   
    

    using Strings for uint256;
    uint256 public maxSupply = 1111;
    uint256 public maxFreeAmount = 1111;
    uint256 public maxFreePerWallet = 1;
    uint256 public price = 0.0025 ether;
    uint256 public maxPerTx = 255;
    uint256 public maxPerWallet = 255;
    bool public mintEnabled = false;
    string public baseURI;

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

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


  function  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  PublicBricks(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":"uint256","name":"quantity","type":"uint256"}],"name":"PublicBricks","outputs":[],"stateMutability":"payable","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":[],"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"}]

6080604052610457600b819055600c556001600d556608e1bc9bf04000600e5560ff600f8190556010556011805460ff191690553480156200004057600080fd5b50604051620023ac380380620023ac833981016040819052620000639162000361565b82826002620000738382620004a2565b506003620000828282620004a2565b505060008055506200009433620000b5565b6200009f8162000107565b620000ab338562000123565b505050506200056e565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6200011162000139565b60126200011f8282620004a2565b5050565b6200012d62000139565b6200011f82826200019b565b600a546001600160a01b03163314620001995760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b565b6127106001600160601b03821611156200020b5760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b606482015260840162000190565b6001600160a01b038216620002635760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c696420726563656976657200000000000000604482015260640162000190565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600855565b634e487b7160e01b600052604160045260246000fd5b600082601f830112620002c457600080fd5b81516001600160401b0380821115620002e157620002e16200029c565b604051601f8301601f19908116603f011681019082821181831017156200030c576200030c6200029c565b816040528381526020925086838588010111156200032957600080fd5b600091505b838210156200034d57858201830151818301840152908201906200032e565b600093810190920192909252949350505050565b600080600080608085870312156200037857600080fd5b84516001600160601b03811681146200039057600080fd5b60208601519094506001600160401b0380821115620003ae57600080fd5b620003bc88838901620002b2565b94506040870151915080821115620003d357600080fd5b620003e188838901620002b2565b93506060870151915080821115620003f857600080fd5b506200040787828801620002b2565b91505092959194509250565b600181811c908216806200042857607f821691505b6020821081036200044957634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200049d57600081815260208120601f850160051c81016020861015620004785750805b601f850160051c820191505b81811015620004995782815560010162000484565b5050505b505050565b81516001600160401b03811115620004be57620004be6200029c565b620004d681620004cf845462000413565b846200044f565b602080601f8311600181146200050e5760008415620004f55750858301515b600019600386901b1c1916600185901b17855562000499565b600085815260208120601f198616915b828110156200053f578886015182559484019460019091019084016200051e565b50858210156200055e5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b611e2e806200057e6000396000f3fe6080604052600436106102045760003560e01c806370a0823111610118578063b88d4fde116100a0578063d5abeb011161006f578063d5abeb011461057e578063e985e9c514610594578063f2fde38b146105b4578063f892c6e2146105d4578063f968adbe146105ea57600080fd5b8063b88d4fde1461051e578063baf67b1114610531578063c87b56dd14610544578063d12397301461056457600080fd5b806391b7f5ed116100e757806391b7f5ed1461049d57806395d89b41146104bd578063a035b1fe146104d2578063a22cb465146104e8578063a70273571461050857600080fd5b806370a0823114610435578063715018a6146104555780637ba5e6211461046a5780638da5cb5b1461047f57600080fd5b80632a55205a1161019b578063453c23101161016a578063453c2310146103aa57806355f804b3146103c05780636352211e146103e05780636c0360eb146104005780636d7c4a4b1461041557600080fd5b80632a55205a146103235780633a114afd146103625780633ccfd60b1461038257806342842e0e1461039757600080fd5b8063095ea7b3116101d7578063095ea7b3146102ba5780630c23bb3f146102cd57806318160ddd146102ed57806323b872dd1461031057600080fd5b806301ffc9a71461020957806302fa7c471461023e57806306fdde0314610260578063081812fc14610282575b600080fd5b34801561021557600080fd5b5061022961022436600461173b565b610600565b60405190151581526020015b60405180910390f35b34801561024a57600080fd5b5061025e610259366004611776565b610620565b005b34801561026c57600080fd5b50610275610636565b6040516102359190611809565b34801561028e57600080fd5b506102a261029d36600461181c565b6106c8565b6040516001600160a01b039091168152602001610235565b61025e6102c8366004611835565b610703565b3480156102d957600080fd5b5061025e6102e836600461181c565b61070f565b3480156102f957600080fd5b50600154600054035b604051908152602001610235565b61025e61031e36600461185f565b61071c565b34801561032f57600080fd5b5061034361033e36600461189b565b610881565b604080516001600160a01b039093168352602083019190915201610235565b34801561036e57600080fd5b5061025e61037d3660046118bd565b61092d565b34801561038e57600080fd5b5061025e610a00565b61025e6103a536600461185f565b610a96565b3480156103b657600080fd5b5061030260105481565b3480156103cc57600080fd5b5061025e6103db3660046119c8565b610ab6565b3480156103ec57600080fd5b506102a26103fb36600461181c565b610aca565b34801561040c57600080fd5b50610275610ad5565b34801561042157600080fd5b5061025e61043036600461181c565b610b63565b34801561044157600080fd5b50610302610450366004611a11565b610b70565b34801561046157600080fd5b5061025e610bb6565b34801561047657600080fd5b5061025e610bca565b34801561048b57600080fd5b50600a546001600160a01b03166102a2565b3480156104a957600080fd5b5061025e6104b836600461181c565b610be6565b3480156104c957600080fd5b50610275610bf3565b3480156104de57600080fd5b50610302600e5481565b3480156104f457600080fd5b5061025e610503366004611a2c565b610c02565b34801561051457600080fd5b50610302600d5481565b61025e61052c366004611a5d565b610c6e565b61025e61053f36600461181c565b610caf565b34801561055057600080fd5b5061027561055f36600461181c565b610e73565b34801561057057600080fd5b506011546102299060ff1681565b34801561058a57600080fd5b50610302600b5481565b3480156105a057600080fd5b506102296105af366004611ad9565b610f14565b3480156105c057600080fd5b5061025e6105cf366004611a11565b610f42565b3480156105e057600080fd5b50610302600c5481565b3480156105f657600080fd5b50610302600f5481565b600061060b82610fb8565b8061061a575061061a82611006565b92915050565b61062861103b565b6106328282611095565b5050565b60606002805461064590611b0c565b80601f016020809104026020016040519081016040528092919081815260200182805461067190611b0c565b80156106be5780601f10610693576101008083540402835291602001916106be565b820191906000526020600020905b8154815290600101906020018083116106a157829003601f168201915b5050505050905090565b60006106d382611192565b6106e7576106e76333d1c03960e21b6111d7565b506000908152600660205260409020546001600160a01b031690565b610632828260016111e1565b61071761103b565b600c55565b600061072782611284565b6001600160a01b03948516949091508116841461074d5761074d62a1148160e81b6111d7565b60008281526006602052604090208054338082146001600160a01b038816909114176107915761077d8633610f14565b61079157610791632ce44b5f60e11b6111d7565b801561079c57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b8416900361082e5760018401600081815260046020526040812054900361082c57600054811461082c5760008181526004602052604090208490555b505b6001600160a01b0385168481887fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a48060000361087857610878633a954ecd60e21b6111d7565b50505050505050565b60008281526009602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b03169282019290925282916108f65750604080518082019091526008546001600160a01b0381168252600160a01b90046001600160601b031660208201525b602081015160009061271090610915906001600160601b031687611b5c565b61091f9190611b73565b915196919550909350505050565b61093561103b565b60006109446001546000540390565b905060006109528386611b5c565b600b549091506109628284611b95565b11156109ab5760405162461bcd60e51b815260206004820152601360248201527222bc31b2b2b2399036b0bc1039bab838363c9760691b60448201526064015b60405180910390fd5b60005b838110156109f8576109e68585838181106109cb576109cb611ba8565b90506020020160208101906109e09190611a11565b8761131a565b806109f081611bbe565b9150506109ae565b505050505050565b610a0861103b565b604051600090339047908381818185875af1925050503d8060008114610a4a576040519150601f19603f3d011682016040523d82523d6000602084013e610a4f565b606091505b5050905080610a935760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b60448201526064016109a2565b50565b610ab183838360405180602001604052806000815250610c6e565b505050565b610abe61103b565b60126106328282611c1d565b600061061a82611284565b60128054610ae290611b0c565b80601f0160208091040260200160405190810160405280929190818152602001828054610b0e90611b0c565b8015610b5b5780601f10610b3057610100808354040283529160200191610b5b565b820191906000526020600020905b815481529060010190602001808311610b3e57829003601f168201915b505050505081565b610b6b61103b565b600d55565b60006001600160a01b038216610b9057610b906323d3ad8160e21b6111d7565b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610bbe61103b565b610bc86000611334565b565b610bd261103b565b6011805460ff19811660ff90911615179055565b610bee61103b565b600e55565b60606003805461064590611b0c565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610c7984848461071c565b6001600160a01b0383163b15610ca957610c9584848484611386565b610ca957610ca96368d2bf6b60e11b6111d7565b50505050565b60115460ff16610d015760405162461bcd60e51b815260206004820152601860248201527f4d696e74696e67206973206e6f74206c697665207965742e000000000000000060448201526064016109a2565b600b54610d0f906001611b95565b81610d1d6001546000540390565b610d279190611b95565b10610d5e5760405162461bcd60e51b81526020600482015260076024820152664e6f206d6f726560c81b60448201526064016109a2565b600e54601054600c5460015460005403108015610d815750610d7f33611469565b155b8015610d8f5750600d548311155b15610d9d575050600d546000905b8083610da833611469565b610db29190611b95565b1115610df15760405162461bcd60e51b815260206004820152600e60248201526d13585e081c195c881dd85b1b195d60921b60448201526064016109a2565b82610dfb33611469565b600003610e1057610e0d600185611cdd565b90505b610e1a8382611b5c565b341015610e695760405162461bcd60e51b815260206004820152601d60248201527f506c656173652073656e642074686520657861637420616d6f756e742e00000060448201526064016109a2565b610ca9338561131a565b6060610e7e82611192565b610ee25760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016109a2565b6012610eed83611492565b604051602001610efe929190611cf0565b6040516020818303038152906040529050919050565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b610f4a61103b565b6001600160a01b038116610faf5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109a2565b610a9381611334565b60006301ffc9a760e01b6001600160e01b031983161480610fe957506380ac58cd60e01b6001600160e01b03198316145b8061061a5750506001600160e01b031916635b5e139f60e01b1490565b60006001600160e01b0319821663152a902d60e11b148061061a57506301ffc9a760e01b6001600160e01b031983161461061a565b600a546001600160a01b03163314610bc85760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109a2565b6127106001600160601b03821611156111035760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b60648201526084016109a2565b6001600160a01b0382166111595760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c69642072656365697665720000000000000060448201526064016109a2565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600855565b600080548210156111d25760005b50600082815260046020526040812054908190036111c8576111c183611d87565b92506111a0565b600160e01b161590505b919050565b8060005260046000fd5b60006111ec83610aca565b90508180156112045750336001600160a01b03821614155b15611227576112138133610f14565b611227576112276367d9dca160e11b6111d7565b60008381526006602052604080822080546001600160a01b0319166001600160a01b0388811691821790925591518693918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a450505050565b600081815260046020526040812054908190036112f75760005482106112b4576112b4636f96cda160e11b6111d7565b5b506000190160008181526004602052604090205480156112b557600160e01b81166000036112e257919050565b6112f2636f96cda160e11b6111d7565b6112b5565b600160e01b811660000361130a57919050565b6111d2636f96cda160e11b6111d7565b610632828260405180602001604052806000815250611525565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906113bb903390899088908890600401611d9e565b6020604051808303816000875af19250505080156113f6575060408051601f3d908101601f191682019092526113f391810190611ddb565b60015b61144b573d808015611424576040519150601f19603f3d011682016040523d82523d6000602084013e611429565b606091505b508051600003611443576114436368d2bf6b60e11b6111d7565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6001600160a01b03166000908152600560205260409081902054901c67ffffffffffffffff1690565b6060600061149f8361158e565b600101905060008167ffffffffffffffff8111156114bf576114bf61193c565b6040519080825280601f01601f1916602001820160405280156114e9576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a85049450846114f357509392505050565b61152f8383611666565b6001600160a01b0383163b15610ab1576000548281035b6115596000868380600101945086611386565b61156d5761156d6368d2bf6b60e11b6111d7565b8181106115465781600054146115875761158760006111d7565b5050505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106115cd5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef810000000083106115f9576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061161757662386f26fc10000830492506010015b6305f5e100831061162f576305f5e100830492506008015b612710831061164357612710830492506004015b60648310611655576064830492506002015b600a831061061a5760010192915050565b60008054908290036116825761168263b562e8dd60e01b6111d7565b60008181526004602090815260408083206001600160a01b0387164260a01b6001881460e11b178117909155808452600590925282208054680100000000000000018602019055908190036116e0576116e0622e076360e81b6111d7565b818301825b808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a48181600101915081036116e5575060005550505050565b6001600160e01b031981168114610a9357600080fd5b60006020828403121561174d57600080fd5b813561175881611725565b9392505050565b80356001600160a01b03811681146111d257600080fd5b6000806040838503121561178957600080fd5b6117928361175f565b915060208301356001600160601b03811681146117ae57600080fd5b809150509250929050565b60005b838110156117d45781810151838201526020016117bc565b50506000910152565b600081518084526117f58160208601602086016117b9565b601f01601f19169290920160200192915050565b60208152600061175860208301846117dd565b60006020828403121561182e57600080fd5b5035919050565b6000806040838503121561184857600080fd5b6118518361175f565b946020939093013593505050565b60008060006060848603121561187457600080fd5b61187d8461175f565b925061188b6020850161175f565b9150604084013590509250925092565b600080604083850312156118ae57600080fd5b50508035926020909101359150565b6000806000604084860312156118d257600080fd5b83359250602084013567ffffffffffffffff808211156118f157600080fd5b818601915086601f83011261190557600080fd5b81358181111561191457600080fd5b8760208260051b850101111561192957600080fd5b6020830194508093505050509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561196d5761196d61193c565b604051601f8501601f19908116603f011681019082821181831017156119955761199561193c565b816040528093508581528686860111156119ae57600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156119da57600080fd5b813567ffffffffffffffff8111156119f157600080fd5b8201601f81018413611a0257600080fd5b61146184823560208401611952565b600060208284031215611a2357600080fd5b6117588261175f565b60008060408385031215611a3f57600080fd5b611a488361175f565b9150602083013580151581146117ae57600080fd5b60008060008060808587031215611a7357600080fd5b611a7c8561175f565b9350611a8a6020860161175f565b925060408501359150606085013567ffffffffffffffff811115611aad57600080fd5b8501601f81018713611abe57600080fd5b611acd87823560208401611952565b91505092959194509250565b60008060408385031215611aec57600080fd5b611af58361175f565b9150611b036020840161175f565b90509250929050565b600181811c90821680611b2057607f821691505b602082108103611b4057634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141761061a5761061a611b46565b600082611b9057634e487b7160e01b600052601260045260246000fd5b500490565b8082018082111561061a5761061a611b46565b634e487b7160e01b600052603260045260246000fd5b600060018201611bd057611bd0611b46565b5060010190565b601f821115610ab157600081815260208120601f850160051c81016020861015611bfe5750805b601f850160051c820191505b818110156109f857828155600101611c0a565b815167ffffffffffffffff811115611c3757611c3761193c565b611c4b81611c458454611b0c565b84611bd7565b602080601f831160018114611c805760008415611c685750858301515b600019600386901b1c1916600185901b1785556109f8565b600085815260208120601f198616915b82811015611caf57888601518255948401946001909101908401611c90565b5085821015611ccd5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b8181038181111561061a5761061a611b46565b6000808454611cfe81611b0c565b60018281168015611d165760018114611d2b57611d5a565b60ff1984168752821515830287019450611d5a565b8860005260208060002060005b85811015611d515781548a820152908401908201611d38565b50505082870194505b505050508351611d6e8183602088016117b9565b64173539b7b760d91b9101908152600501949350505050565b600081611d9657611d96611b46565b506000190190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611dd1908301846117dd565b9695505050505050565b600060208284031215611ded57600080fd5b81516117588161172556fea26469706673582212206fd1f5a99bc3f7957fcf7f43a110e52e6d164d0893bcb8ffdf20930489644c9a64736f6c63430008110033000000000000000000000000000000000000000000000000000000000000015e000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000007427269636b6564000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007427269636b6564000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000043697066733a2f2f626166796265696768336275343666716c796b76686e7869646764643471787a78757a686b74656e6b7076797470756177696d336a3732326672612f0000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106102045760003560e01c806370a0823111610118578063b88d4fde116100a0578063d5abeb011161006f578063d5abeb011461057e578063e985e9c514610594578063f2fde38b146105b4578063f892c6e2146105d4578063f968adbe146105ea57600080fd5b8063b88d4fde1461051e578063baf67b1114610531578063c87b56dd14610544578063d12397301461056457600080fd5b806391b7f5ed116100e757806391b7f5ed1461049d57806395d89b41146104bd578063a035b1fe146104d2578063a22cb465146104e8578063a70273571461050857600080fd5b806370a0823114610435578063715018a6146104555780637ba5e6211461046a5780638da5cb5b1461047f57600080fd5b80632a55205a1161019b578063453c23101161016a578063453c2310146103aa57806355f804b3146103c05780636352211e146103e05780636c0360eb146104005780636d7c4a4b1461041557600080fd5b80632a55205a146103235780633a114afd146103625780633ccfd60b1461038257806342842e0e1461039757600080fd5b8063095ea7b3116101d7578063095ea7b3146102ba5780630c23bb3f146102cd57806318160ddd146102ed57806323b872dd1461031057600080fd5b806301ffc9a71461020957806302fa7c471461023e57806306fdde0314610260578063081812fc14610282575b600080fd5b34801561021557600080fd5b5061022961022436600461173b565b610600565b60405190151581526020015b60405180910390f35b34801561024a57600080fd5b5061025e610259366004611776565b610620565b005b34801561026c57600080fd5b50610275610636565b6040516102359190611809565b34801561028e57600080fd5b506102a261029d36600461181c565b6106c8565b6040516001600160a01b039091168152602001610235565b61025e6102c8366004611835565b610703565b3480156102d957600080fd5b5061025e6102e836600461181c565b61070f565b3480156102f957600080fd5b50600154600054035b604051908152602001610235565b61025e61031e36600461185f565b61071c565b34801561032f57600080fd5b5061034361033e36600461189b565b610881565b604080516001600160a01b039093168352602083019190915201610235565b34801561036e57600080fd5b5061025e61037d3660046118bd565b61092d565b34801561038e57600080fd5b5061025e610a00565b61025e6103a536600461185f565b610a96565b3480156103b657600080fd5b5061030260105481565b3480156103cc57600080fd5b5061025e6103db3660046119c8565b610ab6565b3480156103ec57600080fd5b506102a26103fb36600461181c565b610aca565b34801561040c57600080fd5b50610275610ad5565b34801561042157600080fd5b5061025e61043036600461181c565b610b63565b34801561044157600080fd5b50610302610450366004611a11565b610b70565b34801561046157600080fd5b5061025e610bb6565b34801561047657600080fd5b5061025e610bca565b34801561048b57600080fd5b50600a546001600160a01b03166102a2565b3480156104a957600080fd5b5061025e6104b836600461181c565b610be6565b3480156104c957600080fd5b50610275610bf3565b3480156104de57600080fd5b50610302600e5481565b3480156104f457600080fd5b5061025e610503366004611a2c565b610c02565b34801561051457600080fd5b50610302600d5481565b61025e61052c366004611a5d565b610c6e565b61025e61053f36600461181c565b610caf565b34801561055057600080fd5b5061027561055f36600461181c565b610e73565b34801561057057600080fd5b506011546102299060ff1681565b34801561058a57600080fd5b50610302600b5481565b3480156105a057600080fd5b506102296105af366004611ad9565b610f14565b3480156105c057600080fd5b5061025e6105cf366004611a11565b610f42565b3480156105e057600080fd5b50610302600c5481565b3480156105f657600080fd5b50610302600f5481565b600061060b82610fb8565b8061061a575061061a82611006565b92915050565b61062861103b565b6106328282611095565b5050565b60606002805461064590611b0c565b80601f016020809104026020016040519081016040528092919081815260200182805461067190611b0c565b80156106be5780601f10610693576101008083540402835291602001916106be565b820191906000526020600020905b8154815290600101906020018083116106a157829003601f168201915b5050505050905090565b60006106d382611192565b6106e7576106e76333d1c03960e21b6111d7565b506000908152600660205260409020546001600160a01b031690565b610632828260016111e1565b61071761103b565b600c55565b600061072782611284565b6001600160a01b03948516949091508116841461074d5761074d62a1148160e81b6111d7565b60008281526006602052604090208054338082146001600160a01b038816909114176107915761077d8633610f14565b61079157610791632ce44b5f60e11b6111d7565b801561079c57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b8416900361082e5760018401600081815260046020526040812054900361082c57600054811461082c5760008181526004602052604090208490555b505b6001600160a01b0385168481887fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a48060000361087857610878633a954ecd60e21b6111d7565b50505050505050565b60008281526009602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b03169282019290925282916108f65750604080518082019091526008546001600160a01b0381168252600160a01b90046001600160601b031660208201525b602081015160009061271090610915906001600160601b031687611b5c565b61091f9190611b73565b915196919550909350505050565b61093561103b565b60006109446001546000540390565b905060006109528386611b5c565b600b549091506109628284611b95565b11156109ab5760405162461bcd60e51b815260206004820152601360248201527222bc31b2b2b2399036b0bc1039bab838363c9760691b60448201526064015b60405180910390fd5b60005b838110156109f8576109e68585838181106109cb576109cb611ba8565b90506020020160208101906109e09190611a11565b8761131a565b806109f081611bbe565b9150506109ae565b505050505050565b610a0861103b565b604051600090339047908381818185875af1925050503d8060008114610a4a576040519150601f19603f3d011682016040523d82523d6000602084013e610a4f565b606091505b5050905080610a935760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b60448201526064016109a2565b50565b610ab183838360405180602001604052806000815250610c6e565b505050565b610abe61103b565b60126106328282611c1d565b600061061a82611284565b60128054610ae290611b0c565b80601f0160208091040260200160405190810160405280929190818152602001828054610b0e90611b0c565b8015610b5b5780601f10610b3057610100808354040283529160200191610b5b565b820191906000526020600020905b815481529060010190602001808311610b3e57829003601f168201915b505050505081565b610b6b61103b565b600d55565b60006001600160a01b038216610b9057610b906323d3ad8160e21b6111d7565b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610bbe61103b565b610bc86000611334565b565b610bd261103b565b6011805460ff19811660ff90911615179055565b610bee61103b565b600e55565b60606003805461064590611b0c565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610c7984848461071c565b6001600160a01b0383163b15610ca957610c9584848484611386565b610ca957610ca96368d2bf6b60e11b6111d7565b50505050565b60115460ff16610d015760405162461bcd60e51b815260206004820152601860248201527f4d696e74696e67206973206e6f74206c697665207965742e000000000000000060448201526064016109a2565b600b54610d0f906001611b95565b81610d1d6001546000540390565b610d279190611b95565b10610d5e5760405162461bcd60e51b81526020600482015260076024820152664e6f206d6f726560c81b60448201526064016109a2565b600e54601054600c5460015460005403108015610d815750610d7f33611469565b155b8015610d8f5750600d548311155b15610d9d575050600d546000905b8083610da833611469565b610db29190611b95565b1115610df15760405162461bcd60e51b815260206004820152600e60248201526d13585e081c195c881dd85b1b195d60921b60448201526064016109a2565b82610dfb33611469565b600003610e1057610e0d600185611cdd565b90505b610e1a8382611b5c565b341015610e695760405162461bcd60e51b815260206004820152601d60248201527f506c656173652073656e642074686520657861637420616d6f756e742e00000060448201526064016109a2565b610ca9338561131a565b6060610e7e82611192565b610ee25760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016109a2565b6012610eed83611492565b604051602001610efe929190611cf0565b6040516020818303038152906040529050919050565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b610f4a61103b565b6001600160a01b038116610faf5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109a2565b610a9381611334565b60006301ffc9a760e01b6001600160e01b031983161480610fe957506380ac58cd60e01b6001600160e01b03198316145b8061061a5750506001600160e01b031916635b5e139f60e01b1490565b60006001600160e01b0319821663152a902d60e11b148061061a57506301ffc9a760e01b6001600160e01b031983161461061a565b600a546001600160a01b03163314610bc85760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109a2565b6127106001600160601b03821611156111035760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b60648201526084016109a2565b6001600160a01b0382166111595760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c69642072656365697665720000000000000060448201526064016109a2565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600855565b600080548210156111d25760005b50600082815260046020526040812054908190036111c8576111c183611d87565b92506111a0565b600160e01b161590505b919050565b8060005260046000fd5b60006111ec83610aca565b90508180156112045750336001600160a01b03821614155b15611227576112138133610f14565b611227576112276367d9dca160e11b6111d7565b60008381526006602052604080822080546001600160a01b0319166001600160a01b0388811691821790925591518693918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a450505050565b600081815260046020526040812054908190036112f75760005482106112b4576112b4636f96cda160e11b6111d7565b5b506000190160008181526004602052604090205480156112b557600160e01b81166000036112e257919050565b6112f2636f96cda160e11b6111d7565b6112b5565b600160e01b811660000361130a57919050565b6111d2636f96cda160e11b6111d7565b610632828260405180602001604052806000815250611525565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906113bb903390899088908890600401611d9e565b6020604051808303816000875af19250505080156113f6575060408051601f3d908101601f191682019092526113f391810190611ddb565b60015b61144b573d808015611424576040519150601f19603f3d011682016040523d82523d6000602084013e611429565b606091505b508051600003611443576114436368d2bf6b60e11b6111d7565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6001600160a01b03166000908152600560205260409081902054901c67ffffffffffffffff1690565b6060600061149f8361158e565b600101905060008167ffffffffffffffff8111156114bf576114bf61193c565b6040519080825280601f01601f1916602001820160405280156114e9576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a85049450846114f357509392505050565b61152f8383611666565b6001600160a01b0383163b15610ab1576000548281035b6115596000868380600101945086611386565b61156d5761156d6368d2bf6b60e11b6111d7565b8181106115465781600054146115875761158760006111d7565b5050505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106115cd5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef810000000083106115f9576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061161757662386f26fc10000830492506010015b6305f5e100831061162f576305f5e100830492506008015b612710831061164357612710830492506004015b60648310611655576064830492506002015b600a831061061a5760010192915050565b60008054908290036116825761168263b562e8dd60e01b6111d7565b60008181526004602090815260408083206001600160a01b0387164260a01b6001881460e11b178117909155808452600590925282208054680100000000000000018602019055908190036116e0576116e0622e076360e81b6111d7565b818301825b808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a48181600101915081036116e5575060005550505050565b6001600160e01b031981168114610a9357600080fd5b60006020828403121561174d57600080fd5b813561175881611725565b9392505050565b80356001600160a01b03811681146111d257600080fd5b6000806040838503121561178957600080fd5b6117928361175f565b915060208301356001600160601b03811681146117ae57600080fd5b809150509250929050565b60005b838110156117d45781810151838201526020016117bc565b50506000910152565b600081518084526117f58160208601602086016117b9565b601f01601f19169290920160200192915050565b60208152600061175860208301846117dd565b60006020828403121561182e57600080fd5b5035919050565b6000806040838503121561184857600080fd5b6118518361175f565b946020939093013593505050565b60008060006060848603121561187457600080fd5b61187d8461175f565b925061188b6020850161175f565b9150604084013590509250925092565b600080604083850312156118ae57600080fd5b50508035926020909101359150565b6000806000604084860312156118d257600080fd5b83359250602084013567ffffffffffffffff808211156118f157600080fd5b818601915086601f83011261190557600080fd5b81358181111561191457600080fd5b8760208260051b850101111561192957600080fd5b6020830194508093505050509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561196d5761196d61193c565b604051601f8501601f19908116603f011681019082821181831017156119955761199561193c565b816040528093508581528686860111156119ae57600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156119da57600080fd5b813567ffffffffffffffff8111156119f157600080fd5b8201601f81018413611a0257600080fd5b61146184823560208401611952565b600060208284031215611a2357600080fd5b6117588261175f565b60008060408385031215611a3f57600080fd5b611a488361175f565b9150602083013580151581146117ae57600080fd5b60008060008060808587031215611a7357600080fd5b611a7c8561175f565b9350611a8a6020860161175f565b925060408501359150606085013567ffffffffffffffff811115611aad57600080fd5b8501601f81018713611abe57600080fd5b611acd87823560208401611952565b91505092959194509250565b60008060408385031215611aec57600080fd5b611af58361175f565b9150611b036020840161175f565b90509250929050565b600181811c90821680611b2057607f821691505b602082108103611b4057634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141761061a5761061a611b46565b600082611b9057634e487b7160e01b600052601260045260246000fd5b500490565b8082018082111561061a5761061a611b46565b634e487b7160e01b600052603260045260246000fd5b600060018201611bd057611bd0611b46565b5060010190565b601f821115610ab157600081815260208120601f850160051c81016020861015611bfe5750805b601f850160051c820191505b818110156109f857828155600101611c0a565b815167ffffffffffffffff811115611c3757611c3761193c565b611c4b81611c458454611b0c565b84611bd7565b602080601f831160018114611c805760008415611c685750858301515b600019600386901b1c1916600185901b1785556109f8565b600085815260208120601f198616915b82811015611caf57888601518255948401946001909101908401611c90565b5085821015611ccd5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b8181038181111561061a5761061a611b46565b6000808454611cfe81611b0c565b60018281168015611d165760018114611d2b57611d5a565b60ff1984168752821515830287019450611d5a565b8860005260208060002060005b85811015611d515781548a820152908401908201611d38565b50505082870194505b505050508351611d6e8183602088016117b9565b64173539b7b760d91b9101908152600501949350505050565b600081611d9657611d96611b46565b506000190190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611dd1908301846117dd565b9695505050505050565b600060208284031215611ded57600080fd5b81516117588161172556fea26469706673582212206fd1f5a99bc3f7957fcf7f43a110e52e6d164d0893bcb8ffdf20930489644c9a64736f6c63430008110033

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

000000000000000000000000000000000000000000000000000000000000015e000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000007427269636b6564000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007427269636b6564000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000043697066733a2f2f626166796265696768336275343666716c796b76686e7869646764643471787a78757a686b74656e6b7076797470756177696d336a3732326672612f0000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _royaltyFeesInBips (uint96): 350
Arg [1] : _name (string): Bricked
Arg [2] : _symbol (string): Bricked
Arg [3] : _initBaseURI (string): ipfs://bafybeigh3bu46fqlykvhnxidgdd4qxzxuzhktenkpvytpuawim3j722fra/

-----Encoded View---------------
12 Constructor Arguments found :
Arg [0] : 000000000000000000000000000000000000000000000000000000000000015e
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [5] : 427269636b656400000000000000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [7] : 427269636b656400000000000000000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000043
Arg [9] : 697066733a2f2f626166796265696768336275343666716c796b76686e786964
Arg [10] : 6764643471787a78757a686b74656e6b7076797470756177696d336a37323266
Arg [11] : 72612f0000000000000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

82175:3883:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;82843:411;;;;;;;;;;-1:-1:-1;82843:411:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;82843:411:0;;;;;;;;83260:160;;;;;;;;;;-1:-1:-1;83260:160:0;;;;;:::i;:::-;;:::i;:::-;;47737:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;54771:227::-;;;;;;;;;;-1:-1:-1;54771:227:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;2246:32:1;;;2228:51;;2216:2;2201:18;54771:227:0;2082:203:1;54488:124:0;;;;;;:::i;:::-;;:::i;85619:104::-;;;;;;;;;;-1:-1:-1;85619:104:0;;;;;:::i;:::-;;:::i;43479:323::-;;;;;;;;;;-1:-1:-1;43753:12:0;;43540:7;43737:13;:28;43479:323;;;2695:25:1;;;2683:2;2668:18;43479:323:0;2549:177:1;58505:3523:0;;;;;;:::i;:::-;;:::i;4710:438::-;;;;;;;;;;-1:-1:-1;4710:438:0;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;3509:32:1;;;3491:51;;3573:2;3558:18;;3551:34;;;;3464:18;4710:438:0;3317:274:1;83428:479:0;;;;;;;;;;-1:-1:-1;83428:479:0;;;;;:::i;:::-;;:::i;85849:206::-;;;;;;;;;;;;;:::i;62124:193::-;;;;;;:::i;:::-;;:::i;82473:33::-;;;;;;;;;;;;;;;;85423:88;;;;;;;;;;-1:-1:-1;85423:88:0;;;;;:::i;:::-;;:::i;49139:152::-;;;;;;;;;;-1:-1:-1;49139:152:0;;;;;:::i;:::-;;:::i;82551:21::-;;;;;;;;;;;;;:::i;85731:110::-;;;;;;;;;;-1:-1:-1;85731:110:0;;;;;:::i;:::-;;:::i;44663:242::-;;;;;;;;;;-1:-1:-1;44663:242:0;;;;;:::i;:::-;;:::i;27525:103::-;;;;;;;;;;;;;:::i;85331:84::-;;;;;;;;;;;;;:::i;26884:87::-;;;;;;;;;;-1:-1:-1;26957:6:0;;-1:-1:-1;;;;;26957:6:0;26884:87;;85519:92;;;;;;;;;;-1:-1:-1;85519:92:0;;;;;:::i;:::-;;:::i;47913:104::-;;;;;;;;;;;;;:::i;82395:35::-;;;;;;;;;;;;;;;;55338:234;;;;;;;;;;-1:-1:-1;55338:234:0;;;;;:::i;:::-;;:::i;82353:35::-;;;;;;;;;;;;;;;;62915:416;;;;;;:::i;:::-;;:::i;83915:968::-;;;;;;:::i;:::-;;:::i;85007:316::-;;;;;;;;;;-1:-1:-1;85007:316:0;;;;;:::i;:::-;;:::i;82513:31::-;;;;;;;;;;-1:-1:-1;82513:31:0;;;;;;;;82273;;;;;;;;;;;;;;;;55729:164;;;;;;;;;;-1:-1:-1;55729:164:0;;;;;:::i;:::-;;:::i;27783:201::-;;;;;;;;;;-1:-1:-1;27783:201:0;;;;;:::i;:::-;;:::i;82311:35::-;;;;;;;;;;;;;;;;82437:29;;;;;;;;;;;;;;;;82843:411;82954:4;83160:38;83186:11;83160:25;:38::i;:::-;:90;;;;83212:38;83238:11;83212:25;:38::i;:::-;83143:107;82843:411;-1:-1:-1;;82843:411:0:o;83260:160::-;26770:13;:11;:13::i;:::-;83363:49:::1;83382:9;83393:18;83363;:49::i;:::-;83260:160:::0;;:::o;47737:100::-;47791:13;47824:5;47817:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47737:100;:::o;54771:227::-;54847:7;54872:16;54880:7;54872;:16::i;:::-;54867:73;;54890:50;-1:-1:-1;;;54890:7:0;:50::i;:::-;-1:-1:-1;54960:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;54960:30:0;;54771:227::o;54488:124::-;54577:27;54586:2;54590:7;54599:4;54577:8;:27::i;85619:104::-;26770:13;:11;:13::i;:::-;85692::::1;:23:::0;85619:104::o;58505:3523::-;58647:27;58677;58696:7;58677:18;:27::i;:::-;-1:-1:-1;;;;;58832:22:0;;;;58647:57;;-1:-1:-1;58892:45:0;;;;58888:95;;58939:44;-1:-1:-1;;;58939:7:0;:44::i;:::-;58997:27;57613:24;;;:15;:24;;;;;57841:26;;79997:10;57238:30;;;-1:-1:-1;;;;;56931:28:0;;57216:20;;;57213:56;59183:189;;59276:43;59293:4;79997:10;55729:164;:::i;59276:43::-;59271:101;;59321:51;-1:-1:-1;;;59321:7:0;:51::i;:::-;59521:15;59518:160;;;59661:1;59640:19;59633:30;59518:160;-1:-1:-1;;;;;60058:24:0;;;;;;;:18;:24;;;;;;60056:26;;-1:-1:-1;;60056:26:0;;;60127:22;;;;;;;;;60125:24;;-1:-1:-1;60125:24:0;;;53590:11;53565:23;53561:41;53548:63;-1:-1:-1;;;53548:63:0;60420:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;60715:47:0;;:52;;60711:627;;60820:1;60810:11;;60788:19;60943:30;;;:17;:30;;;;;;:35;;60939:384;;61081:13;;61066:11;:28;61062:242;;61228:30;;;;:17;:30;;;;;:52;;;61062:242;60769:569;60711:627;-1:-1:-1;;;;;61470:20:0;;61850:7;61470:20;61780:4;61722:25;61451:16;;61587:299;61911:8;61923:1;61911:13;61907:58;;61926:39;-1:-1:-1;;;61926:7:0;:39::i;:::-;58636:3392;;;;58505:3523;;;:::o;4710:438::-;4805:7;4863:26;;;:17;:26;;;;;;;;4834:55;;;;;;;;;-1:-1:-1;;;;;4834:55:0;;;;;-1:-1:-1;;;4834:55:0;;;-1:-1:-1;;;;;4834:55:0;;;;;;;;4805:7;;4902:92;;-1:-1:-1;4953:29:0;;;;;;;;;4963:19;4953:29;-1:-1:-1;;;;;4953:29:0;;;;-1:-1:-1;;;4953:29:0;;-1:-1:-1;;;;;4953:29:0;;;;;4902:92;5043:23;;;;5006:21;;5514:5;;5031:35;;-1:-1:-1;;;;;5031:35:0;:9;:35;:::i;:::-;5030:57;;;;:::i;:::-;5108:16;;;;;-1:-1:-1;4710:438:0;;-1:-1:-1;;;;4710:438:0:o;83428:479::-;26770:13;:11;:13::i;:::-;83532:19:::1;83562:13;43753:12:::0;;43540:7;43737:13;:28;;43479:323;83562:13:::1;83532:44:::0;-1:-1:-1;83584:16:0::1;83605:36;83625:9:::0;83605:17;:36:::1;:::i;:::-;83685:9;::::0;83584:57;;-1:-1:-1;83656:25:0::1;83584:57:::0;83656:11;:25:::1;:::i;:::-;:38;;83648:70;;;::::0;-1:-1:-1;;;83648:70:0;;8365:2:1;83648:70:0::1;::::0;::::1;8347:21:1::0;8404:2;8384:18;;;8377:30;-1:-1:-1;;;8423:18:1;;;8416:49;8482:18;;83648:70:0::1;;;;;;;;;83731:9;83726:116;83746:20:::0;;::::1;83726:116;;;83788:42;83798:9;;83808:1;83798:12;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;83812:17;83788:9;:42::i;:::-;83768:3:::0;::::1;::::0;::::1;:::i;:::-;;;;83726:116;;;-1:-1:-1::0;;;;;;83428:479:0:o;85849:206::-;26770:13;:11;:13::i;:::-;85918:82:::1;::::0;85900:12:::1;::::0;85926:10:::1;::::0;85964:21:::1;::::0;85900:12;85918:82;85900:12;85918:82;85964:21;85926:10;85918:82:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;85899:101;;;86019:7;86011:36;;;::::0;-1:-1:-1;;;86011:36:0;;9195:2:1;86011:36:0::1;::::0;::::1;9177:21:1::0;9234:2;9214:18;;;9207:30;-1:-1:-1;;;9253:18:1;;;9246:46;9309:18;;86011:36:0::1;8993:340:1::0;86011:36:0::1;85888:167;85849:206::o:0;62124:193::-;62270:39;62287:4;62293:2;62297:7;62270:39;;;;;;;;;;;;:16;:39::i;:::-;62124:193;;;:::o;85423:88::-;26770:13;:11;:13::i;:::-;85490:7:::1;:13;85500:3:::0;85490:7;:13:::1;:::i;49139:152::-:0;49211:7;49254:27;49273:7;49254:18;:27::i;82551:21::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;85731:110::-;26770:13;:11;:13::i;:::-;85807:16:::1;:26:::0;85731:110::o;44663:242::-;44735:7;-1:-1:-1;;;;;44759:19:0;;44755:69;;44780:44;-1:-1:-1;;;44780:7:0;:44::i;:::-;-1:-1:-1;;;;;;44842:25:0;;;;;:18;:25;;;;;;38822:13;44842:55;;44663:242::o;27525:103::-;26770:13;:11;:13::i;:::-;27590:30:::1;27617:1;27590:18;:30::i;:::-;27525:103::o:0;85331:84::-;26770:13;:11;:13::i;:::-;85396:11:::1;::::0;;-1:-1:-1;;85381:26:0;::::1;85396:11;::::0;;::::1;85395:12;85381:26;::::0;;85331:84::o;85519:92::-;26770:13;:11;:13::i;:::-;85586:5:::1;:17:::0;85519:92::o;47913:104::-;47969:13;48002:7;47995:14;;;;;:::i;55338:234::-;79997:10;55433:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;55433:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;55433:60:0;;;;;;;;;;55509:55;;540:41:1;;;55433:49:0;;79997:10;55509:55;;513:18:1;55509:55:0;;;;;;;55338:234;;:::o;62915:416::-;63090:31;63103:4;63109:2;63113:7;63090:12;:31::i;:::-;-1:-1:-1;;;;;63136:14:0;;;:19;63132:192;;63175:56;63206:4;63212:2;63216:7;63225:5;63175:30;:56::i;:::-;63170:154;;63252:56;-1:-1:-1;;;63252:7:0;:56::i;:::-;62915:416;;;;:::o;83915:968::-;83993:11;;;;83985:48;;;;-1:-1:-1;;;83985:48:0;;11744:2:1;83985:48:0;;;11726:21:1;11783:2;11763:18;;;11756:30;11822:26;11802:18;;;11795:54;11866:18;;83985:48:0;11542:348:1;83985:48:0;84079:9;;:13;;84091:1;84079:13;:::i;:::-;84068:8;84052:13;43753:12;;43540:7;43737:13;:28;;43479:323;84052:13;:24;;;;:::i;:::-;:40;84044:60;;;;-1:-1:-1;;;84044:60:0;;12097:2:1;84044:60:0;;;12079:21:1;12136:1;12116:18;;;12109:29;-1:-1:-1;;;12154:18:1;;;12147:37;12201:18;;84044:60:0;11895:330:1;84044:60:0;84130:5;;84170:12;;84239:13;;43753:12;;43540:7;43737:13;:28;84223:29;:76;;;;;84269:25;84283:10;84269:13;:25::i;:::-;:30;84223:76;:121;;;;;84328:16;;84316:8;:28;;84223:121;84205:233;;;-1:-1:-1;;84410:16:0;;84378:1;;84205:233;84512:13;84500:8;84472:25;84486:10;84472:13;:25::i;:::-;:36;;;;:::i;:::-;:53;;84450:117;;;;-1:-1:-1;;;84450:117:0;;12432:2:1;84450:117:0;;;12414:21:1;12471:2;12451:18;;;12444:30;-1:-1:-1;;;12490:18:1;;;12483:44;12544:18;;84450:117:0;12230:338:1;84450:117:0;84603:8;84626:25;84640:10;84626:13;:25::i;:::-;84655:1;84626:30;84622:90;;84688:12;84699:1;84688:8;:12;:::i;:::-;84673:27;;84622:90;84757:19;84772:4;84757:12;:19;:::i;:::-;84744:9;:32;;84722:111;;;;-1:-1:-1;;;84722:111:0;;12908:2:1;84722:111:0;;;12890:21:1;12947:2;12927:18;;;12920:30;12986:31;12966:18;;;12959:59;13035:18;;84722:111:0;12706:353:1;84722:111:0;84844:31;84854:10;84866:8;84844:9;:31::i;85007:316::-;85096:13;85144:16;85152:7;85144;:16::i;:::-;85122:113;;;;-1:-1:-1;;;85122:113:0;;13266:2:1;85122: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;;85122:113:0;13064:411:1;85122:113:0;85277:7;85286:18;:7;:16;:18::i;:::-;85260:54;;;;;;;;;:::i;:::-;;;;;;;;;;;;;85246:69;;85007:316;;;:::o;55729:164::-;-1:-1:-1;;;;;55850:25:0;;;55826:4;55850:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;55729:164::o;27783:201::-;26770:13;:11;:13::i;:::-;-1:-1:-1;;;;;27872:22:0;::::1;27864:73;;;::::0;-1:-1:-1;;;27864:73:0;;14874:2:1;27864: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;;27864:73:0::1;14672:402:1::0;27864:73:0::1;27948:28;27967:8;27948:18;:28::i;46835:639::-:0;46920:4;-1:-1:-1;;;;;;;;;47244:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;47321:25:0;;;47244:102;:179;;;-1:-1:-1;;;;;;;;47398:25:0;-1:-1:-1;;;47398:25:0;;46835:639::o;4440:215::-;4542:4;-1:-1:-1;;;;;;4566:41:0;;-1:-1:-1;;;4566:41:0;;:81;;-1:-1:-1;;;;;;;;;;1997:40:0;;;4611:36;1888:157;27049:132;26957:6;;-1:-1:-1;;;;;26957:6:0;79997:10;27113:23;27105:68;;;;-1:-1:-1;;;27105:68:0;;15281:2:1;27105:68:0;;;15263:21:1;;;15300:18;;;15293:30;15359:34;15339:18;;;15332:62;15411:18;;27105:68:0;15079:356:1;5798:332:0;5514:5;-1:-1:-1;;;;;5901:33:0;;;;5893:88;;;;-1:-1:-1;;;5893:88:0;;15642:2:1;5893: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;;5893:88:0;15440:406:1;5893:88:0;-1:-1:-1;;;;;6000:22:0;;5992:60;;;;-1:-1:-1;;;5992:60:0;;16053:2:1;5992:60:0;;;16035:21:1;16092:2;16072:18;;;16065:30;16131:27;16111:18;;;16104:55;16176:18;;5992:60:0;15851:349:1;5992:60:0;6087:35;;;;;;;;;-1:-1:-1;;;;;6087:35:0;;;;;;-1:-1:-1;;;;;6087:35:0;;;;;;;;;;-1:-1:-1;;;6065:57:0;;;;:19;:57;5798:332::o;56151:368::-;56216:11;56301:13;;56291:7;:23;56287:214;;;56335:14;56368:60;-1:-1:-1;56385:26:0;;;;:17;:26;;;;;;;56375:42;;;56368:60;;56419:9;;;:::i;:::-;;;56368:60;;;-1:-1:-1;;;56456:24:0;:29;;-1:-1:-1;56287:214:0;56151:368;;;:::o;81929:165::-;82030:13;82024:4;82017:27;82071:4;82065;82058:18;73362:474;73491:13;73507:16;73515:7;73507;:16::i;:::-;73491:32;;73540:13;:45;;;;-1:-1:-1;79997:10:0;-1:-1:-1;;;;;73557:28:0;;;;73540:45;73536:201;;;73605:44;73622:5;79997:10;55729:164;:::i;73605:44::-;73600:137;;73670:51;-1:-1:-1;;;73670:7:0;:51::i;:::-;73749:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;73749:35:0;-1:-1:-1;;;;;73749:35:0;;;;;;;;;73800:28;;73749:24;;73800:28;;;;;;;73480:356;73362:474;;;:::o;50619:2012::-;50769:26;;;;:17;:26;;;;;;;50895:11;;;50891:1292;;50942:13;;50931:7;:24;50927:77;;50957:47;-1:-1:-1;;;50957:7:0;:47::i;:::-;51561:607;-1:-1:-1;;;51657:9:0;51639:28;;;;:17;:28;;;;;;51713:25;;51561:607;51713:25;-1:-1:-1;;;51765:6:0;:24;51793:1;51765:29;51761:48;;50619:2012;;;:::o;51761:48::-;52101:47;-1:-1:-1;;;52101:7:0;:47::i;:::-;51561:607;;50891:1292;-1:-1:-1;;;52510:6:0;:24;52538:1;52510:29;52506:48;;50619:2012;;;:::o;52506:48::-;52576:47;-1:-1:-1;;;52576:7:0;:47::i;72444:112::-;72521:27;72531:2;72535:8;72521:27;;;;;;;;;;;;:9;:27::i;28144:191::-;28237:6;;;-1:-1:-1;;;;;28254:17:0;;;-1:-1:-1;;;;;;28254:17:0;;;;;;;28287:40;;28237:6;;;28254:17;28237:6;;28287:40;;28218:16;;28287:40;28207:128;28144:191;:::o;65415:691::-;65599:88;;-1:-1:-1;;;65599:88:0;;65578:4;;-1:-1:-1;;;;;65599:45:0;;;;;:88;;79997:10;;65666:4;;65672:7;;65681:5;;65599:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;65599:88:0;;;;;;;;-1:-1:-1;;65599:88:0;;;;;;;;;;;;:::i;:::-;;;65595:504;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;65882:6;:13;65899:1;65882:18;65878:115;;65921:56;-1:-1:-1;;;65921:7:0;:56::i;:::-;66065:6;66059:13;66050:6;66046:2;66042:15;66035:38;65595:504;-1:-1:-1;;;;;;65758:64:0;-1:-1:-1;;;65758:64:0;;-1:-1:-1;65595:504:0;65415:691;;;;;;:::o;44987:178::-;-1:-1:-1;;;;;45076:25:0;45048:7;45076:25;;;:18;:25;;38960:2;45076:25;;;;;:50;;38822:13;45075:82;;44987:178::o;22248:716::-;22304:13;22355:14;22372:17;22383:5;22372:10;:17::i;:::-;22392:1;22372:21;22355:38;;22408:20;22442:6;22431:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;22431:18:0;-1:-1:-1;22408:41:0;-1:-1:-1;22573:28:0;;;22589:2;22573:28;22630:288;-1:-1:-1;;22662:5:0;-1:-1:-1;;;22799:2:0;22788:14;;22783:30;22662:5;22770:44;22860:2;22851:11;;;-1:-1:-1;22881:21:0;22630:288;22881:21;-1:-1:-1;22939:6:0;22248:716;-1:-1:-1;;;22248:716:0:o;71652:708::-;71783:19;71789:2;71793:8;71783:5;:19::i;:::-;-1:-1:-1;;;;;71844:14:0;;;:19;71840:502;;71884:11;71898:13;71946:14;;;71979:242;72010:62;72049:1;72053:2;72057:7;;;;;;72066:5;72010:30;:62::i;:::-;72005:176;;72101:56;-1:-1:-1;;;72101:7:0;:56::i;:::-;72216:3;72208:5;:11;71979:242;;72303:3;72286:13;;:20;72282:44;;72308:18;72323:1;72308:7;:18::i;:::-;71865:477;;71652:708;;;:::o;19029:948::-;19082:7;;-1:-1:-1;;;19160:17:0;;19156:106;;-1:-1:-1;;;19198:17:0;;;-1:-1:-1;19244:2:0;19234:12;19156:106;19289:8;19280:5;:17;19276:106;;19327:8;19318:17;;;-1:-1:-1;19364:2:0;19354:12;19276:106;19409:8;19400:5;:17;19396:106;;19447:8;19438:17;;;-1:-1:-1;19484:2:0;19474:12;19396:106;19529:7;19520:5;:16;19516:103;;19566:7;19557:16;;;-1:-1:-1;19602:1:0;19592:11;19516:103;19646:7;19637:5;:16;19633:103;;19683:7;19674:16;;;-1:-1:-1;19719:1:0;19709:11;19633:103;19763:7;19754:5;:16;19750:103;;19800:7;19791:16;;;-1:-1:-1;19836:1:0;19826:11;19750:103;19880:7;19871:5;:16;19867:68;;19918:1;19908:11;19963:6;19029:948;-1:-1:-1;;19029:948:0:o;66568:2305::-;66641:20;66664:13;;;66692;;;66688:53;;66707:34;-1:-1:-1;;;66707:7:0;:34::i;:::-;67254:31;;;;:17;:31;;;;;;;;-1:-1:-1;;;;;53416:28:0;;53590:11;53565:23;53561:41;54034:1;54021:15;;53995:24;53991:46;53558:52;53548:63;;67254:173;;;67645:22;;;:18;:22;;;;;:71;;67683:32;67671:45;;67645:71;;;53416:28;67906:13;;;67902:54;;67921:35;-1:-1:-1;;;67921:7:0;:35::i;:::-;67987:23;;;:12;68072:676;68491:7;68447:8;68402:1;68336:25;68273:1;68208;68177:358;68743:3;68730:9;;;;;;:16;68072:676;;-1:-1:-1;68764:13:0;:19;-1:-1:-1;62124:193:0;;;:::o;14:131:1:-;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;:::-;384:5;150:245;-1:-1:-1;;;150:245:1:o;592: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;8033:125::-;8098:9;;;8119:10;;;8116:36;;;8132:18;;:::i;8511:127::-;8572:10;8567:3;8563:20;8560:1;8553:31;8603:4;8600:1;8593:15;8627:4;8624:1;8617:15;8643:135;8682:3;8703:17;;;8700:43;;8723:18;;:::i;:::-;-1:-1:-1;8770:1:1;8759:13;;8643:135::o;9464:545::-;9566:2;9561:3;9558:11;9555:448;;;9602:1;9627:5;9623:2;9616:17;9672:4;9668:2;9658:19;9742:2;9730:10;9726:19;9723:1;9719:27;9713:4;9709:38;9778:4;9766:10;9763:20;9760:47;;;-1:-1:-1;9801:4:1;9760:47;9856:2;9851:3;9847:12;9844:1;9840:20;9834:4;9830:31;9820:41;;9911:82;9929:2;9922:5;9919:13;9911:82;;;9974:17;;;9955:1;9944:13;9911:82;;10185:1352;10311:3;10305:10;10338:18;10330:6;10327:30;10324:56;;;10360:18;;:::i;:::-;10389:97;10479:6;10439:38;10471:4;10465:11;10439:38;:::i;:::-;10433:4;10389:97;:::i;:::-;10541:4;;10605:2;10594:14;;10622:1;10617:663;;;;11324:1;11341:6;11338:89;;;-1:-1:-1;11393:19:1;;;11387:26;11338:89;-1:-1:-1;;10142:1:1;10138:11;;;10134:24;10130:29;10120:40;10166:1;10162:11;;;10117:57;11440:81;;10587:944;;10617:663;9411:1;9404:14;;;9448:4;9435:18;;-1:-1:-1;;10653:20:1;;;10771:236;10785:7;10782:1;10779:14;10771:236;;;10874:19;;;10868:26;10853:42;;10966:27;;;;10934:1;10922:14;;;;10801:19;;10771:236;;;10775:3;11035:6;11026:7;11023:19;11020:201;;;11096:19;;;11090:26;-1:-1:-1;;11179:1:1;11175:14;;;11191:3;11171:24;11167:37;11163:42;11148:58;11133:74;;11020:201;-1:-1:-1;;;;;11267:1:1;11251:14;;;11247:22;11234:36;;-1:-1:-1;10185:1352:1:o;12573:128::-;12640:9;;;12661:11;;;12658:37;;;12675:18;;:::i;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://6fd1f5a99bc3f7957fcf7f43a110e52e6d164d0893bcb8ffdf20930489644c9a
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.