ETH Price: $3,413.06 (-1.44%)
Gas: 5 Gwei

Token

Rosentica: Starfall Travelers (ROSE)
 

Overview

Max Total Supply

6,000 ROSE

Holders

990

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
shitake.eth
Balance
2 ROSE
0x80f22abd952d99d1ab4658b0628f575ba6b8edaf
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Welcome to Elvinia, Starfall Travelers. Embark on a wondrous journey with the "Starfall Travelers" Collection, the original genesis of the fantasy series Rosentica.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Rosentica

Compiler Version
v0.8.13+commit.abaa5c0e

Optimization Enabled:
Yes with 2000 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2024-01-30
*/

/*                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
        @@@@@@@@@@@@@@@@@@@@@                                                                                                                                                                   
           /@@@@@        @@@@@@                                                                                                                                                                
            @@@@@          @@@@@            @                                                           @@@@@@@@@@@@@@@@@@@@@@@                    *@                                          
            @@@@@          @@@@@@@       @@@@@@@           @@@@@@@@@@% @@@@@@@@@@@@@@. @@@@@@        @@@@@@      @@@@            @@@@         @@@@@@@@@@@@          @@@@                       
            @@@@@          @@@@@       @@@@@@@*  (&      @@@        @%   @@@        @    @@@@@@        @@        @@@@            @@@@      @@@@@    @     @@@      @@@@@@                      
            @@@@@       @@@@@@@    @@ @@@@&@@@@@ @@@@    @@@@        (   @@@             @@ @@@@@      @@        @@@@            @@@@     @@@@                    @@@ @@@@                     
            @@@@@@@@@@@@@@@@@     @@@  @@@@@ @@@@,@@@@@   @@@@@@@        @@@             @@   @@@@@    @@        @@@@            @@@@    @@@@                    #@@   @@@%                    
            @@@@@       @@@@@    @@@@@ @@@@@  @@@  @@@@@     ,@@@@@@@    @@@@@@@@@       @@     @@@@#  @@        @@@@            @@@@  *@@@@@&                  *@@    &@@@/                   
            @@@@@         @@@@*    @@@@@% @@@@@@   (@@            @@@@@  @@@             @@       @@@@ @@        @@@@            @@@@    @@@@                   @@       @@@                   
            @@@@@          @@@@@     @@@@@ @@/@@@@@@@   @          @@@@  @@@             @@         @@@@@        @@@@            @@@@     @@@@                 @@         @@@                  
            @@@@@           @@@@@      @@@@@@@@@@@      @@@@      @@@@   @@@        @@   @@          @@@@        @@@@            @@@@       @@@@@  @@   .@@@  @@          (@@@                 
            @@@@@            @@@@@ @      @@@@          @   @@@@@@@    @@@@@@@@@@&%&%& @@@@@@          @@@@     &@@@@@          @@@@@@          @@@@@@@@*   @@@@@         @@@@@@@              
            @@@@@@&           @@@@@@                       @@                                                                                       *                                          
            @@@                  @@@@@@,   @        @   @@                                                                                                                                     
            @                        @@@@@@@@@@@@@@@@@                                                                                                                                          
                                             &                                                                                                                                                                                                                                                                                                                             
*/    

// Made with love by Kiwi and CatInKleins <3


// SPDX-License-Identifier: MIT

// File @openzeppelin/contracts/utils/[email protected]

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

pragma solidity ^0.8.4;

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

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


// File @openzeppelin/contracts/access/[email protected]


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



/**
 * @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 @openzeppelin/contracts/utils/introspection/[email protected]


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



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


// File @openzeppelin/contracts/interfaces/[email protected]


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



/**
 * @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 @openzeppelin/contracts/utils/introspection/[email protected]


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



/**
 * @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 @openzeppelin/contracts/token/common/[email protected]


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




/**
 * @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 @openzeppelin/contracts/utils/math/[email protected]


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



/**
 * @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;
    }


    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 @openzeppelin/contracts/utils/math/[email protected]


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



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

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

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

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


// File @openzeppelin/contracts/utils/[email protected]


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




/**
 * @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 @openzeppelin/contracts/utils/cryptography/[email protected]


// OpenZeppelin Contracts (last updated v4.9.2) (utils/cryptography/MerkleProof.sol)



/**
 * @dev These functions deal with verification of Merkle Tree proofs.
 *
 * The tree and the proofs can be generated using our
 * https://github.com/OpenZeppelin/merkle-tree[JavaScript library].
 * You will find a quickstart guide in the readme.
 *
 * WARNING: You should avoid using leaf values that are 64 bytes long prior to
 * hashing, or use a hash function other than keccak256 for hashing leaves.
 * This is because the concatenation of a sorted pair of internal nodes in
 * the merkle tree could be reinterpreted as a leaf value.
 * OpenZeppelin's JavaScript library generates merkle trees that are safe
 * against this attack out of the box.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(bytes32[] memory proof, bytes32 root, bytes32 leaf) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

    /**
     * @dev Calldata version of {verify}
     *
     * _Available since v4.7._
     */
    function verifyCalldata(bytes32[] calldata proof, bytes32 root, bytes32 leaf) internal pure returns (bool) {
        return processProofCalldata(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up
     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
     * hash matches the root of the tree. When processing the proof, the pairs
     * of leafs & pre-images are assumed to be sorted.
     *
     * _Available since v4.4._
     */
    function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Calldata version of {processProof}
     *
     * _Available since v4.7._
     */
    function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Returns true if the `leaves` can be simultaneously proven to be a part of a merkle tree defined by
     * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}.
     *
     * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details.
     *
     * _Available since v4.7._
     */
    function multiProofVerify(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProof(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Calldata version of {multiProofVerify}
     *
     * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details.
     *
     * _Available since v4.7._
     */
    function multiProofVerifyCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProofCalldata(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Returns the root of a tree reconstructed from `leaves` and sibling nodes in `proof`. The reconstruction
     * proceeds by incrementally reconstructing all inner nodes by combining a leaf/inner node with either another
     * leaf/inner node or a proof sibling node, depending on whether each `proofFlags` item is true or false
     * respectively.
     *
     * CAUTION: Not all merkle trees admit multiproofs. To use multiproofs, it is sufficient to ensure that: 1) the tree
     * is complete (but not necessarily perfect), 2) the leaves to be proven are in the opposite order they are in the
     * tree (i.e., as seen from right to left starting at the deepest layer and continuing at the next layer).
     *
     * _Available since v4.7._
     */
    function processMultiProof(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuilds the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 proofLen = proof.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proofLen - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value from the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i]
                ? (leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++])
                : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            require(proofPos == proofLen, "MerkleProof: invalid multiproof");
            unchecked {
                return hashes[totalHashes - 1];
            }
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    /**
     * @dev Calldata version of {processMultiProof}.
     *
     * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details.
     *
     * _Available since v4.7._
     */
    function processMultiProofCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuilds the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 proofLen = proof.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proofLen - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value from the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i]
                ? (leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++])
                : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            require(proofPos == proofLen, "MerkleProof: invalid multiproof");
            unchecked {
                return hashes[totalHashes - 1];
            }
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) {
        return a < b ? _efficientHash(a, b) : _efficientHash(b, a);
    }

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        /// @solidity memory-safe-assembly
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}


// File erc721a/contracts/[email protected]


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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


// File erc721a/contracts/[email protected]


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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        return _tokenApprovals[tokenId].value;
    }

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            uint256 toMasked;
            uint256 end = startTokenId + quantity;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        address from = address(uint160(prevOwnershipPacked));

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

contract Rosentica is Ownable, ERC721A, ERC2981 {

    //--------------------------------------------------------
    // Storage
    //--------------------------------------------------------

    uint96 constant private ROYALTY_FEE_NUMERATOR = 500;    // 500/10000 = 5%

    address public managerAddress; 

    bool public allPaused;
    bool public transferAndApprovalAllowed;

    uint256 public maxSupply = 6000;
    uint256 public waitlistSupply = 1000;
    uint256 public teamSupply = 200;
    uint256 public publicMintLimit = 2;
    uint256 public waitlistMintPrice = 0.06 ether;
    uint256 public whitelistMintPrice = 0.06 ether;
    uint256 public publicMintPrice = 0.069 ether;

    mapping(address => uint256) public waitlistMintedAmount;
    mapping(address => uint256) public whitelistMintedAmount;
    mapping(address => uint256) public publicMintedAmount;

    // Start and End Times for each sale
    uint64 public waitlistSaleStartTime; // Waitlist start time - 1 hour
    uint64 public whitelistSaleStartTime; // Whitelist start time - 1 hour
    uint64 public publicSaleStartTime;
    uint64 public publicSaleEndTime;

    bytes32 public waitlistMerkleRoot; // Waitlist merkle root
    bytes32 public whitelistMerkleRoot; // Whitelist merkle root

    string public baseURI;

    //--------------------------------------------------------
    // Modifiers
    //--------------------------------------------------------

    modifier onlyOwnerOrManager() {
        require( msg.sender == owner() || msg.sender == managerAddress, "Caller is not owner/manager!" );
        _;
    }

    //--------------------------------------------------------
    // Constructor
    //--------------------------------------------------------

    constructor(address _manager, address ROYALTY_ADDRESS) ERC721A("Rosentica: Starfall Travelers", "ROSE") {
    	_setDefaultRoyalty( ROYALTY_ADDRESS, ROYALTY_FEE_NUMERATOR );
        managerAddress = _manager;
    }

    //--------------------------------------------------------
    // [Override] supportsInterface
    //--------------------------------------------------------

    function supportsInterface(bytes4 interfaceId) public view override( ERC721A, ERC2981 ) returns (bool) {
        return super.supportsInterface(interfaceId);
    }

    //--------------------------------------------------------
    // [External][onlyOwnerOrManager] for ERC2981
    //--------------------------------------------------------

    function setDefaultRoyalty( address receiver, uint96 feeNumerator ) external onlyOwnerOrManager { _setDefaultRoyalty( receiver, feeNumerator ); }
    function deleteDefaultRoyalty() external onlyOwnerOrManager { _deleteDefaultRoyalty(); }
    function setTokenRoyalty( uint256 tokenId, address receiver, uint96 feeNumerator ) external onlyOwnerOrManager { _setTokenRoyalty( tokenId, receiver, feeNumerator ); }
    function resetTokenRoyalty( uint256 tokenId ) external onlyOwnerOrManager { _resetTokenRoyalty( tokenId ); }

    //--------------------------------------------------------
    // [Public/Override/onlyAllowedOperatorApproval] for Trading pause
    //--------------------------------------------------------

    function setApprovalForAll(address operator, bool approved) public override { 
        require(transferAndApprovalAllowed, "Transfers paused"); super.setApprovalForAll(operator, approved); 
    }
    function approve(address operator, uint256 tokenId) public override payable { 
        require(transferAndApprovalAllowed, "Transfers paused"); super.approve(operator, tokenId); 
    }
    function transferFrom(address from, address to, uint256 tokenId) public override payable { 
        require(transferAndApprovalAllowed, "Transfers paused"); super.transferFrom(from, to, tokenId); 
    }
    function safeTransferFrom(address from, address to, uint256 tokenId) public override payable { 
        require(transferAndApprovalAllowed, "Transfers paused"); super.safeTransferFrom(from, to, tokenId); 
    }
    function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public override payable { 
        require(transferAndApprovalAllowed, "Transfers paused"); super.safeTransferFrom(from, to, tokenId, data); 
    }

    //--------------------------------------------------------
    //  [External] Mint functions for general public
    //--------------------------------------------------------

    function mint(uint64 mintAmount, bytes32[] calldata merkleProof, uint256 merkleMaxAmount) payable external {
        require(mintAmount > 0, "Can't mint 0");
	    require(totalSupply() + mintAmount <= maxSupply, "Sold out!"); // Check for supply
        require(_saleOpen(waitlistSaleStartTime, publicSaleEndTime), "Sale ended!"); // Check for time

        uint256 price;

        if (block.timestamp > waitlistSaleStartTime && block.timestamp < publicSaleStartTime) {
            bytes32 node = keccak256(abi.encodePacked(msg.sender, merkleMaxAmount));
            // Waitlist mint phase
            if(block.timestamp > waitlistSaleStartTime && block.timestamp < whitelistSaleStartTime) {
                require(MerkleProof.verify(merkleProof, waitlistMerkleRoot, node), "Merkle failed!");
                require(mintAmount <= waitlistSupply, "Waitlist is sold out!");
                waitlistSupply -= mintAmount;

                uint256 totalMinted = waitlistMintedAmount[msg.sender] + mintAmount;
                require(totalMinted <= merkleMaxAmount, "Mint amount exceeds allocation!");
                waitlistMintedAmount[msg.sender] = totalMinted;

                price = waitlistMintPrice;
            // Whitelist mint phase
            } else if(block.timestamp > whitelistSaleStartTime && block.timestamp < publicSaleStartTime) {
                require(MerkleProof.verify(merkleProof, whitelistMerkleRoot, node), "Merkle failed!");

                uint256 totalMinted = whitelistMintedAmount[msg.sender] + mintAmount;
                require(totalMinted <= merkleMaxAmount, "Mint amount exceeds allocation!");
                whitelistMintedAmount[msg.sender] = totalMinted;

                price = whitelistMintPrice;
            }
        // Public mint phase
        } else if (block.timestamp > publicSaleStartTime && block.timestamp < publicSaleEndTime) {
            uint256 totalMinted = publicMintedAmount[msg.sender] + mintAmount;
            require(totalMinted <= publicMintLimit, "At public limit!");
            publicMintedAmount[msg.sender] = totalMinted;

            price = publicMintPrice;
        }
        
        require(msg.value == mintAmount * price, "Not right ETH sent!");

        _mint(msg.sender, mintAmount);
    }

    //--------------------------------------------------------
    // [External][onlyOwnerOrManager] Sale managing functions/ Dev mint/ Withdraw ETH 
    //--------------------------------------------------------
    
    function devMint(address who, uint256 mintAmount) external onlyOwnerOrManager {
        require(totalSupply() + mintAmount <= maxSupply, "Sold out!");

        // Pre-sale dev mint (limited)
        if (block.timestamp < publicSaleEndTime) {
            require(mintAmount <= teamSupply, "Mint amount is too large");
            teamSupply -= mintAmount;
        // After-sale dev mint (unlimited)
        }

        _mint(who, mintAmount);
    }

    // Cuts the supply
    function burnBabyBurn() external onlyOwnerOrManager {
        require(block.timestamp > publicSaleEndTime, "Can only burn after the end of sale!");
        maxSupply = totalSupply();
    }

    // Switch to allow secondary trading
    function allowTrading() external onlyOwnerOrManager {
        require(block.timestamp > publicSaleEndTime || maxSupply == totalSupply(), "Can only unpause after the end of sale or sold out!");
        transferAndApprovalAllowed = true;
    }

    function withdraw() public onlyOwnerOrManager {
        address TUE = 0x84B3A1d7E920eC4D3099E2508a3E99239002Df6B;
        address MAY = 0xd2D7b746ca11f22e8030348a321f1c1a2660d12a;
        address KIWI = 0xFe2875DcACD1D92Ca755C0a3DEF4a8debd970643; 
        address FOZZIE = 0x73D05c2Ea70dFC3B220444c94567dbc84Bb0d24C;
        address OKKU = 0x4CFCf19B86479490AE91244bA79e373197A75421;
        address TREASURY = 0xF196D961B4e8967caF00aE835FDd60743f414bA3;
        address NATSUKI = 0xffE6830eE2e4CAF60911bcb623038c21B49aAab6;

        uint256 totalBalance = address(this).balance;
        sendValue(TUE, percentOfTotal(totalBalance, 0.03 gwei)); 
        sendValue(MAY, percentOfTotal(totalBalance, 0.06 gwei)); 
        sendValue(KIWI, percentOfTotal(totalBalance, 0.03 gwei));
        sendValue(FOZZIE, percentOfTotal(totalBalance, 0.03 gwei)); 
        sendValue(NATSUKI, percentOfTotal(totalBalance, 0.15 gwei));
        sendValue(OKKU, percentOfTotal(totalBalance, 0.3 gwei));
        sendValue(TREASURY, address(this).balance); 
    }

    function percentOfTotal(uint256 total, uint256 percentInGwei) internal pure returns (uint256) {
        return (total * percentInGwei) / 1 gwei;
    }

    function sendValue(address recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        (bool success, ) = payable(recipient).call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    //--------------------------------------------------------
    // [External][onlyOwnerOrManager] Setters for the contract
    //--------------------------------------------------------

    function setManager(address to) external onlyOwner {
        managerAddress = to;
    }

    function setPauseState(bool state) public onlyOwnerOrManager {
	    allPaused = state;
    }

    function setBaseURI(string memory newURI) public onlyOwnerOrManager {
	    baseURI = newURI;
    }

    // Sets timestamps for the sale
    function setSaleTimes(uint64 _waitlistSaleStartTime, uint64 _whitelistSaleStartTime, uint64 _publicSaleStartTime, uint64 _publicSaleEndTime) external onlyOwnerOrManager {
        require(_waitlistSaleStartTime < _whitelistSaleStartTime && _whitelistSaleStartTime < _publicSaleStartTime && _publicSaleStartTime < _publicSaleEndTime, "Wrong time!");

        waitlistSaleStartTime = _waitlistSaleStartTime;
        whitelistSaleStartTime = _whitelistSaleStartTime;
        publicSaleStartTime = _publicSaleStartTime;
        publicSaleEndTime = _publicSaleEndTime;
    }

    function setSaleRoots(bytes32 _waitlistMerkleRoot, bytes32 _whitelistMerkleRoot) public onlyOwnerOrManager {
	    waitlistMerkleRoot = _waitlistMerkleRoot;
        whitelistMerkleRoot = _whitelistMerkleRoot;
    }
    
    function setSaleData(uint256 _waitlistMintPrice, uint256 _whitelistMintPrice, uint256 _publicMintPrice, uint256 _publicMintLimit) external onlyOwnerOrManager {
        waitlistMintPrice = _waitlistMintPrice;
        whitelistMintPrice = _whitelistMintPrice;
        publicMintPrice = _publicMintPrice;
        publicMintLimit = _publicMintLimit;
    }

    //--------------------------------------------------------
    //  [Internal] Getters for collection info
    //--------------------------------------------------------

    function _saleOpen(uint256 startTime, uint256 endTime) internal view returns (bool) {
    	return !allPaused && block.timestamp > startTime && block.timestamp < endTime;
    }

    function _startTokenId() internal pure virtual override returns (uint256) {
	    return 1;
    }

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_manager","type":"address"},{"internalType":"address","name":"ROYALTY_ADDRESS","type":"address"}],"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":[],"name":"allPaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"allowTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","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":"burnBabyBurn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"deleteDefaultRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"who","type":"address"},{"internalType":"uint256","name":"mintAmount","type":"uint256"}],"name":"devMint","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":"managerAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint64","name":"mintAmount","type":"uint64"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"},{"internalType":"uint256","name":"merkleMaxAmount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicMintLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicMintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"publicMintedAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSaleEndTime","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSaleStartTime","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"resetTokenRoyalty","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":"newURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint96","name":"feeNumerator","type":"uint96"}],"name":"setDefaultRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"setManager","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"state","type":"bool"}],"name":"setPauseState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_waitlistMintPrice","type":"uint256"},{"internalType":"uint256","name":"_whitelistMintPrice","type":"uint256"},{"internalType":"uint256","name":"_publicMintPrice","type":"uint256"},{"internalType":"uint256","name":"_publicMintLimit","type":"uint256"}],"name":"setSaleData","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_waitlistMerkleRoot","type":"bytes32"},{"internalType":"bytes32","name":"_whitelistMerkleRoot","type":"bytes32"}],"name":"setSaleRoots","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint64","name":"_waitlistSaleStartTime","type":"uint64"},{"internalType":"uint64","name":"_whitelistSaleStartTime","type":"uint64"},{"internalType":"uint64","name":"_publicSaleStartTime","type":"uint64"},{"internalType":"uint64","name":"_publicSaleEndTime","type":"uint64"}],"name":"setSaleTimes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint96","name":"feeNumerator","type":"uint96"}],"name":"setTokenRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"teamSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[],"name":"transferAndApprovalAllowed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"waitlistMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"waitlistMintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"waitlistMintedAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"waitlistSaleStartTime","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"waitlistSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelistMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelistMintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelistMintedAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelistSaleStartTime","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052611770600c556103e8600d5560c8600e556002600f5566d529ae9e86000060105566d529ae9e86000060115566f52322698080006012553480156200004857600080fd5b5060405162003971380380620039718339810160408190526200006b916200035b565b6040518060400160405280601d81526020017f526f73656e746963613a205374617266616c6c2054726176656c65727300000081525060405180604001604052806004815260200163524f534560e01b815250620000d8620000d26200013f60201b60201c565b62000143565b8151620000ed90600390602085019062000298565b5080516200010390600490602084019062000298565b5050600180555062000118816101f462000193565b50600b80546001600160a01b0319166001600160a01b0392909216919091179055620003cf565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6127106001600160601b0382161115620002075760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b60648201526084015b60405180910390fd5b6001600160a01b0382166200025f5760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401620001fe565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600955565b828054620002a69062000393565b90600052602060002090601f016020900481019282620002ca576000855562000315565b82601f10620002e557805160ff191683800117855562000315565b8280016001018555821562000315579182015b8281111562000315578251825591602001919060010190620002f8565b506200032392915062000327565b5090565b5b8082111562000323576000815560010162000328565b80516001600160a01b03811681146200035657600080fd5b919050565b600080604083850312156200036f57600080fd5b6200037a836200033e565b91506200038a602084016200033e565b90509250929050565b600181811c90821680620003a857607f821691505b602082108103620003c957634e487b7160e01b600052602260045260246000fd5b50919050565b61359280620003df6000396000f3fe60806040526004361061034a5760003560e01c8063715018a6116101bb578063bb485b88116100f7578063d5abeb0111610095578063ead29d4e1161006f578063ead29d4e14610957578063f26f158f14610984578063f2fde38b146109a4578063f59ab5e2146109c457600080fd5b8063d5abeb01146108e2578063dc53fd92146108f8578063e985e9c51461090e57600080fd5b8063cdb88ad1116100d1578063cdb88ad114610855578063cf73a1bc14610875578063d0ebdbe714610895578063d38b74af146108b557600080fd5b8063bb485b8814610809578063c5f6b7cd1461081f578063c87b56dd1461083557600080fd5b8063920f4c3d11610164578063a22cb4651161013e578063a22cb465146107ab578063aa1b103f146107cb578063aa98e0c6146107e0578063b88d4fde146107f657600080fd5b8063920f4c3d1461075f57806395d89b411461078057806399bf40da1461079557600080fd5b80638a616bc0116101955780638a616bc01461070e5780638da5cb5b1461072e5780638df54c9b1461074c57600080fd5b8063715018a6146106ce5780637721711f146106e3578063881b3f21146106f957600080fd5b806335c6aaf81161028a5780635944c75311610233578063697a80b71161020d578063697a80b7146106505780636bb7b1d9146106715780636c0360eb1461069957806370a08231146106ae57600080fd5b80635944c753146105f0578063627804af146106105780636352211e1461063057600080fd5b806342842e0e1161026457806342842e0e1461059d578063534ac903146105b057806355f804b3146105d057600080fd5b806335c6aaf8146105525780633ccfd60b146105685780633f08e99b1461057d57600080fd5b80631e4d185f116102f757806323b872dd116102d157806323b872dd146104d55780632a55205a146104e85780632cfac6ec146105275780632e5b4c431461053d57600080fd5b80631e4d185f1461043a5780631fac2a351461047b578063230b43f4146104a857600080fd5b8063081812fc11610328578063081812fc146103c8578063095ea7b31461040057806318160ddd1461041357600080fd5b806301ffc9a71461034f57806304634d8d1461038457806306fdde03146103a6575b600080fd5b34801561035b57600080fd5b5061036f61036a366004612eff565b6109e5565b60405190151581526020015b60405180910390f35b34801561039057600080fd5b506103a461039f366004612f54565b6109f6565b005b3480156103b257600080fd5b506103bb610a78565b60405161037b9190612fdf565b3480156103d457600080fd5b506103e86103e3366004612ff2565b610b0a565b6040516001600160a01b03909116815260200161037b565b6103a461040e36600461300b565b610b67565b34801561041f57600080fd5b5060025460015403600019015b60405190815260200161037b565b34801561044657600080fd5b5060165461046290600160c01b900467ffffffffffffffff1681565b60405167ffffffffffffffff909116815260200161037b565b34801561048757600080fd5b5061042c610496366004613035565b60146020526000908152604090205481565b3480156104b457600080fd5b506016546104629068010000000000000000900467ffffffffffffffff1681565b6103a46104e3366004613050565b610bbd565b3480156104f457600080fd5b5061050861050336600461308c565b610c19565b604080516001600160a01b03909316835260208301919091520161037b565b34801561053357600080fd5b5061042c600e5481565b34801561054957600080fd5b506103a4610cd4565b34801561055e57600080fd5b5061042c60115481565b34801561057457600080fd5b506103a4610e11565b34801561058957600080fd5b506103a46105983660046130c6565b610f99565b6103a46105ab366004613050565b611141565b3480156105bc57600080fd5b506103a46105cb36600461311a565b611198565b3480156105dc57600080fd5b506103a46105eb3660046131d8565b61121b565b3480156105fc57600080fd5b506103a461060b366004613221565b61129d565b34801561061c57600080fd5b506103a461062b36600461300b565b611317565b34801561063c57600080fd5b506103e861064b366004612ff2565b61147e565b34801561065c57600080fd5b50600b5461036f90600160a01b900460ff1681565b34801561067d57600080fd5b5060165461046290600160801b900467ffffffffffffffff1681565b3480156106a557600080fd5b506103bb611489565b3480156106ba57600080fd5b5061042c6106c9366004613035565b611517565b3480156106da57600080fd5b506103a461157f565b3480156106ef57600080fd5b5061042c600d5481565b34801561070557600080fd5b506103a4611593565b34801561071a57600080fd5b506103a4610729366004612ff2565b611699565b34801561073a57600080fd5b506000546001600160a01b03166103e8565b6103a461075a36600461325d565b61171c565b34801561076b57600080fd5b50600b5461036f90600160a81b900460ff1681565b34801561078c57600080fd5b506103bb611d55565b3480156107a157600080fd5b5061042c60175481565b3480156107b757600080fd5b506103a46107c63660046132f9565b611d64565b3480156107d757600080fd5b506103a4611dba565b3480156107ec57600080fd5b5061042c60185481565b6103a4610804366004613323565b611e33565b34801561081557600080fd5b5061042c600f5481565b34801561082b57600080fd5b5061042c60105481565b34801561084157600080fd5b506103bb610850366004612ff2565b611e91565b34801561086157600080fd5b506103a461087036600461339f565b611f2e565b34801561088157600080fd5b50600b546103e8906001600160a01b031681565b3480156108a157600080fd5b506103a46108b0366004613035565b611fd6565b3480156108c157600080fd5b5061042c6108d0366004613035565b60136020526000908152604090205481565b3480156108ee57600080fd5b5061042c600c5481565b34801561090457600080fd5b5061042c60125481565b34801561091a57600080fd5b5061036f6109293660046133ba565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b34801561096357600080fd5b5061042c610972366004613035565b60156020526000908152604090205481565b34801561099057600080fd5b506103a461099f36600461308c565b61200d565b3480156109b057600080fd5b506103a46109bf366004613035565b612087565b3480156109d057600080fd5b506016546104629067ffffffffffffffff1681565b60006109f082612114565b92915050565b6000546001600160a01b0316331480610a195750600b546001600160a01b031633145b610a6a5760405162461bcd60e51b815260206004820152601c60248201527f43616c6c6572206973206e6f74206f776e65722f6d616e61676572210000000060448201526064015b60405180910390fd5b610a7482826121ab565b5050565b606060038054610a87906133e4565b80601f0160208091040260200160405190810160405280929190818152602001828054610ab3906133e4565b8015610b005780601f10610ad557610100808354040283529160200191610b00565b820191906000526020600020905b815481529060010190602001808311610ae357829003601f168201915b5050505050905090565b6000610b15826122c5565b610b4b576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b600b54600160a81b900460ff16610bb35760405162461bcd60e51b815260206004820152601060248201526f151c985b9cd9995c9cc81c185d5cd95960821b6044820152606401610a61565b610a748282612313565b600b54600160a81b900460ff16610c095760405162461bcd60e51b815260206004820152601060248201526f151c985b9cd9995c9cc81c185d5cd95960821b6044820152606401610a61565b610c148383836123d9565b505050565b6000828152600a602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046bffffffffffffffffffffffff16928201929092528291610c985750604080518082019091526009546001600160a01b0381168252600160a01b90046bffffffffffffffffffffffff1660208201525b602081015160009061271090610cbc906bffffffffffffffffffffffff1687613434565b610cc69190613453565b915196919550909350505050565b6000546001600160a01b0316331480610cf75750600b546001600160a01b031633145b610d435760405162461bcd60e51b815260206004820152601c60248201527f43616c6c6572206973206e6f74206f776e65722f6d616e6167657221000000006044820152606401610a61565b601654600160c01b900467ffffffffffffffff16421180610d6f57506002546001540360001901600c54145b610de15760405162461bcd60e51b815260206004820152603360248201527f43616e206f6e6c7920756e70617573652061667465722074686520656e64206f60448201527f662073616c65206f7220736f6c64206f757421000000000000000000000000006064820152608401610a61565b600b80547fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff16600160a81b179055565b6000546001600160a01b0316331480610e345750600b546001600160a01b031633145b610e805760405162461bcd60e51b815260206004820152601c60248201527f43616c6c6572206973206e6f74206f776e65722f6d616e6167657221000000006044820152606401610a61565b7384b3a1d7e920ec4d3099e2508a3e99239002df6b73d2d7b746ca11f22e8030348a321f1c1a2660d12a73fe2875dcacd1d92ca755c0a3def4a8debd9706437373d05c2ea70dfc3b220444c94567dbc84bb0d24c734cfcf19b86479490ae91244ba79e373197a7542173f196d961b4e8967caf00ae835fdd60743f414ba373ffe6830ee2e4caf60911bcb623038c21b49aaab647610f2b88610f26836301c9c3806125ef565b61260a565b610f3d87610f268363039387006125ef565b610f4f86610f26836301c9c3806125ef565b610f6185610f26836301c9c3806125ef565b610f7382610f26836308f0d1806125ef565b610f8584610f26836311e1a3006125ef565b610f8f834761260a565b5050505050505050565b6000546001600160a01b0316331480610fbc5750600b546001600160a01b031633145b6110085760405162461bcd60e51b815260206004820152601c60248201527f43616c6c6572206973206e6f74206f776e65722f6d616e6167657221000000006044820152606401610a61565b8267ffffffffffffffff168467ffffffffffffffff1610801561103e57508167ffffffffffffffff168367ffffffffffffffff16105b801561105d57508067ffffffffffffffff168267ffffffffffffffff16105b6110a95760405162461bcd60e51b815260206004820152600b60248201527f57726f6e672074696d65210000000000000000000000000000000000000000006044820152606401610a61565b6016805467ffffffffffffffff9586167fffffffffffffffffffffffffffffffff00000000000000000000000000000000909116176801000000000000000094861694909402939093176fffffffffffffffffffffffffffffffff16600160801b9285169290920277ffffffffffffffffffffffffffffffffffffffffffffffff1691909117600160c01b9190931602919091179055565b600b54600160a81b900460ff1661118d5760405162461bcd60e51b815260206004820152601060248201526f151c985b9cd9995c9cc81c185d5cd95960821b6044820152606401610a61565b610c14838383612723565b6000546001600160a01b03163314806111bb5750600b546001600160a01b031633145b6112075760405162461bcd60e51b815260206004820152601c60248201527f43616c6c6572206973206e6f74206f776e65722f6d616e6167657221000000006044820152606401610a61565b601093909355601191909155601255600f55565b6000546001600160a01b031633148061123e5750600b546001600160a01b031633145b61128a5760405162461bcd60e51b815260206004820152601c60248201527f43616c6c6572206973206e6f74206f776e65722f6d616e6167657221000000006044820152606401610a61565b8051610a74906019906020840190612e38565b6000546001600160a01b03163314806112c05750600b546001600160a01b031633145b61130c5760405162461bcd60e51b815260206004820152601c60248201527f43616c6c6572206973206e6f74206f776e65722f6d616e6167657221000000006044820152606401610a61565b610c1483838361273e565b6000546001600160a01b031633148061133a5750600b546001600160a01b031633145b6113865760405162461bcd60e51b815260206004820152601c60248201527f43616c6c6572206973206e6f74206f776e65722f6d616e6167657221000000006044820152606401610a61565b600c5460025460015483919003600019016113a19190613475565b11156113ef5760405162461bcd60e51b815260206004820152600960248201527f536f6c64206f75742100000000000000000000000000000000000000000000006044820152606401610a61565b601654600160c01b900467ffffffffffffffff1642101561147457600e5481111561145c5760405162461bcd60e51b815260206004820152601860248201527f4d696e7420616d6f756e7420697320746f6f206c6172676500000000000000006044820152606401610a61565b80600e600082825461146e919061348d565b90915550505b610a748282612869565b60006109f08261299a565b60198054611496906133e4565b80601f01602080910402602001604051908101604052809291908181526020018280546114c2906133e4565b801561150f5780601f106114e45761010080835404028352916020019161150f565b820191906000526020600020905b8154815290600101906020018083116114f257829003601f168201915b505050505081565b60006001600160a01b038216611559576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b506001600160a01b031660009081526006602052604090205467ffffffffffffffff1690565b611587612a3b565b6115916000612a95565b565b6000546001600160a01b03163314806115b65750600b546001600160a01b031633145b6116025760405162461bcd60e51b815260206004820152601c60248201527f43616c6c6572206973206e6f74206f776e65722f6d616e6167657221000000006044820152606401610a61565b601654600160c01b900467ffffffffffffffff1642116116895760405162461bcd60e51b8152602060048201526024808201527f43616e206f6e6c79206275726e2061667465722074686520656e64206f66207360448201527f616c6521000000000000000000000000000000000000000000000000000000006064820152608401610a61565b6002546001540360001901600c55565b6000546001600160a01b03163314806116bc5750600b546001600160a01b031633145b6117085760405162461bcd60e51b815260206004820152601c60248201527f43616c6c6572206973206e6f74206f776e65722f6d616e6167657221000000006044820152606401610a61565b6000908152600a6020526040812055565b50565b60008467ffffffffffffffff16116117765760405162461bcd60e51b815260206004820152600c60248201527f43616e2774206d696e74203000000000000000000000000000000000000000006044820152606401610a61565b600c5460025460015467ffffffffffffffff87169190036000190161179b9190613475565b11156117e95760405162461bcd60e51b815260206004820152600960248201527f536f6c64206f75742100000000000000000000000000000000000000000000006044820152606401610a61565b60165461180a9067ffffffffffffffff80821691600160c01b900416612af2565b6118565760405162461bcd60e51b815260206004820152600b60248201527f53616c6520656e646564210000000000000000000000000000000000000000006044820152606401610a61565b60165460009067ffffffffffffffff16421180156118865750601654600160801b900467ffffffffffffffff1642105b15611c11576040517fffffffffffffffffffffffffffffffffffffffff0000000000000000000000003360601b1660208201526034810183905260009060540160408051601f19818403018152919052805160209091012060165490915067ffffffffffffffff1642118015611913575060165468010000000000000000900467ffffffffffffffff1642105b15611ab357611959858580806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506017549150849050612b1d565b6119a55760405162461bcd60e51b815260206004820152600e60248201527f4d65726b6c65206661696c6564210000000000000000000000000000000000006044820152606401610a61565b600d548667ffffffffffffffff161115611a015760405162461bcd60e51b815260206004820152601560248201527f576169746c69737420697320736f6c64206f75742100000000000000000000006044820152606401610a61565b8567ffffffffffffffff16600d6000828254611a1d919061348d565b909155505033600090815260136020526040812054611a479067ffffffffffffffff891690613475565b905083811115611a995760405162461bcd60e51b815260206004820152601f60248201527f4d696e7420616d6f756e74206578636565647320616c6c6f636174696f6e21006044820152606401610a61565b336000908152601360205260409020556010549150611c0b565b60165468010000000000000000900467ffffffffffffffff1642118015611aec5750601654600160801b900467ffffffffffffffff1642105b15611c0b57611b32858580806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506018549150849050612b1d565b611b7e5760405162461bcd60e51b815260206004820152600e60248201527f4d65726b6c65206661696c6564210000000000000000000000000000000000006044820152606401610a61565b33600090815260146020526040812054611ba39067ffffffffffffffff891690613475565b905083811115611bf55760405162461bcd60e51b815260206004820152601f60248201527f4d696e7420616d6f756e74206578636565647320616c6c6f636174696f6e21006044820152606401610a61565b3360009081526014602052604090205560115491505b50611cd8565b601654600160801b900467ffffffffffffffff1642118015611c455750601654600160c01b900467ffffffffffffffff1642105b15611cd85733600090815260156020526040812054611c6f9067ffffffffffffffff881690613475565b9050600f54811115611cc35760405162461bcd60e51b815260206004820152601060248201527f4174207075626c6963206c696d697421000000000000000000000000000000006044820152606401610a61565b33600090815260156020526040902055506012545b611cec8167ffffffffffffffff8716613434565b3414611d3a5760405162461bcd60e51b815260206004820152601360248201527f4e6f74207269676874204554482073656e7421000000000000000000000000006044820152606401610a61565b611d4e338667ffffffffffffffff16612869565b5050505050565b606060048054610a87906133e4565b600b54600160a81b900460ff16611db05760405162461bcd60e51b815260206004820152601060248201526f151c985b9cd9995c9cc81c185d5cd95960821b6044820152606401610a61565b610a748282612b33565b6000546001600160a01b0316331480611ddd5750600b546001600160a01b031633145b611e295760405162461bcd60e51b815260206004820152601c60248201527f43616c6c6572206973206e6f74206f776e65722f6d616e6167657221000000006044820152606401610a61565b6115916000600955565b600b54600160a81b900460ff16611e7f5760405162461bcd60e51b815260206004820152601060248201526f151c985b9cd9995c9cc81c185d5cd95960821b6044820152606401610a61565b611e8b84848484612bbd565b50505050565b6060611e9c826122c5565b611ed2576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611edc612c1a565b90508051600003611efc5760405180602001604052806000815250611f27565b80611f0684612c29565b604051602001611f179291906134a4565b6040516020818303038152906040525b9392505050565b6000546001600160a01b0316331480611f515750600b546001600160a01b031633145b611f9d5760405162461bcd60e51b815260206004820152601c60248201527f43616c6c6572206973206e6f74206f776e65722f6d616e6167657221000000006044820152606401610a61565b600b8054911515600160a01b027fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff909216919091179055565b611fde612a3b565b600b805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b6000546001600160a01b03163314806120305750600b546001600160a01b031633145b61207c5760405162461bcd60e51b815260206004820152601c60248201527f43616c6c6572206973206e6f74206f776e65722f6d616e6167657221000000006044820152606401610a61565b601791909155601855565b61208f612a3b565b6001600160a01b03811661210b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610a61565b61171981612a95565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f2a55205a0000000000000000000000000000000000000000000000000000000014806109f057507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316146109f0565b6127106bffffffffffffffffffffffff821611156122315760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c2065786365656460448201527f2073616c655072696365000000000000000000000000000000000000000000006064820152608401610a61565b6001600160a01b0382166122875760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401610a61565b604080518082019091526001600160a01b039092168083526bffffffffffffffffffffffff9091166020909201829052600160a01b90910217600955565b6000816001111580156122d9575060015482105b80156109f05750506000908152600560205260409020547c0100000000000000000000000000000000000000000000000000000000161590565b600061231e8261147e565b9050336001600160a01b038216146123705761233a8133610929565b612370576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600082815260076020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006123e48261299a565b9050836001600160a01b0316816001600160a01b031614612431576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008281526007602052604090208054338082146001600160a01b03881690911417612497576124618633610929565b612497576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b0385166124d7576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80156124e257600082555b6001600160a01b038681166000908152600660205260408082208054600019019055918716808252919020805460010190554260a01b177c0200000000000000000000000000000000000000000000000000000000176000858152600560205260408120919091557c0200000000000000000000000000000000000000000000000000000000841690036125a6576001840160008181526005602052604081205490036125a45760015481146125a45760008181526005602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b6000633b9aca006126008385613434565b611f279190613453565b8047101561265a5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610a61565b6000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146126a7576040519150601f19603f3d011682016040523d82523d6000602084013e6126ac565b606091505b5050905080610c145760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610a61565b610c1483838360405180602001604052806000815250611e33565b6127106bffffffffffffffffffffffff821611156127c45760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c2065786365656460448201527f2073616c655072696365000000000000000000000000000000000000000000006064820152608401610a61565b6001600160a01b03821661281a5760405162461bcd60e51b815260206004820152601b60248201527f455243323938313a20496e76616c696420706172616d657465727300000000006044820152606401610a61565b6040805180820182526001600160a01b0393841681526bffffffffffffffffffffffff92831660208083019182526000968752600a90529190942093519051909116600160a01b029116179055565b60015460008290036128a7576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b03831660008181526006602090815260408083208054680100000000000000018802019055848352600590915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461295657808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a460010161291e565b5081600003612991576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60015550505050565b60008180600111612a0957600154811015612a0957600081815260056020526040812054907c010000000000000000000000000000000000000000000000000000000082169003612a07575b80600003611f275750600019016000818152600560205260409020546129e6565b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000546001600160a01b031633146115915760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a61565b600080546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600b54600090600160a01b900460ff16158015612b0e57508242115b8015611f275750504210919050565b600082612b2a8584612c6d565b14949350505050565b3360008181526008602090815260408083206001600160a01b0387168085529083529281902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b612bc8848484610bbd565b6001600160a01b0383163b15611e8b57612be484848484612cba565b611e8b576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b606060198054610a87906133e4565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a900480612c435750819003601f19909101908152919050565b600081815b8451811015612cb257612c9e82868381518110612c9157612c916134d3565b6020026020010151612e09565b915080612caa816134e9565b915050612c72565b509392505050565b6040517f150b7a020000000000000000000000000000000000000000000000000000000081526000906001600160a01b0385169063150b7a0290612d08903390899088908890600401613503565b6020604051808303816000875af1925050508015612d43575060408051601f3d908101601f19168201909252612d409181019061353f565b60015b612dba573d808015612d71576040519150601f19603f3d011682016040523d82523d6000602084013e612d76565b606091505b508051600003612db2576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a02000000000000000000000000000000000000000000000000000000001490505b949350505050565b6000818310612e25576000828152602084905260409020611f27565b6000838152602083905260409020611f27565b828054612e44906133e4565b90600052602060002090601f016020900481019282612e665760008555612eac565b82601f10612e7f57805160ff1916838001178555612eac565b82800160010185558215612eac579182015b82811115612eac578251825591602001919060010190612e91565b50612eb8929150612ebc565b5090565b5b80821115612eb85760008155600101612ebd565b7fffffffff000000000000000000000000000000000000000000000000000000008116811461171957600080fd5b600060208284031215612f1157600080fd5b8135611f2781612ed1565b80356001600160a01b0381168114612f3357600080fd5b919050565b80356bffffffffffffffffffffffff81168114612f3357600080fd5b60008060408385031215612f6757600080fd5b612f7083612f1c565b9150612f7e60208401612f38565b90509250929050565b60005b83811015612fa2578181015183820152602001612f8a565b83811115611e8b5750506000910152565b60008151808452612fcb816020860160208601612f87565b601f01601f19169290920160200192915050565b602081526000611f276020830184612fb3565b60006020828403121561300457600080fd5b5035919050565b6000806040838503121561301e57600080fd5b61302783612f1c565b946020939093013593505050565b60006020828403121561304757600080fd5b611f2782612f1c565b60008060006060848603121561306557600080fd5b61306e84612f1c565b925061307c60208501612f1c565b9150604084013590509250925092565b6000806040838503121561309f57600080fd5b50508035926020909101359150565b803567ffffffffffffffff81168114612f3357600080fd5b600080600080608085870312156130dc57600080fd5b6130e5856130ae565b93506130f3602086016130ae565b9250613101604086016130ae565b915061310f606086016130ae565b905092959194509250565b6000806000806080858703121561313057600080fd5b5050823594602084013594506040840135936060013592509050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561317d5761317d61314c565b604051601f8501601f19908116603f011681019082821181831017156131a5576131a561314c565b816040528093508581528686860111156131be57600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156131ea57600080fd5b813567ffffffffffffffff81111561320157600080fd5b8201601f8101841361321257600080fd5b612e0184823560208401613162565b60008060006060848603121561323657600080fd5b8335925061324660208501612f1c565b915061325460408501612f38565b90509250925092565b6000806000806060858703121561327357600080fd5b61327c856130ae565b9350602085013567ffffffffffffffff8082111561329957600080fd5b818701915087601f8301126132ad57600080fd5b8135818111156132bc57600080fd5b8860208260051b85010111156132d157600080fd5b95986020929092019750949560400135945092505050565b80358015158114612f3357600080fd5b6000806040838503121561330c57600080fd5b61331583612f1c565b9150612f7e602084016132e9565b6000806000806080858703121561333957600080fd5b61334285612f1c565b935061335060208601612f1c565b925060408501359150606085013567ffffffffffffffff81111561337357600080fd5b8501601f8101871361338457600080fd5b61339387823560208401613162565b91505092959194509250565b6000602082840312156133b157600080fd5b611f27826132e9565b600080604083850312156133cd57600080fd5b6133d683612f1c565b9150612f7e60208401612f1c565b600181811c908216806133f857607f821691505b60208210810361341857634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600081600019048311821515161561344e5761344e61341e565b500290565b60008261347057634e487b7160e01b600052601260045260246000fd5b500490565b600082198211156134885761348861341e565b500190565b60008282101561349f5761349f61341e565b500390565b600083516134b6818460208801612f87565b8351908301906134ca818360208801612f87565b01949350505050565b634e487b7160e01b600052603260045260246000fd5b600060001982036134fc576134fc61341e565b5060010190565b60006001600160a01b038087168352808616602084015250836040830152608060608301526135356080830184612fb3565b9695505050505050565b60006020828403121561355157600080fd5b8151611f2781612ed156fea2646970667358221220c1a099304259e6f6fc48f60cc28af2936b893e3aaa548cd70fd5325d29dce28064736f6c634300080d0033000000000000000000000000ffe6830ee2e4caf60911bcb623038c21b49aaab6000000000000000000000000f196d961b4e8967caf00ae835fdd60743f414ba3

Deployed Bytecode

0x60806040526004361061034a5760003560e01c8063715018a6116101bb578063bb485b88116100f7578063d5abeb0111610095578063ead29d4e1161006f578063ead29d4e14610957578063f26f158f14610984578063f2fde38b146109a4578063f59ab5e2146109c457600080fd5b8063d5abeb01146108e2578063dc53fd92146108f8578063e985e9c51461090e57600080fd5b8063cdb88ad1116100d1578063cdb88ad114610855578063cf73a1bc14610875578063d0ebdbe714610895578063d38b74af146108b557600080fd5b8063bb485b8814610809578063c5f6b7cd1461081f578063c87b56dd1461083557600080fd5b8063920f4c3d11610164578063a22cb4651161013e578063a22cb465146107ab578063aa1b103f146107cb578063aa98e0c6146107e0578063b88d4fde146107f657600080fd5b8063920f4c3d1461075f57806395d89b411461078057806399bf40da1461079557600080fd5b80638a616bc0116101955780638a616bc01461070e5780638da5cb5b1461072e5780638df54c9b1461074c57600080fd5b8063715018a6146106ce5780637721711f146106e3578063881b3f21146106f957600080fd5b806335c6aaf81161028a5780635944c75311610233578063697a80b71161020d578063697a80b7146106505780636bb7b1d9146106715780636c0360eb1461069957806370a08231146106ae57600080fd5b80635944c753146105f0578063627804af146106105780636352211e1461063057600080fd5b806342842e0e1161026457806342842e0e1461059d578063534ac903146105b057806355f804b3146105d057600080fd5b806335c6aaf8146105525780633ccfd60b146105685780633f08e99b1461057d57600080fd5b80631e4d185f116102f757806323b872dd116102d157806323b872dd146104d55780632a55205a146104e85780632cfac6ec146105275780632e5b4c431461053d57600080fd5b80631e4d185f1461043a5780631fac2a351461047b578063230b43f4146104a857600080fd5b8063081812fc11610328578063081812fc146103c8578063095ea7b31461040057806318160ddd1461041357600080fd5b806301ffc9a71461034f57806304634d8d1461038457806306fdde03146103a6575b600080fd5b34801561035b57600080fd5b5061036f61036a366004612eff565b6109e5565b60405190151581526020015b60405180910390f35b34801561039057600080fd5b506103a461039f366004612f54565b6109f6565b005b3480156103b257600080fd5b506103bb610a78565b60405161037b9190612fdf565b3480156103d457600080fd5b506103e86103e3366004612ff2565b610b0a565b6040516001600160a01b03909116815260200161037b565b6103a461040e36600461300b565b610b67565b34801561041f57600080fd5b5060025460015403600019015b60405190815260200161037b565b34801561044657600080fd5b5060165461046290600160c01b900467ffffffffffffffff1681565b60405167ffffffffffffffff909116815260200161037b565b34801561048757600080fd5b5061042c610496366004613035565b60146020526000908152604090205481565b3480156104b457600080fd5b506016546104629068010000000000000000900467ffffffffffffffff1681565b6103a46104e3366004613050565b610bbd565b3480156104f457600080fd5b5061050861050336600461308c565b610c19565b604080516001600160a01b03909316835260208301919091520161037b565b34801561053357600080fd5b5061042c600e5481565b34801561054957600080fd5b506103a4610cd4565b34801561055e57600080fd5b5061042c60115481565b34801561057457600080fd5b506103a4610e11565b34801561058957600080fd5b506103a46105983660046130c6565b610f99565b6103a46105ab366004613050565b611141565b3480156105bc57600080fd5b506103a46105cb36600461311a565b611198565b3480156105dc57600080fd5b506103a46105eb3660046131d8565b61121b565b3480156105fc57600080fd5b506103a461060b366004613221565b61129d565b34801561061c57600080fd5b506103a461062b36600461300b565b611317565b34801561063c57600080fd5b506103e861064b366004612ff2565b61147e565b34801561065c57600080fd5b50600b5461036f90600160a01b900460ff1681565b34801561067d57600080fd5b5060165461046290600160801b900467ffffffffffffffff1681565b3480156106a557600080fd5b506103bb611489565b3480156106ba57600080fd5b5061042c6106c9366004613035565b611517565b3480156106da57600080fd5b506103a461157f565b3480156106ef57600080fd5b5061042c600d5481565b34801561070557600080fd5b506103a4611593565b34801561071a57600080fd5b506103a4610729366004612ff2565b611699565b34801561073a57600080fd5b506000546001600160a01b03166103e8565b6103a461075a36600461325d565b61171c565b34801561076b57600080fd5b50600b5461036f90600160a81b900460ff1681565b34801561078c57600080fd5b506103bb611d55565b3480156107a157600080fd5b5061042c60175481565b3480156107b757600080fd5b506103a46107c63660046132f9565b611d64565b3480156107d757600080fd5b506103a4611dba565b3480156107ec57600080fd5b5061042c60185481565b6103a4610804366004613323565b611e33565b34801561081557600080fd5b5061042c600f5481565b34801561082b57600080fd5b5061042c60105481565b34801561084157600080fd5b506103bb610850366004612ff2565b611e91565b34801561086157600080fd5b506103a461087036600461339f565b611f2e565b34801561088157600080fd5b50600b546103e8906001600160a01b031681565b3480156108a157600080fd5b506103a46108b0366004613035565b611fd6565b3480156108c157600080fd5b5061042c6108d0366004613035565b60136020526000908152604090205481565b3480156108ee57600080fd5b5061042c600c5481565b34801561090457600080fd5b5061042c60125481565b34801561091a57600080fd5b5061036f6109293660046133ba565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b34801561096357600080fd5b5061042c610972366004613035565b60156020526000908152604090205481565b34801561099057600080fd5b506103a461099f36600461308c565b61200d565b3480156109b057600080fd5b506103a46109bf366004613035565b612087565b3480156109d057600080fd5b506016546104629067ffffffffffffffff1681565b60006109f082612114565b92915050565b6000546001600160a01b0316331480610a195750600b546001600160a01b031633145b610a6a5760405162461bcd60e51b815260206004820152601c60248201527f43616c6c6572206973206e6f74206f776e65722f6d616e61676572210000000060448201526064015b60405180910390fd5b610a7482826121ab565b5050565b606060038054610a87906133e4565b80601f0160208091040260200160405190810160405280929190818152602001828054610ab3906133e4565b8015610b005780601f10610ad557610100808354040283529160200191610b00565b820191906000526020600020905b815481529060010190602001808311610ae357829003601f168201915b5050505050905090565b6000610b15826122c5565b610b4b576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b600b54600160a81b900460ff16610bb35760405162461bcd60e51b815260206004820152601060248201526f151c985b9cd9995c9cc81c185d5cd95960821b6044820152606401610a61565b610a748282612313565b600b54600160a81b900460ff16610c095760405162461bcd60e51b815260206004820152601060248201526f151c985b9cd9995c9cc81c185d5cd95960821b6044820152606401610a61565b610c148383836123d9565b505050565b6000828152600a602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046bffffffffffffffffffffffff16928201929092528291610c985750604080518082019091526009546001600160a01b0381168252600160a01b90046bffffffffffffffffffffffff1660208201525b602081015160009061271090610cbc906bffffffffffffffffffffffff1687613434565b610cc69190613453565b915196919550909350505050565b6000546001600160a01b0316331480610cf75750600b546001600160a01b031633145b610d435760405162461bcd60e51b815260206004820152601c60248201527f43616c6c6572206973206e6f74206f776e65722f6d616e6167657221000000006044820152606401610a61565b601654600160c01b900467ffffffffffffffff16421180610d6f57506002546001540360001901600c54145b610de15760405162461bcd60e51b815260206004820152603360248201527f43616e206f6e6c7920756e70617573652061667465722074686520656e64206f60448201527f662073616c65206f7220736f6c64206f757421000000000000000000000000006064820152608401610a61565b600b80547fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff16600160a81b179055565b6000546001600160a01b0316331480610e345750600b546001600160a01b031633145b610e805760405162461bcd60e51b815260206004820152601c60248201527f43616c6c6572206973206e6f74206f776e65722f6d616e6167657221000000006044820152606401610a61565b7384b3a1d7e920ec4d3099e2508a3e99239002df6b73d2d7b746ca11f22e8030348a321f1c1a2660d12a73fe2875dcacd1d92ca755c0a3def4a8debd9706437373d05c2ea70dfc3b220444c94567dbc84bb0d24c734cfcf19b86479490ae91244ba79e373197a7542173f196d961b4e8967caf00ae835fdd60743f414ba373ffe6830ee2e4caf60911bcb623038c21b49aaab647610f2b88610f26836301c9c3806125ef565b61260a565b610f3d87610f268363039387006125ef565b610f4f86610f26836301c9c3806125ef565b610f6185610f26836301c9c3806125ef565b610f7382610f26836308f0d1806125ef565b610f8584610f26836311e1a3006125ef565b610f8f834761260a565b5050505050505050565b6000546001600160a01b0316331480610fbc5750600b546001600160a01b031633145b6110085760405162461bcd60e51b815260206004820152601c60248201527f43616c6c6572206973206e6f74206f776e65722f6d616e6167657221000000006044820152606401610a61565b8267ffffffffffffffff168467ffffffffffffffff1610801561103e57508167ffffffffffffffff168367ffffffffffffffff16105b801561105d57508067ffffffffffffffff168267ffffffffffffffff16105b6110a95760405162461bcd60e51b815260206004820152600b60248201527f57726f6e672074696d65210000000000000000000000000000000000000000006044820152606401610a61565b6016805467ffffffffffffffff9586167fffffffffffffffffffffffffffffffff00000000000000000000000000000000909116176801000000000000000094861694909402939093176fffffffffffffffffffffffffffffffff16600160801b9285169290920277ffffffffffffffffffffffffffffffffffffffffffffffff1691909117600160c01b9190931602919091179055565b600b54600160a81b900460ff1661118d5760405162461bcd60e51b815260206004820152601060248201526f151c985b9cd9995c9cc81c185d5cd95960821b6044820152606401610a61565b610c14838383612723565b6000546001600160a01b03163314806111bb5750600b546001600160a01b031633145b6112075760405162461bcd60e51b815260206004820152601c60248201527f43616c6c6572206973206e6f74206f776e65722f6d616e6167657221000000006044820152606401610a61565b601093909355601191909155601255600f55565b6000546001600160a01b031633148061123e5750600b546001600160a01b031633145b61128a5760405162461bcd60e51b815260206004820152601c60248201527f43616c6c6572206973206e6f74206f776e65722f6d616e6167657221000000006044820152606401610a61565b8051610a74906019906020840190612e38565b6000546001600160a01b03163314806112c05750600b546001600160a01b031633145b61130c5760405162461bcd60e51b815260206004820152601c60248201527f43616c6c6572206973206e6f74206f776e65722f6d616e6167657221000000006044820152606401610a61565b610c1483838361273e565b6000546001600160a01b031633148061133a5750600b546001600160a01b031633145b6113865760405162461bcd60e51b815260206004820152601c60248201527f43616c6c6572206973206e6f74206f776e65722f6d616e6167657221000000006044820152606401610a61565b600c5460025460015483919003600019016113a19190613475565b11156113ef5760405162461bcd60e51b815260206004820152600960248201527f536f6c64206f75742100000000000000000000000000000000000000000000006044820152606401610a61565b601654600160c01b900467ffffffffffffffff1642101561147457600e5481111561145c5760405162461bcd60e51b815260206004820152601860248201527f4d696e7420616d6f756e7420697320746f6f206c6172676500000000000000006044820152606401610a61565b80600e600082825461146e919061348d565b90915550505b610a748282612869565b60006109f08261299a565b60198054611496906133e4565b80601f01602080910402602001604051908101604052809291908181526020018280546114c2906133e4565b801561150f5780601f106114e45761010080835404028352916020019161150f565b820191906000526020600020905b8154815290600101906020018083116114f257829003601f168201915b505050505081565b60006001600160a01b038216611559576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b506001600160a01b031660009081526006602052604090205467ffffffffffffffff1690565b611587612a3b565b6115916000612a95565b565b6000546001600160a01b03163314806115b65750600b546001600160a01b031633145b6116025760405162461bcd60e51b815260206004820152601c60248201527f43616c6c6572206973206e6f74206f776e65722f6d616e6167657221000000006044820152606401610a61565b601654600160c01b900467ffffffffffffffff1642116116895760405162461bcd60e51b8152602060048201526024808201527f43616e206f6e6c79206275726e2061667465722074686520656e64206f66207360448201527f616c6521000000000000000000000000000000000000000000000000000000006064820152608401610a61565b6002546001540360001901600c55565b6000546001600160a01b03163314806116bc5750600b546001600160a01b031633145b6117085760405162461bcd60e51b815260206004820152601c60248201527f43616c6c6572206973206e6f74206f776e65722f6d616e6167657221000000006044820152606401610a61565b6000908152600a6020526040812055565b50565b60008467ffffffffffffffff16116117765760405162461bcd60e51b815260206004820152600c60248201527f43616e2774206d696e74203000000000000000000000000000000000000000006044820152606401610a61565b600c5460025460015467ffffffffffffffff87169190036000190161179b9190613475565b11156117e95760405162461bcd60e51b815260206004820152600960248201527f536f6c64206f75742100000000000000000000000000000000000000000000006044820152606401610a61565b60165461180a9067ffffffffffffffff80821691600160c01b900416612af2565b6118565760405162461bcd60e51b815260206004820152600b60248201527f53616c6520656e646564210000000000000000000000000000000000000000006044820152606401610a61565b60165460009067ffffffffffffffff16421180156118865750601654600160801b900467ffffffffffffffff1642105b15611c11576040517fffffffffffffffffffffffffffffffffffffffff0000000000000000000000003360601b1660208201526034810183905260009060540160408051601f19818403018152919052805160209091012060165490915067ffffffffffffffff1642118015611913575060165468010000000000000000900467ffffffffffffffff1642105b15611ab357611959858580806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506017549150849050612b1d565b6119a55760405162461bcd60e51b815260206004820152600e60248201527f4d65726b6c65206661696c6564210000000000000000000000000000000000006044820152606401610a61565b600d548667ffffffffffffffff161115611a015760405162461bcd60e51b815260206004820152601560248201527f576169746c69737420697320736f6c64206f75742100000000000000000000006044820152606401610a61565b8567ffffffffffffffff16600d6000828254611a1d919061348d565b909155505033600090815260136020526040812054611a479067ffffffffffffffff891690613475565b905083811115611a995760405162461bcd60e51b815260206004820152601f60248201527f4d696e7420616d6f756e74206578636565647320616c6c6f636174696f6e21006044820152606401610a61565b336000908152601360205260409020556010549150611c0b565b60165468010000000000000000900467ffffffffffffffff1642118015611aec5750601654600160801b900467ffffffffffffffff1642105b15611c0b57611b32858580806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506018549150849050612b1d565b611b7e5760405162461bcd60e51b815260206004820152600e60248201527f4d65726b6c65206661696c6564210000000000000000000000000000000000006044820152606401610a61565b33600090815260146020526040812054611ba39067ffffffffffffffff891690613475565b905083811115611bf55760405162461bcd60e51b815260206004820152601f60248201527f4d696e7420616d6f756e74206578636565647320616c6c6f636174696f6e21006044820152606401610a61565b3360009081526014602052604090205560115491505b50611cd8565b601654600160801b900467ffffffffffffffff1642118015611c455750601654600160c01b900467ffffffffffffffff1642105b15611cd85733600090815260156020526040812054611c6f9067ffffffffffffffff881690613475565b9050600f54811115611cc35760405162461bcd60e51b815260206004820152601060248201527f4174207075626c6963206c696d697421000000000000000000000000000000006044820152606401610a61565b33600090815260156020526040902055506012545b611cec8167ffffffffffffffff8716613434565b3414611d3a5760405162461bcd60e51b815260206004820152601360248201527f4e6f74207269676874204554482073656e7421000000000000000000000000006044820152606401610a61565b611d4e338667ffffffffffffffff16612869565b5050505050565b606060048054610a87906133e4565b600b54600160a81b900460ff16611db05760405162461bcd60e51b815260206004820152601060248201526f151c985b9cd9995c9cc81c185d5cd95960821b6044820152606401610a61565b610a748282612b33565b6000546001600160a01b0316331480611ddd5750600b546001600160a01b031633145b611e295760405162461bcd60e51b815260206004820152601c60248201527f43616c6c6572206973206e6f74206f776e65722f6d616e6167657221000000006044820152606401610a61565b6115916000600955565b600b54600160a81b900460ff16611e7f5760405162461bcd60e51b815260206004820152601060248201526f151c985b9cd9995c9cc81c185d5cd95960821b6044820152606401610a61565b611e8b84848484612bbd565b50505050565b6060611e9c826122c5565b611ed2576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611edc612c1a565b90508051600003611efc5760405180602001604052806000815250611f27565b80611f0684612c29565b604051602001611f179291906134a4565b6040516020818303038152906040525b9392505050565b6000546001600160a01b0316331480611f515750600b546001600160a01b031633145b611f9d5760405162461bcd60e51b815260206004820152601c60248201527f43616c6c6572206973206e6f74206f776e65722f6d616e6167657221000000006044820152606401610a61565b600b8054911515600160a01b027fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff909216919091179055565b611fde612a3b565b600b805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b6000546001600160a01b03163314806120305750600b546001600160a01b031633145b61207c5760405162461bcd60e51b815260206004820152601c60248201527f43616c6c6572206973206e6f74206f776e65722f6d616e6167657221000000006044820152606401610a61565b601791909155601855565b61208f612a3b565b6001600160a01b03811661210b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610a61565b61171981612a95565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f2a55205a0000000000000000000000000000000000000000000000000000000014806109f057507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316146109f0565b6127106bffffffffffffffffffffffff821611156122315760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c2065786365656460448201527f2073616c655072696365000000000000000000000000000000000000000000006064820152608401610a61565b6001600160a01b0382166122875760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401610a61565b604080518082019091526001600160a01b039092168083526bffffffffffffffffffffffff9091166020909201829052600160a01b90910217600955565b6000816001111580156122d9575060015482105b80156109f05750506000908152600560205260409020547c0100000000000000000000000000000000000000000000000000000000161590565b600061231e8261147e565b9050336001600160a01b038216146123705761233a8133610929565b612370576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600082815260076020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006123e48261299a565b9050836001600160a01b0316816001600160a01b031614612431576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008281526007602052604090208054338082146001600160a01b03881690911417612497576124618633610929565b612497576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b0385166124d7576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80156124e257600082555b6001600160a01b038681166000908152600660205260408082208054600019019055918716808252919020805460010190554260a01b177c0200000000000000000000000000000000000000000000000000000000176000858152600560205260408120919091557c0200000000000000000000000000000000000000000000000000000000841690036125a6576001840160008181526005602052604081205490036125a45760015481146125a45760008181526005602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b6000633b9aca006126008385613434565b611f279190613453565b8047101561265a5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610a61565b6000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146126a7576040519150601f19603f3d011682016040523d82523d6000602084013e6126ac565b606091505b5050905080610c145760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610a61565b610c1483838360405180602001604052806000815250611e33565b6127106bffffffffffffffffffffffff821611156127c45760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c2065786365656460448201527f2073616c655072696365000000000000000000000000000000000000000000006064820152608401610a61565b6001600160a01b03821661281a5760405162461bcd60e51b815260206004820152601b60248201527f455243323938313a20496e76616c696420706172616d657465727300000000006044820152606401610a61565b6040805180820182526001600160a01b0393841681526bffffffffffffffffffffffff92831660208083019182526000968752600a90529190942093519051909116600160a01b029116179055565b60015460008290036128a7576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b03831660008181526006602090815260408083208054680100000000000000018802019055848352600590915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461295657808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a460010161291e565b5081600003612991576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60015550505050565b60008180600111612a0957600154811015612a0957600081815260056020526040812054907c010000000000000000000000000000000000000000000000000000000082169003612a07575b80600003611f275750600019016000818152600560205260409020546129e6565b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000546001600160a01b031633146115915760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a61565b600080546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600b54600090600160a01b900460ff16158015612b0e57508242115b8015611f275750504210919050565b600082612b2a8584612c6d565b14949350505050565b3360008181526008602090815260408083206001600160a01b0387168085529083529281902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b612bc8848484610bbd565b6001600160a01b0383163b15611e8b57612be484848484612cba565b611e8b576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b606060198054610a87906133e4565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a900480612c435750819003601f19909101908152919050565b600081815b8451811015612cb257612c9e82868381518110612c9157612c916134d3565b6020026020010151612e09565b915080612caa816134e9565b915050612c72565b509392505050565b6040517f150b7a020000000000000000000000000000000000000000000000000000000081526000906001600160a01b0385169063150b7a0290612d08903390899088908890600401613503565b6020604051808303816000875af1925050508015612d43575060408051601f3d908101601f19168201909252612d409181019061353f565b60015b612dba573d808015612d71576040519150601f19603f3d011682016040523d82523d6000602084013e612d76565b606091505b508051600003612db2576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a02000000000000000000000000000000000000000000000000000000001490505b949350505050565b6000818310612e25576000828152602084905260409020611f27565b6000838152602083905260409020611f27565b828054612e44906133e4565b90600052602060002090601f016020900481019282612e665760008555612eac565b82601f10612e7f57805160ff1916838001178555612eac565b82800160010185558215612eac579182015b82811115612eac578251825591602001919060010190612e91565b50612eb8929150612ebc565b5090565b5b80821115612eb85760008155600101612ebd565b7fffffffff000000000000000000000000000000000000000000000000000000008116811461171957600080fd5b600060208284031215612f1157600080fd5b8135611f2781612ed1565b80356001600160a01b0381168114612f3357600080fd5b919050565b80356bffffffffffffffffffffffff81168114612f3357600080fd5b60008060408385031215612f6757600080fd5b612f7083612f1c565b9150612f7e60208401612f38565b90509250929050565b60005b83811015612fa2578181015183820152602001612f8a565b83811115611e8b5750506000910152565b60008151808452612fcb816020860160208601612f87565b601f01601f19169290920160200192915050565b602081526000611f276020830184612fb3565b60006020828403121561300457600080fd5b5035919050565b6000806040838503121561301e57600080fd5b61302783612f1c565b946020939093013593505050565b60006020828403121561304757600080fd5b611f2782612f1c565b60008060006060848603121561306557600080fd5b61306e84612f1c565b925061307c60208501612f1c565b9150604084013590509250925092565b6000806040838503121561309f57600080fd5b50508035926020909101359150565b803567ffffffffffffffff81168114612f3357600080fd5b600080600080608085870312156130dc57600080fd5b6130e5856130ae565b93506130f3602086016130ae565b9250613101604086016130ae565b915061310f606086016130ae565b905092959194509250565b6000806000806080858703121561313057600080fd5b5050823594602084013594506040840135936060013592509050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561317d5761317d61314c565b604051601f8501601f19908116603f011681019082821181831017156131a5576131a561314c565b816040528093508581528686860111156131be57600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156131ea57600080fd5b813567ffffffffffffffff81111561320157600080fd5b8201601f8101841361321257600080fd5b612e0184823560208401613162565b60008060006060848603121561323657600080fd5b8335925061324660208501612f1c565b915061325460408501612f38565b90509250925092565b6000806000806060858703121561327357600080fd5b61327c856130ae565b9350602085013567ffffffffffffffff8082111561329957600080fd5b818701915087601f8301126132ad57600080fd5b8135818111156132bc57600080fd5b8860208260051b85010111156132d157600080fd5b95986020929092019750949560400135945092505050565b80358015158114612f3357600080fd5b6000806040838503121561330c57600080fd5b61331583612f1c565b9150612f7e602084016132e9565b6000806000806080858703121561333957600080fd5b61334285612f1c565b935061335060208601612f1c565b925060408501359150606085013567ffffffffffffffff81111561337357600080fd5b8501601f8101871361338457600080fd5b61339387823560208401613162565b91505092959194509250565b6000602082840312156133b157600080fd5b611f27826132e9565b600080604083850312156133cd57600080fd5b6133d683612f1c565b9150612f7e60208401612f1c565b600181811c908216806133f857607f821691505b60208210810361341857634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600081600019048311821515161561344e5761344e61341e565b500290565b60008261347057634e487b7160e01b600052601260045260246000fd5b500490565b600082198211156134885761348861341e565b500190565b60008282101561349f5761349f61341e565b500390565b600083516134b6818460208801612f87565b8351908301906134ca818360208801612f87565b01949350505050565b634e487b7160e01b600052603260045260246000fd5b600060001982036134fc576134fc61341e565b5060010190565b60006001600160a01b038087168352808616602084015250836040830152608060608301526135356080830184612fb3565b9695505050505050565b60006020828403121561355157600080fd5b8151611f2781612ed156fea2646970667358221220c1a099304259e6f6fc48f60cc28af2936b893e3aaa548cd70fd5325d29dce28064736f6c634300080d0033

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

000000000000000000000000ffe6830ee2e4caf60911bcb623038c21b49aaab6000000000000000000000000f196d961b4e8967caf00ae835fdd60743f414ba3

-----Decoded View---------------
Arg [0] : _manager (address): 0xffE6830eE2e4CAF60911bcb623038c21B49aAab6
Arg [1] : ROYALTY_ADDRESS (address): 0xF196D961B4e8967caF00aE835FDd60743f414bA3

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000ffe6830ee2e4caf60911bcb623038c21b49aaab6
Arg [1] : 000000000000000000000000f196d961b4e8967caf00ae835fdd60743f414ba3


Deployed Bytecode Sourcemap

92528:11895:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;94719:165;;;;;;;;;;-1:-1:-1;94719:165:0;;;;;:::i;:::-;;:::i;:::-;;;611:14:1;;604:22;586:41;;574:2;559:18;94719:165:0;;;;;;;;95073:145;;;;;;;;;;-1:-1:-1;95073:145:0;;;;;:::i;:::-;;:::i;:::-;;60399:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;66890:218::-;;;;;;;;;;-1:-1:-1;66890:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;2445:55:1;;;2427:74;;2415:2;2400:18;66890:218:0;2281:226:1;96012:186:0;;;;;;:::i;:::-;;:::i;56150:323::-;;;;;;;;;;-1:-1:-1;56424:12:0;;104298:1;56408:13;:28;-1:-1:-1;;56408:46:0;56150:323;;;2917:25:1;;;2905:2;2890:18;56150:323:0;2771:177:1;93663:31:0;;;;;;;;;;-1:-1:-1;93663:31:0;;;;-1:-1:-1;;;93663:31:0;;;;;;;;;3127:18:1;3115:31;;;3097:50;;3085:2;3070:18;93663:31:0;2953:200:1;93306:56:0;;;;;;;;;;-1:-1:-1;93306:56:0;;;;;:::i;:::-;;;;;;;;;;;;;;93547:36;;;;;;;;;;-1:-1:-1;93547:36:0;;;;;;;;;;;96204:204;;;;;;:::i;:::-;;:::i;11830:438::-;;;;;;;;;;-1:-1:-1;11830:438:0;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;4127:55:1;;;4109:74;;4214:2;4199:18;;4192:34;;;;4082:18;11830:438:0;3935:297:1;93007:31:0;;;;;;;;;;;;;;;;100331:244;;;;;;;;;;;;;:::i;93138:46::-;;;;;;;;;;;;;;;;100583:1056;;;;;;;;;;;;;:::i;102671:575::-;;;;;;;;;;-1:-1:-1;102671:575:0;;;;;:::i;:::-;;:::i;96414:212::-;;;;;;:::i;:::-;;:::i;103482:356::-;;;;;;;;;;-1:-1:-1;103482:356:0;;;;;:::i;:::-;;:::i;102526:100::-;;;;;;;;;;-1:-1:-1;102526:100:0;;;;;:::i;:::-;;:::i;95318:167::-;;;;;;;;;;-1:-1:-1;95318:167:0;;;;;:::i;:::-;;:::i;99601:457::-;;;;;;;;;;-1:-1:-1;99601:457:0;;;;;:::i;:::-;;:::i;61792:152::-;;;;;;;;;;-1:-1:-1;61792:152:0;;;;;:::i;:::-;;:::i;92851:21::-;;;;;;;;;;-1:-1:-1;92851:21:0;;;;-1:-1:-1;;;92851:21:0;;;;;;93623:33;;;;;;;;;;-1:-1:-1;93623:33:0;;;;-1:-1:-1;;;93623:33:0;;;;;;93835:21;;;;;;;;;;;;;:::i;57334:233::-;;;;;;;;;;-1:-1:-1;57334:233:0;;;;;:::i;:::-;;:::i;6581:103::-;;;;;;;;;;;;;:::i;92964:36::-;;;;;;;;;;;;;;;;100090:191;;;;;;;;;;;;;:::i;95491:108::-;;;;;;;;;;-1:-1:-1;95491:108:0;;;;;:::i;:::-;;:::i;5940:87::-;;;;;;;;;;-1:-1:-1;5986:7:0;6013:6;-1:-1:-1;;;;;6013:6:0;5940:87;;97061:2310;;;;;;:::i;:::-;;:::i;92879:38::-;;;;;;;;;;-1:-1:-1;92879:38:0;;;;-1:-1:-1;;;92879:38:0;;;;;;60575:104;;;;;;;;;;;;;:::i;93703:33::-;;;;;;;;;;;;;;;;95809:197;;;;;;;;;;-1:-1:-1;95809:197:0;;;;;:::i;:::-;;:::i;95224:88::-;;;;;;;;;;;;;:::i;93767:34::-;;;;;;;;;;;;;;;;96632:237;;;;;;:::i;:::-;;:::i;93045:34::-;;;;;;;;;;;;;;;;93086:45;;;;;;;;;;;;;;;;60785:318;;;;;;;;;;-1:-1:-1;60785:318:0;;;;;:::i;:::-;;:::i;102424:94::-;;;;;;;;;;-1:-1:-1;102424:94:0;;;;;:::i;:::-;;:::i;92812:29::-;;;;;;;;;;-1:-1:-1;92812:29:0;;;;-1:-1:-1;;;;;92812:29:0;;;102327:89;;;;;;;;;;-1:-1:-1;102327:89:0;;;;;:::i;:::-;;:::i;93244:55::-;;;;;;;;;;-1:-1:-1;93244:55:0;;;;;:::i;:::-;;;;;;;;;;;;;;92926:31;;;;;;;;;;;;;;;;93191:44;;;;;;;;;;;;;;;;67839:164;;;;;;;;;;-1:-1:-1;67839:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;67960:25:0;;;67936:4;67960:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;67839:164;93369:53;;;;;;;;;;-1:-1:-1;93369:53:0;;;;;:::i;:::-;;;;;;;;;;;;;;103254:216;;;;;;;;;;-1:-1:-1;103254:216:0;;;;;:::i;:::-;;:::i;6839:201::-;;;;;;;;;;-1:-1:-1;6839:201:0;;;;;:::i;:::-;;:::i;93473:35::-;;;;;;;;;;-1:-1:-1;93473:35:0;;;;;;;;94719:165;94816:4;94840:36;94864:11;94840:23;:36::i;:::-;94833:43;94719:165;-1:-1:-1;;94719:165:0:o;95073:145::-;5986:7;6013:6;-1:-1:-1;;;;;6013:6:0;94063:10;:21;;:53;;-1:-1:-1;94102:14:0;;-1:-1:-1;;;;;94102:14:0;94088:10;:28;94063:53;94054:96;;;;-1:-1:-1;;;94054:96:0;;9824:2:1;94054:96:0;;;9806:21:1;9863:2;9843:18;;;9836:30;9902;9882:18;;;9875:58;9950:18;;94054:96:0;;;;;;;;;95171:44:::1;95191:8;95201:12;95171:18;:44::i;:::-;95073:145:::0;;:::o;60399:100::-;60453:13;60486:5;60479:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;60399:100;:::o;66890:218::-;66966:7;66991:16;66999:7;66991;:16::i;:::-;66986:64;;67016:34;;;;;;;;;;;;;;66986:64;-1:-1:-1;67070:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;67070:30:0;;66890:218::o;96012:186::-;96108:26;;-1:-1:-1;;;96108:26:0;;;;96100:55;;;;-1:-1:-1;;;96100:55:0;;10623:2:1;96100:55:0;;;10605:21:1;10662:2;10642:18;;;10635:30;-1:-1:-1;;;10681:18:1;;;10674:46;10737:18;;96100:55:0;10421:340:1;96100:55:0;96157:32;96171:8;96181:7;96157:13;:32::i;96204:204::-;96313:26;;-1:-1:-1;;;96313:26:0;;;;96305:55;;;;-1:-1:-1;;;96305:55:0;;10623:2:1;96305:55:0;;;10605:21:1;10662:2;10642:18;;;10635:30;-1:-1:-1;;;10681:18:1;;;10674:46;10737:18;;96305:55:0;10421:340:1;96305:55:0;96362:37;96381:4;96387:2;96391:7;96362:18;:37::i;:::-;96204:204;;;:::o;11830:438::-;11925:7;11983:26;;;:17;:26;;;;;;;;11954:55;;;;;;;;;-1:-1:-1;;;;;11954:55:0;;;;;-1:-1:-1;;;11954:55:0;;;;;;;;;;;;11925:7;;12022:92;;-1:-1:-1;12073:29:0;;;;;;;;;12083:19;12073:29;-1:-1:-1;;;;;12073:29:0;;;;-1:-1:-1;;;12073:29:0;;;;;;;;12022:92;12163:23;;;;12126:21;;12634:5;;12151:35;;12150:57;12151:35;:9;:35;:::i;:::-;12150:57;;;;:::i;:::-;12228:16;;;;;-1:-1:-1;11830:438:0;;-1:-1:-1;;;;11830:438:0:o;100331:244::-;5986:7;6013:6;-1:-1:-1;;;;;6013:6:0;94063:10;:21;;:53;;-1:-1:-1;94102:14:0;;-1:-1:-1;;;;;94102:14:0;94088:10;:28;94063:53;94054:96;;;;-1:-1:-1;;;94054:96:0;;9824:2:1;94054:96:0;;;9806:21:1;9863:2;9843:18;;;9836:30;9902;9882:18;;;9875:58;9950:18;;94054:96:0;9622:352:1;94054:96:0;100420:17:::1;::::0;-1:-1:-1;;;100420:17:0;::::1;;;100402:15;:35;::::0;:65:::1;;-1:-1:-1::0;56424:12:0;;104298:1;56408:13;:28;-1:-1:-1;;56408:46:0;100441:9:::1;;:26;100402:65;100394:129;;;::::0;-1:-1:-1;;;100394:129:0;;11669:2:1;100394:129:0::1;::::0;::::1;11651:21:1::0;11708:2;11688:18;;;11681:30;11747:34;11727:18;;;11720:62;11818:21;11798:18;;;11791:49;11857:19;;100394:129:0::1;11467:415:1::0;100394:129:0::1;100534:26;:33:::0;;;::::1;-1:-1:-1::0;;;100534:33:0::1;::::0;;100331:244::o;100583:1056::-;5986:7;6013:6;-1:-1:-1;;;;;6013:6:0;94063:10;:21;;:53;;-1:-1:-1;94102:14:0;;-1:-1:-1;;;;;94102:14:0;94088:10;:28;94063:53;94054:96;;;;-1:-1:-1;;;94054:96:0;;9824:2:1;94054:96:0;;;9806:21:1;9863:2;9843:18;;;9836:30;9902;9882:18;;;9875:58;9950:18;;94054:96:0;9622:352:1;94054:96:0;100654:42:::1;100721;100789;100860;100928;101000;101071;101149:21;101181:55;100654:42:::0;101196:39:::1;101149:21:::0;101225:9:::1;101196:14;:39::i;:::-;101181:9;:55::i;:::-;101248;101258:3;101263:39;101278:12;101292:9;101263:14;:39::i;101248:55::-;101315:56;101325:4;101331:39;101346:12;101360:9;101331:14;:39::i;101315:56::-;101382:58;101392:6;101400:39;101415:12;101429:9;101400:14;:39::i;101382:58::-;101452:59;101462:7;101471:39;101486:12;101500:9;101471:14;:39::i;101452:59::-;101522:55;101532:4;101538:38;101553:12;101567:8;101538:14;:38::i;101522:55::-;101588:42;101598:8;101608:21;101588:9;:42::i;:::-;100629:1010;;;;;;;;100583:1056::o:0;102671:575::-;5986:7;6013:6;-1:-1:-1;;;;;6013:6:0;94063:10;:21;;:53;;-1:-1:-1;94102:14:0;;-1:-1:-1;;;;;94102:14:0;94088:10;:28;94063:53;94054:96;;;;-1:-1:-1;;;94054:96:0;;9824:2:1;94054:96:0;;;9806:21:1;9863:2;9843:18;;;9836:30;9902;9882:18;;;9875:58;9950:18;;94054:96:0;9622:352:1;94054:96:0;102884:23:::1;102859:48;;:22;:48;;;:98;;;;;102937:20;102911:46;;:23;:46;;;102859:98;:143;;;;;102984:18;102961:41;;:20;:41;;;102859:143;102851:167;;;::::0;-1:-1:-1;;;102851:167:0;;12089:2:1;102851:167:0::1;::::0;::::1;12071:21:1::0;12128:2;12108:18;;;12101:30;12167:13;12147:18;;;12140:41;12198:18;;102851:167:0::1;11887:335:1::0;102851:167:0::1;103031:21;:46:::0;;::::1;::::0;;::::1;103088:48:::0;;;;;;;;::::1;::::0;;;::::1;::::0;;;::::1;103200:38:::0;;-1:-1:-1;;;103147:42:0;;::::1;::::0;;;::::1;103200:38:::0;;;;;;-1:-1:-1;;;103200:38:0;;;::::1;;::::0;;;::::1;::::0;;102671:575::o;96414:212::-;96527:26;;-1:-1:-1;;;96527:26:0;;;;96519:55;;;;-1:-1:-1;;;96519:55:0;;10623:2:1;96519:55:0;;;10605:21:1;10662:2;10642:18;;;10635:30;-1:-1:-1;;;10681:18:1;;;10674:46;10737:18;;96519:55:0;10421:340:1;96519:55:0;96576:41;96599:4;96605:2;96609:7;96576:22;:41::i;103482:356::-;5986:7;6013:6;-1:-1:-1;;;;;6013:6:0;94063:10;:21;;:53;;-1:-1:-1;94102:14:0;;-1:-1:-1;;;;;94102:14:0;94088:10;:28;94063:53;94054:96;;;;-1:-1:-1;;;94054:96:0;;9824:2:1;94054:96:0;;;9806:21:1;9863:2;9843:18;;;9836:30;9902;9882:18;;;9875:58;9950:18;;94054:96:0;9622:352:1;94054:96:0;103651:17:::1;:38:::0;;;;103700:18:::1;:40:::0;;;;103751:15:::1;:34:::0;103796:15:::1;:34:::0;103482:356::o;102526:100::-;5986:7;6013:6;-1:-1:-1;;;;;6013:6:0;94063:10;:21;;:53;;-1:-1:-1;94102:14:0;;-1:-1:-1;;;;;94102:14:0;94088:10;:28;94063:53;94054:96;;;;-1:-1:-1;;;94054:96:0;;9824:2:1;94054:96:0;;;9806:21:1;9863:2;9843:18;;;9836:30;9902;9882:18;;;9875:58;9950:18;;94054:96:0;9622:352:1;94054:96:0;102602:16;;::::1;::::0;:7:::1;::::0;:16:::1;::::0;::::1;::::0;::::1;:::i;95318:167::-:0;5986:7;6013:6;-1:-1:-1;;;;;6013:6:0;94063:10;:21;;:53;;-1:-1:-1;94102:14:0;;-1:-1:-1;;;;;94102:14:0;94088:10;:28;94063:53;94054:96;;;;-1:-1:-1;;;94054:96:0;;9824:2:1;94054:96:0;;;9806:21:1;9863:2;9843:18;;;9836:30;9902;9882:18;;;9875:58;9950:18;;94054:96:0;9622:352:1;94054:96:0;95431:51:::1;95449:7;95458:8;95468:12;95431:16;:51::i;99601:457::-:0;5986:7;6013:6;-1:-1:-1;;;;;6013:6:0;94063:10;:21;;:53;;-1:-1:-1;94102:14:0;;-1:-1:-1;;;;;94102:14:0;94088:10;:28;94063:53;94054:96;;;;-1:-1:-1;;;94054:96:0;;9824:2:1;94054:96:0;;;9806:21:1;9863:2;9843:18;;;9836:30;9902;9882:18;;;9875:58;9950:18;;94054:96:0;9622:352:1;94054:96:0;99728:9:::1;::::0;56424:12;;104298:1;56408:13;99714:10;;56408:28;;-1:-1:-1;;56408:46:0;99698:26:::1;;;;:::i;:::-;:39;;99690:61;;;::::0;-1:-1:-1;;;99690:61:0;;12562:2:1;99690:61:0::1;::::0;::::1;12544:21:1::0;12601:1;12581:18;;;12574:29;12639:11;12619:18;;;12612:39;12668:18;;99690:61:0::1;12360:332:1::0;99690:61:0::1;99826:17;::::0;-1:-1:-1;;;99826:17:0;::::1;;;99808:15;:35;99804:212;;;99882:10;;99868;:24;;99860:61;;;::::0;-1:-1:-1;;;99860:61:0;;12899:2:1;99860:61:0::1;::::0;::::1;12881:21:1::0;12938:2;12918:18;;;12911:30;12977:26;12957:18;;;12950:54;13021:18;;99860:61:0::1;12697:348:1::0;99860:61:0::1;99950:10;99936;;:24;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;;99804:212:0::1;100028:22;100034:3;100039:10;100028:5;:22::i;61792:152::-:0;61864:7;61907:27;61926:7;61907:18;:27::i;93835:21::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;57334:233::-;57406:7;-1:-1:-1;;;;;57430:19:0;;57426:60;;57458:28;;;;;;;;;;;;;;57426:60;-1:-1:-1;;;;;;57504:25:0;;;;;:18;:25;;;;;;51493:13;57504:55;;57334:233::o;6581:103::-;5826:13;:11;:13::i;:::-;6646:30:::1;6673:1;6646:18;:30::i;:::-;6581:103::o:0;100090:191::-;5986:7;6013:6;-1:-1:-1;;;;;6013:6:0;94063:10;:21;;:53;;-1:-1:-1;94102:14:0;;-1:-1:-1;;;;;94102:14:0;94088:10;:28;94063:53;94054:96;;;;-1:-1:-1;;;94054:96:0;;9824:2:1;94054:96:0;;;9806:21:1;9863:2;9843:18;;;9836:30;9902;9882:18;;;9875:58;9950:18;;94054:96:0;9622:352:1;94054:96:0;100179:17:::1;::::0;-1:-1:-1;;;100179:17:0;::::1;;;100161:15;:35;100153:84;;;::::0;-1:-1:-1;;;100153:84:0;;13382:2:1;100153:84:0::1;::::0;::::1;13364:21:1::0;13421:2;13401:18;;;13394:30;13460:34;13440:18;;;13433:62;13531:6;13511:18;;;13504:34;13555:19;;100153:84:0::1;13180:400:1::0;100153:84:0::1;56424:12:::0;;104298:1;56408:13;:28;-1:-1:-1;;56408:46:0;100248:9:::1;:25:::0;100090:191::o;95491:108::-;5986:7;6013:6;-1:-1:-1;;;;;6013:6:0;94063:10;:21;;:53;;-1:-1:-1;94102:14:0;;-1:-1:-1;;;;;94102:14:0;94088:10;:28;94063:53;94054:96;;;;-1:-1:-1;;;94054:96:0;;9824:2:1;94054:96:0;;;9806:21:1;9863:2;9843:18;;;9836:30;9902;9882:18;;;9875:58;9950:18;;94054:96:0;9622:352:1;94054:96:0;14248:26;;;;:17;:26;;;;;14241:33;95491:108::o;95567:29::-:1;95491:108:::0;:::o;97061:2310::-;97200:1;97187:10;:14;;;97179:39;;;;-1:-1:-1;;;97179:39:0;;13787:2:1;97179:39:0;;;13769:21:1;13826:2;13806:18;;;13799:30;13865:14;13845:18;;;13838:42;13897:18;;97179:39:0;13585:336:1;97179:39:0;97264:9;;56424:12;;104298:1;56408:13;97234:26;;;;56408:28;;-1:-1:-1;;56408:46:0;97234:26;;;;:::i;:::-;:39;;97226:61;;;;-1:-1:-1;;;97226:61:0;;12562:2:1;97226:61:0;;;12544:21:1;12601:1;12581:18;;;12574:29;12639:11;12619:18;;;12612:39;12668:18;;97226:61:0;12360:332:1;97226:61:0;97336:21;;97326:51;;97336:21;;;;;-1:-1:-1;;;97359:17:0;;;97326:9;:51::i;:::-;97318:75;;;;-1:-1:-1;;;97318:75:0;;14128:2:1;97318:75:0;;;14110:21:1;14167:2;14147:18;;;14140:30;14206:13;14186:18;;;14179:41;14237:18;;97318:75:0;13926:335:1;97318:75:0;97472:21;;97424:13;;97472:21;;97454:15;:39;:80;;;;-1:-1:-1;97515:19:0;;-1:-1:-1;;;97515:19:0;;;;97497:15;:37;97454:80;97450:1788;;;97576:45;;14456:66:1;97593:10:0;14443:2:1;14439:15;14435:88;97576:45:0;;;14423:101:1;14540:12;;;14533:28;;;97551:12:0;;14577::1;;97576:45:0;;;-1:-1:-1;;97576:45:0;;;;;;;;;97566:56;;97576:45;97566:56;;;;97694:21;;97566:56;;-1:-1:-1;97694:21:0;;97676:15;:39;:83;;;;-1:-1:-1;97737:22:0;;;;;;;97719:15;:40;97676:83;97673:1171;;;97788:57;97807:11;;97788:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;97820:18:0;;;-1:-1:-1;97840:4:0;;-1:-1:-1;97788:18:0;:57::i;:::-;97780:84;;;;-1:-1:-1;;;97780:84:0;;14802:2:1;97780:84:0;;;14784:21:1;14841:2;14821:18;;;14814:30;14880:16;14860:18;;;14853:44;14914:18;;97780:84:0;14600:338:1;97780:84:0;97905:14;;97891:10;:28;;;;97883:62;;;;-1:-1:-1;;;97883:62:0;;15145:2:1;97883:62:0;;;15127:21:1;15184:2;15164:18;;;15157:30;15223:23;15203:18;;;15196:51;15264:18;;97883:62:0;14943:345:1;97883:62:0;97982:10;97964:28;;:14;;:28;;;;;;;:::i;:::-;;;;-1:-1:-1;;98056:10:0;98013:19;98035:32;;;:20;:32;;;;;;:45;;;;;;;:::i;:::-;98013:67;;98122:15;98107:11;:30;;98099:74;;;;-1:-1:-1;;;98099:74:0;;15495:2:1;98099:74:0;;;15477:21:1;15534:2;15514:18;;;15507:30;15573:33;15553:18;;;15546:61;15624:18;;98099:74:0;15293:355:1;98099:74:0;98213:10;98192:32;;;;:20;:32;;;;;:46;98267:17;;;-1:-1:-1;97673:1171:0;;;98364:22;;;;;;;98346:15;:40;:81;;;;-1:-1:-1;98408:19:0;;-1:-1:-1;;;98408:19:0;;;;98390:15;:37;98346:81;98343:501;;;98456:58;98475:11;;98456:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;98488:19:0;;;-1:-1:-1;98509:4:0;;-1:-1:-1;98456:18:0;:58::i;:::-;98448:85;;;;-1:-1:-1;;;98448:85:0;;14802:2:1;98448:85:0;;;14784:21:1;14841:2;14821:18;;;14814:30;14880:16;14860:18;;;14853:44;14914:18;;98448:85:0;14600:338:1;98448:85:0;98598:10;98554:19;98576:33;;;:21;:33;;;;;;:46;;;;;;;:::i;:::-;98554:68;;98664:15;98649:11;:30;;98641:74;;;;-1:-1:-1;;;98641:74:0;;15495:2:1;98641:74:0;;;15477:21:1;15534:2;15514:18;;;15507:30;15573:33;15553:18;;;15546:61;15624:18;;98641:74:0;15293:355:1;98641:74:0;98756:10;98734:33;;;;:21;:33;;;;;:47;98810:18;;;-1:-1:-1;98343:501:0;97536:1349;97450:1788;;;98913:19;;-1:-1:-1;;;98913:19:0;;;;98895:15;:37;:76;;;;-1:-1:-1;98954:17:0;;-1:-1:-1;;;98954:17:0;;;;98936:15;:35;98895:76;98891:347;;;99029:10;98988:19;99010:30;;;:18;:30;;;;;;:43;;;;;;;:::i;:::-;98988:65;;99091:15;;99076:11;:30;;99068:59;;;;-1:-1:-1;;;99068:59:0;;15855:2:1;99068:59:0;;;15837:21:1;15894:2;15874:18;;;15867:30;15933:18;15913;;;15906:46;15969:18;;99068:59:0;15653:340:1;99068:59:0;99161:10;99142:30;;;;:18;:30;;;;;:44;-1:-1:-1;99211:15:0;;98891:347;99279:18;99292:5;99279:18;;;;:::i;:::-;99266:9;:31;99258:63;;;;-1:-1:-1;;;99258:63:0;;16200:2:1;99258:63:0;;;16182:21:1;16239:2;16219:18;;;16212:30;16278:21;16258:18;;;16251:49;16317:18;;99258:63:0;15998:343:1;99258:63:0;99334:29;99340:10;99352;99334:29;;:5;:29::i;:::-;97168:2203;97061:2310;;;;:::o;60575:104::-;60631:13;60664:7;60657:14;;;;;:::i;95809:197::-;95905:26;;-1:-1:-1;;;95905:26:0;;;;95897:55;;;;-1:-1:-1;;;95897:55:0;;10623:2:1;95897:55:0;;;10605:21:1;10662:2;10642:18;;;10635:30;-1:-1:-1;;;10681:18:1;;;10674:46;10737:18;;95897:55:0;10421:340:1;95897:55:0;95954:43;95978:8;95988;95954:23;:43::i;95224:88::-;5986:7;6013:6;-1:-1:-1;;;;;6013:6:0;94063:10;:21;;:53;;-1:-1:-1;94102:14:0;;-1:-1:-1;;;;;94102:14:0;94088:10;:28;94063:53;94054:96;;;;-1:-1:-1;;;94054:96:0;;9824:2:1;94054:96:0;;;9806:21:1;9863:2;9843:18;;;9836:30;9902;9882:18;;;9875:58;9950:18;;94054:96:0;9622:352:1;94054:96:0;95286:23:::1;13394:19:::0;;13387:26;13326:95;96632:237;96764:26;;-1:-1:-1;;;96764:26:0;;;;96756:55;;;;-1:-1:-1;;;96756:55:0;;10623:2:1;96756:55:0;;;10605:21:1;10662:2;10642:18;;;10635:30;-1:-1:-1;;;10681:18:1;;;10674:46;10737:18;;96756:55:0;10421:340:1;96756:55:0;96813:47;96836:4;96842:2;96846:7;96855:4;96813:22;:47::i;:::-;96632:237;;;;:::o;60785:318::-;60858:13;60889:16;60897:7;60889;:16::i;:::-;60884:59;;60914:29;;;;;;;;;;;;;;60884:59;60956:21;60980:10;:8;:10::i;:::-;60956:34;;61014:7;61008:21;61033:1;61008:26;:87;;;;;;;;;;;;;;;;;61061:7;61070:18;61080:7;61070:9;:18::i;:::-;61044:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;61008:87;61001:94;60785:318;-1:-1:-1;;;60785:318:0:o;102424:94::-;5986:7;6013:6;-1:-1:-1;;;;;6013:6:0;94063:10;:21;;:53;;-1:-1:-1;94102:14:0;;-1:-1:-1;;;;;94102:14:0;94088:10;:28;94063:53;94054:96;;;;-1:-1:-1;;;94054:96:0;;9824:2:1;94054:96:0;;;9806:21:1;9863:2;9843:18;;;9836:30;9902;9882:18;;;9875:58;9950:18;;94054:96:0;9622:352:1;94054:96:0;102493:9:::1;:17:::0;;;::::1;;-1:-1:-1::0;;;102493:17:0::1;::::0;;;::::1;::::0;;;::::1;::::0;;102424:94::o;102327:89::-;5826:13;:11;:13::i;:::-;102389:14:::1;:19:::0;;-1:-1:-1;;102389:19:0::1;-1:-1:-1::0;;;;;102389:19:0;;;::::1;::::0;;;::::1;::::0;;102327:89::o;103254:216::-;5986:7;6013:6;-1:-1:-1;;;;;6013:6:0;94063:10;:21;;:53;;-1:-1:-1;94102:14:0;;-1:-1:-1;;;;;94102:14:0;94088:10;:28;94063:53;94054:96;;;;-1:-1:-1;;;94054:96:0;;9824:2:1;94054:96:0;;;9806:21:1;9863:2;9843:18;;;9836:30;9902;9882:18;;;9875:58;9950:18;;94054:96:0;9622:352:1;94054:96:0;103369:18:::1;:40:::0;;;;103420:19:::1;:42:::0;103254:216::o;6839:201::-;5826:13;:11;:13::i;:::-;-1:-1:-1;;;;;6928:22:0;::::1;6920:73;;;::::0;-1:-1:-1;;;6920:73:0;;17023:2:1;6920:73:0::1;::::0;::::1;17005:21:1::0;17062:2;17042:18;;;17035:30;17101:34;17081:18;;;17074:62;17172:8;17152:18;;;17145:36;17198:19;;6920:73:0::1;16821:402:1::0;6920:73:0::1;7004:28;7023:8;7004:18;:28::i;11560:215::-:0;11662:4;11686:41;;;11701:26;11686:41;;:81;;-1:-1:-1;10151:25:0;10136:40;;;;11731:36;10027:157;12918:332;12634:5;13021:33;;;;;13013:88;;;;-1:-1:-1;;;13013:88:0;;17430:2:1;13013:88:0;;;17412:21:1;17469:2;17449:18;;;17442:30;17508:34;17488:18;;;17481:62;17579:12;17559:18;;;17552:40;17609:19;;13013:88:0;17228:406:1;13013:88:0;-1:-1:-1;;;;;13120:22:0;;13112:60;;;;-1:-1:-1;;;13112:60:0;;17841:2:1;13112:60:0;;;17823:21:1;17880:2;17860:18;;;17853:30;17919:27;17899:18;;;17892:55;17964:18;;13112:60:0;17639:349:1;13112:60:0;13207:35;;;;;;;;;-1:-1:-1;;;;;13207:35:0;;;;;;;;;;;;;;;;;-1:-1:-1;;;13185:57:0;;;;:19;:57;12918:332::o;68261:282::-;68326:4;68382:7;104298:1;68363:26;;:66;;;;;68416:13;;68406:7;:23;68363:66;:153;;;;-1:-1:-1;;68467:26:0;;;;:17;:26;;;;;;52269:8;68467:44;:49;;68261:282::o;66323:408::-;66412:13;66428:16;66436:7;66428;:16::i;:::-;66412:32;-1:-1:-1;90656:10:0;-1:-1:-1;;;;;66461:28:0;;;66457:175;;66509:44;66526:5;90656:10;67839:164;:::i;66509:44::-;66504:128;;66581:35;;;;;;;;;;;;;;66504:128;66644:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;66644:35:0;-1:-1:-1;;;;;66644:35:0;;;;;;;;;66695:28;;66644:24;;66695:28;;;;;;;66401:330;66323:408;;:::o;70529:2825::-;70671:27;70701;70720:7;70701:18;:27::i;:::-;70671:57;;70786:4;-1:-1:-1;;;;;70745:45:0;70761:19;-1:-1:-1;;;;;70745:45:0;;70741:86;;70799:28;;;;;;;;;;;;;;70741:86;70841:27;69637:24;;;:15;:24;;;;;69865:26;;90656:10;69262:30;;;-1:-1:-1;;;;;68955:28:0;;69240:20;;;69237:56;71027:180;;71120:43;71137:4;90656:10;67839:164;:::i;71120:43::-;71115:92;;71172:35;;;;;;;;;;;;;;71115:92;-1:-1:-1;;;;;71224:16:0;;71220:52;;71249:23;;;;;;;;;;;;;;71220:52;71421:15;71418:160;;;71561:1;71540:19;71533:30;71418:160;-1:-1:-1;;;;;71958:24:0;;;;;;;:18;:24;;;;;;71956:26;;-1:-1:-1;;71956:26:0;;;72027:22;;;;;;;;;72025:24;;-1:-1:-1;72025:24:0;;;65181:11;65156:23;65152:41;65139:63;52549:8;65139:63;72320:26;;;;:17;:26;;;;;:175;;;;52549:8;72615:47;;:52;;72611:627;;72720:1;72710:11;;72688:19;72843:30;;;:17;:30;;;;;;:35;;72839:384;;72981:13;;72966:11;:28;72962:242;;73128:30;;;;:17;:30;;;;;:52;;;72962:242;72669:569;72611:627;73285:7;73281:2;-1:-1:-1;;;;;73266:27:0;73275:4;-1:-1:-1;;;;;73266:27:0;;;;;;;;;;;70660:2694;;;70529:2825;;;:::o;101647:152::-;101732:7;101785:6;101760:21;101768:13;101760:5;:21;:::i;:::-;101759:32;;;;:::i;101807:318::-;101914:6;101889:21;:31;;101881:73;;;;-1:-1:-1;;;101881:73:0;;18195:2:1;101881:73:0;;;18177:21:1;18234:2;18214:18;;;18207:30;18273:31;18253:18;;;18246:59;18322:18;;101881:73:0;17993:353:1;101881:73:0;101968:12;101994:9;-1:-1:-1;;;;;101986:23:0;102017:6;101986:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;101967:61;;;102047:7;102039:78;;;;-1:-1:-1;;;102039:78:0;;18763:2:1;102039:78:0;;;18745:21:1;18802:2;18782:18;;;18775:30;18841:34;18821:18;;;18814:62;18912:28;18892:18;;;18885:56;18958:19;;102039:78:0;18561:422:1;73450:193:0;73596:39;73613:4;73619:2;73623:7;73596:39;;;;;;;;;;;;:16;:39::i;13701:356::-;12634:5;13819:33;;;;;13811:88;;;;-1:-1:-1;;;13811:88:0;;17430:2:1;13811:88:0;;;17412:21:1;17469:2;17449:18;;;17442:30;17508:34;17488:18;;;17481:62;17579:12;17559:18;;;17552:40;17609:19;;13811:88:0;17228:406:1;13811:88:0;-1:-1:-1;;;;;13918:22:0;;13910:62;;;;-1:-1:-1;;;13910:62:0;;19190:2:1;13910:62:0;;;19172:21:1;19229:2;19209:18;;;19202:30;19268:29;19248:18;;;19241:57;19315:18;;13910:62:0;18988:351:1;13910:62:0;14014:35;;;;;;;;-1:-1:-1;;;;;14014:35:0;;;;;;;;;;;;;;;;-1:-1:-1;13985:26:0;;;:17;:26;;;;;;:64;;;;;;;-1:-1:-1;;;13985:64:0;;;;;;13701:356::o;77910:2966::-;78006:13;;77983:20;78034:13;;;78030:44;;78056:18;;;;;;;;;;;;;;78030:44;-1:-1:-1;;;;;78562:22:0;;;;;;:18;:22;;;;51631:2;78562:22;;;:71;;78600:32;78588:45;;78562:71;;;78876:31;;;:17;:31;;;;;-1:-1:-1;65612:15:0;;65586:24;65582:46;65181:11;65156:23;65152:41;65149:52;65139:63;;78876:173;;79111:23;;;;78876:31;;78562:22;;79876:25;78562:22;;79729:335;80390:1;80376:12;80372:20;80330:346;80431:3;80422:7;80419:16;80330:346;;80649:7;80639:8;80636:1;80609:25;80606:1;80603;80598:59;80484:1;80471:15;80330:346;;;80334:77;80709:8;80721:1;80709:13;80705:45;;80731:19;;;;;;;;;;;;;;80705:45;80767:13;:19;-1:-1:-1;96204:204:0;;;:::o;62947:1275::-;63014:7;63049;;104298:1;63098:23;63094:1061;;63151:13;;63144:4;:20;63140:1015;;;63189:14;63206:23;;;:17;:23;;;;;;;52269:8;63295:24;;:29;;63291:845;;63960:113;63967:6;63977:1;63967:11;63960:113;;-1:-1:-1;;;64038:6:0;64020:25;;;;:17;:25;;;;;;63960:113;;63291:845;63166:989;63140:1015;64183:31;;;;;;;;;;;;;;6105:132;5986:7;6013:6;-1:-1:-1;;;;;6013:6:0;90656:10;6169:23;6161:68;;;;-1:-1:-1;;;6161:68:0;;19546:2:1;6161:68:0;;;19528:21:1;;;19565:18;;;19558:30;19624:34;19604:18;;;19597:62;19676:18;;6161:68:0;19344:356:1;7200:191:0;7274:16;7293:6;;-1:-1:-1;;;;;7310:17:0;;;-1:-1:-1;;7310:17:0;;;;;;7343:40;;7293:6;;;;;;;7343:40;;7274:16;7343:40;7263:128;7200:191;:::o;104024:177::-;104124:9;;104102:4;;-1:-1:-1;;;104124:9:0;;;;104123:10;:41;;;;;104155:9;104137:15;:27;104123:41;:70;;;;-1:-1:-1;;104168:15:0;:25;;104024:177;-1:-1:-1;104024:177:0:o;32464:156::-;32555:4;32608;32579:25;32592:5;32599:4;32579:12;:25::i;:::-;:33;;32464:156;-1:-1:-1;;;;32464:156:0:o;67448:234::-;90656:10;67543:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;67543:49:0;;;;;;;;;;;;:60;;;;;;;;;;;;;67619:55;;586:41:1;;;67543:49:0;;90656:10;67619:55;;559:18:1;67619:55:0;;;;;;;67448:234;;:::o;74241:407::-;74416:31;74429:4;74435:2;74439:7;74416:12;:31::i;:::-;-1:-1:-1;;;;;74462:14:0;;;:19;74458:183;;74501:56;74532:4;74538:2;74542:7;74551:5;74501:30;:56::i;:::-;74496:145;;74585:40;;;;;;;;;;;;;;104315:105;104375:13;104405:7;104398:14;;;;;:::i;90776:1745::-;90841:17;91275:4;91268;91262:11;91258:22;91367:1;91361:4;91354:15;91442:4;91439:1;91435:12;91428:19;;;91524:1;91519:3;91512:14;91628:3;91867:5;91849:428;91915:1;91910:3;91906:11;91899:18;;92086:2;92080:4;92076:13;92072:2;92068:22;92063:3;92055:36;92180:2;92170:13;;92237:25;91849:428;92237:25;-1:-1:-1;92307:13:0;;;-1:-1:-1;;92422:14:0;;;92484:19;;;92422:14;90776:1745;-1:-1:-1;90776:1745:0:o;33263:296::-;33346:7;33389:4;33346:7;33404:118;33428:5;:12;33424:1;:16;33404:118;;;33477:33;33487:12;33501:5;33507:1;33501:8;;;;;;;;:::i;:::-;;;;;;;33477:9;:33::i;:::-;33462:48;-1:-1:-1;33442:3:0;;;;:::i;:::-;;;;33404:118;;;-1:-1:-1;33539:12:0;33263:296;-1:-1:-1;;;33263:296:0:o;76732:716::-;76916:88;;;;;76895:4;;-1:-1:-1;;;;;76916:45:0;;;;;:88;;90656:10;;76983:4;;76989:7;;76998:5;;76916:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;76916:88:0;;;;;;;;-1:-1:-1;;76916:88:0;;;;;;;;;;;;:::i;:::-;;;76912:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;77199:6;:13;77216:1;77199:18;77195:235;;77245:40;;;;;;;;;;;;;;77195:235;77388:6;77382:13;77373:6;77369:2;77365:15;77358:38;76912:529;77075:64;;77085:54;77075:64;;-1:-1:-1;76912:529:0;76732:716;;;;;;:::o;40701:149::-;40764:7;40795:1;40791;:5;:51;;40926:13;41020:15;;;41056:4;41049:15;;;41103:4;41087:21;;40791:51;;;40926:13;41020:15;;;41056:4;41049:15;;;41103:4;41087:21;;40799:20;40858:268;-1:-1:-1;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:177:1;99:66;92:5;88:78;81:5;78:89;68:117;;181:1;178;171:12;196:245;254:6;307:2;295:9;286:7;282:23;278:32;275:52;;;323:1;320;313:12;275:52;362:9;349:23;381:30;405:5;381:30;:::i;638:196::-;706:20;;-1:-1:-1;;;;;755:54:1;;745:65;;735:93;;824:1;821;814:12;735:93;638:196;;;:::o;839:179::-;906:20;;966:26;955:38;;945:49;;935:77;;1008:1;1005;998:12;1023:258;1090:6;1098;1151:2;1139:9;1130:7;1126:23;1122:32;1119:52;;;1167:1;1164;1157:12;1119:52;1190:29;1209:9;1190:29;:::i;:::-;1180:39;;1238:37;1271:2;1260:9;1256:18;1238:37;:::i;:::-;1228:47;;1023:258;;;;;:::o;1286:::-;1358:1;1368:113;1382:6;1379:1;1376:13;1368:113;;;1458:11;;;1452:18;1439:11;;;1432:39;1404:2;1397:10;1368:113;;;1499:6;1496:1;1493:13;1490:48;;;-1:-1:-1;;1534:1:1;1516:16;;1509:27;1286:258::o;1549:317::-;1591:3;1629:5;1623:12;1656:6;1651:3;1644:19;1672:63;1728:6;1721:4;1716:3;1712:14;1705:4;1698:5;1694:16;1672:63;:::i;:::-;1780:2;1768:15;-1:-1:-1;;1764:88:1;1755:98;;;;1855:4;1751:109;;1549:317;-1:-1:-1;;1549:317:1:o;1871:220::-;2020:2;2009:9;2002:21;1983:4;2040:45;2081:2;2070:9;2066:18;2058:6;2040:45;:::i;2096:180::-;2155:6;2208:2;2196:9;2187:7;2183:23;2179:32;2176:52;;;2224:1;2221;2214:12;2176:52;-1:-1:-1;2247:23:1;;2096:180;-1:-1:-1;2096:180:1:o;2512:254::-;2580:6;2588;2641:2;2629:9;2620:7;2616:23;2612:32;2609:52;;;2657:1;2654;2647:12;2609:52;2680:29;2699:9;2680:29;:::i;:::-;2670:39;2756:2;2741:18;;;;2728:32;;-1:-1:-1;;;2512:254:1:o;3158:186::-;3217:6;3270:2;3258:9;3249:7;3245:23;3241:32;3238:52;;;3286:1;3283;3276:12;3238:52;3309:29;3328:9;3309:29;:::i;3349:328::-;3426:6;3434;3442;3495:2;3483:9;3474:7;3470:23;3466:32;3463:52;;;3511:1;3508;3501:12;3463:52;3534:29;3553:9;3534:29;:::i;:::-;3524:39;;3582:38;3616:2;3605:9;3601:18;3582:38;:::i;:::-;3572:48;;3667:2;3656:9;3652:18;3639:32;3629:42;;3349:328;;;;;:::o;3682:248::-;3750:6;3758;3811:2;3799:9;3790:7;3786:23;3782:32;3779:52;;;3827:1;3824;3817:12;3779:52;-1:-1:-1;;3850:23:1;;;3920:2;3905:18;;;3892:32;;-1:-1:-1;3682:248:1:o;4237:171::-;4304:20;;4364:18;4353:30;;4343:41;;4333:69;;4398:1;4395;4388:12;4413:401;4495:6;4503;4511;4519;4572:3;4560:9;4551:7;4547:23;4543:33;4540:53;;;4589:1;4586;4579:12;4540:53;4612:28;4630:9;4612:28;:::i;:::-;4602:38;;4659:37;4692:2;4681:9;4677:18;4659:37;:::i;:::-;4649:47;;4715:37;4748:2;4737:9;4733:18;4715:37;:::i;:::-;4705:47;;4771:37;4804:2;4793:9;4789:18;4771:37;:::i;:::-;4761:47;;4413:401;;;;;;;:::o;4819:385::-;4905:6;4913;4921;4929;4982:3;4970:9;4961:7;4957:23;4953:33;4950:53;;;4999:1;4996;4989:12;4950:53;-1:-1:-1;;5022:23:1;;;5092:2;5077:18;;5064:32;;-1:-1:-1;5143:2:1;5128:18;;5115:32;;5194:2;5179:18;5166:32;;-1:-1:-1;4819:385:1;-1:-1:-1;4819:385:1:o;5209:184::-;-1:-1:-1;;;5258:1:1;5251:88;5358:4;5355:1;5348:15;5382:4;5379:1;5372:15;5398:691;5463:5;5493:18;5534:2;5526:6;5523:14;5520:40;;;5540:18;;:::i;:::-;5674:2;5668:9;5740:2;5728:15;;-1:-1:-1;;5724:24:1;;;5750:2;5720:33;5716:42;5704:55;;;5774:18;;;5794:22;;;5771:46;5768:72;;;5820:18;;:::i;:::-;5860:10;5856:2;5849:22;5889:6;5880:15;;5919:6;5911;5904:22;5959:3;5950:6;5945:3;5941:16;5938:25;5935:45;;;5976:1;5973;5966:12;5935:45;6026:6;6021:3;6014:4;6006:6;6002:17;5989:44;6081:1;6074:4;6065:6;6057;6053:19;6049:30;6042:41;;;;5398:691;;;;;:::o;6094:451::-;6163:6;6216:2;6204:9;6195:7;6191:23;6187:32;6184:52;;;6232:1;6229;6222:12;6184:52;6272:9;6259:23;6305:18;6297:6;6294:30;6291:50;;;6337:1;6334;6327:12;6291:50;6360:22;;6413:4;6405:13;;6401:27;-1:-1:-1;6391:55:1;;6442:1;6439;6432:12;6391:55;6465:74;6531:7;6526:2;6513:16;6508:2;6504;6500:11;6465:74;:::i;6550:326::-;6626:6;6634;6642;6695:2;6683:9;6674:7;6670:23;6666:32;6663:52;;;6711:1;6708;6701:12;6663:52;6747:9;6734:23;6724:33;;6776:38;6810:2;6799:9;6795:18;6776:38;:::i;:::-;6766:48;;6833:37;6866:2;6855:9;6851:18;6833:37;:::i;:::-;6823:47;;6550:326;;;;;:::o;6881:755::-;6984:6;6992;7000;7008;7061:2;7049:9;7040:7;7036:23;7032:32;7029:52;;;7077:1;7074;7067:12;7029:52;7100:28;7118:9;7100:28;:::i;:::-;7090:38;;7179:2;7168:9;7164:18;7151:32;7202:18;7243:2;7235:6;7232:14;7229:34;;;7259:1;7256;7249:12;7229:34;7297:6;7286:9;7282:22;7272:32;;7342:7;7335:4;7331:2;7327:13;7323:27;7313:55;;7364:1;7361;7354:12;7313:55;7404:2;7391:16;7430:2;7422:6;7419:14;7416:34;;;7446:1;7443;7436:12;7416:34;7499:7;7494:2;7484:6;7481:1;7477:14;7473:2;7469:23;7465:32;7462:45;7459:65;;;7520:1;7517;7510:12;7459:65;6881:755;;7551:2;7543:11;;;;;-1:-1:-1;7573:6:1;;7626:2;7611:18;7598:32;;-1:-1:-1;6881:755:1;-1:-1:-1;;;6881:755:1:o;7823:160::-;7888:20;;7944:13;;7937:21;7927:32;;7917:60;;7973:1;7970;7963:12;7988:254;8053:6;8061;8114:2;8102:9;8093:7;8089:23;8085:32;8082:52;;;8130:1;8127;8120:12;8082:52;8153:29;8172:9;8153:29;:::i;:::-;8143:39;;8201:35;8232:2;8221:9;8217:18;8201:35;:::i;8247:667::-;8342:6;8350;8358;8366;8419:3;8407:9;8398:7;8394:23;8390:33;8387:53;;;8436:1;8433;8426:12;8387:53;8459:29;8478:9;8459:29;:::i;:::-;8449:39;;8507:38;8541:2;8530:9;8526:18;8507:38;:::i;:::-;8497:48;;8592:2;8581:9;8577:18;8564:32;8554:42;;8647:2;8636:9;8632:18;8619:32;8674:18;8666:6;8663:30;8660:50;;;8706:1;8703;8696:12;8660:50;8729:22;;8782:4;8774:13;;8770:27;-1:-1:-1;8760:55:1;;8811:1;8808;8801:12;8760:55;8834:74;8900:7;8895:2;8882:16;8877:2;8873;8869:11;8834:74;:::i;:::-;8824:84;;;8247:667;;;;;;;:::o;8919:180::-;8975:6;9028:2;9016:9;9007:7;9003:23;8999:32;8996:52;;;9044:1;9041;9034:12;8996:52;9067:26;9083:9;9067:26;:::i;9104:260::-;9172:6;9180;9233:2;9221:9;9212:7;9208:23;9204:32;9201:52;;;9249:1;9246;9239:12;9201:52;9272:29;9291:9;9272:29;:::i;:::-;9262:39;;9320:38;9354:2;9343:9;9339:18;9320:38;:::i;9979:437::-;10058:1;10054:12;;;;10101;;;10122:61;;10176:4;10168:6;10164:17;10154:27;;10122:61;10229:2;10221:6;10218:14;10198:18;10195:38;10192:218;;-1:-1:-1;;;10263:1:1;10256:88;10367:4;10364:1;10357:15;10395:4;10392:1;10385:15;10192:218;;9979:437;;;:::o;10766:184::-;-1:-1:-1;;;10815:1:1;10808:88;10915:4;10912:1;10905:15;10939:4;10936:1;10929:15;10955:228;10995:7;11121:1;-1:-1:-1;;11049:74:1;11046:1;11043:81;11038:1;11031:9;11024:17;11020:105;11017:131;;;11128:18;;:::i;:::-;-1:-1:-1;11168:9:1;;10955:228::o;11188:274::-;11228:1;11254;11244:189;;-1:-1:-1;;;11286:1:1;11279:88;11390:4;11387:1;11380:15;11418:4;11415:1;11408:15;11244:189;-1:-1:-1;11447:9:1;;11188:274::o;12227:128::-;12267:3;12298:1;12294:6;12291:1;12288:13;12285:39;;;12304:18;;:::i;:::-;-1:-1:-1;12340:9:1;;12227:128::o;13050:125::-;13090:4;13118:1;13115;13112:8;13109:34;;;13123:18;;:::i;:::-;-1:-1:-1;13160:9:1;;13050:125::o;16346:470::-;16525:3;16563:6;16557:13;16579:53;16625:6;16620:3;16613:4;16605:6;16601:17;16579:53;:::i;:::-;16695:13;;16654:16;;;;16717:57;16695:13;16654:16;16751:4;16739:17;;16717:57;:::i;:::-;16790:20;;16346:470;-1:-1:-1;;;;16346:470:1:o;19705:184::-;-1:-1:-1;;;19754:1:1;19747:88;19854:4;19851:1;19844:15;19878:4;19875:1;19868:15;19894:195;19933:3;-1:-1:-1;;19957:5:1;19954:77;19951:103;;20034:18;;:::i;:::-;-1:-1:-1;20081:1:1;20070:13;;19894:195::o;20094:512::-;20288:4;-1:-1:-1;;;;;20398:2:1;20390:6;20386:15;20375:9;20368:34;20450:2;20442:6;20438:15;20433:2;20422:9;20418:18;20411:43;;20490:6;20485:2;20474:9;20470:18;20463:34;20533:3;20528:2;20517:9;20513:18;20506:31;20554:46;20595:3;20584:9;20580:19;20572:6;20554:46;:::i;:::-;20546:54;20094:512;-1:-1:-1;;;;;;20094:512:1:o;20611:249::-;20680:6;20733:2;20721:9;20712:7;20708:23;20704:32;20701:52;;;20749:1;20746;20739:12;20701:52;20781:9;20775:16;20800:30;20824:5;20800:30;:::i

Swarm Source

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