ETH Price: $3,362.59 (-0.63%)
Gas: 1 Gwei

Token

Hanuman Warrior (HANUMAN)
 

Overview

Max Total Supply

600 HANUMAN

Holders

146

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Filtered by Token Holder
illuminaticongo.eth
Balance
1 HANUMAN
0x857D5884FC42CEa646bD62Cc84F806aEB9a2AE6F
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
HanumanWarrior

Compiler Version
v0.8.18+commit.87f61d96

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

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

// Sources flattened with hardhat v2.12.4 https://hardhat.org

// File contracts/OperatorFilterer.sol


pragma solidity ^0.8.4;

/// @notice Optimized and flexible operator filterer to abide to OpenSea's
/// mandatory on-chain royalty enforcement in order for new collections to
/// receive royalties.
/// For more information, see:
/// See: https://github.com/ProjectOpenSea/operator-filter-registry
abstract contract OperatorFilterer {
    /// @dev The default OpenSea operator blocklist subscription.
    address internal constant _DEFAULT_SUBSCRIPTION = 0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6;

    /// @dev The OpenSea operator filter registry.
    address internal constant _OPERATOR_FILTER_REGISTRY = 0x000000000000AAeB6D7670E522A718067333cd4E;

    /// @dev Registers the current contract to OpenSea's operator filter,
    /// and subscribe to the default OpenSea operator blocklist.
    /// Note: Will not revert nor update existing settings for repeated registration.
    function _registerForOperatorFiltering() internal virtual {
        _registerForOperatorFiltering(_DEFAULT_SUBSCRIPTION, true);
    }

    /// @dev Registers the current contract to OpenSea's operator filter.
    /// Note: Will not revert nor update existing settings for repeated registration.
    function _registerForOperatorFiltering(address subscriptionOrRegistrantToCopy, bool subscribe)
        internal
        virtual
    {
        /// @solidity memory-safe-assembly
        assembly {
            let functionSelector := 0x7d3e3dbe // `registerAndSubscribe(address,address)`.

            // Clean the upper 96 bits of `subscriptionOrRegistrantToCopy` in case they are dirty.
            subscriptionOrRegistrantToCopy := shr(96, shl(96, subscriptionOrRegistrantToCopy))

            for {} iszero(subscribe) {} {
                if iszero(subscriptionOrRegistrantToCopy) {
                    functionSelector := 0x4420e486 // `register(address)`.
                    break
                }
                functionSelector := 0xa0af2903 // `registerAndCopyEntries(address,address)`.
                break
            }
            // Store the function selector.
            mstore(0x00, shl(224, functionSelector))
            // Store the `address(this)`.
            mstore(0x04, address())
            // Store the `subscriptionOrRegistrantToCopy`.
            mstore(0x24, subscriptionOrRegistrantToCopy)
            // Register into the registry.
            if iszero(call(gas(), _OPERATOR_FILTER_REGISTRY, 0, 0x00, 0x44, 0x00, 0x04)) {
                // If the function selector has not been overwritten,
                // it is an out-of-gas error.
                if eq(shr(224, mload(0x00)), functionSelector) {
                    // To prevent gas under-estimation.
                    revert(0, 0)
                }
            }
            // Restore the part of the free memory pointer that was overwritten,
            // which is guaranteed to be zero, because of Solidity's memory size limits.
            mstore(0x24, 0)
        }
    }

    /// @dev Modifier to guard a function and revert if the caller is a blocked operator.
    modifier onlyAllowedOperator(address from) virtual {
        if (from != msg.sender) {
            if (!_isPriorityOperator(msg.sender)) {
                if (_operatorFilteringEnabled()) _revertIfBlocked(msg.sender);
            }
        }
        _;
    }

    /// @dev Modifier to guard a function from approving a blocked operator..
    modifier onlyAllowedOperatorApproval(address operator) virtual {
        if (!_isPriorityOperator(operator)) {
            if (_operatorFilteringEnabled()) _revertIfBlocked(operator);
        }
        _;
    }

    /// @dev Helper function that reverts if the `operator` is blocked by the registry.
    function _revertIfBlocked(address operator) private view {
        /// @solidity memory-safe-assembly
        assembly {
            // Store the function selector of `isOperatorAllowed(address,address)`,
            // shifted left by 6 bytes, which is enough for 8tb of memory.
            // We waste 6-3 = 3 bytes to save on 6 runtime gas (PUSH1 0x224 SHL).
            mstore(0x00, 0xc6171134001122334455)
            // Store the `address(this)`.
            mstore(0x1a, address())
            // Store the `operator`.
            mstore(0x3a, operator)

            // `isOperatorAllowed` always returns true if it does not revert.
            if iszero(staticcall(gas(), _OPERATOR_FILTER_REGISTRY, 0x16, 0x44, 0x00, 0x00)) {
                // Bubble up the revert if the staticcall reverts.
                returndatacopy(0x00, 0x00, returndatasize())
                revert(0x00, returndatasize())
            }

            // We'll skip checking if `from` is inside the blacklist.
            // Even though that can block transferring out of wrapper contracts,
            // we don't want tokens to be stuck.

            // Restore the part of the free memory pointer that was overwritten,
            // which is guaranteed to be zero, if less than 8tb of memory is used.
            mstore(0x3a, 0)
        }
    }

    /// @dev For deriving contracts to override, so that operator filtering
    /// can be turned on / off.
    /// Returns true by default.
    function _operatorFilteringEnabled() internal view virtual returns (bool) {
        return true;
    }

    /// @dev For deriving contracts to override, so that preferred marketplaces can
    /// skip operator filtering, helping users save gas.
    /// Returns false for all inputs by default.
    function _isPriorityOperator(address) internal view virtual returns (bool) {
        return false;
    }
}


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


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

pragma solidity ^0.8.0;

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

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

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

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

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

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

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            require(denominator > prod1);

            ///////////////////////////////////////////////
            // 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 10, 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 * 8) < value ? 1 : 0);
        }
    }
}


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


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

pragma solidity ^0.8.0;

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

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

    /**
     * @dev Converts a `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);
    }
}


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


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

pragma solidity ^0.8.0;

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

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


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


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

pragma solidity ^0.8.0;

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

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

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

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

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

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

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing 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)

pragma solidity ^0.8.0;

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


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


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

pragma solidity ^0.8.0;

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


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


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

pragma solidity ^0.8.0;

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


// File @openzeppelin/contracts/token/common/[email protected]


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

pragma solidity ^0.8.0;


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

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

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

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

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

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

        return (royalty.receiver, royaltyAmount);
    }

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

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

        _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator);
    }

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

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

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

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


// File erc721a/contracts/[email protected]


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

pragma solidity ^0.8.4;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


// File erc721a/contracts/[email protected]


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

pragma solidity ^0.8.4;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        return _tokenApprovals[tokenId].value;
    }

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            uint256 toMasked;
            uint256 end = startTokenId + quantity;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        address from = address(uint160(prevOwnershipPacked));

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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


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

pragma solidity ^0.8.0;

/**
 * @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 rebuild 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 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 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 for 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) {
            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 rebuild 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 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 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 for 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) {
            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 contracts/Hanuman.sol

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;


error NotEnoughETH();
error SurpassingMaxSupply();
error NotAuthorized();
error TransactionLimitExceeded();


contract HanumanWarrior is ERC721A, OperatorFilterer, Ownable, ERC2981 {

    using Strings for uint256;

    bool public operatorFilteringEnabled;

    ERC721A public genesisPass;

    uint256 public genPassPrice = 0.04 ether;
    uint256 public allowListPrice = 0.05 ether;
    uint256 public publicPrice = 0.06 ether;

    uint256 public transactionLimit = 10;
    
    string public baseURI;
    bytes32 public merkleRoot = 0x2024891fde6cd88e537babfc6d46382212184a3ec83ed220d8677c316e75d2a4;

    enum Phase{
        NONE,
        MINT
    }
    
    Phase public mintingPhase;

    modifier onlySender() {
        require(msg.sender == tx.origin);
        _;
    }

    modifier MintOpen() {
        require(mintingPhase == Phase.MINT);
        _;
    }

    constructor(string memory _initBaseURI, address genesisAddress)
        ERC721A("Hanuman Warrior", "HANUMAN")
    {
        setBaseURI(_initBaseURI);
        genesisPass = ERC721A(genesisAddress);
        
        _registerForOperatorFiltering();
        operatorFilteringEnabled = true;

        _mint(msg.sender, 108);

        _setDefaultRoyalty(msg.sender, 1000);
    }

    function genPassHanuman(uint256 amount) external payable onlySender MintOpen
    {
        if(msg.value < genPassPrice * amount) revert NotEnoughETH();
        if(!hasGenPass()) revert NotAuthorized();
        if(amount > transactionLimit) revert TransactionLimitExceeded();

        _mint(msg.sender, amount);
    }

    function allowListHanuman(bytes32[] calldata _merkleProof,uint256 amount) external payable onlySender MintOpen
    {
        bytes32 leaf = keccak256(abi.encodePacked(msg.sender));

        if(!MerkleProof.verify(_merkleProof, merkleRoot, leaf)) revert NotAuthorized();
        if(msg.value < allowListPrice * amount) revert NotEnoughETH();
        if(amount > transactionLimit) revert TransactionLimitExceeded();

        _mint(msg.sender, amount);
    }

    function publicHanuman(uint256 amount) external payable onlySender MintOpen
    {
        if(msg.value < publicPrice * amount) revert NotEnoughETH();
        if(amount > transactionLimit) revert TransactionLimitExceeded();

        _mint(msg.sender, amount);
    }
    function changeMerkleRoot(bytes32 incomingMerkle) external onlyOwner
    {
        merkleRoot = incomingMerkle;
    }

    function openMint() external onlyOwner
    {
        mintingPhase = Phase.MINT;
    }
    function closeMint() external onlyOwner
    {
        mintingPhase = Phase.NONE;
    }
    function founderMint(uint256 amount)external onlySender onlyOwner
    {
        _mint(msg.sender, amount);
    }

    function hasGenPass() public view returns(bool)
    {
        return genesisPass.balanceOf(msg.sender) >= 1;
    }

    function withdrawEther() external onlyOwner {
        (bool hs, ) = payable(msg.sender).call{value: address(this).balance}("");
        require(hs);
    }

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

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

    function tokenURI(uint256 tokenId)
        public
        view
        virtual
        override
        returns (string memory)
    {
        require(
            _exists(tokenId),
            "ERC721AMetadata: URI query for nonexistent token"
        );
        string memory currentBaseURI = _baseURI();
        return
            bytes(currentBaseURI).length > 0
                ? string(
                    abi.encodePacked(
                        currentBaseURI,
                        tokenId.toString(),
                        ".json"
                    )
                )
                : "";
    }

    function setApprovalForAll(address operator, bool approved)
        public
        override (ERC721A)
        onlyAllowedOperatorApproval(operator)
    {
        super.setApprovalForAll(operator, approved);
    }

    function approve(address operator, uint256 tokenId)
        public
        payable
        override (ERC721A)
        onlyAllowedOperatorApproval(operator)
    {
        super.approve(operator, tokenId);
    }

    function transferFrom(address from, address to, uint256 tokenId)
        public
        payable
        override (ERC721A)
        onlyAllowedOperator(from)
    {
        super.transferFrom(from, to, tokenId);
    }

    function safeTransferFrom(address from, address to, uint256 tokenId)
        public
        payable
        override (ERC721A)
        onlyAllowedOperator(from)
    {
        super.safeTransferFrom(from, to, tokenId);
    }

    function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data)
        public
        payable
        override (ERC721A)
        onlyAllowedOperator(from)
    {
        super.safeTransferFrom(from, to, tokenId, data);
    }

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

    function setDefaultRoyalty(address receiver, uint96 feeNumerator) public onlyOwner {
        _setDefaultRoyalty(receiver, feeNumerator);
    }

    function setOperatorFilteringEnabled(bool value) public onlyOwner {
        operatorFilteringEnabled = value;
    }

    function _operatorFilteringEnabled() internal view override returns (bool) {
        return operatorFilteringEnabled;
    }

    function _isPriorityOperator(address operator) internal pure override returns (bool) {
        // OpenSea Seaport Conduit:
        // https://etherscan.io/address/0x1E0049783F008A0085193E00003D00cd54003c71
        // https://goerli.etherscan.io/address/0x1E0049783F008A0085193E00003D00cd54003c71
        return operator == address(0x1E0049783F008A0085193E00003D00cd54003c71);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_initBaseURI","type":"string"},{"internalType":"address","name":"genesisAddress","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":"NotAuthorized","type":"error"},{"inputs":[],"name":"NotEnoughETH","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransactionLimitExceeded","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"allowListHanuman","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"allowListPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":[{"internalType":"bytes32","name":"incomingMerkle","type":"bytes32"}],"name":"changeMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"closeMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"founderMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"genPassHanuman","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"genPassPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"genesisPass","outputs":[{"internalType":"contract ERC721A","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hasGenPass","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintingPhase","outputs":[{"internalType":"enum HanumanWarrior.Phase","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"openMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"operatorFilteringEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"publicHanuman","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"publicPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","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":"bool","name":"value","type":"bool"}],"name":"setOperatorFilteringEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"transactionLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawEther","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052668e1bc9bf040000600c5566b1a2bc2ec50000600d5566d529ae9e860000600e55600a600f557f2024891fde6cd88e537babfc6d46382212184a3ec83ed220d8677c316e75d2a46011553480156200005b57600080fd5b50604051620027d3380380620027d38339810160408190526200007e91620004e1565b6040518060400160405280600f81526020016e2430b73ab6b0b7102bb0b93934b7b960891b815250604051806040016040528060078152602001662420a72aa6a0a760c91b8152508160029081620000d7919062000657565b506003620000e6828262000657565b50506000805550620000f8336200015d565b6200010382620001af565b600b8054610100600160a81b0319166101006001600160a01b038416021790556200012d620001cb565b600b805460ff191660011790556200014733606c620001ee565b62000155336103e8620002d3565b505062000723565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b620001b9620003d8565b6010620001c7828262000657565b5050565b620001ec733cc6cdda760b79bafa08df41ecfa224f810dceb6600162000434565b565b6000805490829003620002145760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b17831790558284019083908390600080516020620027b38339815191528180a4600183015b818114620002a35780836000600080516020620027b3833981519152600080a46001016200027a565b5081600003620002c557604051622e076360e81b815260040160405180910390fd5b60005550505050565b505050565b6127106001600160601b0382161115620003475760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b60648201526084015b60405180910390fd5b6001600160a01b0382166200039f5760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c69642072656365697665720000000000000060448201526064016200033e565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600955565b6008546001600160a01b03163314620001ec5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016200033e565b6001600160a01b0390911690637d3e3dbe816200046457826200045d5750634420e48662000464565b5063a0af29035b8060e01b60005230600452826024526004600060446000806daaeb6d7670e522a718067333cd4e5af1620004a4578060005160e01c03620004a457600080fd5b5060006024525050565b634e487b7160e01b600052604160045260246000fd5b80516001600160a01b0381168114620004dc57600080fd5b919050565b60008060408385031215620004f557600080fd5b82516001600160401b03808211156200050d57600080fd5b818501915085601f8301126200052257600080fd5b815181811115620005375762000537620004ae565b604051601f8201601f19908116603f01168101908382118183101715620005625762000562620004ae565b816040528281526020935088848487010111156200057f57600080fd5b600091505b82821015620005a3578482018401518183018501529083019062000584565b6000848483010152809650505050620005be818601620004c4565b925050509250929050565b600181811c90821680620005de57607f821691505b602082108103620005ff57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620002ce57600081815260208120601f850160051c810160208610156200062e5750805b601f850160051c820191505b818110156200064f578281556001016200063a565b505050505050565b81516001600160401b03811115620006735762000673620004ae565b6200068b81620006848454620005c9565b8462000605565b602080601f831160018114620006c35760008415620006aa5750858301515b600019600386901b1c1916600185901b1785556200064f565b600085815260208120601f198616915b82811015620006f457888601518255948401946001909101908401620006d3565b5085821015620007135787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b61208080620007336000396000f3fe6080604052600436106102305760003560e01c8063771e37ee1161012e578063bce6d672116100ab578063ebcea3db1161006f578063ebcea3db14610602578063f19605d614610622578063f2fde38b14610638578063f42202e814610658578063fb796e6c1461067857600080fd5b8063bce6d67214610575578063c87b56dd1461058a578063e295f65e146105aa578063e7473910146105cf578063e985e9c5146105e257600080fd5b8063a22cb465116100f2578063a22cb465146104f6578063a24e515314610516578063a945bf801461052c578063b7c0b8e814610542578063b88d4fde1461056257600080fd5b8063771e37ee146104715780637e5ac09a146104865780638da5cb5b146104ad57806395d89b41146104cb5780639631a27e146104e057600080fd5b806342842e0e116101bc578063689fc84f11610180578063689fc84f146103ff5780636c0360eb1461041257806370a0823114610427578063715018a6146104475780637362377b1461045c57600080fd5b806342842e0e1461038457806353e432a31461039757806355f804b3146103aa5780636352211e146103ca57806364f101f0146103ea57600080fd5b8063095ea7b311610203578063095ea7b3146102e657806318160ddd146102f957806323b872dd1461031c5780632a55205a1461032f5780632eb4a7ab1461036e57600080fd5b806301ffc9a71461023557806304634d8d1461026a57806306fdde031461028c578063081812fc146102ae575b600080fd5b34801561024157600080fd5b506102556102503660046119ad565b610692565b60405190151581526020015b60405180910390f35b34801561027657600080fd5b5061028a6102853660046119e6565b6106b2565b005b34801561029857600080fd5b506102a16106c8565b6040516102619190611a79565b3480156102ba57600080fd5b506102ce6102c9366004611a8c565b61075a565b6040516001600160a01b039091168152602001610261565b61028a6102f4366004611aa5565b61079e565b34801561030557600080fd5b50600154600054035b604051908152602001610261565b61028a61032a366004611acf565b6107cf565b34801561033b57600080fd5b5061034f61034a366004611b0b565b610812565b604080516001600160a01b039093168352602083019190915201610261565b34801561037a57600080fd5b5061030e60115481565b61028a610392366004611acf565b6108be565b61028a6103a5366004611a8c565b6108fb565b3480156103b657600080fd5b5061028a6103c5366004611bb9565b610988565b3480156103d657600080fd5b506102ce6103e5366004611a8c565b61099c565b3480156103f657600080fd5b5061028a6109a7565b61028a61040d366004611c02565b6109c6565b34801561041e57600080fd5b506102a1610ae7565b34801561043357600080fd5b5061030e610442366004611c7d565b610b75565b34801561045357600080fd5b5061028a610bc4565b34801561046857600080fd5b5061028a610bd8565b34801561047d57600080fd5b50610255610c35565b34801561049257600080fd5b506012546104a09060ff1681565b6040516102619190611cae565b3480156104b957600080fd5b506008546001600160a01b03166102ce565b3480156104d757600080fd5b506102a1610cb2565b3480156104ec57600080fd5b5061030e600c5481565b34801561050257600080fd5b5061028a610511366004611ce6565b610cc1565b34801561052257600080fd5b5061030e600d5481565b34801561053857600080fd5b5061030e600e5481565b34801561054e57600080fd5b5061028a61055d366004611d19565b610ced565b61028a610570366004611d34565b610d08565b34801561058157600080fd5b5061028a610d4d565b34801561059657600080fd5b506102a16105a5366004611a8c565b610d68565b3480156105b657600080fd5b50600b546102ce9061010090046001600160a01b031681565b61028a6105dd366004611a8c565b610e39565b3480156105ee57600080fd5b506102556105fd366004611db0565b610ebb565b34801561060e57600080fd5b5061028a61061d366004611a8c565b610ee9565b34801561062e57600080fd5b5061030e600f5481565b34801561064457600080fd5b5061028a610653366004611c7d565b610ef6565b34801561066457600080fd5b5061028a610673366004611a8c565b610f6c565b34801561068457600080fd5b50600b546102559060ff1681565b600061069d82610f80565b806106ac57506106ac82610fce565b92915050565b6106ba611003565b6106c4828261105d565b5050565b6060600280546106d790611dda565b80601f016020809104026020016040519081016040528092919081815260200182805461070390611dda565b80156107505780601f1061072557610100808354040283529160200191610750565b820191906000526020600020905b81548152906001019060200180831161073357829003601f168201915b5050505050905090565b60006107658261115a565b610782576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b816107a881611181565b6107c057600b5460ff16156107c0576107c0816111a3565b6107ca83836111e7565b505050565b826001600160a01b0381163314610801576107e933611181565b61080157600b5460ff161561080157610801336111a3565b61080c848484611287565b50505050565b6000828152600a602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b03169282019290925282916108875750604080518082019091526009546001600160a01b0381168252600160a01b90046001600160601b031660208201525b6020810151600090612710906108a6906001600160601b031687611e2a565b6108b09190611e41565b915196919550909350505050565b826001600160a01b03811633146108f0576108d833611181565b6108f057600b5460ff16156108f0576108f0336111a3565b61080c848484611420565b33321461090757600080fd5b600160125460ff16600181111561092057610920611c98565b1461092a57600080fd5b80600e546109389190611e2a565b34101561095857604051632c1d501360e11b815260040160405180910390fd5b600f5481111561097b57604051632e29643b60e21b815260040160405180910390fd5b610985338261143b565b50565b610990611003565b60106106c48282611ea9565b60006106ac82611539565b6109af611003565b601280546000919060ff19166001835b0217905550565b3332146109d257600080fd5b600160125460ff1660018111156109eb576109eb611c98565b146109f557600080fd5b6040516bffffffffffffffffffffffff193360601b166020820152600090603401604051602081830303815290604052805190602001209050610a6f8484808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152505060115491508490506115a0565b610a8c5760405163ea8e4eb560e01b815260040160405180910390fd5b81600d54610a9a9190611e2a565b341015610aba57604051632c1d501360e11b815260040160405180910390fd5b600f54821115610add57604051632e29643b60e21b815260040160405180910390fd5b61080c338361143b565b60108054610af490611dda565b80601f0160208091040260200160405190810160405280929190818152602001828054610b2090611dda565b8015610b6d5780601f10610b4257610100808354040283529160200191610b6d565b820191906000526020600020905b815481529060010190602001808311610b5057829003601f168201915b505050505081565b60006001600160a01b038216610b9e576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610bcc611003565b610bd660006115b6565b565b610be0611003565b604051600090339047908381818185875af1925050503d8060008114610c22576040519150601f19603f3d011682016040523d82523d6000602084013e610c27565b606091505b505090508061098557600080fd5b600b546040516370a0823160e01b81523360048201526000916001916101009091046001600160a01b0316906370a0823190602401602060405180830381865afa158015610c87573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cab9190611f69565b1015905090565b6060600380546106d790611dda565b81610ccb81611181565b610ce357600b5460ff1615610ce357610ce3816111a3565b6107ca8383611608565b610cf5611003565b600b805460ff1916911515919091179055565b836001600160a01b0381163314610d3a57610d2233611181565b610d3a57600b5460ff1615610d3a57610d3a336111a3565b610d4685858585611674565b5050505050565b610d55611003565b601280546001919060ff191682806109bf565b6060610d738261115a565b610ddd5760405162461bcd60e51b815260206004820152603060248201527f455243373231414d657461646174613a2055524920717565727920666f72206e60448201526f37b732bc34b9ba32b73a103a37b5b2b760811b60648201526084015b60405180910390fd5b6000610de76116b8565b90506000815111610e075760405180602001604052806000815250610e32565b80610e11846116c7565b604051602001610e22929190611f82565b6040516020818303038152906040525b9392505050565b333214610e4557600080fd5b600160125460ff166001811115610e5e57610e5e611c98565b14610e6857600080fd5b80600c54610e769190611e2a565b341015610e9657604051632c1d501360e11b815260040160405180910390fd5b610e9e610c35565b6109585760405163ea8e4eb560e01b815260040160405180910390fd5b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b610ef1611003565b601155565b610efe611003565b6001600160a01b038116610f635760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610dd4565b610985816115b6565b333214610f7857600080fd5b61097b611003565b60006301ffc9a760e01b6001600160e01b031983161480610fb157506380ac58cd60e01b6001600160e01b03198316145b806106ac5750506001600160e01b031916635b5e139f60e01b1490565b60006001600160e01b0319821663152a902d60e11b14806106ac57506301ffc9a760e01b6001600160e01b03198316146106ac565b6008546001600160a01b03163314610bd65760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610dd4565b6127106001600160601b03821611156110cb5760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b6064820152608401610dd4565b6001600160a01b0382166111215760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401610dd4565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600955565b60008054821080156106ac575050600090815260046020526040902054600160e01b161590565b6001600160a01b0316731e0049783f008a0085193e00003d00cd54003c711490565b69c617113400112233445560005230601a5280603a52600080604460166daaeb6d7670e522a718067333cd4e5afa6111df573d6000803e3d6000fd5b6000603a5250565b60006111f28261099c565b9050336001600160a01b0382161461122b5761120e8133610ebb565b61122b576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061129282611539565b9050836001600160a01b0316816001600160a01b0316146112c55760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417611312576112f58633610ebb565b61131257604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661133957604051633a954ecd60e21b815260040160405180910390fd5b801561134457600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b841690036113d6576001840160008181526004602052604081205490036113d45760005481146113d45760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b6107ca83838360405180602001604052806000815250610d08565b60008054908290036114605760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461150f57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46001016114d7565b508160000361153057604051622e076360e81b815260040160405180910390fd5b60005550505050565b6000816000548110156115875760008181526004602052604081205490600160e01b82169003611585575b80600003610e32575060001901600081815260046020526040902054611564565b505b604051636f96cda160e11b815260040160405180910390fd5b6000826115ad858461175a565b14949350505050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61167f8484846107cf565b6001600160a01b0383163b1561080c5761169b848484846117a7565b61080c576040516368d2bf6b60e11b815260040160405180910390fd5b6060601080546106d790611dda565b606060006116d483611893565b600101905060008167ffffffffffffffff8111156116f4576116f4611b2d565b6040519080825280601f01601f19166020018201604052801561171e576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461172857509392505050565b600081815b845181101561179f5761178b8286838151811061177e5761177e611fc1565b602002602001015161196b565b91508061179781611fd7565b91505061175f565b509392505050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906117dc903390899088908890600401611ff0565b6020604051808303816000875af1925050508015611817575060408051601f3d908101601f191682019092526118149181019061202d565b60015b611875573d808015611845576040519150601f19603f3d011682016040523d82523d6000602084013e61184a565b606091505b50805160000361186d576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106118d25772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef810000000083106118fe576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061191c57662386f26fc10000830492506010015b6305f5e1008310611934576305f5e100830492506008015b612710831061194857612710830492506004015b6064831061195a576064830492506002015b600a83106106ac5760010192915050565b6000818310611987576000828152602084905260409020610e32565b5060009182526020526040902090565b6001600160e01b03198116811461098557600080fd5b6000602082840312156119bf57600080fd5b8135610e3281611997565b80356001600160a01b03811681146119e157600080fd5b919050565b600080604083850312156119f957600080fd5b611a02836119ca565b915060208301356001600160601b0381168114611a1e57600080fd5b809150509250929050565b60005b83811015611a44578181015183820152602001611a2c565b50506000910152565b60008151808452611a65816020860160208601611a29565b601f01601f19169290920160200192915050565b602081526000610e326020830184611a4d565b600060208284031215611a9e57600080fd5b5035919050565b60008060408385031215611ab857600080fd5b611ac1836119ca565b946020939093013593505050565b600080600060608486031215611ae457600080fd5b611aed846119ca565b9250611afb602085016119ca565b9150604084013590509250925092565b60008060408385031215611b1e57600080fd5b50508035926020909101359150565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611b5e57611b5e611b2d565b604051601f8501601f19908116603f01168101908282118183101715611b8657611b86611b2d565b81604052809350858152868686011115611b9f57600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611bcb57600080fd5b813567ffffffffffffffff811115611be257600080fd5b8201601f81018413611bf357600080fd5b61188b84823560208401611b43565b600080600060408486031215611c1757600080fd5b833567ffffffffffffffff80821115611c2f57600080fd5b818601915086601f830112611c4357600080fd5b813581811115611c5257600080fd5b8760208260051b8501011115611c6757600080fd5b6020928301989097509590910135949350505050565b600060208284031215611c8f57600080fd5b610e32826119ca565b634e487b7160e01b600052602160045260246000fd5b6020810160028310611cd057634e487b7160e01b600052602160045260246000fd5b91905290565b803580151581146119e157600080fd5b60008060408385031215611cf957600080fd5b611d02836119ca565b9150611d1060208401611cd6565b90509250929050565b600060208284031215611d2b57600080fd5b610e3282611cd6565b60008060008060808587031215611d4a57600080fd5b611d53856119ca565b9350611d61602086016119ca565b925060408501359150606085013567ffffffffffffffff811115611d8457600080fd5b8501601f81018713611d9557600080fd5b611da487823560208401611b43565b91505092959194509250565b60008060408385031215611dc357600080fd5b611dcc836119ca565b9150611d10602084016119ca565b600181811c90821680611dee57607f821691505b602082108103611e0e57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176106ac576106ac611e14565b600082611e5e57634e487b7160e01b600052601260045260246000fd5b500490565b601f8211156107ca57600081815260208120601f850160051c81016020861015611e8a5750805b601f850160051c820191505b8181101561141857828155600101611e96565b815167ffffffffffffffff811115611ec357611ec3611b2d565b611ed781611ed18454611dda565b84611e63565b602080601f831160018114611f0c5760008415611ef45750858301515b600019600386901b1c1916600185901b178555611418565b600085815260208120601f198616915b82811015611f3b57888601518255948401946001909101908401611f1c565b5085821015611f595787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215611f7b57600080fd5b5051919050565b60008351611f94818460208801611a29565b835190830190611fa8818360208801611a29565b64173539b7b760d91b9101908152600501949350505050565b634e487b7160e01b600052603260045260246000fd5b600060018201611fe957611fe9611e14565b5060010190565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061202390830184611a4d565b9695505050505050565b60006020828403121561203f57600080fd5b8151610e328161199756fea26469706673582212202affc7afcfee41b18012a1589209fcac69463505a2664a7769c88d706ae2512464736f6c63430008120033ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef00000000000000000000000000000000000000000000000000000000000000400000000000000000000000003d0f6eff617395d839bf137d0cfc0ea11c696327000000000000000000000000000000000000000000000000000000000000005368747470733a2f2f7365656b6572732e6d7970696e6174612e636c6f75642f697066732f516d597059486a46754243716f63635453684278544b6d614871526b4a616537327344437046515768757a5662342f00000000000000000000000000

Deployed Bytecode

0x6080604052600436106102305760003560e01c8063771e37ee1161012e578063bce6d672116100ab578063ebcea3db1161006f578063ebcea3db14610602578063f19605d614610622578063f2fde38b14610638578063f42202e814610658578063fb796e6c1461067857600080fd5b8063bce6d67214610575578063c87b56dd1461058a578063e295f65e146105aa578063e7473910146105cf578063e985e9c5146105e257600080fd5b8063a22cb465116100f2578063a22cb465146104f6578063a24e515314610516578063a945bf801461052c578063b7c0b8e814610542578063b88d4fde1461056257600080fd5b8063771e37ee146104715780637e5ac09a146104865780638da5cb5b146104ad57806395d89b41146104cb5780639631a27e146104e057600080fd5b806342842e0e116101bc578063689fc84f11610180578063689fc84f146103ff5780636c0360eb1461041257806370a0823114610427578063715018a6146104475780637362377b1461045c57600080fd5b806342842e0e1461038457806353e432a31461039757806355f804b3146103aa5780636352211e146103ca57806364f101f0146103ea57600080fd5b8063095ea7b311610203578063095ea7b3146102e657806318160ddd146102f957806323b872dd1461031c5780632a55205a1461032f5780632eb4a7ab1461036e57600080fd5b806301ffc9a71461023557806304634d8d1461026a57806306fdde031461028c578063081812fc146102ae575b600080fd5b34801561024157600080fd5b506102556102503660046119ad565b610692565b60405190151581526020015b60405180910390f35b34801561027657600080fd5b5061028a6102853660046119e6565b6106b2565b005b34801561029857600080fd5b506102a16106c8565b6040516102619190611a79565b3480156102ba57600080fd5b506102ce6102c9366004611a8c565b61075a565b6040516001600160a01b039091168152602001610261565b61028a6102f4366004611aa5565b61079e565b34801561030557600080fd5b50600154600054035b604051908152602001610261565b61028a61032a366004611acf565b6107cf565b34801561033b57600080fd5b5061034f61034a366004611b0b565b610812565b604080516001600160a01b039093168352602083019190915201610261565b34801561037a57600080fd5b5061030e60115481565b61028a610392366004611acf565b6108be565b61028a6103a5366004611a8c565b6108fb565b3480156103b657600080fd5b5061028a6103c5366004611bb9565b610988565b3480156103d657600080fd5b506102ce6103e5366004611a8c565b61099c565b3480156103f657600080fd5b5061028a6109a7565b61028a61040d366004611c02565b6109c6565b34801561041e57600080fd5b506102a1610ae7565b34801561043357600080fd5b5061030e610442366004611c7d565b610b75565b34801561045357600080fd5b5061028a610bc4565b34801561046857600080fd5b5061028a610bd8565b34801561047d57600080fd5b50610255610c35565b34801561049257600080fd5b506012546104a09060ff1681565b6040516102619190611cae565b3480156104b957600080fd5b506008546001600160a01b03166102ce565b3480156104d757600080fd5b506102a1610cb2565b3480156104ec57600080fd5b5061030e600c5481565b34801561050257600080fd5b5061028a610511366004611ce6565b610cc1565b34801561052257600080fd5b5061030e600d5481565b34801561053857600080fd5b5061030e600e5481565b34801561054e57600080fd5b5061028a61055d366004611d19565b610ced565b61028a610570366004611d34565b610d08565b34801561058157600080fd5b5061028a610d4d565b34801561059657600080fd5b506102a16105a5366004611a8c565b610d68565b3480156105b657600080fd5b50600b546102ce9061010090046001600160a01b031681565b61028a6105dd366004611a8c565b610e39565b3480156105ee57600080fd5b506102556105fd366004611db0565b610ebb565b34801561060e57600080fd5b5061028a61061d366004611a8c565b610ee9565b34801561062e57600080fd5b5061030e600f5481565b34801561064457600080fd5b5061028a610653366004611c7d565b610ef6565b34801561066457600080fd5b5061028a610673366004611a8c565b610f6c565b34801561068457600080fd5b50600b546102559060ff1681565b600061069d82610f80565b806106ac57506106ac82610fce565b92915050565b6106ba611003565b6106c4828261105d565b5050565b6060600280546106d790611dda565b80601f016020809104026020016040519081016040528092919081815260200182805461070390611dda565b80156107505780601f1061072557610100808354040283529160200191610750565b820191906000526020600020905b81548152906001019060200180831161073357829003601f168201915b5050505050905090565b60006107658261115a565b610782576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b816107a881611181565b6107c057600b5460ff16156107c0576107c0816111a3565b6107ca83836111e7565b505050565b826001600160a01b0381163314610801576107e933611181565b61080157600b5460ff161561080157610801336111a3565b61080c848484611287565b50505050565b6000828152600a602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b03169282019290925282916108875750604080518082019091526009546001600160a01b0381168252600160a01b90046001600160601b031660208201525b6020810151600090612710906108a6906001600160601b031687611e2a565b6108b09190611e41565b915196919550909350505050565b826001600160a01b03811633146108f0576108d833611181565b6108f057600b5460ff16156108f0576108f0336111a3565b61080c848484611420565b33321461090757600080fd5b600160125460ff16600181111561092057610920611c98565b1461092a57600080fd5b80600e546109389190611e2a565b34101561095857604051632c1d501360e11b815260040160405180910390fd5b600f5481111561097b57604051632e29643b60e21b815260040160405180910390fd5b610985338261143b565b50565b610990611003565b60106106c48282611ea9565b60006106ac82611539565b6109af611003565b601280546000919060ff19166001835b0217905550565b3332146109d257600080fd5b600160125460ff1660018111156109eb576109eb611c98565b146109f557600080fd5b6040516bffffffffffffffffffffffff193360601b166020820152600090603401604051602081830303815290604052805190602001209050610a6f8484808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152505060115491508490506115a0565b610a8c5760405163ea8e4eb560e01b815260040160405180910390fd5b81600d54610a9a9190611e2a565b341015610aba57604051632c1d501360e11b815260040160405180910390fd5b600f54821115610add57604051632e29643b60e21b815260040160405180910390fd5b61080c338361143b565b60108054610af490611dda565b80601f0160208091040260200160405190810160405280929190818152602001828054610b2090611dda565b8015610b6d5780601f10610b4257610100808354040283529160200191610b6d565b820191906000526020600020905b815481529060010190602001808311610b5057829003601f168201915b505050505081565b60006001600160a01b038216610b9e576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610bcc611003565b610bd660006115b6565b565b610be0611003565b604051600090339047908381818185875af1925050503d8060008114610c22576040519150601f19603f3d011682016040523d82523d6000602084013e610c27565b606091505b505090508061098557600080fd5b600b546040516370a0823160e01b81523360048201526000916001916101009091046001600160a01b0316906370a0823190602401602060405180830381865afa158015610c87573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cab9190611f69565b1015905090565b6060600380546106d790611dda565b81610ccb81611181565b610ce357600b5460ff1615610ce357610ce3816111a3565b6107ca8383611608565b610cf5611003565b600b805460ff1916911515919091179055565b836001600160a01b0381163314610d3a57610d2233611181565b610d3a57600b5460ff1615610d3a57610d3a336111a3565b610d4685858585611674565b5050505050565b610d55611003565b601280546001919060ff191682806109bf565b6060610d738261115a565b610ddd5760405162461bcd60e51b815260206004820152603060248201527f455243373231414d657461646174613a2055524920717565727920666f72206e60448201526f37b732bc34b9ba32b73a103a37b5b2b760811b60648201526084015b60405180910390fd5b6000610de76116b8565b90506000815111610e075760405180602001604052806000815250610e32565b80610e11846116c7565b604051602001610e22929190611f82565b6040516020818303038152906040525b9392505050565b333214610e4557600080fd5b600160125460ff166001811115610e5e57610e5e611c98565b14610e6857600080fd5b80600c54610e769190611e2a565b341015610e9657604051632c1d501360e11b815260040160405180910390fd5b610e9e610c35565b6109585760405163ea8e4eb560e01b815260040160405180910390fd5b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b610ef1611003565b601155565b610efe611003565b6001600160a01b038116610f635760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610dd4565b610985816115b6565b333214610f7857600080fd5b61097b611003565b60006301ffc9a760e01b6001600160e01b031983161480610fb157506380ac58cd60e01b6001600160e01b03198316145b806106ac5750506001600160e01b031916635b5e139f60e01b1490565b60006001600160e01b0319821663152a902d60e11b14806106ac57506301ffc9a760e01b6001600160e01b03198316146106ac565b6008546001600160a01b03163314610bd65760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610dd4565b6127106001600160601b03821611156110cb5760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b6064820152608401610dd4565b6001600160a01b0382166111215760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401610dd4565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600955565b60008054821080156106ac575050600090815260046020526040902054600160e01b161590565b6001600160a01b0316731e0049783f008a0085193e00003d00cd54003c711490565b69c617113400112233445560005230601a5280603a52600080604460166daaeb6d7670e522a718067333cd4e5afa6111df573d6000803e3d6000fd5b6000603a5250565b60006111f28261099c565b9050336001600160a01b0382161461122b5761120e8133610ebb565b61122b576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061129282611539565b9050836001600160a01b0316816001600160a01b0316146112c55760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417611312576112f58633610ebb565b61131257604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661133957604051633a954ecd60e21b815260040160405180910390fd5b801561134457600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b841690036113d6576001840160008181526004602052604081205490036113d45760005481146113d45760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b6107ca83838360405180602001604052806000815250610d08565b60008054908290036114605760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461150f57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46001016114d7565b508160000361153057604051622e076360e81b815260040160405180910390fd5b60005550505050565b6000816000548110156115875760008181526004602052604081205490600160e01b82169003611585575b80600003610e32575060001901600081815260046020526040902054611564565b505b604051636f96cda160e11b815260040160405180910390fd5b6000826115ad858461175a565b14949350505050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61167f8484846107cf565b6001600160a01b0383163b1561080c5761169b848484846117a7565b61080c576040516368d2bf6b60e11b815260040160405180910390fd5b6060601080546106d790611dda565b606060006116d483611893565b600101905060008167ffffffffffffffff8111156116f4576116f4611b2d565b6040519080825280601f01601f19166020018201604052801561171e576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461172857509392505050565b600081815b845181101561179f5761178b8286838151811061177e5761177e611fc1565b602002602001015161196b565b91508061179781611fd7565b91505061175f565b509392505050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906117dc903390899088908890600401611ff0565b6020604051808303816000875af1925050508015611817575060408051601f3d908101601f191682019092526118149181019061202d565b60015b611875573d808015611845576040519150601f19603f3d011682016040523d82523d6000602084013e61184a565b606091505b50805160000361186d576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106118d25772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef810000000083106118fe576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061191c57662386f26fc10000830492506010015b6305f5e1008310611934576305f5e100830492506008015b612710831061194857612710830492506004015b6064831061195a576064830492506002015b600a83106106ac5760010192915050565b6000818310611987576000828152602084905260409020610e32565b5060009182526020526040902090565b6001600160e01b03198116811461098557600080fd5b6000602082840312156119bf57600080fd5b8135610e3281611997565b80356001600160a01b03811681146119e157600080fd5b919050565b600080604083850312156119f957600080fd5b611a02836119ca565b915060208301356001600160601b0381168114611a1e57600080fd5b809150509250929050565b60005b83811015611a44578181015183820152602001611a2c565b50506000910152565b60008151808452611a65816020860160208601611a29565b601f01601f19169290920160200192915050565b602081526000610e326020830184611a4d565b600060208284031215611a9e57600080fd5b5035919050565b60008060408385031215611ab857600080fd5b611ac1836119ca565b946020939093013593505050565b600080600060608486031215611ae457600080fd5b611aed846119ca565b9250611afb602085016119ca565b9150604084013590509250925092565b60008060408385031215611b1e57600080fd5b50508035926020909101359150565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611b5e57611b5e611b2d565b604051601f8501601f19908116603f01168101908282118183101715611b8657611b86611b2d565b81604052809350858152868686011115611b9f57600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611bcb57600080fd5b813567ffffffffffffffff811115611be257600080fd5b8201601f81018413611bf357600080fd5b61188b84823560208401611b43565b600080600060408486031215611c1757600080fd5b833567ffffffffffffffff80821115611c2f57600080fd5b818601915086601f830112611c4357600080fd5b813581811115611c5257600080fd5b8760208260051b8501011115611c6757600080fd5b6020928301989097509590910135949350505050565b600060208284031215611c8f57600080fd5b610e32826119ca565b634e487b7160e01b600052602160045260246000fd5b6020810160028310611cd057634e487b7160e01b600052602160045260246000fd5b91905290565b803580151581146119e157600080fd5b60008060408385031215611cf957600080fd5b611d02836119ca565b9150611d1060208401611cd6565b90509250929050565b600060208284031215611d2b57600080fd5b610e3282611cd6565b60008060008060808587031215611d4a57600080fd5b611d53856119ca565b9350611d61602086016119ca565b925060408501359150606085013567ffffffffffffffff811115611d8457600080fd5b8501601f81018713611d9557600080fd5b611da487823560208401611b43565b91505092959194509250565b60008060408385031215611dc357600080fd5b611dcc836119ca565b9150611d10602084016119ca565b600181811c90821680611dee57607f821691505b602082108103611e0e57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176106ac576106ac611e14565b600082611e5e57634e487b7160e01b600052601260045260246000fd5b500490565b601f8211156107ca57600081815260208120601f850160051c81016020861015611e8a5750805b601f850160051c820191505b8181101561141857828155600101611e96565b815167ffffffffffffffff811115611ec357611ec3611b2d565b611ed781611ed18454611dda565b84611e63565b602080601f831160018114611f0c5760008415611ef45750858301515b600019600386901b1c1916600185901b178555611418565b600085815260208120601f198616915b82811015611f3b57888601518255948401946001909101908401611f1c565b5085821015611f595787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215611f7b57600080fd5b5051919050565b60008351611f94818460208801611a29565b835190830190611fa8818360208801611a29565b64173539b7b760d91b9101908152600501949350505050565b634e487b7160e01b600052603260045260246000fd5b600060018201611fe957611fe9611e14565b5060010190565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061202390830184611a4d565b9695505050505050565b60006020828403121561203f57600080fd5b8151610e328161199756fea26469706673582212202affc7afcfee41b18012a1589209fcac69463505a2664a7769c88d706ae2512464736f6c63430008120033

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

00000000000000000000000000000000000000000000000000000000000000400000000000000000000000003d0f6eff617395d839bf137d0cfc0ea11c696327000000000000000000000000000000000000000000000000000000000000005368747470733a2f2f7365656b6572732e6d7970696e6174612e636c6f75642f697066732f516d597059486a46754243716f63635453684278544b6d614871526b4a616537327344437046515768757a5662342f00000000000000000000000000

-----Decoded View---------------
Arg [0] : _initBaseURI (string): https://seekers.mypinata.cloud/ipfs/QmYpYHjFuBCqoccTShBxTKmaHqRkJae72sDCpFQWhuzVb4/
Arg [1] : genesisAddress (address): 0x3D0F6EFF617395D839Bf137D0cFc0EA11C696327

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000003d0f6eff617395d839bf137d0cfc0ea11c696327
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000053
Arg [3] : 68747470733a2f2f7365656b6572732e6d7970696e6174612e636c6f75642f69
Arg [4] : 7066732f516d597059486a46754243716f63635453684278544b6d614871526b
Arg [5] : 4a616537327344437046515768757a5662342f00000000000000000000000000


Deployed Bytecode Sourcemap

92896:6321:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;97948:462;;;;;;;;;;-1:-1:-1;97948:462:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;97948:462:0;;;;;;;;98418:144;;;;;;;;;;-1:-1:-1;98418:144:0;;;;;:::i;:::-;;:::i;:::-;;50985:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;57476:218::-;;;;;;;;;;-1:-1:-1;57476:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;2246:32:1;;;2228:51;;2216:2;2201:18;57476:218:0;2082:203:1;96993:216:0;;;;;;:::i;:::-;;:::i;46736:323::-;;;;;;;;;;-1:-1:-1;47010:12:0;;46797:7;46994:13;:28;46736:323;;;2695:25:1;;;2683:2;2668:18;46736:323:0;2549:177:1;97217:222:0;;;;;;:::i;:::-;;:::i;29168:442::-;;;;;;;;;;-1:-1:-1;29168:442:0;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;3509:32:1;;;3491:51;;3573:2;3558:18;;3551:34;;;;3464:18;29168:442:0;3317:274:1;93311:94:0;;;;;;;;;;;;;;;;97447:230;;;;;;:::i;:::-;;:::i;94890:270::-;;;;;;:::i;:::-;;:::i;96012:104::-;;;;;;;;;;-1:-1:-1;96012:104:0;;;;;:::i;:::-;;:::i;52378:152::-;;;;;;;;;;-1:-1:-1;52378:152:0;;;;;:::i;:::-;;:::i;95388:89::-;;;;;;;;;;;;;:::i;94418:464::-;;;;;;:::i;:::-;;:::i;93283:21::-;;;;;;;;;;;;;:::i;47920:233::-;;;;;;;;;;-1:-1:-1;47920:233:0;;;;;:::i;:::-;;:::i;23825:103::-;;;;;;;;;;;;;:::i;95731:157::-;;;;;;;;;;;;;:::i;95606:117::-;;;;;;;;;;;;;:::i;93473:25::-;;;;;;;;;;-1:-1:-1;93473:25:0;;;;;;;;;;;;;;;:::i;23177:87::-;;;;;;;;;;-1:-1:-1;23250:6:0;;-1:-1:-1;;;;;23250:6:0;23177:87;;51161:104;;;;;;;;;;;;;:::i;93090:40::-;;;;;;;;;;;;;;;;96767:218;;;;;;;;;;-1:-1:-1;96767:218:0;;;;;:::i;:::-;;:::i;93137:42::-;;;;;;;;;;;;;;;;93186:39;;;;;;;;;;;;;;;;98570:117;;;;;;;;;;-1:-1:-1;98570:117:0;;;;;:::i;:::-;;:::i;97685:255::-;;;;;;:::i;:::-;;:::i;95294:88::-;;;;;;;;;;;;;:::i;96124:635::-;;;;;;;;;;-1:-1:-1;96124:635:0;;;;;:::i;:::-;;:::i;93055:26::-;;;;;;;;;;-1:-1:-1;93055:26:0;;;;;;;-1:-1:-1;;;;;93055:26:0;;;94087:323;;;;;;:::i;:::-;;:::i;58425:164::-;;;;;;;;;;-1:-1:-1;58425:164:0;;;;;:::i;:::-;;:::i;95166:120::-;;;;;;;;;;-1:-1:-1;95166:120:0;;;;;:::i;:::-;;:::i;93234:36::-;;;;;;;;;;;;;;;;24083:201;;;;;;;;;;-1:-1:-1;24083:201:0;;;;;:::i;:::-;;:::i;95483:115::-;;;;;;;;;;-1:-1:-1;95483:115:0;;;;;:::i;:::-;;:::i;93010:36::-;;;;;;;;;;-1:-1:-1;93010:36:0;;;;;;;;97948:462;98097:4;98322:38;98348:11;98322:25;:38::i;:::-;:80;;;;98364:38;98390:11;98364:25;:38::i;:::-;98315:87;97948:462;-1:-1:-1;;97948:462:0:o;98418:144::-;23063:13;:11;:13::i;:::-;98512:42:::1;98531:8;98541:12;98512:18;:42::i;:::-;98418:144:::0;;:::o;50985:100::-;51039:13;51072:5;51065:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50985:100;:::o;57476:218::-;57552:7;57577:16;57585:7;57577;:16::i;:::-;57572:64;;57602:34;;-1:-1:-1;;;57602:34:0;;;;;;;;;;;57572:64;-1:-1:-1;57656:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;57656:30:0;;57476:218::o;96993:216::-;97143:8;3654:29;3674:8;3654:19;:29::i;:::-;3649:122;;98788:24;;;;3700:59;;;3733:26;3750:8;3733:16;:26::i;:::-;97169:32:::1;97183:8;97193:7;97169:13;:32::i;:::-;96993:216:::0;;;:::o;97217:222::-;97372:4;-1:-1:-1;;;;;3289:18:0;;3297:10;3289:18;3285:184;;3329:31;3349:10;3329:19;:31::i;:::-;3324:134;;98788:24;;;;3381:61;;;3414:28;3431:10;3414:16;:28::i;:::-;97394:37:::1;97413:4;97419:2;97423:7;97394:18;:37::i;:::-;97217:222:::0;;;;:::o;29168:442::-;29265:7;29323:27;;;:17;:27;;;;;;;;29294:56;;;;;;;;;-1:-1:-1;;;;;29294:56:0;;;;;-1:-1:-1;;;29294:56:0;;;-1:-1:-1;;;;;29294:56:0;;;;;;;;29265:7;;29363:92;;-1:-1:-1;29414:29:0;;;;;;;;;29424:19;29414:29;-1:-1:-1;;;;;29414:29:0;;;;-1:-1:-1;;;29414:29:0;;-1:-1:-1;;;;;29414:29:0;;;;;29363:92;29505:23;;;;29467:21;;29976:5;;29492:36;;-1:-1:-1;;;;;29492:36:0;:10;:36;:::i;:::-;29491:58;;;;:::i;:::-;29570:16;;;;;-1:-1:-1;29168:442:0;;-1:-1:-1;;;;29168:442:0:o;97447:230::-;97606:4;-1:-1:-1;;;;;3289:18:0;;3297:10;3289:18;3285:184;;3329:31;3349:10;3329:19;:31::i;:::-;3324:134;;98788:24;;;;3381:61;;;3414:28;3431:10;3414:16;:28::i;:::-;97628:41:::1;97651:4;97657:2;97661:7;97628:22;:41::i;94890:270::-:0;93548:10;93562:9;93548:23;93540:32;;;;;;93655:10:::1;93639:12;::::0;::::1;;::::0;:26;::::1;;;;;;:::i;:::-;;93631:35;;;::::0;::::1;;95011:6:::2;94997:11;;:20;;;;:::i;:::-;94985:9;:32;94982:58;;;95026:14;;-1:-1:-1::0;;;95026:14:0::2;;;;;;;;;;;94982:58;95063:16;;95054:6;:25;95051:63;;;95088:26;;-1:-1:-1::0;;;95088:26:0::2;;;;;;;;;;;95051:63;95127:25;95133:10;95145:6;95127:5;:25::i;:::-;94890:270:::0;:::o;96012:104::-;23063:13;:11;:13::i;:::-;96087:7:::1;:21;96097:11:::0;96087:7;:21:::1;:::i;52378:152::-:0;52450:7;52493:27;52512:7;52493:18;:27::i;95388:89::-;23063:13;:11;:13::i;:::-;95444:12:::1;:25:::0;;95459:10:::1;::::0;95444:12;-1:-1:-1;;95444:25:0::1;::::0;95459:10;95444:25:::1;;;;;;95388:89::o:0;94418:464::-;93548:10;93562:9;93548:23;93540:32;;;;;;93655:10:::1;93639:12;::::0;::::1;;::::0;:26;::::1;;;;;;:::i;:::-;;93631:35;;;::::0;::::1;;94570:28:::2;::::0;-1:-1:-1;;94587:10:0::2;11715:2:1::0;11711:15;11707:53;94570:28:0::2;::::0;::::2;11695:66:1::0;94545:12:0::2;::::0;11777::1;;94570:28:0::2;;;;;;;;;;;;94560:39;;;;;;94545:54;;94616:50;94635:12;;94616:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;::::0;;;;-1:-1:-1;;94649:10:0::2;::::0;;-1:-1:-1;94661:4:0;;-1:-1:-1;94616:18:0::2;:50::i;:::-;94612:78;;94675:15;;-1:-1:-1::0;;;94675:15:0::2;;;;;;;;;;;94612:78;94733:6;94716:14;;:23;;;;:::i;:::-;94704:9;:35;94701:61;;;94748:14;;-1:-1:-1::0;;;94748:14:0::2;;;;;;;;;;;94701:61;94785:16;;94776:6;:25;94773:63;;;94810:26;;-1:-1:-1::0;;;94810:26:0::2;;;;;;;;;;;94773:63;94849:25;94855:10;94867:6;94849:5;:25::i;93283:21::-:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;47920:233::-;47992:7;-1:-1:-1;;;;;48016:19:0;;48012:60;;48044:28;;-1:-1:-1;;;48044:28:0;;;;;;;;;;;48012:60;-1:-1:-1;;;;;;48090:25:0;;;;;:18;:25;;;;;;42079:13;48090:55;;47920:233::o;23825:103::-;23063:13;:11;:13::i;:::-;23890:30:::1;23917:1;23890:18;:30::i;:::-;23825:103::o:0;95731:157::-;23063:13;:11;:13::i;:::-;95800:58:::1;::::0;95787:7:::1;::::0;95808:10:::1;::::0;95832:21:::1;::::0;95787:7;95800:58;95787:7;95800:58;95832:21;95808:10;95800:58:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;95786:72;;;95877:2;95869:11;;;::::0;::::1;95606:117:::0;95677:11;;:33;;-1:-1:-1;;;95677:33:0;;95699:10;95677:33;;;2228:51:1;95648:4:0;;95714:1;;95677:11;;;;-1:-1:-1;;;;;95677:11:0;;:21;;2201:18:1;;95677:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:38;;95670:45;;95606:117;:::o;51161:104::-;51217:13;51250:7;51243:14;;;;;:::i;96767:218::-;96908:8;3654:29;3674:8;3654:19;:29::i;:::-;3649:122;;98788:24;;;;3700:59;;;3733:26;3750:8;3733:16;:26::i;:::-;96934:43:::1;96958:8;96968;96934:23;:43::i;98570:117::-:0;23063:13;:11;:13::i;:::-;98647:24:::1;:32:::0;;-1:-1:-1;;98647:32:0::1;::::0;::::1;;::::0;;;::::1;::::0;;98570:117::o;97685:255::-;97863:4;-1:-1:-1;;;;;3289:18:0;;3297:10;3289:18;3285:184;;3329:31;3349:10;3329:19;:31::i;:::-;3324:134;;98788:24;;;;3381:61;;;3414:28;3431:10;3414:16;:28::i;:::-;97885:47:::1;97908:4;97914:2;97918:7;97927:4;97885:22;:47::i;:::-;97685:255:::0;;;;;:::o;95294:88::-;23063:13;:11;:13::i;:::-;95349:12:::1;:25:::0;;95364:10:::1;::::0;95349:12;-1:-1:-1;;95349:25:0::1;95364:10:::0;;95349:25:::1;::::0;96124:635;96242:13;96295:16;96303:7;96295;:16::i;:::-;96273:114;;;;-1:-1:-1;;;96273:114:0;;12401:2:1;96273:114:0;;;12383:21:1;12440:2;12420:18;;;12413:30;12479:34;12459:18;;;12452:62;-1:-1:-1;;;12530:18:1;;;12523:46;12586:19;;96273:114:0;;;;;;;;;96398:28;96429:10;:8;:10::i;:::-;96398:41;;96501:1;96476:14;96470:28;:32;:281;;;;;;;;;;;;;;;;;96594:14;96635:18;:7;:16;:18::i;:::-;96551:159;;;;;;;;;:::i;:::-;;;;;;;;;;;;;96470:281;96450:301;96124:635;-1:-1:-1;;;96124:635:0:o;94087:323::-;93548:10;93562:9;93548:23;93540:32;;;;;;93655:10:::1;93639:12;::::0;::::1;;::::0;:26;::::1;;;;;;:::i;:::-;;93631:35;;;::::0;::::1;;94210:6:::2;94195:12;;:21;;;;:::i;:::-;94183:9;:33;94180:59;;;94225:14;;-1:-1:-1::0;;;94225:14:0::2;;;;;;;;;;;94180:59;94254:12;:10;:12::i;:::-;94250:40;;94275:15;;-1:-1:-1::0;;;94275:15:0::2;;;;;;;;;;;58425:164:::0;-1:-1:-1;;;;;58546:25:0;;;58522:4;58546:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;58425:164::o;95166:120::-;23063:13;:11;:13::i;:::-;95251:10:::1;:27:::0;95166:120::o;24083:201::-;23063:13;:11;:13::i;:::-;-1:-1:-1;;;;;24172:22:0;::::1;24164:73;;;::::0;-1:-1:-1;;;24164:73:0;;13486:2:1;24164:73:0::1;::::0;::::1;13468:21:1::0;13525:2;13505:18;;;13498:30;13564:34;13544:18;;;13537:62;-1:-1:-1;;;13615:18:1;;;13608:36;13661:19;;24164:73:0::1;13284:402:1::0;24164:73:0::1;24248:28;24267:8;24248:18;:28::i;95483:115::-:0;93548:10;93562:9;93548:23;93540:32;;;;;;23063:13:::1;:11;:13::i;50083:639::-:0;50168:4;-1:-1:-1;;;;;;;;;50492:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;50569:25:0;;;50492:102;:179;;;-1:-1:-1;;;;;;;;50646:25:0;-1:-1:-1;;;50646:25:0;;50083:639::o;28898:215::-;29000:4;-1:-1:-1;;;;;;29024:41:0;;-1:-1:-1;;;29024:41:0;;:81;;-1:-1:-1;;;;;;;;;;27451:40:0;;;29069:36;27342:157;23342:132;23250:6;;-1:-1:-1;;;;;23250:6:0;21802:10;23406:23;23398:68;;;;-1:-1:-1;;;23398:68:0;;13893:2:1;23398:68:0;;;13875:21:1;;;13912:18;;;13905:30;13971:34;13951:18;;;13944:62;14023:18;;23398:68:0;13691:356:1;30260:332:0;29976:5;-1:-1:-1;;;;;30363:33:0;;;;30355:88;;;;-1:-1:-1;;;30355:88:0;;14254:2:1;30355:88:0;;;14236:21:1;14293:2;14273:18;;;14266:30;14332:34;14312:18;;;14305:62;-1:-1:-1;;;14383:18:1;;;14376:40;14433:19;;30355:88:0;14052:406:1;30355:88:0;-1:-1:-1;;;;;30462:22:0;;30454:60;;;;-1:-1:-1;;;30454:60:0;;14665:2:1;30454:60:0;;;14647:21:1;14704:2;14684:18;;;14677:30;14743:27;14723:18;;;14716:55;14788:18;;30454:60:0;14463:349:1;30454:60:0;30549:35;;;;;;;;;-1:-1:-1;;;;;30549:35:0;;;;;;-1:-1:-1;;;;;30549:35:0;;;;;;;;;;-1:-1:-1;;;30527:57:0;;;;:19;:57;30260:332::o;58847:282::-;58912:4;59002:13;;58992:7;:23;58949:153;;;;-1:-1:-1;;59053:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;59053:44:0;:49;;58847:282::o;98828:386::-;-1:-1:-1;;;;;99143:63:0;99163:42;99143:63;;98828:386::o;3887:1359::-;4280:22;4274:4;4267:36;4373:9;4367:4;4360:23;4448:8;4442:4;4435:22;4625:4;4619;4613;4607;4580:25;4573:5;4562:68;4552:274;;4746:16;4740:4;4734;4719:44;4794:16;4788:4;4781:30;4552:274;5226:1;5220:4;5213:15;3887:1359;:::o;56909:408::-;56998:13;57014:16;57022:7;57014;:16::i;:::-;56998:32;-1:-1:-1;21802:10:0;-1:-1:-1;;;;;57047:28:0;;;57043:175;;57095:44;57112:5;21802:10;58425:164;:::i;57095:44::-;57090:128;;57167:35;;-1:-1:-1;;;57167:35:0;;;;;;;;;;;57090:128;57230:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;57230:35:0;-1:-1:-1;;;;;57230:35:0;;;;;;;;;57281:28;;57230:24;;57281:28;;;;;;;56987:330;56909:408;;:::o;61115:2825::-;61257:27;61287;61306:7;61287:18;:27::i;:::-;61257:57;;61372:4;-1:-1:-1;;;;;61331:45:0;61347:19;-1:-1:-1;;;;;61331:45:0;;61327:86;;61385:28;;-1:-1:-1;;;61385:28:0;;;;;;;;;;;61327:86;61427:27;60223:24;;;:15;:24;;;;;60451:26;;21802:10;59848:30;;;-1:-1:-1;;;;;59541:28:0;;59826:20;;;59823:56;61613:180;;61706:43;61723:4;21802:10;58425:164;:::i;61706:43::-;61701:92;;61758:35;;-1:-1:-1;;;61758:35:0;;;;;;;;;;;61701:92;-1:-1:-1;;;;;61810:16:0;;61806:52;;61835:23;;-1:-1:-1;;;61835:23:0;;;;;;;;;;;61806:52;62007:15;62004:160;;;62147:1;62126:19;62119:30;62004:160;-1:-1:-1;;;;;62544:24:0;;;;;;;:18;:24;;;;;;62542:26;;-1:-1:-1;;62542:26:0;;;62613:22;;;;;;;;;62611:24;;-1:-1:-1;62611:24:0;;;55767:11;55742:23;55738:41;55725:63;-1:-1:-1;;;55725:63:0;62906:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;63201:47:0;;:52;;63197:627;;63306:1;63296:11;;63274:19;63429:30;;;:17;:30;;;;;;:35;;63425:384;;63567:13;;63552:11;:28;63548:242;;63714:30;;;;:17;:30;;;;;:52;;;63548:242;63255:569;63197:627;63871:7;63867:2;-1:-1:-1;;;;;63852:27:0;63861:4;-1:-1:-1;;;;;63852:27:0;;;;;;;;;;;63890:42;61246:2694;;;61115:2825;;;:::o;64036:193::-;64182:39;64199:4;64205:2;64209:7;64182:39;;;;;;;;;;;;:16;:39::i;68496:2966::-;68569:20;68592:13;;;68620;;;68616:44;;68642:18;;-1:-1:-1;;;68642:18:0;;;;;;;;;;;68616:44;-1:-1:-1;;;;;69148:22:0;;;;;;:18;:22;;;;42217:2;69148:22;;;:71;;69186:32;69174:45;;69148:71;;;69462:31;;;:17;:31;;;;;-1:-1:-1;56198:15:0;;56172:24;56168:46;55767:11;55742:23;55738:41;55735:52;55725:63;;69462:173;;69697:23;;;;69462:31;;69148:22;;70462:25;69148:22;;70315:335;70976:1;70962:12;70958:20;70916:346;71017:3;71008:7;71005:16;70916:346;;71235:7;71225:8;71222:1;71195:25;71192:1;71189;71184:59;71070:1;71057:15;70916:346;;;70920:77;71295:8;71307:1;71295:13;71291:45;;71317:19;;-1:-1:-1;;;71317:19:0;;;;;;;;;;;71291:45;71353:13;:19;-1:-1:-1;96993:216:0;;;:::o;53533:1275::-;53600:7;53635;53737:13;;53730:4;:20;53726:1015;;;53775:14;53792:23;;;:17;:23;;;;;;;-1:-1:-1;;;53881:24:0;;:29;;53877:845;;54546:113;54553:6;54563:1;54553:11;54546:113;;-1:-1:-1;;;54624:6:0;54606:25;;;;:17;:25;;;;;;54546:113;;53877:845;53752:989;53726:1015;54769:31;;-1:-1:-1;;;54769:31:0;;;;;;;;;;;84344:190;84469:4;84522;84493:25;84506:5;84513:4;84493:12;:25::i;:::-;:33;;84344:190;-1:-1:-1;;;;84344:190:0:o;24444:191::-;24537:6;;;-1:-1:-1;;;;;24554:17:0;;;-1:-1:-1;;;;;;24554:17:0;;;;;;;24587:40;;24537:6;;;24554:17;24537:6;;24587:40;;24518:16;;24587:40;24507:128;24444:191;:::o;58034:234::-;21802:10;58129:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;58129:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;58129:60:0;;;;;;;;;;58205:55;;540:41:1;;;58129:49:0;;21802:10;58205:55;;513:18:1;58205:55:0;;;;;;;58034:234;;:::o;64827:407::-;65002:31;65015:4;65021:2;65025:7;65002:12;:31::i;:::-;-1:-1:-1;;;;;65048:14:0;;;:19;65044:183;;65087:56;65118:4;65124:2;65128:7;65137:5;65087:30;:56::i;:::-;65082:145;;65171:40;;-1:-1:-1;;;65171:40:0;;;;;;;;;;;95896:108;95956:13;95989:7;95982:14;;;;;:::i;19141:716::-;19197:13;19248:14;19265:17;19276:5;19265:10;:17::i;:::-;19285:1;19265:21;19248:38;;19301:20;19335:6;19324:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;19324:18:0;-1:-1:-1;19301:41:0;-1:-1:-1;19466:28:0;;;19482:2;19466:28;19523:288;-1:-1:-1;;19555:5:0;-1:-1:-1;;;19692:2:0;19681:14;;19676:30;19555:5;19663:44;19753:2;19744:11;;;-1:-1:-1;19774:21:0;19523:288;19774:21;-1:-1:-1;19832:6:0;19141:716;-1:-1:-1;;;19141:716:0:o;85211:296::-;85294:7;85337:4;85294:7;85352:118;85376:5;:12;85372:1;:16;85352:118;;;85425:33;85435:12;85449:5;85455:1;85449:8;;;;;;;;:::i;:::-;;;;;;;85425:9;:33::i;:::-;85410:48;-1:-1:-1;85390:3:0;;;;:::i;:::-;;;;85352:118;;;-1:-1:-1;85487:12:0;85211:296;-1:-1:-1;;;85211:296:0:o;67318:716::-;67502:88;;-1:-1:-1;;;67502:88:0;;67481:4;;-1:-1:-1;;;;;67502:45:0;;;;;:88;;21802:10;;67569:4;;67575:7;;67584:5;;67502:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;67502:88:0;;;;;;;;-1:-1:-1;;67502:88:0;;;;;;;;;;;;:::i;:::-;;;67498:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;67785:6;:13;67802:1;67785:18;67781:235;;67831:40;;-1:-1:-1;;;67831:40:0;;;;;;;;;;;67781:235;67974:6;67968:13;67959:6;67955:2;67951:15;67944:38;67498:529;-1:-1:-1;;;;;;67661:64:0;-1:-1:-1;;;67661:64:0;;-1:-1:-1;67498:529:0;67318:716;;;;;;:::o;16001:922::-;16054:7;;-1:-1:-1;;;16132:15:0;;16128:102;;-1:-1:-1;;;16168:15:0;;;-1:-1:-1;16212:2:0;16202:12;16128:102;16257:6;16248:5;:15;16244:102;;16293:6;16284:15;;;-1:-1:-1;16328:2:0;16318:12;16244:102;16373:6;16364:5;:15;16360:102;;16409:6;16400:15;;;-1:-1:-1;16444:2:0;16434:12;16360:102;16489:5;16480;:14;16476:99;;16524:5;16515:14;;;-1:-1:-1;16558:1:0;16548:11;16476:99;16602:5;16593;:14;16589:99;;16637:5;16628:14;;;-1:-1:-1;16671:1:0;16661:11;16589:99;16715:5;16706;:14;16702:99;;16750:5;16741:14;;;-1:-1:-1;16784:1:0;16774:11;16702:99;16828:5;16819;:14;16815:66;;16864:1;16854:11;16909:6;16001:922;-1:-1:-1;;16001:922:0:o;92251:149::-;92314:7;92345:1;92341;:5;:51;;92476:13;92570:15;;;92606:4;92599:15;;;92653:4;92637:21;;92341:51;;;-1:-1:-1;92476:13:0;92570:15;;;92606:4;92599:15;92653:4;92637:21;;;92251:149::o;14:131:1:-;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:173::-;660:20;;-1:-1:-1;;;;;709:31:1;;699:42;;689:70;;755:1;752;745:12;689:70;592:173;;;:::o;770:366::-;837:6;845;898:2;886:9;877:7;873:23;869:32;866:52;;;914:1;911;904:12;866:52;937:29;956:9;937:29;:::i;:::-;927:39;;1016:2;1005:9;1001:18;988:32;-1:-1:-1;;;;;1053:5:1;1049:38;1042:5;1039:49;1029:77;;1102:1;1099;1092:12;1029:77;1125:5;1115:15;;;770:366;;;;;:::o;1141:250::-;1226:1;1236:113;1250:6;1247:1;1244:13;1236:113;;;1326:11;;;1320:18;1307:11;;;1300:39;1272:2;1265:10;1236:113;;;-1:-1:-1;;1383:1:1;1365:16;;1358:27;1141:250::o;1396:271::-;1438:3;1476:5;1470:12;1503:6;1498:3;1491:19;1519:76;1588:6;1581:4;1576:3;1572:14;1565:4;1558:5;1554:16;1519:76;:::i;:::-;1649:2;1628:15;-1:-1:-1;;1624:29:1;1615:39;;;;1656:4;1611:50;;1396:271;-1:-1:-1;;1396:271:1:o;1672:220::-;1821:2;1810:9;1803:21;1784:4;1841:45;1882:2;1871:9;1867:18;1859:6;1841:45;:::i;1897:180::-;1956:6;2009:2;1997:9;1988:7;1984:23;1980:32;1977:52;;;2025:1;2022;2015:12;1977:52;-1:-1:-1;2048:23:1;;1897:180;-1:-1:-1;1897:180:1:o;2290:254::-;2358:6;2366;2419:2;2407:9;2398:7;2394:23;2390:32;2387:52;;;2435:1;2432;2425:12;2387:52;2458:29;2477:9;2458:29;:::i;:::-;2448:39;2534:2;2519:18;;;;2506:32;;-1:-1:-1;;;2290:254:1:o;2731:328::-;2808:6;2816;2824;2877:2;2865:9;2856:7;2852:23;2848:32;2845:52;;;2893:1;2890;2883:12;2845:52;2916:29;2935:9;2916:29;:::i;:::-;2906:39;;2964:38;2998:2;2987:9;2983:18;2964:38;:::i;:::-;2954:48;;3049:2;3038:9;3034:18;3021:32;3011:42;;2731:328;;;;;:::o;3064:248::-;3132:6;3140;3193:2;3181:9;3172:7;3168:23;3164:32;3161:52;;;3209:1;3206;3199:12;3161:52;-1:-1:-1;;3232:23:1;;;3302:2;3287:18;;;3274:32;;-1:-1:-1;3064:248:1:o;3778:127::-;3839:10;3834:3;3830:20;3827:1;3820:31;3870:4;3867:1;3860:15;3894:4;3891:1;3884:15;3910:632;3975:5;4005:18;4046:2;4038:6;4035:14;4032:40;;;4052:18;;:::i;:::-;4127:2;4121:9;4095:2;4181:15;;-1:-1:-1;;4177:24:1;;;4203:2;4173:33;4169:42;4157:55;;;4227:18;;;4247:22;;;4224:46;4221:72;;;4273:18;;:::i;:::-;4313:10;4309:2;4302:22;4342:6;4333:15;;4372:6;4364;4357:22;4412:3;4403:6;4398:3;4394:16;4391:25;4388:45;;;4429:1;4426;4419:12;4388:45;4479:6;4474:3;4467:4;4459:6;4455:17;4442:44;4534:1;4527:4;4518:6;4510;4506:19;4502:30;4495:41;;;;3910:632;;;;;:::o;4547:451::-;4616:6;4669:2;4657:9;4648:7;4644:23;4640:32;4637:52;;;4685:1;4682;4675:12;4637:52;4725:9;4712:23;4758:18;4750:6;4747:30;4744:50;;;4790:1;4787;4780:12;4744:50;4813:22;;4866:4;4858:13;;4854:27;-1:-1:-1;4844:55:1;;4895:1;4892;4885:12;4844:55;4918:74;4984:7;4979:2;4966:16;4961:2;4957;4953:11;4918:74;:::i;5003:689::-;5098:6;5106;5114;5167:2;5155:9;5146:7;5142:23;5138:32;5135:52;;;5183:1;5180;5173:12;5135:52;5223:9;5210:23;5252:18;5293:2;5285:6;5282:14;5279:34;;;5309:1;5306;5299:12;5279:34;5347:6;5336:9;5332:22;5322:32;;5392:7;5385:4;5381:2;5377:13;5373:27;5363:55;;5414:1;5411;5404:12;5363:55;5454:2;5441:16;5480:2;5472:6;5469:14;5466:34;;;5496:1;5493;5486:12;5466:34;5551:7;5544:4;5534:6;5531:1;5527:14;5523:2;5519:23;5515:34;5512:47;5509:67;;;5572:1;5569;5562:12;5509:67;5603:4;5595:13;;;;5627:6;;-1:-1:-1;5665:20:1;;;;5652:34;;5003:689;-1:-1:-1;;;;5003:689:1:o;5697:186::-;5756:6;5809:2;5797:9;5788:7;5784:23;5780:32;5777:52;;;5825:1;5822;5815:12;5777:52;5848:29;5867:9;5848:29;:::i;5888:127::-;5949:10;5944:3;5940:20;5937:1;5930:31;5980:4;5977:1;5970:15;6004:4;6001:1;5994:15;6020:338;6162:2;6147:18;;6195:1;6184:13;;6174:144;;6240:10;6235:3;6231:20;6228:1;6221:31;6275:4;6272:1;6265:15;6303:4;6300:1;6293:15;6174:144;6327:25;;;6020:338;:::o;6363:160::-;6428:20;;6484:13;;6477:21;6467:32;;6457:60;;6513:1;6510;6503:12;6528:254;6593:6;6601;6654:2;6642:9;6633:7;6629:23;6625:32;6622:52;;;6670:1;6667;6660:12;6622:52;6693:29;6712:9;6693:29;:::i;:::-;6683:39;;6741:35;6772:2;6761:9;6757:18;6741:35;:::i;:::-;6731:45;;6528:254;;;;;:::o;6787:180::-;6843:6;6896:2;6884:9;6875:7;6871:23;6867:32;6864:52;;;6912:1;6909;6902:12;6864:52;6935:26;6951:9;6935:26;:::i;6972:667::-;7067:6;7075;7083;7091;7144:3;7132:9;7123:7;7119:23;7115:33;7112:53;;;7161:1;7158;7151:12;7112:53;7184:29;7203:9;7184:29;:::i;:::-;7174:39;;7232:38;7266:2;7255:9;7251:18;7232:38;:::i;:::-;7222:48;;7317:2;7306:9;7302:18;7289:32;7279:42;;7372:2;7361:9;7357:18;7344:32;7399:18;7391:6;7388:30;7385:50;;;7431:1;7428;7421:12;7385:50;7454:22;;7507:4;7499:13;;7495:27;-1:-1:-1;7485:55:1;;7536:1;7533;7526:12;7485:55;7559:74;7625:7;7620:2;7607:16;7602:2;7598;7594:11;7559:74;:::i;:::-;7549:84;;;6972:667;;;;;;;:::o;7868:260::-;7936:6;7944;7997:2;7985:9;7976:7;7972:23;7968:32;7965:52;;;8013:1;8010;8003:12;7965:52;8036:29;8055:9;8036:29;:::i;:::-;8026:39;;8084:38;8118:2;8107:9;8103:18;8084:38;:::i;8318:380::-;8397:1;8393:12;;;;8440;;;8461:61;;8515:4;8507:6;8503:17;8493:27;;8461:61;8568:2;8560:6;8557:14;8537:18;8534:38;8531:161;;8614:10;8609:3;8605:20;8602:1;8595:31;8649:4;8646:1;8639:15;8677:4;8674:1;8667:15;8531:161;;8318:380;;;:::o;8703:127::-;8764:10;8759:3;8755:20;8752:1;8745:31;8795:4;8792:1;8785:15;8819:4;8816:1;8809:15;8835:168;8908:9;;;8939;;8956:15;;;8950:22;;8936:37;8926:71;;8977:18;;:::i;9140:217::-;9180:1;9206;9196:132;;9250:10;9245:3;9241:20;9238:1;9231:31;9285:4;9282:1;9275:15;9313:4;9310:1;9303:15;9196:132;-1:-1:-1;9342:9:1;;9140:217::o;9488:545::-;9590:2;9585:3;9582:11;9579:448;;;9626:1;9651:5;9647:2;9640:17;9696:4;9692:2;9682:19;9766:2;9754:10;9750:19;9747:1;9743:27;9737:4;9733:38;9802:4;9790:10;9787:20;9784:47;;;-1:-1:-1;9825:4:1;9784:47;9880:2;9875:3;9871:12;9868:1;9864:20;9858:4;9854:31;9844:41;;9935:82;9953:2;9946:5;9943:13;9935:82;;;9998:17;;;9979:1;9968:13;9935:82;;10209:1352;10335:3;10329:10;10362:18;10354:6;10351:30;10348:56;;;10384:18;;:::i;:::-;10413:97;10503:6;10463:38;10495:4;10489:11;10463:38;:::i;:::-;10457:4;10413:97;:::i;:::-;10565:4;;10629:2;10618:14;;10646:1;10641:663;;;;11348:1;11365:6;11362:89;;;-1:-1:-1;11417:19:1;;;11411:26;11362:89;-1:-1:-1;;10166:1:1;10162:11;;;10158:24;10154:29;10144:40;10190:1;10186:11;;;10141:57;11464:81;;10611:944;;10641:663;9435:1;9428:14;;;9472:4;9459:18;;-1:-1:-1;;10677:20:1;;;10795:236;10809:7;10806:1;10803:14;10795:236;;;10898:19;;;10892:26;10877:42;;10990:27;;;;10958:1;10946:14;;;;10825:19;;10795:236;;;10799:3;11059:6;11050:7;11047:19;11044:201;;;11120:19;;;11114:26;-1:-1:-1;;11203:1:1;11199:14;;;11215:3;11195:24;11191:37;11187:42;11172:58;11157:74;;11044:201;-1:-1:-1;;;;;11291:1:1;11275:14;;;11271:22;11258:36;;-1:-1:-1;10209:1352:1:o;12010:184::-;12080:6;12133:2;12121:9;12112:7;12108:23;12104:32;12101:52;;;12149:1;12146;12139:12;12101:52;-1:-1:-1;12172:16:1;;12010:184;-1:-1:-1;12010:184:1:o;12616:663::-;12896:3;12934:6;12928:13;12950:66;13009:6;13004:3;12997:4;12989:6;12985:17;12950:66;:::i;:::-;13079:13;;13038:16;;;;13101:70;13079:13;13038:16;13148:4;13136:17;;13101:70;:::i;:::-;-1:-1:-1;;;13193:20:1;;13222:22;;;13271:1;13260:13;;12616:663;-1:-1:-1;;;;12616:663:1:o;14817:127::-;14878:10;14873:3;14869:20;14866:1;14859:31;14909:4;14906:1;14899:15;14933:4;14930:1;14923:15;14949:135;14988:3;15009:17;;;15006:43;;15029:18;;:::i;:::-;-1:-1:-1;15076:1:1;15065:13;;14949:135::o;15089:489::-;-1:-1:-1;;;;;15358:15:1;;;15340:34;;15410:15;;15405:2;15390:18;;15383:43;15457:2;15442:18;;15435:34;;;15505:3;15500:2;15485:18;;15478:31;;;15283:4;;15526:46;;15552:19;;15544:6;15526:46;:::i;:::-;15518:54;15089:489;-1:-1:-1;;;;;;15089:489:1:o;15583:249::-;15652:6;15705:2;15693:9;15684:7;15680:23;15676:32;15673:52;;;15721:1;15718;15711:12;15673:52;15753:9;15747:16;15772:30;15796:5;15772:30;:::i

Swarm Source

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