ETH Price: $3,068.19 (-6.80%)
Gas: 7 Gwei

Token

Somewhere Nowhere (HOOMAN)
 

Overview

Max Total Supply

3,333 HOOMAN

Holders

1,110

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Balance
2 HOOMAN
0xae42875081cb73bea82bad4f7b0a4d765effdee4
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:
SomewhereNowhere

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 26 : IERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol)

pragma solidity ^0.8.0;

import "../utils/introspection/IERC165.sol";

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

File 2 of 26 : ERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/common/ERC2981.sol)

pragma solidity ^0.8.0;

import "../../interfaces/IERC2981.sol";
import "../../utils/introspection/ERC165.sol";

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

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

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

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

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

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

        return (royalty.receiver, royaltyAmount);
    }

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

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

        _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator);
    }

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

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

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

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

File 3 of 26 : Context.sol
// SPDX-License-Identifier: MIT
// 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 4 of 26 : ECDSA.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/cryptography/ECDSA.sol)

pragma solidity ^0.8.0;

import "../Strings.sol";

/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
    enum RecoverError {
        NoError,
        InvalidSignature,
        InvalidSignatureLength,
        InvalidSignatureS,
        InvalidSignatureV // Deprecated in v4.8
    }

    function _throwError(RecoverError error) private pure {
        if (error == RecoverError.NoError) {
            return; // no error: do nothing
        } else if (error == RecoverError.InvalidSignature) {
            revert("ECDSA: invalid signature");
        } else if (error == RecoverError.InvalidSignatureLength) {
            revert("ECDSA: invalid signature length");
        } else if (error == RecoverError.InvalidSignatureS) {
            revert("ECDSA: invalid signature 's' value");
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature` or error string. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     *
     * Documentation for signature generation:
     * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
     * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
     *
     * _Available since v4.3._
     */
    function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {
        if (signature.length == 65) {
            bytes32 r;
            bytes32 s;
            uint8 v;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            /// @solidity memory-safe-assembly
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
            return tryRecover(hash, v, r, s);
        } else {
            return (address(0), RecoverError.InvalidSignatureLength);
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, signature);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
     *
     * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address, RecoverError) {
        bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);
        uint8 v = uint8((uint256(vs) >> 255) + 27);
        return tryRecover(hash, v, r, s);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.
     *
     * _Available since v4.2._
     */
    function recover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, r, vs);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `v`,
     * `r` and `s` signature fields separately.
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address, RecoverError) {
        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most
        // signatures from current libraries generate a unique signature with an s-value in the lower half order.
        //
        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
        // these malleable signatures as well.
        if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
            return (address(0), RecoverError.InvalidSignatureS);
        }

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        if (signer == address(0)) {
            return (address(0), RecoverError.InvalidSignature);
        }

        return (signer, RecoverError.NoError);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function recover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, v, r, s);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from `s`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s));
    }

    /**
     * @dev Returns an Ethereum Signed Typed Data, created from a
     * `domainSeparator` and a `structHash`. This produces hash corresponding
     * to the one signed with the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
     * JSON-RPC method as part of EIP-712.
     *
     * See {recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
    }
}

File 5 of 26 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 6 of 26 : IERC165.sol
// SPDX-License-Identifier: MIT
// 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 7 of 26 : Math.sol
// SPDX-License-Identifier: MIT
// 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 8 of 26 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

import "./math/Math.sol";

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

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

    /**
     * @dev Converts a `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 9 of 26 : ERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.3
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import './IERC721A.sol';

/**
 * @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 packed) {
        if (_startTokenId() <= tokenId) {
            packed = _packedOwnerships[tokenId];
            // If not burned.
            if (packed & _BITMASK_BURNED == 0) {
                // If the data at the starting slot does not exist, start the scan.
                if (packed == 0) {
                    if (tokenId >= _currentIndex) revert OwnerQueryForNonexistentToken();
                    // Invariant:
                    // There will always be an initialized ownership slot
                    // (i.e. `ownership.addr != address(0) && ownership.burned == false`)
                    // before an unintialized ownership slot
                    // (i.e. `ownership.addr == address(0) && ownership.burned == false`)
                    // Hence, `tokenId` will not underflow.
                    //
                    // We can directly compare the packed value.
                    // If the address is zero, packed will be zero.
                    for (;;) {
                        unchecked {
                            packed = _packedOwnerships[--tokenId];
                        }
                        if (packed == 0) continue;
                        return packed;
                    }
                }
                // Otherwise, the data exists and is not burned. We can skip the scan.
                // This is possible because we have already achieved the target condition.
                // This saves 2143 gas on transfers of initialized tokens.
                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. See {ERC721A-_approve}.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     */
    function approve(address to, uint256 tokenId) public payable virtual override {
        _approve(to, tokenId, true);
    }

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

        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, '');
    }

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

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

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

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

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

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

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

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

        address from = address(uint160(prevOwnershipPacked));

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

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

        _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 10 of 26 : IERC721A.sol
// SPDX-License-Identifier: MIT
// 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 11 of 26 : ISomewhereNowhere.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.4;

import '@openzeppelin/contracts/interfaces/IERC2981.sol';
import '../erc721a/IERC721A.sol';
import '../lib/interfaces/IOperatorFilter.sol';
import '../lib/interfaces/ISignatureVerifier.sol';
import '../lib/interfaces/ITokenSale.sol';

interface ISomewhereNowhere is
    IERC2981,
    IERC721A,
    IOperatorFilter,
    ISignatureVerifier,
    ITokenSale
{
    error MetadataContractAddressIsZeroAddress();

    error NotEnoughPaymentSent();

    error SenderIsNotOrigin();

    error TokenDoesNotExist();

    event CreatorFeeInfoUpdated(
        address indexed receiver,
        uint96 feeBasisPoints
    );

    event MetadataContractAddressUpdated(
        address indexed metadataContractAddress
    );

    function mintReserve(address[] calldata addresses, uint256 quantity)
        external;

    function setCreatorFeeInfo(address receiver, uint96 feeBasisPoints)
        external;

    function setMetadataContractAddress(address metadataContractAddress)
        external;

    function getMetadataContractAddress() external view returns (address);

    function supportsInterface(bytes4 interfaceId)
        external
        view
        override(IERC165, IERC721A)
        returns (bool);
}

File 12 of 26 : ISomewhereNowhereMetadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.4;

interface ISomewhereNowhereMetadata {
    error TokenContractAddressIsZeroAddress();

    event TokenContractAddressUpdated(address indexed tokenContractAddress);

    function setTokenContractAddress(address tokenContractAddress) external;

    function getTokenContractAddress() external view returns (address);

    function tokenURI(uint256 tokenId) external view returns (string memory);
}

File 13 of 26 : IOperatorFilter.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.4;

import './IOperatorFilterRegistry.sol';
import './IRoles.sol';

interface IOperatorFilter is IRoles {
    error OperatorFilterRegistryAddressIsZeroAddress();

    error OperatorIsNotAllowed(address operator);

    event OperatorFilterRegistryAddressUpdated(
        address indexed operatorFilterRegistryAddress
    );

    function register() external;

    function registerAndSubscribe(address subscription) external;

    function setOperatorFilterRegistryAddress(
        address operatorFilterRegistryAddress
    ) external;

    function subscribe(address subscription) external;

    function unregister() external;

    function unsubscribe() external;

    function getOperatorFilterRegistryAddress() external view returns (address);
}

File 14 of 26 : IOperatorFilterRegistry.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.4;

interface IOperatorFilterRegistry {
    function isOperatorAllowed(address registrant, address operator)
        external
        view
        returns (bool);

    function register(address registrant) external;

    function registerAndSubscribe(address registrant, address subscription)
        external;

    function registerAndCopyEntries(
        address registrant,
        address registrantToCopy
    ) external;

    function unregister(address addr) external;

    function updateOperator(
        address registrant,
        address operator,
        bool filtered
    ) external;

    function updateOperators(
        address registrant,
        address[] calldata operators,
        bool filtered
    ) external;

    function updateCodeHash(
        address registrant,
        bytes32 codehash,
        bool filtered
    ) external;

    function updateCodeHashes(
        address registrant,
        bytes32[] calldata codeHashes,
        bool filtered
    ) external;

    function subscribe(address registrant, address registrantToSubscribe)
        external;

    function unsubscribe(address registrant, bool copyExistingEntries) external;

    function subscriptionOf(address addr) external returns (address registrant);

    function subscribers(address registrant)
        external
        returns (address[] memory);

    function subscriberAt(address registrant, uint256 index)
        external
        returns (address);

    function copyEntriesOf(address registrant, address registrantToCopy)
        external;

    function isOperatorFiltered(address registrant, address operator)
        external
        returns (bool);

    function isCodeHashOfFiltered(address registrant, address operatorWithCode)
        external
        returns (bool);

    function isCodeHashFiltered(address registrant, bytes32 codeHash)
        external
        returns (bool);

    function filteredOperators(address addr)
        external
        returns (address[] memory);

    function filteredCodeHashes(address addr)
        external
        returns (bytes32[] memory);

    function filteredOperatorAt(address registrant, uint256 index)
        external
        returns (address);

    function filteredCodeHashAt(address registrant, uint256 index)
        external
        returns (bytes32);

    function isRegistered(address addr) external returns (bool);

    function codeHashOf(address addr) external returns (bytes32);
}

File 15 of 26 : IOwnable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.4;

interface IOwnable {
    error RecipientAddressIsZeroAddress();

    error SenderIsNotOwner();

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

    function renounceOwnership() external;

    function transferOwnership(address newOwner) external;

    function owner() external view returns (address);
}

File 16 of 26 : IPausable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.4;

interface IPausable {
    error IsNotPaused();

    error IsPaused();

    event Paused(address indexed senderAddress);

    event Unpaused(address indexed senderAddress);

    function isPaused() external view returns (bool);
}

File 17 of 26 : IRoles.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.4;

interface IRoles {
    error SenderIsNotController();

    event ControllerAddressUpdated(address indexed controllerAddress);

    function setControllerAddress(address controllerAddress) external;

    function getControllerAddress() external view returns (address);
}

File 18 of 26 : ISignatureVerifier.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.4;

import './IRoles.sol';

interface ISignatureVerifier is IRoles {
    error SignatureIsNotValid();

    error SigningAddressIsZeroAddress();

    event SigningAddressUpdated(address indexed signingAddress);

    function setSigningAddress(address signingAddress) external;

    function getSigningAddress() external view returns (address);
}

File 19 of 26 : ITokenSale.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.4;

import './IRoles.sol';

interface ITokenSale is IRoles {
    error MintExceedsGlobalSupply();

    error MintExceedsReserveSupply();

    error MintExceedsSaleSupply();

    error MintExceedsTransactionSupply();

    error MintExceedsWalletSupply();

    error SaleHasEnded();

    error SaleHasNotBegun();

    error SaleIsPaused();

    event SaleAdded(
        uint256 indexed saleId,
        uint256 saleSupply,
        uint256 walletSupply,
        uint256 transactionSupply,
        uint256 indexed beginBlock,
        uint256 indexed endBlock
    );

    event SaleRemoved(uint256 indexed saleId);

    struct SaleConfig {
        uint64 saleSupply;
        uint64 walletSupply;
        uint64 transactionSupply;
        uint32 beginBlock;
        uint32 endBlock;
    }

    struct Status {
        uint256 globalSupply;
        uint256 globalMinted;
        uint256 reserveSupply;
        uint256 reserveMinted;
        uint256 saleSupply;
        uint256 saleMinted;
        uint256 walletSupply;
        uint256 walletMinted;
        uint256 transactionSupply;
        uint256 beginBlock;
        uint256 endBlock;
        uint256 currentBlock;
        bool isActive;
    }

    function addSale(
        uint256 saleId,
        uint256 saleSupply,
        uint256 walletSupply,
        uint256 transactionSupply,
        uint256 beginBlock,
        uint256 endBlock
    ) external;

    function pause() external;

    function removeSale(uint256 saleId) external;

    function unpause() external;

    function getGlobalSupply() external view returns (uint256);

    function getReserveSupply() external view returns (uint256);

    function getStatus(uint256 saleId, address wallet)
        external
        view
        returns (Status memory);
}

File 20 of 26 : OperatorFilter.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.4;

import './interfaces/IOperatorFilter.sol';
import './interfaces/IOperatorFilterRegistry.sol';
import './Roles.sol';

abstract contract OperatorFilter is IOperatorFilter, Roles {
    address private _operatorFilterRegistryAddress;

    modifier onlyAllowedOperator(address from) virtual {
        if (from != _msgSender()) {
            _checkFilterOperator(_msgSender());
        }
        _;
    }

    modifier onlyAllowedOperatorApproval(address operator) virtual {
        _checkFilterOperator(operator);
        _;
    }

    function register() public virtual override onlyController {
        if (_operatorFilterRegistryAddress == address(0))
            revert OperatorFilterRegistryAddressIsZeroAddress();

        IOperatorFilterRegistry(_operatorFilterRegistryAddress).register(
            address(this)
        );
    }

    function registerAndSubscribe(address subscription)
        public
        virtual
        override
        onlyController
    {
        if (_operatorFilterRegistryAddress == address(0))
            revert OperatorFilterRegistryAddressIsZeroAddress();

        IOperatorFilterRegistry(_operatorFilterRegistryAddress)
            .registerAndSubscribe(address(this), subscription);
    }

    function setOperatorFilterRegistryAddress(
        address operatorFilterRegistryAddress
    ) public virtual override onlyController {
        _operatorFilterRegistryAddress = operatorFilterRegistryAddress;

        emit OperatorFilterRegistryAddressUpdated(
            operatorFilterRegistryAddress
        );
    }

    function subscribe(address subscription)
        public
        virtual
        override
        onlyController
    {
        if (_operatorFilterRegistryAddress == address(0))
            revert OperatorFilterRegistryAddressIsZeroAddress();

        IOperatorFilterRegistry(_operatorFilterRegistryAddress).subscribe(
            address(this),
            subscription
        );
    }

    function unregister() public virtual override onlyController {
        if (_operatorFilterRegistryAddress == address(0))
            revert OperatorFilterRegistryAddressIsZeroAddress();

        IOperatorFilterRegistry(_operatorFilterRegistryAddress).unregister(
            address(this)
        );
    }

    function unsubscribe() public virtual override onlyController {
        if (_operatorFilterRegistryAddress == address(0))
            revert OperatorFilterRegistryAddressIsZeroAddress();

        IOperatorFilterRegistry(_operatorFilterRegistryAddress).unsubscribe(
            address(this),
            false
        );
    }

    function getOperatorFilterRegistryAddress()
        public
        view
        virtual
        override
        returns (address)
    {
        return _operatorFilterRegistryAddress;
    }

    function _checkFilterOperator(address operator) internal view virtual {
        if (_operatorFilterRegistryAddress != address(0)) {
            if (
                !IOperatorFilterRegistry(_operatorFilterRegistryAddress)
                    .isOperatorAllowed(address(this), operator)
            ) revert OperatorIsNotAllowed(operator);
        }
    }
}

File 21 of 26 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.4;

import '@openzeppelin/contracts/utils/Context.sol';
import './interfaces/IOwnable.sol';

abstract contract Ownable is Context, IOwnable {
    address private _ownerAddress;

    constructor(address ownerAddress) {
        _transferOwnership(ownerAddress);
    }

    modifier onlyOwner() virtual {
        if (_msgSender() != owner()) revert SenderIsNotOwner();
        _;
    }

    function renounceOwnership() public virtual override onlyOwner {
        _transferOwnership(address(0));
    }

    function transferOwnership(address newOwner)
        public
        virtual
        override
        onlyOwner
    {
        if (newOwner == address(0)) revert RecipientAddressIsZeroAddress();

        _transferOwnership(newOwner);
    }

    function owner() public view virtual override returns (address) {
        return _ownerAddress;
    }

    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _ownerAddress;
        _ownerAddress = newOwner;

        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 22 of 26 : Pausable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.4;

import '@openzeppelin/contracts/utils/Context.sol';
import './interfaces/IPausable.sol';

abstract contract Pausable is Context, IPausable {
    bool private _paused;

    modifier whenNotPaused() virtual {
        if (isPaused()) revert IsPaused();
        _;
    }

    modifier whenPaused() virtual {
        if (!isPaused()) revert IsNotPaused();
        _;
    }

    function isPaused() public view virtual override returns (bool) {
        return _paused;
    }

    function _pause() internal virtual whenNotPaused {
        _paused = true;

        emit Paused(_msgSender());
    }

    function _unpause() internal virtual whenPaused {
        _paused = false;

        emit Unpaused(_msgSender());
    }
}

File 23 of 26 : Roles.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.4;

import './interfaces/IRoles.sol';
import './Ownable.sol';

abstract contract Roles is IRoles, Ownable {
    address private _controllerAddress;

    modifier onlyController() virtual {
        if (_msgSender() != getControllerAddress())
            revert SenderIsNotController();
        _;
    }

    function setControllerAddress(address controllerAddress)
        public
        virtual
        override
        onlyOwner
    {
        _controllerAddress = controllerAddress;

        emit ControllerAddressUpdated(controllerAddress);
    }

    function getControllerAddress()
        public
        view
        virtual
        override
        returns (address)
    {
        return _controllerAddress;
    }
}

File 24 of 26 : SignatureVerifier.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.4;

import '@openzeppelin/contracts/utils/cryptography/ECDSA.sol';
import './interfaces/ISignatureVerifier.sol';
import './Roles.sol';

abstract contract SignatureVerifier is ISignatureVerifier, Roles {
    using ECDSA for bytes32;

    bytes32 private immutable _domainSeparator;
    address private _signingAddress;

    constructor(bytes32 domainSeparator) {
        _domainSeparator = domainSeparator;
    }

    modifier signatureIsValid(bytes calldata signature, bytes32 message)
        virtual {
        if (!_verify(signature, message)) revert SignatureIsNotValid();
        _;
    }

    function setSigningAddress(address signingAddress)
        public
        virtual
        override
        onlyController
    {
        _signingAddress = signingAddress;

        emit SigningAddressUpdated(signingAddress);
    }

    function getSigningAddress()
        public
        view
        virtual
        override
        returns (address)
    {
        return _signingAddress;
    }

    function _verify(bytes calldata signature, bytes32 message)
        internal
        view
        virtual
        returns (bool)
    {
        if (_signingAddress == address(0)) revert SigningAddressIsZeroAddress();

        return
            keccak256(abi.encodePacked('\x19\x01', _domainSeparator, message))
                .recover(signature) == _signingAddress;
    }
}

File 25 of 26 : TokenSale.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.4;

import './interfaces/ITokenSale.sol';
import './Pausable.sol';
import './Roles.sol';

abstract contract TokenSale is ITokenSale, Pausable, Roles {
    uint256 private immutable _globalSupply;
    uint256 private _globalMinted;

    uint256 private immutable _reserveSupply;
    uint256 private _reserveMinted;

    mapping(uint256 => SaleConfig) private _saleConfigs;
    mapping(uint256 => uint256) private _saleMinted;
    mapping(uint256 => mapping(address => uint256)) private _walletMinted;

    constructor(uint256 globalSupply, uint256 reserveSupply) {
        _globalSupply = globalSupply;
        _reserveSupply = reserveSupply;
    }

    modifier saleIsActive(uint256 saleId) virtual {
        if (isPaused()) revert SaleIsPaused();
        if (!_saleHasBegun(saleId)) revert SaleHasNotBegun();
        if (!_saleHasNotEnded(saleId)) revert SaleHasEnded();
        _;
    }

    function addSale(
        uint256 saleId,
        uint256 saleSupply,
        uint256 walletSupply,
        uint256 transactionSupply,
        uint256 beginBlock,
        uint256 endBlock
    ) public virtual override onlyController {
        _saleConfigs[saleId] = SaleConfig(
            uint64(saleSupply),
            uint64(walletSupply),
            uint64(transactionSupply),
            uint32(beginBlock),
            uint32(endBlock)
        );

        emit SaleAdded(
            saleId,
            saleSupply,
            walletSupply,
            transactionSupply,
            beginBlock,
            endBlock
        );
    }

    function pause() public virtual override onlyController {
        _pause();
    }

    function removeSale(uint256 saleId) public virtual override onlyController {
        delete _saleConfigs[saleId];

        emit SaleRemoved(saleId);
    }

    function unpause() public virtual override onlyController {
        _unpause();
    }

    function getGlobalSupply() public view virtual override returns (uint256) {
        return _globalSupply;
    }

    function getReserveSupply() public view virtual override returns (uint256) {
        return _reserveSupply;
    }

    function getStatus(uint256 saleId, address wallet)
        public
        view
        virtual
        override
        returns (Status memory)
    {
        Status memory status;
        status.globalSupply = _globalSupply;
        status.globalMinted = _globalMinted;
        status.reserveSupply = _reserveSupply;
        status.reserveMinted = _reserveMinted;
        SaleConfig memory saleConfig = _saleConfigs[saleId];
        status.saleSupply = saleConfig.saleSupply;
        status.saleMinted = _saleMinted[saleId];
        status.walletSupply = saleConfig.walletSupply;
        status.walletMinted = _walletMinted[saleId][wallet];
        status.transactionSupply = saleConfig.transactionSupply;
        status.beginBlock = saleConfig.beginBlock;
        status.endBlock = saleConfig.endBlock;
        status.currentBlock = block.number;
        status.isActive = _saleIsActive(saleId);
        return status;
    }

    function _mintReserve(uint256 quantity) internal virtual {
        uint256 reserveMinted = _reserveMinted + quantity;
        if (reserveMinted > _reserveSupply) revert MintExceedsReserveSupply();

        uint256 globalMinted = _globalMinted + quantity;
        if (globalMinted > _globalSupply) revert MintExceedsGlobalSupply();

        _reserveMinted = reserveMinted;
        _globalMinted = globalMinted;
    }

    function _mintSale(uint256 quantity, uint256 saleId)
        internal
        virtual
        saleIsActive(saleId)
    {
        if (quantity > _saleConfigs[saleId].transactionSupply)
            revert MintExceedsTransactionSupply();

        uint256 walletMinted = _walletMinted[saleId][_msgSender()] + quantity;
        if (walletMinted > _saleConfigs[saleId].walletSupply)
            revert MintExceedsWalletSupply();

        uint256 saleMinted = _saleMinted[saleId] + quantity;
        if (saleMinted > _saleConfigs[saleId].saleSupply)
            revert MintExceedsSaleSupply();

        uint256 globalMinted = _globalMinted + quantity;
        if (globalMinted + _reserveSupply - _reserveMinted > _globalSupply)
            revert MintExceedsGlobalSupply();

        _walletMinted[saleId][_msgSender()] = walletMinted;
        _saleMinted[saleId] = saleMinted;
        _globalMinted = globalMinted;
    }

    function _saleHasBegun(uint256 saleId)
        internal
        view
        virtual
        returns (bool)
    {
        return block.number >= _saleConfigs[saleId].beginBlock;
    }

    function _saleHasNotEnded(uint256 saleId)
        internal
        view
        virtual
        returns (bool)
    {
        return block.number < _saleConfigs[saleId].endBlock;
    }

    function _saleIsActive(uint256 saleId)
        internal
        view
        virtual
        returns (bool)
    {
        return !isPaused() && _saleHasBegun(saleId) && _saleHasNotEnded(saleId);
    }
}

File 26 of 26 : SomewhereNowhere.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.4;

import '@openzeppelin/contracts/token/common/ERC2981.sol';
import './erc721a/ERC721A.sol';
import './interfaces/ISomewhereNowhere.sol';
import './interfaces/ISomewhereNowhereMetadata.sol';
import './lib/OperatorFilter.sol';
import './lib/SignatureVerifier.sol';
import './lib/TokenSale.sol';

contract SomewhereNowhere is
    ISomewhereNowhere,
    ERC2981,
    ERC721A,
    OperatorFilter,
    SignatureVerifier,
    TokenSale
{
    address private _metadataContractAddress;

    constructor(
        address creatorAddress,
        address registryAddress,
        address registrySubscriptionAddress,
        address signingAddress
    )
        ERC721A('Somewhere Nowhere', 'HOOMAN')
        Ownable(_msgSender())
        SignatureVerifier(_getDomainSeparator())
        TokenSale(3333, 133)
    {
        setControllerAddress(_msgSender());
        setCreatorFeeInfo(creatorAddress, 500);
        setOperatorFilterRegistryAddress(registryAddress);
        if (registrySubscriptionAddress != address(0)) {
            registerAndSubscribe(registrySubscriptionAddress);
        }
        setSigningAddress(signingAddress);
    }

    modifier senderIsOrigin() {
        if (_msgSender() != tx.origin) revert SenderIsNotOrigin();
        _;
    }

    modifier tokenExists(uint256 tokenId) {
        if (!_exists(tokenId)) revert TokenDoesNotExist();
        _;
    }

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

    function mintHooman(
        uint256 quantity,
        uint256 saleId,
        bytes calldata signature
    ) external senderIsOrigin signatureIsValid(signature, _getMessage(saleId)) {
        _mintSale(quantity, saleId);
        _safeMint(_msgSender(), quantity);
    }

    function mintReserve(address[] calldata addresses, uint256 quantity)
        external
        override
        onlyController
    {
        _mintReserve(addresses.length * quantity);
        for (uint256 i = 0; i < addresses.length; ++i) {
            _safeMint(addresses[i], quantity);
        }
    }

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

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

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

    function setCreatorFeeInfo(address receiver, uint96 feeBasisPoints)
        public
        override
        onlyController
    {
        _setDefaultRoyalty(receiver, feeBasisPoints);

        emit CreatorFeeInfoUpdated(receiver, feeBasisPoints);
    }

    function setMetadataContractAddress(address metadataContractAddress)
        public
        override
        onlyController
    {
        _metadataContractAddress = metadataContractAddress;

        emit MetadataContractAddressUpdated(metadataContractAddress);
    }

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

    function getMetadataContractAddress()
        public
        view
        override
        returns (address)
    {
        return _metadataContractAddress;
    }

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

    function tokenURI(uint256 tokenId)
        public
        view
        override(ERC721A, IERC721A)
        tokenExists(tokenId)
        returns (string memory)
    {
        if (_metadataContractAddress == address(0))
            revert MetadataContractAddressIsZeroAddress();

        return
            ISomewhereNowhereMetadata(_metadataContractAddress).tokenURI(
                tokenId
            );
    }

    function _getDomainSeparator() internal view returns (bytes32) {
        return
            keccak256(
                abi.encode(
                    keccak256(
                        'EIP712Domain('
                        'string name,'
                        'string version,'
                        'uint256 chainId,'
                        'address verifyingContract'
                        ')'
                    ),
                    keccak256(bytes('Somewhere Nowhere')),
                    keccak256(bytes('1')),
                    block.chainid,
                    address(this)
                )
            );
    }

    function _getMessage(uint256 saleId) internal view returns (bytes32) {
        return
            keccak256(
                abi.encode(
                    keccak256('SaleWallet(uint256 saleId,address wallet)'),
                    saleId,
                    _msgSender()
                )
            );
    }

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

Settings
{
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"creatorAddress","type":"address"},{"internalType":"address","name":"registryAddress","type":"address"},{"internalType":"address","name":"registrySubscriptionAddress","type":"address"},{"internalType":"address","name":"signingAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"IsNotPaused","type":"error"},{"inputs":[],"name":"IsPaused","type":"error"},{"inputs":[],"name":"MetadataContractAddressIsZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintExceedsGlobalSupply","type":"error"},{"inputs":[],"name":"MintExceedsReserveSupply","type":"error"},{"inputs":[],"name":"MintExceedsSaleSupply","type":"error"},{"inputs":[],"name":"MintExceedsTransactionSupply","type":"error"},{"inputs":[],"name":"MintExceedsWalletSupply","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"NotEnoughPaymentSent","type":"error"},{"inputs":[],"name":"OperatorFilterRegistryAddressIsZeroAddress","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorIsNotAllowed","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"RecipientAddressIsZeroAddress","type":"error"},{"inputs":[],"name":"SaleHasEnded","type":"error"},{"inputs":[],"name":"SaleHasNotBegun","type":"error"},{"inputs":[],"name":"SaleIsPaused","type":"error"},{"inputs":[],"name":"SenderIsNotController","type":"error"},{"inputs":[],"name":"SenderIsNotOrigin","type":"error"},{"inputs":[],"name":"SenderIsNotOwner","type":"error"},{"inputs":[],"name":"SignatureIsNotValid","type":"error"},{"inputs":[],"name":"SigningAddressIsZeroAddress","type":"error"},{"inputs":[],"name":"TokenDoesNotExist","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":"controllerAddress","type":"address"}],"name":"ControllerAddressUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"receiver","type":"address"},{"indexed":false,"internalType":"uint96","name":"feeBasisPoints","type":"uint96"}],"name":"CreatorFeeInfoUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"metadataContractAddress","type":"address"}],"name":"MetadataContractAddressUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operatorFilterRegistryAddress","type":"address"}],"name":"OperatorFilterRegistryAddressUpdated","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":"senderAddress","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"saleId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"saleSupply","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"walletSupply","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"transactionSupply","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"beginBlock","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"endBlock","type":"uint256"}],"name":"SaleAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"saleId","type":"uint256"}],"name":"SaleRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"signingAddress","type":"address"}],"name":"SigningAddressUpdated","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"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"senderAddress","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[{"internalType":"uint256","name":"saleId","type":"uint256"},{"internalType":"uint256","name":"saleSupply","type":"uint256"},{"internalType":"uint256","name":"walletSupply","type":"uint256"},{"internalType":"uint256","name":"transactionSupply","type":"uint256"},{"internalType":"uint256","name":"beginBlock","type":"uint256"},{"internalType":"uint256","name":"endBlock","type":"uint256"}],"name":"addSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getControllerAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getGlobalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMetadataContractAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getOperatorFilterRegistryAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getReserveSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getSigningAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"saleId","type":"uint256"},{"internalType":"address","name":"wallet","type":"address"}],"name":"getStatus","outputs":[{"components":[{"internalType":"uint256","name":"globalSupply","type":"uint256"},{"internalType":"uint256","name":"globalMinted","type":"uint256"},{"internalType":"uint256","name":"reserveSupply","type":"uint256"},{"internalType":"uint256","name":"reserveMinted","type":"uint256"},{"internalType":"uint256","name":"saleSupply","type":"uint256"},{"internalType":"uint256","name":"saleMinted","type":"uint256"},{"internalType":"uint256","name":"walletSupply","type":"uint256"},{"internalType":"uint256","name":"walletMinted","type":"uint256"},{"internalType":"uint256","name":"transactionSupply","type":"uint256"},{"internalType":"uint256","name":"beginBlock","type":"uint256"},{"internalType":"uint256","name":"endBlock","type":"uint256"},{"internalType":"uint256","name":"currentBlock","type":"uint256"},{"internalType":"bool","name":"isActive","type":"bool"}],"internalType":"struct ITokenSale.Status","name":"","type":"tuple"}],"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":"isPaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"uint256","name":"saleId","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"mintHooman","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mintReserve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"register","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"subscription","type":"address"}],"name":"registerAndSubscribe","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"saleId","type":"uint256"}],"name":"removeSale","outputs":[],"stateMutability":"nonpayable","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":"address","name":"controllerAddress","type":"address"}],"name":"setControllerAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint96","name":"feeBasisPoints","type":"uint96"}],"name":"setCreatorFeeInfo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"metadataContractAddress","type":"address"}],"name":"setMetadataContractAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operatorFilterRegistryAddress","type":"address"}],"name":"setOperatorFilterRegistryAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"signingAddress","type":"address"}],"name":"setSigningAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"subscription","type":"address"}],"name":"subscribe","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unregister","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unsubscribe","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60e06040523480156200001157600080fd5b506040516200696638038062006966833981810160405281019062000037919062000c04565b610d0560856200004c620001e660201b60201c565b6200005c620002b660201b60201c565b6040518060400160405280601181526020017f536f6d657768657265204e6f77686572650000000000000000000000000000008152506040518060400160405280600681526020017f484f4f4d414e00000000000000000000000000000000000000000000000000008152508160049080519060200190620000e092919062000b3d565b508060059080519060200190620000f992919062000b3d565b506200010a620002be60201b60201c565b60028190555050506200012381620002c760201b60201c565b508060808181525050508160a081815250508060c0818152505050506200015f62000153620002b660201b60201c565b6200038d60201b60201c565b62000173846101f46200049860201b60201c565b62000184836200058260201b60201c565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614620001cb57620001ca826200068d60201b60201c565b5b620001dc816200083160201b60201c565b5050505062000f55565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6040518060400160405280601181526020017f536f6d657768657265204e6f7768657265000000000000000000000000000000815250805190602001206040518060400160405280600181526020017f31000000000000000000000000000000000000000000000000000000000000008152508051906020012046306040516020016200029b95949392919062000d2f565b60405160208183030381529060405280519060200120905090565b600033905090565b60006001905090565b6000600a60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6200039d6200093c60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620003c3620002b660201b60201c565b73ffffffffffffffffffffffffffffffffffffffff161462000411576040517fce5324e200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff167fef9d41b73d5159e866e426dcc713bb3796bd5e06dc29e2df122530901778b11260405160405180910390a250565b620004a86200096660201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620004ce620002b660201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16146200051c576040517fa9ca6f3100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6200052e82826200099060201b60201c565b8173ffffffffffffffffffffffffffffffffffffffff167f7c7723ae7c93350666fcb29eea13697ad4ff27d1b9b17c80d79ea12a8c3b22d98260405162000576919062000dd0565b60405180910390a25050565b620005926200096660201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620005b8620002b660201b60201c565b73ffffffffffffffffffffffffffffffffffffffff161462000606576040517fa9ca6f3100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff167f9f513fe86dc42fdbac355fa4d9b1d5be7b5e6cd2df67e30db8003766568de47660405160405180910390a250565b6200069d6200096660201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620006c3620002b660201b60201c565b73ffffffffffffffffffffffffffffffffffffffff161462000711576040517fa9ca6f3100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156200079b576040517ff55ae52900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16637d3e3dbe30836040518363ffffffff1660e01b8152600401620007fa92919062000d02565b600060405180830381600087803b1580156200081557600080fd5b505af11580156200082a573d6000803e3d6000fd5b5050505050565b620008416200096660201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1662000867620002b660201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1614620008b5576040517fa9ca6f3100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff167fad8859bc0466f3cce502f67e1bc82e5444fa551f669e893f648c166949227fdb60405160405180910390a250565b6000600a60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b620009a062000b3360201b60201c565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff16111562000a01576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620009f89062000d8c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141562000a74576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000a6b9062000dae565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff168152506000808201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b6000612710905090565b82805462000b4b9062000e5e565b90600052602060002090601f01602090048101928262000b6f576000855562000bbb565b82601f1062000b8a57805160ff191683800117855562000bbb565b8280016001018555821562000bbb579182015b8281111562000bba57825182559160200191906001019062000b9d565b5b50905062000bca919062000bce565b5090565b5b8082111562000be957600081600090555060010162000bcf565b5090565b60008151905062000bfe8162000f3b565b92915050565b6000806000806080858703121562000c1b57600080fd5b600062000c2b8782880162000bed565b945050602062000c3e8782880162000bed565b935050604062000c518782880162000bed565b925050606062000c648782880162000bed565b91505092959194509250565b62000c7b8162000dfe565b82525050565b62000c8c8162000e12565b82525050565b600062000ca1602a8362000ded565b915062000cae8262000ec3565b604082019050919050565b600062000cc860198362000ded565b915062000cd58262000f12565b602082019050919050565b62000ceb8162000e3c565b82525050565b62000cfc8162000e46565b82525050565b600060408201905062000d19600083018562000c70565b62000d28602083018462000c70565b9392505050565b600060a08201905062000d46600083018862000c81565b62000d55602083018762000c81565b62000d64604083018662000c81565b62000d73606083018562000ce0565b62000d82608083018462000c70565b9695505050505050565b6000602082019050818103600083015262000da78162000c92565b9050919050565b6000602082019050818103600083015262000dc98162000cb9565b9050919050565b600060208201905062000de7600083018462000cf1565b92915050565b600082825260208201905092915050565b600062000e0b8262000e1c565b9050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006bffffffffffffffffffffffff82169050919050565b6000600282049050600182168062000e7757607f821691505b6020821081141562000e8e5762000e8d62000e94565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b62000f468162000dfe565b811462000f5257600080fd5b50565b60805160a05160c0516159b762000faf6000396000818161185a015281816122840152818161384c0152613aeb015260008181610e3d0152818161224e015281816138280152613b570152600061350d01526159b76000f3fe6080604052600436106102505760003560e01c80637e2f6e3b11610139578063baf3ff60116100b6578063e79a198f1161007a578063e79a198f1461082c578063e9371a2c14610843578063e985e9c514610880578063f2fde38b146108bd578063f3d3d448146108e6578063fcae44841461090f57610250565b8063baf3ff6014610747578063c57380a214610770578063c87b56dd1461079b578063ce5460bd146107d8578063d855a5791461080157610250565b80639ffe1195116100fd5780639ffe119514610685578063a22cb465146106ae578063b187bd26146106d7578063b88d4fde14610702578063ba15350f1461071e57610250565b80637e2f6e3b146105c25780638456cb59146105ed5780638da5cb5b14610604578063939078941461062f57806395d89b411461065a57610250565b80632a55205a116101d257806344e797e91161019657806344e797e9146104b65780634d74d3b4146104df57806358ff11d8146105085780636352211e1461053157806370a082311461056e578063715018a6146105ab57610250565b80632a55205a146103f357806331beb605146104315780633f4ba83a1461045a57806341a7726a1461047157806342842e0e1461049a57610250565b8063095ea7b311610219578063095ea7b31461034e57806318160ddd1461036a5780631aa3a00814610395578063225c29a6146103ac57806323b872dd146103d757610250565b80623379d71461025557806301ffc9a714610280578063042fafb9146102bd57806306fdde03146102e6578063081812fc14610311575b600080fd5b34801561026157600080fd5b5061026a610926565b60405161027791906150c1565b60405180910390f35b34801561028c57600080fd5b506102a760048036038101906102a29190614b83565b610950565b6040516102b491906151a3565b60405180910390f35b3480156102c957600080fd5b506102e460048036038101906102df9190614d23565b610972565b005b3480156102f257600080fd5b506102fb610b6d565b604051610308919061523a565b60405180910390f35b34801561031d57600080fd5b5061033860048036038101906103339190614c16565b610bff565b60405161034591906150c1565b60405180910390f35b61036860048036038101906103639190614a8a565b610c7e565b005b34801561037657600080fd5b5061037f610c97565b60405161038c9190615318565b60405180910390f35b3480156103a157600080fd5b506103aa610cae565b005b3480156103b857600080fd5b506103c1610e39565b6040516103ce9190615318565b60405180910390f35b6103f160048036038101906103ec9190614984565b610e61565b005b3480156103ff57600080fd5b5061041a60048036038101906104159190614c7b565b610ebe565b60405161042892919061517a565b60405180910390f35b34801561043d57600080fd5b506104586004803603810190610453919061491f565b6110a9565b005b34801561046657600080fd5b5061046f6111a3565b005b34801561047d57600080fd5b506104986004803603810190610493919061491f565b611220565b005b6104b460048036038101906104af9190614984565b6113ae565b005b3480156104c257600080fd5b506104dd60048036038101906104d89190614c16565b61140b565b005b3480156104eb57600080fd5b506105066004803603810190610501919061491f565b611543565b005b34801561051457600080fd5b5061052f600480360381019061052a9190614ac6565b61163d565b005b34801561053d57600080fd5b5061055860048036038101906105539190614c16565b61170c565b60405161056591906150c1565b60405180910390f35b34801561057a57600080fd5b506105956004803603810190610590919061491f565b61171e565b6040516105a29190615318565b60405180910390f35b3480156105b757600080fd5b506105c06117d7565b005b3480156105ce57600080fd5b506105d7611856565b6040516105e49190615318565b60405180910390f35b3480156105f957600080fd5b5061060261187e565b005b34801561061057600080fd5b506106196118fb565b60405161062691906150c1565b60405180910390f35b34801561063b57600080fd5b50610644611925565b60405161065191906150c1565b60405180910390f35b34801561066657600080fd5b5061066f61194f565b60405161067c919061523a565b60405180910390f35b34801561069157600080fd5b506106ac60048036038101906106a79190614cb7565b6119e1565b005b3480156106ba57600080fd5b506106d560048036038101906106d09190614a4e565b611abd565b005b3480156106e357600080fd5b506106ec611ad6565b6040516106f991906151a3565b60405180910390f35b61071c600480360381019061071791906149d3565b611aed565b005b34801561072a57600080fd5b5061074560048036038101906107409190614b02565b611b4c565b005b34801561075357600080fd5b5061076e6004803603810190610769919061491f565b611c52565b005b34801561077c57600080fd5b50610785611d4c565b60405161079291906150c1565b60405180910390f35b3480156107a757600080fd5b506107c260048036038101906107bd9190614c16565b611d76565b6040516107cf919061523a565b60405180910390f35b3480156107e457600080fd5b506107ff60048036038101906107fa919061491f565b611ef9565b005b34801561080d57600080fd5b50610816612087565b60405161082391906150c1565b60405180910390f35b34801561083857600080fd5b506108416120b1565b005b34801561084f57600080fd5b5061086a60048036038101906108659190614c3f565b61223c565b60405161087791906152fc565b60405180910390f35b34801561088c57600080fd5b506108a760048036038101906108a29190614948565b6124d5565b6040516108b491906151a3565b60405180910390f35b3480156108c957600080fd5b506108e460048036038101906108df919061491f565b612569565b005b3480156108f257600080fd5b5061090d6004803603810190610908919061491f565b61264f565b005b34801561091b57600080fd5b50610924612749565b005b6000601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600061095b826128d7565b8061096b575061096a82612969565b5b9050919050565b61097a611d4c565b73ffffffffffffffffffffffffffffffffffffffff166109986129e3565b73ffffffffffffffffffffffffffffffffffffffff16146109e5576040517fa9ca6f3100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040518060a001604052808667ffffffffffffffff1681526020018567ffffffffffffffff1681526020018467ffffffffffffffff1681526020018363ffffffff1681526020018263ffffffff168152506010600088815260200190815260200160002060008201518160000160006101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060208201518160000160086101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060408201518160000160106101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060608201518160000160186101000a81548163ffffffff021916908363ffffffff160217905550608082015181600001601c6101000a81548163ffffffff021916908363ffffffff1602179055509050508082877f0d63751cae3709b44d04ef5d0a62a5b49227cefe6f2cb44f328d33219093933b888888604051610b5d93929190615333565b60405180910390a4505050505050565b606060048054610b7c90615649565b80601f0160208091040260200160405190810160405280929190818152602001828054610ba890615649565b8015610bf55780601f10610bca57610100808354040283529160200191610bf5565b820191906000526020600020905b815481529060010190602001808311610bd857829003601f168201915b5050505050905090565b6000610c0a826129eb565b610c40576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6008600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b81610c8881612a4a565b610c928383612b92565b505050565b6000610ca1612ba2565b6003546002540303905090565b610cb6611d4c565b73ffffffffffffffffffffffffffffffffffffffff16610cd46129e3565b73ffffffffffffffffffffffffffffffffffffffff1614610d21576040517fa9ca6f3100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415610daa576040517ff55ae52900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634420e486306040518263ffffffff1660e01b8152600401610e0591906150c1565b600060405180830381600087803b158015610e1f57600080fd5b505af1158015610e33573d6000803e3d6000fd5b50505050565b60007f0000000000000000000000000000000000000000000000000000000000000000905090565b82610e6a6129e3565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610ead57610eac610ea76129e3565b612a4a565b5b610eb8848484612bab565b50505050565b6000806000600160008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614156110545760006040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b600061105e612ed0565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff168661108a91906154d6565b61109491906154a5565b90508160000151819350935050509250929050565b6110b1611d4c565b73ffffffffffffffffffffffffffffffffffffffff166110cf6129e3565b73ffffffffffffffffffffffffffffffffffffffff161461111c576040517fa9ca6f3100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff167fad8859bc0466f3cce502f67e1bc82e5444fa551f669e893f648c166949227fdb60405160405180910390a250565b6111ab611d4c565b73ffffffffffffffffffffffffffffffffffffffff166111c96129e3565b73ffffffffffffffffffffffffffffffffffffffff1614611216576040517fa9ca6f3100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61121e612eda565b565b611228611d4c565b73ffffffffffffffffffffffffffffffffffffffff166112466129e3565b73ffffffffffffffffffffffffffffffffffffffff1614611293576040517fa9ca6f3100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561131c576040517ff55ae52900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b314d41430836040518363ffffffff1660e01b81526004016113799291906150dc565b600060405180830381600087803b15801561139357600080fd5b505af11580156113a7573d6000803e3d6000fd5b5050505050565b826113b76129e3565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146113fa576113f96113f46129e3565b612a4a565b5b611405848484612f7f565b50505050565b611413611d4c565b73ffffffffffffffffffffffffffffffffffffffff166114316129e3565b73ffffffffffffffffffffffffffffffffffffffff161461147e576040517fa9ca6f3100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60106000828152602001908152602001600020600080820160006101000a81549067ffffffffffffffff02191690556000820160086101000a81549067ffffffffffffffff02191690556000820160106101000a81549067ffffffffffffffff02191690556000820160186101000a81549063ffffffff021916905560008201601c6101000a81549063ffffffff02191690555050807f21dc5fb55d3993dab4b2721bb5c1a416e4549749794335f7b33c27bb7f3fe9d060405160405180910390a250565b61154b611d4c565b73ffffffffffffffffffffffffffffffffffffffff166115696129e3565b73ffffffffffffffffffffffffffffffffffffffff16146115b6576040517fa9ca6f3100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80601360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff167fa6375348ec6f00fff8306bb897b0a08eb1a029b5ff13898a15d188f163919b4260405160405180910390a250565b611645611d4c565b73ffffffffffffffffffffffffffffffffffffffff166116636129e3565b73ffffffffffffffffffffffffffffffffffffffff16146116b0576040517fa9ca6f3100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6116ba8282612f9f565b8173ffffffffffffffffffffffffffffffffffffffff167f7c7723ae7c93350666fcb29eea13697ad4ff27d1b9b17c80d79ea12a8c3b22d982604051611700919061536a565b60405180910390a25050565b600061171782613134565b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611786576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b6117df6118fb565b73ffffffffffffffffffffffffffffffffffffffff166117fd6129e3565b73ffffffffffffffffffffffffffffffffffffffff161461184a576040517fce5324e200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6118546000613239565b565b60007f0000000000000000000000000000000000000000000000000000000000000000905090565b611886611d4c565b73ffffffffffffffffffffffffffffffffffffffff166118a46129e3565b73ffffffffffffffffffffffffffffffffffffffff16146118f1576040517fa9ca6f3100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6118f96132ff565b565b6000600a60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606005805461195e90615649565b80601f016020809104026020016040519081016040528092919081815260200182805461198a90615649565b80156119d75780601f106119ac576101008083540402835291602001916119d7565b820191906000526020600020905b8154815290600101906020018083116119ba57829003601f168201915b5050505050905090565b3273ffffffffffffffffffffffffffffffffffffffff16611a006129e3565b73ffffffffffffffffffffffffffffffffffffffff1614611a4d576040517ffc6e72bb00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8181611a58856133a5565b611a63838383613400565b611a99576040517fa7e5d44300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611aa38787613582565b611ab4611aae6129e3565b8861393b565b50505050505050565b81611ac781612a4a565b611ad18383613959565b505050565b6000600a60009054906101000a900460ff16905090565b83611af66129e3565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611b3957611b38611b336129e3565b612a4a565b5b611b4585858585613a64565b5050505050565b611b54611d4c565b73ffffffffffffffffffffffffffffffffffffffff16611b726129e3565b73ffffffffffffffffffffffffffffffffffffffff1614611bbf576040517fa9ca6f3100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611bd68184849050611bd191906154d6565b613ad7565b60005b83839050811015611c4c57611c3b848483818110611c20577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002016020810190611c35919061491f565b8361393b565b80611c45906156ac565b9050611bd9565b50505050565b611c5a611d4c565b73ffffffffffffffffffffffffffffffffffffffff16611c786129e3565b73ffffffffffffffffffffffffffffffffffffffff1614611cc5576040517fa9ca6f3100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff167f9f513fe86dc42fdbac355fa4d9b1d5be7b5e6cd2df67e30db8003766568de47660405160405180910390a250565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606081611d82816129eb565b611db8576040517fceea21b600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415611e41576040517f9292916900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c87b56dd846040518263ffffffff1660e01b8152600401611e9c9190615318565b60006040518083038186803b158015611eb457600080fd5b505afa158015611ec8573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190611ef19190614bd5565b915050919050565b611f01611d4c565b73ffffffffffffffffffffffffffffffffffffffff16611f1f6129e3565b73ffffffffffffffffffffffffffffffffffffffff1614611f6c576040517fa9ca6f3100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415611ff5576040517ff55ae52900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16637d3e3dbe30836040518363ffffffff1660e01b81526004016120529291906150dc565b600060405180830381600087803b15801561206c57600080fd5b505af1158015612080573d6000803e3d6000fd5b5050505050565b6000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6120b9611d4c565b73ffffffffffffffffffffffffffffffffffffffff166120d76129e3565b73ffffffffffffffffffffffffffffffffffffffff1614612124576040517fa9ca6f3100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156121ad576040517ff55ae52900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632ec2c246306040518263ffffffff1660e01b815260040161220891906150c1565b600060405180830381600087803b15801561222257600080fd5b505af1158015612236573d6000803e3d6000fd5b50505050565b6122446146be565b61224c6146be565b7f0000000000000000000000000000000000000000000000000000000000000000816000018181525050600e548160200181815250507f0000000000000000000000000000000000000000000000000000000000000000816040018181525050600f548160600181815250506000601060008681526020019081526020016000206040518060a00160405290816000820160009054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff1681526020016000820160089054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff1681526020016000820160109054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff1681526020016000820160189054906101000a900463ffffffff1663ffffffff1663ffffffff16815260200160008201601c9054906101000a900463ffffffff1663ffffffff1663ffffffff16815250509050806000015167ffffffffffffffff1682608001818152505060116000868152602001908152602001600020548260a0018181525050806020015167ffffffffffffffff168260c00181815250506012600086815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548260e0018181525050806040015167ffffffffffffffff1682610100018181525050806060015163ffffffff1682610120018181525050806080015163ffffffff168261014001818152505043826101600181815250506124ba85613bc2565b82610180019015159081151581525050819250505092915050565b6000600960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6125716118fb565b73ffffffffffffffffffffffffffffffffffffffff1661258f6129e3565b73ffffffffffffffffffffffffffffffffffffffff16146125dc576040517fce5324e200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612643576040517fd6919f0f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61264c81613239565b50565b6126576118fb565b73ffffffffffffffffffffffffffffffffffffffff166126756129e3565b73ffffffffffffffffffffffffffffffffffffffff16146126c2576040517fce5324e200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff167fef9d41b73d5159e866e426dcc713bb3796bd5e06dc29e2df122530901778b11260405160405180910390a250565b612751611d4c565b73ffffffffffffffffffffffffffffffffffffffff1661276f6129e3565b73ffffffffffffffffffffffffffffffffffffffff16146127bc576040517fa9ca6f3100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612845576040517ff55ae52900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166334a0dc103060006040518363ffffffff1660e01b81526004016128a3929190615151565b600060405180830381600087803b1580156128bd57600080fd5b505af11580156128d1573d6000803e3d6000fd5b50505050565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061293257506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806129625750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806129dc57506129db82613bf6565b5b9050919050565b600033905090565b6000816129f6612ba2565b11158015612a05575060025482105b8015612a43575060007c0100000000000000000000000000000000000000000000000000000000600660008581526020019081526020016000205416145b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff16600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612b8f57600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b8152600401612afd9291906150dc565b60206040518083038186803b158015612b1557600080fd5b505afa158015612b29573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b4d9190614b5a565b612b8e57806040517fa93a75ae000000000000000000000000000000000000000000000000000000008152600401612b8591906150c1565b60405180910390fd5b5b50565b612b9e82826001613c60565b5050565b60006001905090565b6000612bb682613134565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614612c1d576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080612c2984613dac565b91509150612c3f8187612c3a613dd3565b613ddb565b612c8b57612c5486612c4f613dd3565b6124d5565b612c8a576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415612cf2576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612cff8686866001613e1f565b8015612d0a57600082555b600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550612dd885612db4888887613e25565b7c020000000000000000000000000000000000000000000000000000000017613e4d565b600660008681526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000084161415612e60576000600185019050600060066000838152602001908152602001600020541415612e5e576002548114612e5d578360066000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612ec88686866001613e78565b505050505050565b6000612710905090565b612ee2611ad6565b612f18576040517fbc871ce500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000600a60006101000a81548160ff021916908315150217905550612f3b6129e3565b73ffffffffffffffffffffffffffffffffffffffff167f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa60405160405180910390a2565b612f9a83838360405180602001604052806000815250611aed565b505050565b612fa7612ed0565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff161115613005576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ffc906152bc565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613075576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161306c906152dc565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff168152506000808201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b60008161313f612ba2565b11613202576006600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821614156132015760008114156131fc5760025482106131c6576040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600660008360019003935083815260200190815260200160002054905060008114156131f2576131f7565b613234565b6131c7565b613234565b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600a60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b613307611ad6565b1561333e576040517f1309a56300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600a60006101000a81548160ff0219169083151502179055506133616129e3565b73ffffffffffffffffffffffffffffffffffffffff167f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25860405160405180910390a2565b60007f0452834397a1ee45ba5dbf1e34b8e7031baaba92c7204b46d7d6e6332f9f265b826133d16129e3565b6040516020016133e3939291906151be565b604051602081830303815290604052805190602001209050919050565b60008073ffffffffffffffffffffffffffffffffffffffff16600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561348a576040517ff6667c4300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661356285858080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050507f00000000000000000000000000000000000000000000000000000000000000008560405160200161353e92919061508a565b60405160208183030381529060405280519060200120613e7e90919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff161490509392505050565b8061358b611ad6565b156135c2576040517f71cc92d400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6135cb81613ea5565b613601576040517f2a9c160c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61360a81613ede565b613640576040517f8531bb5600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6010600083815260200190815260200160002060000160109054906101000a900467ffffffffffffffff1667ffffffffffffffff168311156136ae576040517fed99670b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000836012600085815260200190815260200160002060006136ce6129e3565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054613713919061544f565b90506010600084815260200190815260200160002060000160089054906101000a900467ffffffffffffffff1667ffffffffffffffff16811115613783576040517f0e7f30cd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008460116000868152602001908152602001600020546137a4919061544f565b90506010600085815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff16811115613814576040517f01efcd6c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600085600e54613824919061544f565b90507f0000000000000000000000000000000000000000000000000000000000000000600f547f000000000000000000000000000000000000000000000000000000000000000083613876919061544f565b6138809190615530565b11156138b8576040517fb79b1bac00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b826012600087815260200190815260200160002060006138d66129e3565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081601160008781526020019081526020016000208190555080600e81905550505050505050565b613955828260405180602001604052806000815250613f16565b5050565b8060096000613966613dd3565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16613a13613dd3565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051613a5891906151a3565b60405180910390a35050565b613a6f848484610e61565b60008373ffffffffffffffffffffffffffffffffffffffff163b14613ad157613a9a84848484613fb4565b613ad0576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b600081600f54613ae7919061544f565b90507f0000000000000000000000000000000000000000000000000000000000000000811115613b43576040517f48a8d20400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600082600e54613b53919061544f565b90507f0000000000000000000000000000000000000000000000000000000000000000811115613baf576040517fb79b1bac00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81600f8190555080600e81905550505050565b6000613bcc611ad6565b158015613bde5750613bdd82613ea5565b5b8015613bef5750613bee82613ede565b5b9050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000613c6b8361170c565b90508115613cf6578073ffffffffffffffffffffffffffffffffffffffff16613c92613dd3565b73ffffffffffffffffffffffffffffffffffffffff1614613cf557613cbe81613cb9613dd3565b6124d5565b613cf4576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b5b836008600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550828473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a450505050565b60008060006008600085815260200190815260200160002090508092508254915050915091565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8613e3c868684614114565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6000806000613e8d858561411d565b91509150613e9a8161416f565b819250505092915050565b60006010600083815260200190815260200160002060000160189054906101000a900463ffffffff1663ffffffff164310159050919050565b600060106000838152602001908152602001600020600001601c9054906101000a900463ffffffff1663ffffffff1643109050919050565b613f20838361440d565b60008373ffffffffffffffffffffffffffffffffffffffff163b14613faf5760006002549050600083820390505b613f616000868380600101945086613fb4565b613f97576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b818110613f4e578160025414613fac57600080fd5b50505b505050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613fda613dd3565b8786866040518563ffffffff1660e01b8152600401613ffc9493929190615105565b602060405180830381600087803b15801561401657600080fd5b505af192505050801561404757506040513d601f19601f820116820180604052508101906140449190614bac565b60015b6140c1573d8060008114614077576040519150601f19603f3d011682016040523d82523d6000602084013e61407c565b606091505b506000815114156140b9576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60009392505050565b60008060418351141561415f5760008060006020860151925060408601519150606086015160001a9050614153878285856145cb565b94509450505050614168565b60006002915091505b9250929050565b600060048111156141a9577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b8160048111156141e2577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14156141ed5761440a565b60016004811115614227577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115614260577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14156142a1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016142989061525c565b60405180910390fd5b600260048111156142db577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115614314577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415614355576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161434c9061527c565b60405180910390fd5b6003600481111561438f577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b8160048111156143c8577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415614409576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016144009061529c565b60405180910390fd5b5b50565b60006002549050600082141561444f576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61445c6000848385613e1f565b600160406001901b178202600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506144d3836144c46000866000613e25565b6144cd856146ae565b17613e4d565b6006600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b81811461457457808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050614539565b5060008214156145b0576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060028190555050506145c66000848385613e78565b505050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c11156146065760006003915091506146a5565b60006001878787876040516000815260200160405260405161462b94939291906151f5565b6020604051602081039080840390855afa15801561464d573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561469c576000600192509250506146a5565b80600092509250505b94509492505050565b60006001821460e11b9050919050565b604051806101a001604052806000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000151581525090565b600061473b614736846153aa565b615385565b90508281526020810184848401111561475357600080fd5b61475e848285615607565b509392505050565b6000614779614774846153db565b615385565b90508281526020810184848401111561479157600080fd5b61479c848285615616565b509392505050565b6000813590506147b38161590e565b92915050565b60008083601f8401126147cb57600080fd5b8235905067ffffffffffffffff8111156147e457600080fd5b6020830191508360208202830111156147fc57600080fd5b9250929050565b60008135905061481281615925565b92915050565b60008151905061482781615925565b92915050565b60008135905061483c8161593c565b92915050565b6000815190506148518161593c565b92915050565b60008083601f84011261486957600080fd5b8235905067ffffffffffffffff81111561488257600080fd5b60208301915083600182028301111561489a57600080fd5b9250929050565b600082601f8301126148b257600080fd5b81356148c2848260208601614728565b91505092915050565b600082601f8301126148dc57600080fd5b81516148ec848260208601614766565b91505092915050565b60008135905061490481615953565b92915050565b6000813590506149198161596a565b92915050565b60006020828403121561493157600080fd5b600061493f848285016147a4565b91505092915050565b6000806040838503121561495b57600080fd5b6000614969858286016147a4565b925050602061497a858286016147a4565b9150509250929050565b60008060006060848603121561499957600080fd5b60006149a7868287016147a4565b93505060206149b8868287016147a4565b92505060406149c9868287016148f5565b9150509250925092565b600080600080608085870312156149e957600080fd5b60006149f7878288016147a4565b9450506020614a08878288016147a4565b9350506040614a19878288016148f5565b925050606085013567ffffffffffffffff811115614a3657600080fd5b614a42878288016148a1565b91505092959194509250565b60008060408385031215614a6157600080fd5b6000614a6f858286016147a4565b9250506020614a8085828601614803565b9150509250929050565b60008060408385031215614a9d57600080fd5b6000614aab858286016147a4565b9250506020614abc858286016148f5565b9150509250929050565b60008060408385031215614ad957600080fd5b6000614ae7858286016147a4565b9250506020614af88582860161490a565b9150509250929050565b600080600060408486031215614b1757600080fd5b600084013567ffffffffffffffff811115614b3157600080fd5b614b3d868287016147b9565b93509350506020614b50868287016148f5565b9150509250925092565b600060208284031215614b6c57600080fd5b6000614b7a84828501614818565b91505092915050565b600060208284031215614b9557600080fd5b6000614ba38482850161482d565b91505092915050565b600060208284031215614bbe57600080fd5b6000614bcc84828501614842565b91505092915050565b600060208284031215614be757600080fd5b600082015167ffffffffffffffff811115614c0157600080fd5b614c0d848285016148cb565b91505092915050565b600060208284031215614c2857600080fd5b6000614c36848285016148f5565b91505092915050565b60008060408385031215614c5257600080fd5b6000614c60858286016148f5565b9250506020614c71858286016147a4565b9150509250929050565b60008060408385031215614c8e57600080fd5b6000614c9c858286016148f5565b9250506020614cad858286016148f5565b9150509250929050565b60008060008060608587031215614ccd57600080fd5b6000614cdb878288016148f5565b9450506020614cec878288016148f5565b935050604085013567ffffffffffffffff811115614d0957600080fd5b614d1587828801614857565b925092505092959194509250565b60008060008060008060c08789031215614d3c57600080fd5b6000614d4a89828a016148f5565b9650506020614d5b89828a016148f5565b9550506040614d6c89828a016148f5565b9450506060614d7d89828a016148f5565b9350506080614d8e89828a016148f5565b92505060a0614d9f89828a016148f5565b9150509295509295509295565b614db581615564565b82525050565b614dc481615576565b82525050565b614dd381615576565b82525050565b614de281615582565b82525050565b614df9614df482615582565b6156f5565b82525050565b6000614e0a8261540c565b614e148185615422565b9350614e24818560208601615616565b614e2d816157bb565b840191505092915050565b6000614e4382615417565b614e4d8185615433565b9350614e5d818560208601615616565b614e66816157bb565b840191505092915050565b6000614e7e601883615433565b9150614e89826157cc565b602082019050919050565b6000614ea1601f83615433565b9150614eac826157f5565b602082019050919050565b6000614ec4600283615444565b9150614ecf8261581e565b600282019050919050565b6000614ee7602283615433565b9150614ef282615847565b604082019050919050565b6000614f0a602a83615433565b9150614f1582615896565b604082019050919050565b6000614f2d601983615433565b9150614f38826158e5565b602082019050919050565b6101a082016000820151614f5a600085018261504e565b506020820151614f6d602085018261504e565b506040820151614f80604085018261504e565b506060820151614f93606085018261504e565b506080820151614fa6608085018261504e565b5060a0820151614fb960a085018261504e565b5060c0820151614fcc60c085018261504e565b5060e0820151614fdf60e085018261504e565b50610100820151614ff461010085018261504e565b5061012082015161500961012085018261504e565b5061014082015161501e61014085018261504e565b5061016082015161503361016085018261504e565b50610180820151615048610180850182614dbb565b50505050565b615057816155d8565b82525050565b615066816155d8565b82525050565b615075816155e2565b82525050565b615084816155ef565b82525050565b600061509582614eb7565b91506150a18285614de8565b6020820191506150b18284614de8565b6020820191508190509392505050565b60006020820190506150d66000830184614dac565b92915050565b60006040820190506150f16000830185614dac565b6150fe6020830184614dac565b9392505050565b600060808201905061511a6000830187614dac565b6151276020830186614dac565b615134604083018561505d565b81810360608301526151468184614dff565b905095945050505050565b60006040820190506151666000830185614dac565b6151736020830184614dca565b9392505050565b600060408201905061518f6000830185614dac565b61519c602083018461505d565b9392505050565b60006020820190506151b86000830184614dca565b92915050565b60006060820190506151d36000830186614dd9565b6151e0602083018561505d565b6151ed6040830184614dac565b949350505050565b600060808201905061520a6000830187614dd9565b615217602083018661506c565b6152246040830185614dd9565b6152316060830184614dd9565b95945050505050565b600060208201905081810360008301526152548184614e38565b905092915050565b6000602082019050818103600083015261527581614e71565b9050919050565b6000602082019050818103600083015261529581614e94565b9050919050565b600060208201905081810360008301526152b581614eda565b9050919050565b600060208201905081810360008301526152d581614efd565b9050919050565b600060208201905081810360008301526152f581614f20565b9050919050565b60006101a0820190506153126000830184614f43565b92915050565b600060208201905061532d600083018461505d565b92915050565b6000606082019050615348600083018661505d565b615355602083018561505d565b615362604083018461505d565b949350505050565b600060208201905061537f600083018461507b565b92915050565b600061538f6153a0565b905061539b828261567b565b919050565b6000604051905090565b600067ffffffffffffffff8211156153c5576153c461578c565b5b6153ce826157bb565b9050602081019050919050565b600067ffffffffffffffff8211156153f6576153f561578c565b5b6153ff826157bb565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061545a826155d8565b9150615465836155d8565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561549a576154996156ff565b5b828201905092915050565b60006154b0826155d8565b91506154bb836155d8565b9250826154cb576154ca61572e565b5b828204905092915050565b60006154e1826155d8565b91506154ec836155d8565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615615525576155246156ff565b5b828202905092915050565b600061553b826155d8565b9150615546836155d8565b925082821015615559576155586156ff565b5b828203905092915050565b600061556f826155b8565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b60006bffffffffffffffffffffffff82169050919050565b82818337600083830152505050565b60005b83811015615634578082015181840152602081019050615619565b83811115615643576000848401525b50505050565b6000600282049050600182168061566157607f821691505b602082108114156156755761567461575d565b5b50919050565b615684826157bb565b810181811067ffffffffffffffff821117156156a3576156a261578c565b5b80604052505050565b60006156b7826155d8565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156156ea576156e96156ff565b5b600182019050919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b7f1901000000000000000000000000000000000000000000000000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b61591781615564565b811461592257600080fd5b50565b61592e81615576565b811461593957600080fd5b50565b6159458161558c565b811461595057600080fd5b50565b61595c816155d8565b811461596757600080fd5b50565b615973816155ef565b811461597e57600080fd5b5056fea26469706673582212208631dc8871dbde78442f2fa86906473736aa2dddc629c953bde9217d17c3afb664736f6c634300080400330000000000000000000000003e4ff59040646f128e6dcae5a6c51867732ceeae000000000000000000000000000000000000aaeb6d7670e522a718067333cd4e0000000000000000000000003cc6cdda760b79bafa08df41ecfa224f810dceb6000000000000000000000000ad2366996fe8bf0790c69fb5764b1aeb50a681df

Deployed Bytecode

0x6080604052600436106102505760003560e01c80637e2f6e3b11610139578063baf3ff60116100b6578063e79a198f1161007a578063e79a198f1461082c578063e9371a2c14610843578063e985e9c514610880578063f2fde38b146108bd578063f3d3d448146108e6578063fcae44841461090f57610250565b8063baf3ff6014610747578063c57380a214610770578063c87b56dd1461079b578063ce5460bd146107d8578063d855a5791461080157610250565b80639ffe1195116100fd5780639ffe119514610685578063a22cb465146106ae578063b187bd26146106d7578063b88d4fde14610702578063ba15350f1461071e57610250565b80637e2f6e3b146105c25780638456cb59146105ed5780638da5cb5b14610604578063939078941461062f57806395d89b411461065a57610250565b80632a55205a116101d257806344e797e91161019657806344e797e9146104b65780634d74d3b4146104df57806358ff11d8146105085780636352211e1461053157806370a082311461056e578063715018a6146105ab57610250565b80632a55205a146103f357806331beb605146104315780633f4ba83a1461045a57806341a7726a1461047157806342842e0e1461049a57610250565b8063095ea7b311610219578063095ea7b31461034e57806318160ddd1461036a5780631aa3a00814610395578063225c29a6146103ac57806323b872dd146103d757610250565b80623379d71461025557806301ffc9a714610280578063042fafb9146102bd57806306fdde03146102e6578063081812fc14610311575b600080fd5b34801561026157600080fd5b5061026a610926565b60405161027791906150c1565b60405180910390f35b34801561028c57600080fd5b506102a760048036038101906102a29190614b83565b610950565b6040516102b491906151a3565b60405180910390f35b3480156102c957600080fd5b506102e460048036038101906102df9190614d23565b610972565b005b3480156102f257600080fd5b506102fb610b6d565b604051610308919061523a565b60405180910390f35b34801561031d57600080fd5b5061033860048036038101906103339190614c16565b610bff565b60405161034591906150c1565b60405180910390f35b61036860048036038101906103639190614a8a565b610c7e565b005b34801561037657600080fd5b5061037f610c97565b60405161038c9190615318565b60405180910390f35b3480156103a157600080fd5b506103aa610cae565b005b3480156103b857600080fd5b506103c1610e39565b6040516103ce9190615318565b60405180910390f35b6103f160048036038101906103ec9190614984565b610e61565b005b3480156103ff57600080fd5b5061041a60048036038101906104159190614c7b565b610ebe565b60405161042892919061517a565b60405180910390f35b34801561043d57600080fd5b506104586004803603810190610453919061491f565b6110a9565b005b34801561046657600080fd5b5061046f6111a3565b005b34801561047d57600080fd5b506104986004803603810190610493919061491f565b611220565b005b6104b460048036038101906104af9190614984565b6113ae565b005b3480156104c257600080fd5b506104dd60048036038101906104d89190614c16565b61140b565b005b3480156104eb57600080fd5b506105066004803603810190610501919061491f565b611543565b005b34801561051457600080fd5b5061052f600480360381019061052a9190614ac6565b61163d565b005b34801561053d57600080fd5b5061055860048036038101906105539190614c16565b61170c565b60405161056591906150c1565b60405180910390f35b34801561057a57600080fd5b506105956004803603810190610590919061491f565b61171e565b6040516105a29190615318565b60405180910390f35b3480156105b757600080fd5b506105c06117d7565b005b3480156105ce57600080fd5b506105d7611856565b6040516105e49190615318565b60405180910390f35b3480156105f957600080fd5b5061060261187e565b005b34801561061057600080fd5b506106196118fb565b60405161062691906150c1565b60405180910390f35b34801561063b57600080fd5b50610644611925565b60405161065191906150c1565b60405180910390f35b34801561066657600080fd5b5061066f61194f565b60405161067c919061523a565b60405180910390f35b34801561069157600080fd5b506106ac60048036038101906106a79190614cb7565b6119e1565b005b3480156106ba57600080fd5b506106d560048036038101906106d09190614a4e565b611abd565b005b3480156106e357600080fd5b506106ec611ad6565b6040516106f991906151a3565b60405180910390f35b61071c600480360381019061071791906149d3565b611aed565b005b34801561072a57600080fd5b5061074560048036038101906107409190614b02565b611b4c565b005b34801561075357600080fd5b5061076e6004803603810190610769919061491f565b611c52565b005b34801561077c57600080fd5b50610785611d4c565b60405161079291906150c1565b60405180910390f35b3480156107a757600080fd5b506107c260048036038101906107bd9190614c16565b611d76565b6040516107cf919061523a565b60405180910390f35b3480156107e457600080fd5b506107ff60048036038101906107fa919061491f565b611ef9565b005b34801561080d57600080fd5b50610816612087565b60405161082391906150c1565b60405180910390f35b34801561083857600080fd5b506108416120b1565b005b34801561084f57600080fd5b5061086a60048036038101906108659190614c3f565b61223c565b60405161087791906152fc565b60405180910390f35b34801561088c57600080fd5b506108a760048036038101906108a29190614948565b6124d5565b6040516108b491906151a3565b60405180910390f35b3480156108c957600080fd5b506108e460048036038101906108df919061491f565b612569565b005b3480156108f257600080fd5b5061090d6004803603810190610908919061491f565b61264f565b005b34801561091b57600080fd5b50610924612749565b005b6000601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600061095b826128d7565b8061096b575061096a82612969565b5b9050919050565b61097a611d4c565b73ffffffffffffffffffffffffffffffffffffffff166109986129e3565b73ffffffffffffffffffffffffffffffffffffffff16146109e5576040517fa9ca6f3100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040518060a001604052808667ffffffffffffffff1681526020018567ffffffffffffffff1681526020018467ffffffffffffffff1681526020018363ffffffff1681526020018263ffffffff168152506010600088815260200190815260200160002060008201518160000160006101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060208201518160000160086101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060408201518160000160106101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060608201518160000160186101000a81548163ffffffff021916908363ffffffff160217905550608082015181600001601c6101000a81548163ffffffff021916908363ffffffff1602179055509050508082877f0d63751cae3709b44d04ef5d0a62a5b49227cefe6f2cb44f328d33219093933b888888604051610b5d93929190615333565b60405180910390a4505050505050565b606060048054610b7c90615649565b80601f0160208091040260200160405190810160405280929190818152602001828054610ba890615649565b8015610bf55780601f10610bca57610100808354040283529160200191610bf5565b820191906000526020600020905b815481529060010190602001808311610bd857829003601f168201915b5050505050905090565b6000610c0a826129eb565b610c40576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6008600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b81610c8881612a4a565b610c928383612b92565b505050565b6000610ca1612ba2565b6003546002540303905090565b610cb6611d4c565b73ffffffffffffffffffffffffffffffffffffffff16610cd46129e3565b73ffffffffffffffffffffffffffffffffffffffff1614610d21576040517fa9ca6f3100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415610daa576040517ff55ae52900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634420e486306040518263ffffffff1660e01b8152600401610e0591906150c1565b600060405180830381600087803b158015610e1f57600080fd5b505af1158015610e33573d6000803e3d6000fd5b50505050565b60007f0000000000000000000000000000000000000000000000000000000000000d05905090565b82610e6a6129e3565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610ead57610eac610ea76129e3565b612a4a565b5b610eb8848484612bab565b50505050565b6000806000600160008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614156110545760006040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b600061105e612ed0565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff168661108a91906154d6565b61109491906154a5565b90508160000151819350935050509250929050565b6110b1611d4c565b73ffffffffffffffffffffffffffffffffffffffff166110cf6129e3565b73ffffffffffffffffffffffffffffffffffffffff161461111c576040517fa9ca6f3100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff167fad8859bc0466f3cce502f67e1bc82e5444fa551f669e893f648c166949227fdb60405160405180910390a250565b6111ab611d4c565b73ffffffffffffffffffffffffffffffffffffffff166111c96129e3565b73ffffffffffffffffffffffffffffffffffffffff1614611216576040517fa9ca6f3100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61121e612eda565b565b611228611d4c565b73ffffffffffffffffffffffffffffffffffffffff166112466129e3565b73ffffffffffffffffffffffffffffffffffffffff1614611293576040517fa9ca6f3100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561131c576040517ff55ae52900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b314d41430836040518363ffffffff1660e01b81526004016113799291906150dc565b600060405180830381600087803b15801561139357600080fd5b505af11580156113a7573d6000803e3d6000fd5b5050505050565b826113b76129e3565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146113fa576113f96113f46129e3565b612a4a565b5b611405848484612f7f565b50505050565b611413611d4c565b73ffffffffffffffffffffffffffffffffffffffff166114316129e3565b73ffffffffffffffffffffffffffffffffffffffff161461147e576040517fa9ca6f3100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60106000828152602001908152602001600020600080820160006101000a81549067ffffffffffffffff02191690556000820160086101000a81549067ffffffffffffffff02191690556000820160106101000a81549067ffffffffffffffff02191690556000820160186101000a81549063ffffffff021916905560008201601c6101000a81549063ffffffff02191690555050807f21dc5fb55d3993dab4b2721bb5c1a416e4549749794335f7b33c27bb7f3fe9d060405160405180910390a250565b61154b611d4c565b73ffffffffffffffffffffffffffffffffffffffff166115696129e3565b73ffffffffffffffffffffffffffffffffffffffff16146115b6576040517fa9ca6f3100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80601360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff167fa6375348ec6f00fff8306bb897b0a08eb1a029b5ff13898a15d188f163919b4260405160405180910390a250565b611645611d4c565b73ffffffffffffffffffffffffffffffffffffffff166116636129e3565b73ffffffffffffffffffffffffffffffffffffffff16146116b0576040517fa9ca6f3100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6116ba8282612f9f565b8173ffffffffffffffffffffffffffffffffffffffff167f7c7723ae7c93350666fcb29eea13697ad4ff27d1b9b17c80d79ea12a8c3b22d982604051611700919061536a565b60405180910390a25050565b600061171782613134565b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611786576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b6117df6118fb565b73ffffffffffffffffffffffffffffffffffffffff166117fd6129e3565b73ffffffffffffffffffffffffffffffffffffffff161461184a576040517fce5324e200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6118546000613239565b565b60007f0000000000000000000000000000000000000000000000000000000000000085905090565b611886611d4c565b73ffffffffffffffffffffffffffffffffffffffff166118a46129e3565b73ffffffffffffffffffffffffffffffffffffffff16146118f1576040517fa9ca6f3100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6118f96132ff565b565b6000600a60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606005805461195e90615649565b80601f016020809104026020016040519081016040528092919081815260200182805461198a90615649565b80156119d75780601f106119ac576101008083540402835291602001916119d7565b820191906000526020600020905b8154815290600101906020018083116119ba57829003601f168201915b5050505050905090565b3273ffffffffffffffffffffffffffffffffffffffff16611a006129e3565b73ffffffffffffffffffffffffffffffffffffffff1614611a4d576040517ffc6e72bb00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8181611a58856133a5565b611a63838383613400565b611a99576040517fa7e5d44300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611aa38787613582565b611ab4611aae6129e3565b8861393b565b50505050505050565b81611ac781612a4a565b611ad18383613959565b505050565b6000600a60009054906101000a900460ff16905090565b83611af66129e3565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611b3957611b38611b336129e3565b612a4a565b5b611b4585858585613a64565b5050505050565b611b54611d4c565b73ffffffffffffffffffffffffffffffffffffffff16611b726129e3565b73ffffffffffffffffffffffffffffffffffffffff1614611bbf576040517fa9ca6f3100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611bd68184849050611bd191906154d6565b613ad7565b60005b83839050811015611c4c57611c3b848483818110611c20577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002016020810190611c35919061491f565b8361393b565b80611c45906156ac565b9050611bd9565b50505050565b611c5a611d4c565b73ffffffffffffffffffffffffffffffffffffffff16611c786129e3565b73ffffffffffffffffffffffffffffffffffffffff1614611cc5576040517fa9ca6f3100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff167f9f513fe86dc42fdbac355fa4d9b1d5be7b5e6cd2df67e30db8003766568de47660405160405180910390a250565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606081611d82816129eb565b611db8576040517fceea21b600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415611e41576040517f9292916900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c87b56dd846040518263ffffffff1660e01b8152600401611e9c9190615318565b60006040518083038186803b158015611eb457600080fd5b505afa158015611ec8573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190611ef19190614bd5565b915050919050565b611f01611d4c565b73ffffffffffffffffffffffffffffffffffffffff16611f1f6129e3565b73ffffffffffffffffffffffffffffffffffffffff1614611f6c576040517fa9ca6f3100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415611ff5576040517ff55ae52900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16637d3e3dbe30836040518363ffffffff1660e01b81526004016120529291906150dc565b600060405180830381600087803b15801561206c57600080fd5b505af1158015612080573d6000803e3d6000fd5b5050505050565b6000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6120b9611d4c565b73ffffffffffffffffffffffffffffffffffffffff166120d76129e3565b73ffffffffffffffffffffffffffffffffffffffff1614612124576040517fa9ca6f3100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156121ad576040517ff55ae52900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632ec2c246306040518263ffffffff1660e01b815260040161220891906150c1565b600060405180830381600087803b15801561222257600080fd5b505af1158015612236573d6000803e3d6000fd5b50505050565b6122446146be565b61224c6146be565b7f0000000000000000000000000000000000000000000000000000000000000d05816000018181525050600e548160200181815250507f0000000000000000000000000000000000000000000000000000000000000085816040018181525050600f548160600181815250506000601060008681526020019081526020016000206040518060a00160405290816000820160009054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff1681526020016000820160089054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff1681526020016000820160109054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff1681526020016000820160189054906101000a900463ffffffff1663ffffffff1663ffffffff16815260200160008201601c9054906101000a900463ffffffff1663ffffffff1663ffffffff16815250509050806000015167ffffffffffffffff1682608001818152505060116000868152602001908152602001600020548260a0018181525050806020015167ffffffffffffffff168260c00181815250506012600086815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548260e0018181525050806040015167ffffffffffffffff1682610100018181525050806060015163ffffffff1682610120018181525050806080015163ffffffff168261014001818152505043826101600181815250506124ba85613bc2565b82610180019015159081151581525050819250505092915050565b6000600960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6125716118fb565b73ffffffffffffffffffffffffffffffffffffffff1661258f6129e3565b73ffffffffffffffffffffffffffffffffffffffff16146125dc576040517fce5324e200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612643576040517fd6919f0f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61264c81613239565b50565b6126576118fb565b73ffffffffffffffffffffffffffffffffffffffff166126756129e3565b73ffffffffffffffffffffffffffffffffffffffff16146126c2576040517fce5324e200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff167fef9d41b73d5159e866e426dcc713bb3796bd5e06dc29e2df122530901778b11260405160405180910390a250565b612751611d4c565b73ffffffffffffffffffffffffffffffffffffffff1661276f6129e3565b73ffffffffffffffffffffffffffffffffffffffff16146127bc576040517fa9ca6f3100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612845576040517ff55ae52900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166334a0dc103060006040518363ffffffff1660e01b81526004016128a3929190615151565b600060405180830381600087803b1580156128bd57600080fd5b505af11580156128d1573d6000803e3d6000fd5b50505050565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061293257506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806129625750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806129dc57506129db82613bf6565b5b9050919050565b600033905090565b6000816129f6612ba2565b11158015612a05575060025482105b8015612a43575060007c0100000000000000000000000000000000000000000000000000000000600660008581526020019081526020016000205416145b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff16600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612b8f57600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b8152600401612afd9291906150dc565b60206040518083038186803b158015612b1557600080fd5b505afa158015612b29573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b4d9190614b5a565b612b8e57806040517fa93a75ae000000000000000000000000000000000000000000000000000000008152600401612b8591906150c1565b60405180910390fd5b5b50565b612b9e82826001613c60565b5050565b60006001905090565b6000612bb682613134565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614612c1d576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080612c2984613dac565b91509150612c3f8187612c3a613dd3565b613ddb565b612c8b57612c5486612c4f613dd3565b6124d5565b612c8a576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415612cf2576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612cff8686866001613e1f565b8015612d0a57600082555b600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550612dd885612db4888887613e25565b7c020000000000000000000000000000000000000000000000000000000017613e4d565b600660008681526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000084161415612e60576000600185019050600060066000838152602001908152602001600020541415612e5e576002548114612e5d578360066000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612ec88686866001613e78565b505050505050565b6000612710905090565b612ee2611ad6565b612f18576040517fbc871ce500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000600a60006101000a81548160ff021916908315150217905550612f3b6129e3565b73ffffffffffffffffffffffffffffffffffffffff167f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa60405160405180910390a2565b612f9a83838360405180602001604052806000815250611aed565b505050565b612fa7612ed0565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff161115613005576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ffc906152bc565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613075576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161306c906152dc565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff168152506000808201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b60008161313f612ba2565b11613202576006600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821614156132015760008114156131fc5760025482106131c6576040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600660008360019003935083815260200190815260200160002054905060008114156131f2576131f7565b613234565b6131c7565b613234565b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600a60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b613307611ad6565b1561333e576040517f1309a56300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600a60006101000a81548160ff0219169083151502179055506133616129e3565b73ffffffffffffffffffffffffffffffffffffffff167f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25860405160405180910390a2565b60007f0452834397a1ee45ba5dbf1e34b8e7031baaba92c7204b46d7d6e6332f9f265b826133d16129e3565b6040516020016133e3939291906151be565b604051602081830303815290604052805190602001209050919050565b60008073ffffffffffffffffffffffffffffffffffffffff16600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561348a576040517ff6667c4300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661356285858080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050507f59c82c6ee716b60f12b3e2bfabda15777d00ce06a2011740050dfd44880f304f8560405160200161353e92919061508a565b60405160208183030381529060405280519060200120613e7e90919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff161490509392505050565b8061358b611ad6565b156135c2576040517f71cc92d400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6135cb81613ea5565b613601576040517f2a9c160c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61360a81613ede565b613640576040517f8531bb5600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6010600083815260200190815260200160002060000160109054906101000a900467ffffffffffffffff1667ffffffffffffffff168311156136ae576040517fed99670b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000836012600085815260200190815260200160002060006136ce6129e3565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054613713919061544f565b90506010600084815260200190815260200160002060000160089054906101000a900467ffffffffffffffff1667ffffffffffffffff16811115613783576040517f0e7f30cd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008460116000868152602001908152602001600020546137a4919061544f565b90506010600085815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff16811115613814576040517f01efcd6c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600085600e54613824919061544f565b90507f0000000000000000000000000000000000000000000000000000000000000d05600f547f000000000000000000000000000000000000000000000000000000000000008583613876919061544f565b6138809190615530565b11156138b8576040517fb79b1bac00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b826012600087815260200190815260200160002060006138d66129e3565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081601160008781526020019081526020016000208190555080600e81905550505050505050565b613955828260405180602001604052806000815250613f16565b5050565b8060096000613966613dd3565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16613a13613dd3565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051613a5891906151a3565b60405180910390a35050565b613a6f848484610e61565b60008373ffffffffffffffffffffffffffffffffffffffff163b14613ad157613a9a84848484613fb4565b613ad0576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b600081600f54613ae7919061544f565b90507f0000000000000000000000000000000000000000000000000000000000000085811115613b43576040517f48a8d20400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600082600e54613b53919061544f565b90507f0000000000000000000000000000000000000000000000000000000000000d05811115613baf576040517fb79b1bac00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81600f8190555080600e81905550505050565b6000613bcc611ad6565b158015613bde5750613bdd82613ea5565b5b8015613bef5750613bee82613ede565b5b9050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000613c6b8361170c565b90508115613cf6578073ffffffffffffffffffffffffffffffffffffffff16613c92613dd3565b73ffffffffffffffffffffffffffffffffffffffff1614613cf557613cbe81613cb9613dd3565b6124d5565b613cf4576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b5b836008600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550828473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a450505050565b60008060006008600085815260200190815260200160002090508092508254915050915091565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8613e3c868684614114565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6000806000613e8d858561411d565b91509150613e9a8161416f565b819250505092915050565b60006010600083815260200190815260200160002060000160189054906101000a900463ffffffff1663ffffffff164310159050919050565b600060106000838152602001908152602001600020600001601c9054906101000a900463ffffffff1663ffffffff1643109050919050565b613f20838361440d565b60008373ffffffffffffffffffffffffffffffffffffffff163b14613faf5760006002549050600083820390505b613f616000868380600101945086613fb4565b613f97576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b818110613f4e578160025414613fac57600080fd5b50505b505050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613fda613dd3565b8786866040518563ffffffff1660e01b8152600401613ffc9493929190615105565b602060405180830381600087803b15801561401657600080fd5b505af192505050801561404757506040513d601f19601f820116820180604052508101906140449190614bac565b60015b6140c1573d8060008114614077576040519150601f19603f3d011682016040523d82523d6000602084013e61407c565b606091505b506000815114156140b9576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60009392505050565b60008060418351141561415f5760008060006020860151925060408601519150606086015160001a9050614153878285856145cb565b94509450505050614168565b60006002915091505b9250929050565b600060048111156141a9577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b8160048111156141e2577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14156141ed5761440a565b60016004811115614227577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115614260577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14156142a1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016142989061525c565b60405180910390fd5b600260048111156142db577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115614314577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415614355576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161434c9061527c565b60405180910390fd5b6003600481111561438f577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b8160048111156143c8577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415614409576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016144009061529c565b60405180910390fd5b5b50565b60006002549050600082141561444f576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61445c6000848385613e1f565b600160406001901b178202600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506144d3836144c46000866000613e25565b6144cd856146ae565b17613e4d565b6006600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b81811461457457808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050614539565b5060008214156145b0576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060028190555050506145c66000848385613e78565b505050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c11156146065760006003915091506146a5565b60006001878787876040516000815260200160405260405161462b94939291906151f5565b6020604051602081039080840390855afa15801561464d573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561469c576000600192509250506146a5565b80600092509250505b94509492505050565b60006001821460e11b9050919050565b604051806101a001604052806000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000151581525090565b600061473b614736846153aa565b615385565b90508281526020810184848401111561475357600080fd5b61475e848285615607565b509392505050565b6000614779614774846153db565b615385565b90508281526020810184848401111561479157600080fd5b61479c848285615616565b509392505050565b6000813590506147b38161590e565b92915050565b60008083601f8401126147cb57600080fd5b8235905067ffffffffffffffff8111156147e457600080fd5b6020830191508360208202830111156147fc57600080fd5b9250929050565b60008135905061481281615925565b92915050565b60008151905061482781615925565b92915050565b60008135905061483c8161593c565b92915050565b6000815190506148518161593c565b92915050565b60008083601f84011261486957600080fd5b8235905067ffffffffffffffff81111561488257600080fd5b60208301915083600182028301111561489a57600080fd5b9250929050565b600082601f8301126148b257600080fd5b81356148c2848260208601614728565b91505092915050565b600082601f8301126148dc57600080fd5b81516148ec848260208601614766565b91505092915050565b60008135905061490481615953565b92915050565b6000813590506149198161596a565b92915050565b60006020828403121561493157600080fd5b600061493f848285016147a4565b91505092915050565b6000806040838503121561495b57600080fd5b6000614969858286016147a4565b925050602061497a858286016147a4565b9150509250929050565b60008060006060848603121561499957600080fd5b60006149a7868287016147a4565b93505060206149b8868287016147a4565b92505060406149c9868287016148f5565b9150509250925092565b600080600080608085870312156149e957600080fd5b60006149f7878288016147a4565b9450506020614a08878288016147a4565b9350506040614a19878288016148f5565b925050606085013567ffffffffffffffff811115614a3657600080fd5b614a42878288016148a1565b91505092959194509250565b60008060408385031215614a6157600080fd5b6000614a6f858286016147a4565b9250506020614a8085828601614803565b9150509250929050565b60008060408385031215614a9d57600080fd5b6000614aab858286016147a4565b9250506020614abc858286016148f5565b9150509250929050565b60008060408385031215614ad957600080fd5b6000614ae7858286016147a4565b9250506020614af88582860161490a565b9150509250929050565b600080600060408486031215614b1757600080fd5b600084013567ffffffffffffffff811115614b3157600080fd5b614b3d868287016147b9565b93509350506020614b50868287016148f5565b9150509250925092565b600060208284031215614b6c57600080fd5b6000614b7a84828501614818565b91505092915050565b600060208284031215614b9557600080fd5b6000614ba38482850161482d565b91505092915050565b600060208284031215614bbe57600080fd5b6000614bcc84828501614842565b91505092915050565b600060208284031215614be757600080fd5b600082015167ffffffffffffffff811115614c0157600080fd5b614c0d848285016148cb565b91505092915050565b600060208284031215614c2857600080fd5b6000614c36848285016148f5565b91505092915050565b60008060408385031215614c5257600080fd5b6000614c60858286016148f5565b9250506020614c71858286016147a4565b9150509250929050565b60008060408385031215614c8e57600080fd5b6000614c9c858286016148f5565b9250506020614cad858286016148f5565b9150509250929050565b60008060008060608587031215614ccd57600080fd5b6000614cdb878288016148f5565b9450506020614cec878288016148f5565b935050604085013567ffffffffffffffff811115614d0957600080fd5b614d1587828801614857565b925092505092959194509250565b60008060008060008060c08789031215614d3c57600080fd5b6000614d4a89828a016148f5565b9650506020614d5b89828a016148f5565b9550506040614d6c89828a016148f5565b9450506060614d7d89828a016148f5565b9350506080614d8e89828a016148f5565b92505060a0614d9f89828a016148f5565b9150509295509295509295565b614db581615564565b82525050565b614dc481615576565b82525050565b614dd381615576565b82525050565b614de281615582565b82525050565b614df9614df482615582565b6156f5565b82525050565b6000614e0a8261540c565b614e148185615422565b9350614e24818560208601615616565b614e2d816157bb565b840191505092915050565b6000614e4382615417565b614e4d8185615433565b9350614e5d818560208601615616565b614e66816157bb565b840191505092915050565b6000614e7e601883615433565b9150614e89826157cc565b602082019050919050565b6000614ea1601f83615433565b9150614eac826157f5565b602082019050919050565b6000614ec4600283615444565b9150614ecf8261581e565b600282019050919050565b6000614ee7602283615433565b9150614ef282615847565b604082019050919050565b6000614f0a602a83615433565b9150614f1582615896565b604082019050919050565b6000614f2d601983615433565b9150614f38826158e5565b602082019050919050565b6101a082016000820151614f5a600085018261504e565b506020820151614f6d602085018261504e565b506040820151614f80604085018261504e565b506060820151614f93606085018261504e565b506080820151614fa6608085018261504e565b5060a0820151614fb960a085018261504e565b5060c0820151614fcc60c085018261504e565b5060e0820151614fdf60e085018261504e565b50610100820151614ff461010085018261504e565b5061012082015161500961012085018261504e565b5061014082015161501e61014085018261504e565b5061016082015161503361016085018261504e565b50610180820151615048610180850182614dbb565b50505050565b615057816155d8565b82525050565b615066816155d8565b82525050565b615075816155e2565b82525050565b615084816155ef565b82525050565b600061509582614eb7565b91506150a18285614de8565b6020820191506150b18284614de8565b6020820191508190509392505050565b60006020820190506150d66000830184614dac565b92915050565b60006040820190506150f16000830185614dac565b6150fe6020830184614dac565b9392505050565b600060808201905061511a6000830187614dac565b6151276020830186614dac565b615134604083018561505d565b81810360608301526151468184614dff565b905095945050505050565b60006040820190506151666000830185614dac565b6151736020830184614dca565b9392505050565b600060408201905061518f6000830185614dac565b61519c602083018461505d565b9392505050565b60006020820190506151b86000830184614dca565b92915050565b60006060820190506151d36000830186614dd9565b6151e0602083018561505d565b6151ed6040830184614dac565b949350505050565b600060808201905061520a6000830187614dd9565b615217602083018661506c565b6152246040830185614dd9565b6152316060830184614dd9565b95945050505050565b600060208201905081810360008301526152548184614e38565b905092915050565b6000602082019050818103600083015261527581614e71565b9050919050565b6000602082019050818103600083015261529581614e94565b9050919050565b600060208201905081810360008301526152b581614eda565b9050919050565b600060208201905081810360008301526152d581614efd565b9050919050565b600060208201905081810360008301526152f581614f20565b9050919050565b60006101a0820190506153126000830184614f43565b92915050565b600060208201905061532d600083018461505d565b92915050565b6000606082019050615348600083018661505d565b615355602083018561505d565b615362604083018461505d565b949350505050565b600060208201905061537f600083018461507b565b92915050565b600061538f6153a0565b905061539b828261567b565b919050565b6000604051905090565b600067ffffffffffffffff8211156153c5576153c461578c565b5b6153ce826157bb565b9050602081019050919050565b600067ffffffffffffffff8211156153f6576153f561578c565b5b6153ff826157bb565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061545a826155d8565b9150615465836155d8565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561549a576154996156ff565b5b828201905092915050565b60006154b0826155d8565b91506154bb836155d8565b9250826154cb576154ca61572e565b5b828204905092915050565b60006154e1826155d8565b91506154ec836155d8565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615615525576155246156ff565b5b828202905092915050565b600061553b826155d8565b9150615546836155d8565b925082821015615559576155586156ff565b5b828203905092915050565b600061556f826155b8565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b60006bffffffffffffffffffffffff82169050919050565b82818337600083830152505050565b60005b83811015615634578082015181840152602081019050615619565b83811115615643576000848401525b50505050565b6000600282049050600182168061566157607f821691505b602082108114156156755761567461575d565b5b50919050565b615684826157bb565b810181811067ffffffffffffffff821117156156a3576156a261578c565b5b80604052505050565b60006156b7826155d8565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156156ea576156e96156ff565b5b600182019050919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b7f1901000000000000000000000000000000000000000000000000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b61591781615564565b811461592257600080fd5b50565b61592e81615576565b811461593957600080fd5b50565b6159458161558c565b811461595057600080fd5b50565b61595c816155d8565b811461596757600080fd5b50565b615973816155ef565b811461597e57600080fd5b5056fea26469706673582212208631dc8871dbde78442f2fa86906473736aa2dddc629c953bde9217d17c3afb664736f6c63430008040033

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

0000000000000000000000003e4ff59040646f128e6dcae5a6c51867732ceeae000000000000000000000000000000000000aaeb6d7670e522a718067333cd4e0000000000000000000000003cc6cdda760b79bafa08df41ecfa224f810dceb6000000000000000000000000ad2366996fe8bf0790c69fb5764b1aeb50a681df

-----Decoded View---------------
Arg [0] : creatorAddress (address): 0x3E4Ff59040646f128e6DcaE5A6c51867732CeEAe
Arg [1] : registryAddress (address): 0x000000000000AAeB6D7670E522A718067333cd4E
Arg [2] : registrySubscriptionAddress (address): 0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6
Arg [3] : signingAddress (address): 0xAD2366996Fe8BF0790c69fB5764b1Aeb50a681Df

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000003e4ff59040646f128e6dcae5a6c51867732ceeae
Arg [1] : 000000000000000000000000000000000000aaeb6d7670e522a718067333cd4e
Arg [2] : 0000000000000000000000003cc6cdda760b79bafa08df41ecfa224f810dceb6
Arg [3] : 000000000000000000000000ad2366996fe8bf0790c69fb5764b1aeb50a681df


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.