Token CoinQuest

Overview ERC721

Total Supply:
86 CQ

Holders:
26 addresses
Balance
0 CQ
0x0000000000000000000000000000000000000000
Loading
[ Download CSV Export  ] 
Loading
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
CoinQuest

Compiler Version
v0.8.6+commit.11564f7e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-08-05
*/

// SPDX-License-Identifier: UNLICENSED

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

// File @openzeppelin/contracts-upgradeable/proxy/utils/[email protected]


// OpenZeppelin Contracts v4.4.0 (proxy/utils/Initializable.sol)

pragma solidity ^0.8.0;

/**
 * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed
 * behind a proxy. Since a proxied contract can't have a constructor, it's common to move constructor logic to an
 * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer
 * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.
 *
 * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as
 * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}.
 *
 * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure
 * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.
 *
 * [CAUTION]
 * ====
 * Avoid leaving a contract uninitialized.
 *
 * An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation
 * contract, which may impact the proxy. To initialize the implementation contract, you can either invoke the
 * initializer manually, or you can include a constructor to automatically mark it as initialized when it is deployed:
 *
 * [.hljs-theme-light.nopadding]
 * ```
 * /// @custom:oz-upgrades-unsafe-allow constructor
 * constructor() initializer {}
 * ```
 * ====
 */
abstract contract Initializable {
    /**
     * @dev Indicates that the contract has been initialized.
     */
    bool private _initialized;

    /**
     * @dev Indicates that the contract is in the process of being initialized.
     */
    bool private _initializing;

    /**
     * @dev Modifier to protect an initializer function from being invoked twice.
     */
    modifier initializer() {
        require(_initializing || !_initialized, "Initializable: contract is already initialized");

        bool isTopLevelCall = !_initializing;
        if (isTopLevelCall) {
            _initializing = true;
            _initialized = true;
        }

        _;

        if (isTopLevelCall) {
            _initializing = false;
        }
    }
}


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


// OpenZeppelin Contracts v4.4.0 (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 ContextUpgradeable is Initializable {
    function __Context_init() internal initializer {
        __Context_init_unchained();
    }

    function __Context_init_unchained() internal initializer {
    }
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
    uint256[50] private __gap;
}


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


// OpenZeppelin Contracts v4.4.0 (access/Ownable.sol)

pragma solidity ^0.8.0;


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

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    function __Ownable_init() internal initializer {
        __Context_init_unchained();
        __Ownable_init_unchained();
    }

    function __Ownable_init_unchained() internal initializer {
        _transferOwnership(_msgSender());
    }

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

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

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

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


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


// OpenZeppelin Contracts v4.4.0 (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 IERC165Upgradeable {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}


// File @openzeppelin/contracts-upgradeable/token/ERC721/[email protected]


// OpenZeppelin Contracts v4.4.0 (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721Upgradeable is IERC165Upgradeable {
    /**
     * @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
    ) external;

    /**
     * @dev Transfers `tokenId` token 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;

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

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

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

    /**
     * @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 calldata data
    ) external;
}


// File @openzeppelin/contracts-upgradeable/token/ERC721/[email protected]


// OpenZeppelin Contracts v4.4.0 (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

/**
 * @title ERC721 token receiver interface
 * @dev Interface for any contract that wants to support safeTransfers
 * from ERC721 asset contracts.
 */
interface IERC721ReceiverUpgradeable {
    /**
     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
     * by `operator` from `from`, this function is called.
     *
     * It must return its Solidity selector to confirm the token transfer.
     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
     *
     * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}


// File @openzeppelin/contracts-upgradeable/token/ERC721/extensions/[email protected]


// OpenZeppelin Contracts v4.4.0 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721MetadataUpgradeable is IERC721Upgradeable {
    /**
     * @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);
}


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


// OpenZeppelin Contracts v4.4.0 (utils/Address.sol)

pragma solidity ^0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library AddressUpgradeable {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

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

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}


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


// OpenZeppelin Contracts v4.4.0 (utils/Strings.sol)

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library StringsUpgradeable {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @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] = _HEX_SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }
}


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


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

pragma solidity ^0.8.0;


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

    function __ERC165_init_unchained() internal initializer {
    }
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165Upgradeable).interfaceId;
    }
    uint256[50] private __gap;
}


// File @openzeppelin/contracts-upgradeable/token/ERC721/[email protected]


// OpenZeppelin Contracts v4.4.0 (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;








/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension, but not including the Enumerable extension, which is available separately as
 * {ERC721Enumerable}.
 */
contract ERC721Upgradeable is Initializable, ContextUpgradeable, ERC165Upgradeable, IERC721Upgradeable, IERC721MetadataUpgradeable {
    using AddressUpgradeable for address;
    using StringsUpgradeable for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to owner address
    mapping(uint256 => address) private _owners;

    // Mapping owner address to token count
    mapping(address => uint256) private _balances;

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

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

    /**
     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
     */
    function __ERC721_init(string memory name_, string memory symbol_) internal initializer {
        __Context_init_unchained();
        __ERC165_init_unchained();
        __ERC721_init_unchained(name_, symbol_);
    }

    function __ERC721_init_unchained(string memory name_, string memory symbol_) internal initializer {
        _name = name_;
        _symbol = symbol_;
    }

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

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        require(owner != address(0), "ERC721: balance query for the zero address");
        return _balances[owner];
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _owners[tokenId];
        require(owner != address(0), "ERC721: owner query for nonexistent token");
        return owner;
    }

    /**
     * @dev See {IERC721Metadata-name}.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev See {IERC721Metadata-symbol}.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

        string memory baseURI = _baseURI();
        return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : "";
    }

    /**
     * @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, can be overriden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public virtual override {
        address owner = ERC721Upgradeable.ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

        require(
            _msgSender() == owner || isApprovedForAll(owner, _msgSender()),
            "ERC721: approve caller is not owner nor approved for all"
        );

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        require(_exists(tokenId), "ERC721: approved query for nonexistent token");

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _setApprovalForAll(_msgSender(), operator, approved);
    }

    /**
     * @dev See {IERC721-isApprovedForAll}.
     */
    function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
        return _operatorApprovals[owner][operator];
    }

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");

        _transfer(from, to, tokenId);
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        safeTransferFrom(from, to, tokenId, "");
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
        _safeTransfer(from, to, tokenId, _data);
    }

    /**
     * @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.
     *
     * `_data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
    }

    /**
     * @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 (`_mint`),
     * and stop existing when they are burned (`_burn`).
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return _owners[tokenId] != address(0);
    }

    /**
     * @dev Returns whether `spender` is allowed to manage `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
        require(_exists(tokenId), "ERC721: operator query for nonexistent token");
        address owner = ERC721Upgradeable.ownerOf(tokenId);
        return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender));
    }

    /**
     * @dev Safely mints `tokenId` and transfers it to `to`.
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(address to, uint256 tokenId) internal virtual {
        _safeMint(to, tokenId, "");
    }

    /**
     * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
     */
    function _safeMint(
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _mint(to, tokenId);
        require(
            _checkOnERC721Received(address(0), to, tokenId, _data),
            "ERC721: transfer to non ERC721Receiver implementer"
        );
    }

    /**
     * @dev Mints `tokenId` and transfers it to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - `to` cannot be the zero address.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 tokenId) internal virtual {
        require(to != address(0), "ERC721: mint to the zero address");
        require(!_exists(tokenId), "ERC721: token already minted");

        _beforeTokenTransfer(address(0), to, tokenId);

        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(address(0), to, tokenId);
    }

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

        _beforeTokenTransfer(owner, address(0), tokenId);

        // Clear approvals
        _approve(address(0), tokenId);

        _balances[owner] -= 1;
        delete _owners[tokenId];

        emit Transfer(owner, address(0), tokenId);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {
        require(ERC721Upgradeable.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

        // Clear approvals from the previous owner
        _approve(address(0), tokenId);

        _balances[from] -= 1;
        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);
    }

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits a {Approval} event.
     */
    function _approve(address to, uint256 tokenId) internal virtual {
        _tokenApprovals[tokenId] = to;
        emit Approval(ERC721Upgradeable.ownerOf(tokenId), to, tokenId);
    }

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits a {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC721: approve to caller");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * The call is not executed if the target address is not a contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param _data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        if (to.isContract()) {
            try IERC721ReceiverUpgradeable(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
                return retval == IERC721ReceiverUpgradeable.onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * 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, ``from``'s `tokenId` will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}
    uint256[44] private __gap;
}


// File @openzeppelin/contracts-upgradeable/token/ERC721/extensions/[email protected]


// OpenZeppelin Contracts v4.4.0 (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;

/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721EnumerableUpgradeable is IERC721Upgradeable {
    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns a token ID owned by `owner` at a given `index` of its token list.
     * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId);

    /**
     * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
     * Use along with {totalSupply} to enumerate all tokens.
     */
    function tokenByIndex(uint256 index) external view returns (uint256);
}


// File @openzeppelin/contracts-upgradeable/token/ERC721/extensions/[email protected]


// OpenZeppelin Contracts v4.4.0 (token/ERC721/extensions/ERC721Enumerable.sol)

pragma solidity ^0.8.0;



/**
 * @dev This implements an optional extension of {ERC721} defined in the EIP that adds
 * enumerability of all the token ids in the contract as well as all token ids owned by each
 * account.
 */
abstract contract ERC721EnumerableUpgradeable is Initializable, ERC721Upgradeable, IERC721EnumerableUpgradeable {
    function __ERC721Enumerable_init() internal initializer {
        __Context_init_unchained();
        __ERC165_init_unchained();
        __ERC721Enumerable_init_unchained();
    }

    function __ERC721Enumerable_init_unchained() internal initializer {
    }
    // Mapping from owner to list of owned token IDs
    mapping(address => mapping(uint256 => uint256)) private _ownedTokens;

    // Mapping from token ID to index of the owner tokens list
    mapping(uint256 => uint256) private _ownedTokensIndex;

    // Array with all token ids, used for enumeration
    uint256[] private _allTokens;

    // Mapping from token id to position in the allTokens array
    mapping(uint256 => uint256) private _allTokensIndex;

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

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721Upgradeable.balanceOf(owner), "ERC721Enumerable: owner index out of bounds");
        return _ownedTokens[owner][index];
    }

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _allTokens.length;
    }

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721EnumerableUpgradeable.totalSupply(), "ERC721Enumerable: global index out of bounds");
        return _allTokens[index];
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * 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, ``from``'s `tokenId` will be burned.
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual override {
        super._beforeTokenTransfer(from, to, tokenId);

        if (from == address(0)) {
            _addTokenToAllTokensEnumeration(tokenId);
        } else if (from != to) {
            _removeTokenFromOwnerEnumeration(from, tokenId);
        }
        if (to == address(0)) {
            _removeTokenFromAllTokensEnumeration(tokenId);
        } else if (to != from) {
            _addTokenToOwnerEnumeration(to, tokenId);
        }
    }

    /**
     * @dev Private function to add a token to this extension's ownership-tracking data structures.
     * @param to address representing the new owner of the given token ID
     * @param tokenId uint256 ID of the token to be added to the tokens list of the given address
     */
    function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {
        uint256 length = ERC721Upgradeable.balanceOf(to);
        _ownedTokens[to][length] = tokenId;
        _ownedTokensIndex[tokenId] = length;
    }

    /**
     * @dev Private function to add a token to this extension's token tracking data structures.
     * @param tokenId uint256 ID of the token to be added to the tokens list
     */
    function _addTokenToAllTokensEnumeration(uint256 tokenId) private {
        _allTokensIndex[tokenId] = _allTokens.length;
        _allTokens.push(tokenId);
    }

    /**
     * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that
     * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for
     * gas optimizations e.g. when performing a transfer operation (avoiding double writes).
     * This has O(1) time complexity, but alters the order of the _ownedTokens array.
     * @param from address representing the previous owner of the given token ID
     * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address
     */
    function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private {
        // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = ERC721Upgradeable.balanceOf(from) - 1;
        uint256 tokenIndex = _ownedTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary
        if (tokenIndex != lastTokenIndex) {
            uint256 lastTokenId = _ownedTokens[from][lastTokenIndex];

            _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
            _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
        }

        // This also deletes the contents at the last position of the array
        delete _ownedTokensIndex[tokenId];
        delete _ownedTokens[from][lastTokenIndex];
    }

    /**
     * @dev Private function to remove a token from this extension's token tracking data structures.
     * This has O(1) time complexity, but alters the order of the _allTokens array.
     * @param tokenId uint256 ID of the token to be removed from the tokens list
     */
    function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private {
        // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = _allTokens.length - 1;
        uint256 tokenIndex = _allTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so
        // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding
        // an 'if' statement (like in _removeTokenFromOwnerEnumeration)
        uint256 lastTokenId = _allTokens[lastTokenIndex];

        _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
        _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index

        // This also deletes the contents at the last position of the array
        delete _allTokensIndex[tokenId];
        _allTokens.pop();
    }
    uint256[46] private __gap;
}


// File contracts/CoinQuest.sol



pragma solidity 0.8.6;

/* solhint-disable not-rely-on-time */
/* solhint-disable reason-string */


contract CoinQuest is OwnableUpgradeable, ERC721EnumerableUpgradeable {
    using StringsUpgradeable for uint256;

    event BoughtQuest(uint256[] _questIds);
    event SoldQuest(uint256[] _questIds);
    event ConfigChanged(
        uint256 _buyPrice,
        uint256 _sellPrice,
        uint256 _adminFee,
        string __baseURI,
        uint256 _mintLimit
    );
    event GotMembership(uint256 _questId, uint256 _timestamp);
    event TransferredMembershipFunds(uint256 _amount);
    event AddedFunds(uint256 _amount);

    uint256 public buyPrice; // wei
    uint256 public sellPrice; // wei
    uint256 public adminFee; // ratio * DIVISOR

    uint256 public tokenIdCounter;
    uint256 public mintLimit;
    uint256 public membershipCounter;

    string public baseURI;
    mapping(uint256 => uint256) public timestamp;

    uint256 public constant DIVISOR = 1000;

    function initialize(
        uint256 _buyPrice,
        uint256 _sellPrice,
        uint256 _adminFee,
        string memory __baseURI,
        uint256 _mintLimit
    ) external initializer {
        __Ownable_init();
        __ERC721_init("CoinQuest", "CQ");
        changeConfig(_buyPrice, _sellPrice, _adminFee, __baseURI, _mintLimit);
    }

    function buyQuest(uint256 _quantity) external payable {
        require(tokenIdCounter < mintLimit, "CQ:exceed mint limit");
        uint256 _totalCost = _quantity * buyPrice;
        require(msg.value >= _totalCost, "CQ:Insufficient cost");
        uint256 _tokenIdCounter = tokenIdCounter;
        uint256[] memory _questIds = new uint256[](_quantity);

        // Mint tokens
        for (uint256 i = 0; i < _quantity; i++) {
            _safeMint(msg.sender, _tokenIdCounter);
            _questIds[i] = _tokenIdCounter;
            _tokenIdCounter++;
        }

        tokenIdCounter = _tokenIdCounter;

        // Fee payment to owner
        uint256 _adminFee = (_totalCost * adminFee) / DIVISOR;
        payable(owner()).transfer(_adminFee);

        // Excess fee return
        if (msg.value > _totalCost) {
            payable(msg.sender).transfer(msg.value - _totalCost);
        }
        emit BoughtQuest(_questIds);
    }

    function sellQuest(uint256[] memory _questIds) external {
        uint256 _ids = _questIds.length;

        // Burn tokens
        for (uint256 i = 0; i < _ids; i++) {
            require(
                _isApprovedOrOwner(msg.sender, _questIds[i]),
                "CQ: caller is not owner nor approved"
            );
            require(timestamp[_questIds[i]] == 0, "CQ: already used for membership");
            _burn(_questIds[i]);
        }

        // Payment to sender
        uint256 _amount = _ids * sellPrice;
        require(_amount <= address(this).balance, "CQ: insufficient balance");
        payable(msg.sender).transfer(_ids * sellPrice);

        emit SoldQuest(_questIds);
    }

    function getMembership(uint256 _questId) external {
        require(_isApprovedOrOwner(msg.sender, _questId), "CQ: caller is not owner nor approved");
        require(timestamp[_questId] == 0, "CQ: already used for membership");

        // change NFT's metadata
        uint256 _timestamp = block.timestamp;
        timestamp[_questId] = _timestamp;
        membershipCounter++;

        emit GotMembership(_questId, _timestamp);
    }

    function transferMembershipFunds(uint256 _amount) external onlyOwner {
        require(_amount <= address(this).balance, "CQ: insufficient balance");
        payable(msg.sender).transfer(address(this).balance);
        emit TransferredMembershipFunds(_amount);
    }

    function addFunds() external payable {
        emit AddedFunds(msg.value);
    }

    function safeBatchTransferFrom(
        address from,
        address[] memory _to,
        uint256[][] memory _tokenId
    ) external {
        require(_to.length == _tokenId.length, "CQ: length mismatch");
        for (uint256 i = 0; i < _to.length; i++) {
            for (uint256 j = 0; j < _tokenId[i].length; j++) {
                safeTransferFrom(from, _to[i], _tokenId[i][j]);
            }
        }
    }

    function walletOfOwner(address _owner) public view returns (uint256[] memory) {
        uint256 tokenCount = balanceOf(_owner);

        uint256[] memory tokensId = new uint256[](tokenCount);
        for (uint256 i; i < tokenCount; i++) {
            tokensId[i] = tokenOfOwnerByIndex(_owner, i);
        }
        return tokensId;
    }

    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "CQ: URI query for nonexistent token");
        string memory __baseURI = _baseURI();
        uint256 _timestamp = timestamp[tokenId];

        if (_timestamp == 0) {
            return
                bytes(__baseURI).length > 0
                    ? string(abi.encodePacked(baseURI, tokenId.toString()))
                    : "";
        } else {
            return
                bytes(__baseURI).length > 0
                    ? string(
                        abi.encodePacked(
                            baseURI,
                            tokenId.toString(),
                            "/membership/",
                            _timestamp.toString()
                        )
                    )
                    : "";
        }
    }

    function changeConfig(
        uint256 _buyPrice,
        uint256 _sellPrice,
        uint256 _adminFee,
        string memory __baseURI,
        uint256 _mintLimit
    ) public onlyOwner {
        require(_mintLimit >= tokenIdCounter, "CQ:invalid mint limit");
        buyPrice = _buyPrice;
        sellPrice = _sellPrice;
        adminFee = _adminFee;
        baseURI = __baseURI;
        mintLimit = _mintLimit;
        emit ConfigChanged(_buyPrice, _sellPrice, _adminFee, __baseURI, _mintLimit);
    }

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

Contract Security Audit

Contract ABI

[{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"AddedFunds","type":"event"},{"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":false,"internalType":"uint256[]","name":"_questIds","type":"uint256[]"}],"name":"BoughtQuest","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_buyPrice","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_sellPrice","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_adminFee","type":"uint256"},{"indexed":false,"internalType":"string","name":"__baseURI","type":"string"},{"indexed":false,"internalType":"uint256","name":"_mintLimit","type":"uint256"}],"name":"ConfigChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_questId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_timestamp","type":"uint256"}],"name":"GotMembership","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":false,"internalType":"uint256[]","name":"_questIds","type":"uint256[]"}],"name":"SoldQuest","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":false,"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"TransferredMembershipFunds","type":"event"},{"inputs":[],"name":"DIVISOR","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"addFunds","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"adminFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"buyQuest","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_buyPrice","type":"uint256"},{"internalType":"uint256","name":"_sellPrice","type":"uint256"},{"internalType":"uint256","name":"_adminFee","type":"uint256"},{"internalType":"string","name":"__baseURI","type":"string"},{"internalType":"uint256","name":"_mintLimit","type":"uint256"}],"name":"changeConfig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_questId","type":"uint256"}],"name":"getMembership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_buyPrice","type":"uint256"},{"internalType":"uint256","name":"_sellPrice","type":"uint256"},{"internalType":"uint256","name":"_adminFee","type":"uint256"},{"internalType":"string","name":"__baseURI","type":"string"},{"internalType":"uint256","name":"_mintLimit","type":"uint256"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","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":"membershipCounter","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address[]","name":"_to","type":"address[]"},{"internalType":"uint256[][]","name":"_tokenId","type":"uint256[][]"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","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":"nonpayable","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":"nonpayable","type":"function"},{"inputs":[],"name":"sellPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_questIds","type":"uint256[]"}],"name":"sellQuest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","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":"","type":"uint256"}],"name":"timestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenIdCounter","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"transferMembershipFunds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"}]

608060405234801561001057600080fd5b5061569f80620000216000396000f3fe60806040526004361061021a5760003560e01c80636352211e11610123578063a0be06f9116100ab578063ce7321821161006f578063ce732182146107cd578063dcb772a7146107f6578063e985e9c51461081f578063f2fde38b1461085c578063fac4c832146108855761021a565b8063a0be06f914610709578063a22cb46514610734578063a26759cb1461075d578063b88d4fde14610767578063c87b56dd146107905761021a565b80638620410b116100f25780638620410b146106325780638da5cb5b1461065d57806395d89b411461068857806398bdf6f5146106b3578063996517cf146106de5761021a565b80636352211e146105765780636c0360eb146105b357806370a08231146105de578063715018a61461061b5761021a565b806323b872dd116101a657806338fbf2c61161017557806338fbf2c61461047f57806342842e0e146104a8578063438b6300146104d15780634b7503341461050e5780634f6ccce7146105395761021a565b806323b872dd146103c557806324870fe9146103ee5780632f745c59146104175780633410fe6e146104545761021a565b80631386dc12116101ed5780631386dc12146102ed57806318160ddd1461032a5780631b6dd984146103555780631e0fd6e31461037157806320dae4cf1461039a5761021a565b806301ffc9a71461021f57806306fdde031461025c578063081812fc14610287578063095ea7b3146102c4575b600080fd5b34801561022b57600080fd5b5061024660048036038101906102419190613e2b565b6108ae565b60405161025391906145b7565b60405180910390f35b34801561026857600080fd5b50610271610928565b60405161027e91906145d2565b60405180910390f35b34801561029357600080fd5b506102ae60048036038101906102a99190613e85565b6109ba565b6040516102bb919061452e565b60405180910390f35b3480156102d057600080fd5b506102eb60048036038101906102e69190613da2565b610a3f565b005b3480156102f957600080fd5b50610314600480360381019061030f9190613e85565b610b57565b6040516103219190614934565b60405180910390f35b34801561033657600080fd5b5061033f610b70565b60405161034c9190614934565b60405180910390f35b61036f600480360381019061036a9190613e85565b610b7d565b005b34801561037d57600080fd5b5061039860048036038101906103939190613cd7565b610dd0565b005b3480156103a657600080fd5b506103af610ecc565b6040516103bc9190614934565b60405180910390f35b3480156103d157600080fd5b506103ec60048036038101906103e79190613c01565b610ed3565b005b3480156103fa57600080fd5b5061041560048036038101906104109190613eb2565b610f33565b005b34801561042357600080fd5b5061043e60048036038101906104399190613da2565b61106e565b60405161044b9190614934565b60405180910390f35b34801561046057600080fd5b50610469611113565b6040516104769190614934565b60405180910390f35b34801561048b57600080fd5b506104a660048036038101906104a19190613e85565b611119565b005b3480156104b457600080fd5b506104cf60048036038101906104ca9190613c01565b61122d565b005b3480156104dd57600080fd5b506104f860048036038101906104f39190613b94565b61124d565b6040516105059190614595565b60405180910390f35b34801561051a57600080fd5b506105236112fb565b6040516105309190614934565b60405180910390f35b34801561054557600080fd5b50610560600480360381019061055b9190613e85565b611301565b60405161056d9190614934565b60405180910390f35b34801561058257600080fd5b5061059d60048036038101906105989190613e85565b611372565b6040516105aa919061452e565b60405180910390f35b3480156105bf57600080fd5b506105c8611424565b6040516105d591906145d2565b60405180910390f35b3480156105ea57600080fd5b5061060560048036038101906106009190613b94565b6114b3565b6040516106129190614934565b60405180910390f35b34801561062757600080fd5b5061063061156b565b005b34801561063e57600080fd5b506106476115f3565b6040516106549190614934565b60405180910390f35b34801561066957600080fd5b506106726115f9565b60405161067f919061452e565b60405180910390f35b34801561069457600080fd5b5061069d611623565b6040516106aa91906145d2565b60405180910390f35b3480156106bf57600080fd5b506106c86116b5565b6040516106d59190614934565b60405180910390f35b3480156106ea57600080fd5b506106f36116bb565b6040516107009190614934565b60405180910390f35b34801561071557600080fd5b5061071e6116c1565b60405161072b9190614934565b60405180910390f35b34801561074057600080fd5b5061075b60048036038101906107569190613d62565b6116c7565b005b6107656116dd565b005b34801561077357600080fd5b5061078e60048036038101906107899190613c54565b611716565b005b34801561079c57600080fd5b506107b760048036038101906107b29190613e85565b611778565b6040516107c491906145d2565b60405180910390f35b3480156107d957600080fd5b506107f460048036038101906107ef9190613eb2565b6118a3565b005b34801561080257600080fd5b5061081d60048036038101906108189190613e85565b611a0a565b005b34801561082b57600080fd5b5061084660048036038101906108419190613bc1565b611b4a565b60405161085391906145b7565b60405180910390f35b34801561086857600080fd5b50610883600480360381019061087e9190613b94565b611bde565b005b34801561089157600080fd5b506108ac60048036038101906108a79190613de2565b611cd6565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610921575061092082611ed7565b5b9050919050565b60606097805461093790614d39565b80601f016020809104026020016040519081016040528092919081815260200182805461096390614d39565b80156109b05780601f10610985576101008083540402835291602001916109b0565b820191906000526020600020905b81548152906001019060200180831161099357829003601f168201915b5050505050905090565b60006109c582611fb9565b610a04576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109fb90614854565b60405180910390fd5b609b600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a4a82611372565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610abb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ab2906148b4565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610ada612025565b73ffffffffffffffffffffffffffffffffffffffff161480610b095750610b0881610b03612025565b611b4a565b5b610b48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3f90614774565b60405180910390fd5b610b52838361202d565b505050565b6101026020528060005260406000206000915090505481565b600060cb80549050905090565b60ff5460fe5410610bc3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bba90614754565b60405180910390fd5b600060fb5482610bd39190614bf5565b905080341015610c18576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0f90614694565b60405180910390fd5b600060fe54905060008367ffffffffffffffff811115610c3b57610c3a614f01565b5b604051908082528060200260200182016040528015610c695781602001602082028036833780820191505090505b50905060005b84811015610cc257610c8133846120e6565b82828281518110610c9557610c94614ed2565b5b6020026020010181815250508280610cac90614d9c565b9350508080610cba90614d9c565b915050610c6f565b508160fe8190555060006103e860fd5485610cdd9190614bf5565b610ce79190614bc4565b9050610cf16115f9565b73ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610d36573d6000803e3d6000fd5b5083341115610d92573373ffffffffffffffffffffffffffffffffffffffff166108fc8534610d659190614c4f565b9081150290604051600060405180830381858888f19350505050158015610d90573d6000803e3d6000fd5b505b7f54dae9722caddf6edac75000ca623c6dba9ec76efac277504891ccc1df6fbbf682604051610dc19190614595565b60405180910390a15050505050565b8051825114610e14576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e0b90614794565b60405180910390fd5b60005b8251811015610ec65760005b828281518110610e3657610e35614ed2565b5b602002602001015151811015610eb257610e9f85858481518110610e5d57610e5c614ed2565b5b6020026020010151858581518110610e7857610e77614ed2565b5b60200260200101518481518110610e9257610e91614ed2565b5b602002602001015161122d565b8080610eaa90614d9c565b915050610e23565b508080610ebe90614d9c565b915050610e17565b50505050565b6101005481565b610ee4610ede612025565b82612104565b610f23576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1a906148f4565b60405180910390fd5b610f2e8383836121e2565b505050565b610f3b612025565b73ffffffffffffffffffffffffffffffffffffffff16610f596115f9565b73ffffffffffffffffffffffffffffffffffffffff1614610faf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fa690614874565b60405180910390fd5b60fe54811015610ff4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610feb906147f4565b60405180910390fd5b8460fb819055508360fc819055508260fd819055508161010190805190602001906110209291906137b0565b508060ff819055507f68159ac4b7f067b7acd6317cea5c58e623982918664b23fd6fc9a7f32c5ada02858585858560405161105f959493929190614978565b60405180910390a15050505050565b6000611079836114b3565b82106110ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110b190614614565b60405180910390fd5b60c960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6103e881565b6111233382612104565b611162576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611159906145f4565b60405180910390fd5b6000610102600083815260200190815260200160002054146111b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b0906148d4565b60405180910390fd5b60004290508061010260008481526020019081526020016000208190555061010060008154809291906111eb90614d9c565b91905055507f2b132ff1121ae5070de2e534ee64f961f666c529b171bb598ea900778cf9584d828260405161122192919061494f565b60405180910390a15050565b61124883838360405180602001604052806000815250611716565b505050565b6060600061125a836114b3565b905060008167ffffffffffffffff81111561127857611277614f01565b5b6040519080825280602002602001820160405280156112a65781602001602082028036833780820191505090505b50905060005b828110156112f0576112be858261106e565b8282815181106112d1576112d0614ed2565b5b60200260200101818152505080806112e890614d9c565b9150506112ac565b508092505050919050565b60fc5481565b600061130b610b70565b821061134c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134390614914565b60405180910390fd5b60cb82815481106113605761135f614ed2565b5b90600052602060002001549050919050565b6000806099600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561141b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611412906147d4565b60405180910390fd5b80915050919050565b610101805461143290614d39565b80601f016020809104026020016040519081016040528092919081815260200182805461145e90614d39565b80156114ab5780601f10611480576101008083540402835291602001916114ab565b820191906000526020600020905b81548152906001019060200180831161148e57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611524576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161151b906147b4565b60405180910390fd5b609a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611573612025565b73ffffffffffffffffffffffffffffffffffffffff166115916115f9565b73ffffffffffffffffffffffffffffffffffffffff16146115e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115de90614874565b60405180910390fd5b6115f1600061243e565b565b60fb5481565b6000603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606098805461163290614d39565b80601f016020809104026020016040519081016040528092919081815260200182805461165e90614d39565b80156116ab5780601f10611680576101008083540402835291602001916116ab565b820191906000526020600020905b81548152906001019060200180831161168e57829003601f168201915b5050505050905090565b60fe5481565b60ff5481565b60fd5481565b6116d96116d2612025565b8383612504565b5050565b7f3d264125e9d4fefca2b6405b6b832887f27b651a65f44514ab1d07edbe488e673460405161170c9190614934565b60405180910390a1565b611727611721612025565b83612104565b611766576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175d906148f4565b60405180910390fd5b61177284848484612671565b50505050565b606061178382611fb9565b6117c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117b990614654565b60405180910390fd5b60006117cc6126cd565b905060006101026000858152602001908152602001600020549050600081141561184457600082511161180e576040518060200160405280600081525061183b565b61010161181a85612760565b60405160200161182b9291906144ce565b6040516020818303038152906040525b9250505061189e565b60008251116118625760405180602001604052806000815250611899565b61010161186e85612760565b61187783612760565b604051602001611889939291906144f2565b6040516020818303038152906040525b925050505b919050565b600060019054906101000a900460ff16806118c9575060008054906101000a900460ff16155b611908576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118ff90614814565b60405180910390fd5b60008060019054906101000a900460ff161590508015611958576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b6119606128c1565b6119d46040518060400160405280600981526020017f436f696e517565737400000000000000000000000000000000000000000000008152506040518060400160405280600281526020017f43510000000000000000000000000000000000000000000000000000000000008152506129aa565b6119e18686868686610f33565b8015611a025760008060016101000a81548160ff0219169083151502179055505b505050505050565b611a12612025565b73ffffffffffffffffffffffffffffffffffffffff16611a306115f9565b73ffffffffffffffffffffffffffffffffffffffff1614611a86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a7d90614874565b60405180910390fd5b47811115611ac9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ac090614734565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015611b0f573d6000803e3d6000fd5b507f5f2d68d7f9c7fac4cac3986d4f01dae3e6e392df7891b20c4569ea9057b1ca6981604051611b3f9190614934565b60405180910390a150565b6000609c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611be6612025565b73ffffffffffffffffffffffffffffffffffffffff16611c046115f9565b73ffffffffffffffffffffffffffffffffffffffff1614611c5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c5190614874565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611cca576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cc190614674565b60405180910390fd5b611cd38161243e565b50565b60008151905060005b81811015611df157611d0b33848381518110611cfe57611cfd614ed2565b5b6020026020010151612104565b611d4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d41906145f4565b60405180910390fd5b60006101026000858481518110611d6457611d63614ed2565b5b602002602001015181526020019081526020016000205414611dbb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611db2906148d4565b60405180910390fd5b611dde838281518110611dd157611dd0614ed2565b5b6020026020010151612a9f565b8080611de990614d9c565b915050611cdf565b50600060fc5482611e029190614bf5565b905047811115611e47576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e3e90614734565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc60fc5484611e6f9190614bf5565b9081150290604051600060405180830381858888f19350505050158015611e9a573d6000803e3d6000fd5b507f5f41d6809ecdda5f13f5539902fffd9b272f93802790cd09aa257f0d7527147083604051611eca9190614595565b60405180910390a1505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611fa257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611fb25750611fb182612bb0565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166099600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b81609b600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166120a083611372565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b612100828260405180602001604052806000815250612c1a565b5050565b600061210f82611fb9565b61214e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161214590614714565b60405180910390fd5b600061215983611372565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806121c857508373ffffffffffffffffffffffffffffffffffffffff166121b0846109ba565b73ffffffffffffffffffffffffffffffffffffffff16145b806121d957506121d88185611b4a565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661220282611372565b73ffffffffffffffffffffffffffffffffffffffff1614612258576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161224f90614894565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156122c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122bf906146d4565b60405180910390fd5b6122d3838383612c75565b6122de60008261202d565b6001609a60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461232e9190614c4f565b925050819055506001609a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546123859190614b6e565b92505081905550816099600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081603360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612573576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161256a906146f4565b60405180910390fd5b80609c60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161266491906145b7565b60405180910390a3505050565b61267c8484846121e2565b61268884848484612d89565b6126c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126be90614634565b60405180910390fd5b50505050565b606061010180546126dd90614d39565b80601f016020809104026020016040519081016040528092919081815260200182805461270990614d39565b80156127565780601f1061272b57610100808354040283529160200191612756565b820191906000526020600020905b81548152906001019060200180831161273957829003601f168201915b5050505050905090565b606060008214156127a8576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506128bc565b600082905060005b600082146127da5780806127c390614d9c565b915050600a826127d39190614bc4565b91506127b0565b60008167ffffffffffffffff8111156127f6576127f5614f01565b5b6040519080825280601f01601f1916602001820160405280156128285781602001600182028036833780820191505090505b5090505b600085146128b5576001826128419190614c4f565b9150600a856128509190614de5565b603061285c9190614b6e565b60f81b81838151811061287257612871614ed2565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856128ae9190614bc4565b945061282c565b8093505050505b919050565b600060019054906101000a900460ff16806128e7575060008054906101000a900460ff16155b612926576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161291d90614814565b60405180910390fd5b60008060019054906101000a900460ff161590508015612976576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b61297e612f20565b612986612ff9565b80156129a75760008060016101000a81548160ff0219169083151502179055505b50565b600060019054906101000a900460ff16806129d0575060008054906101000a900460ff16155b612a0f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a0690614814565b60405180910390fd5b60008060019054906101000a900460ff161590508015612a5f576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b612a67612f20565b612a6f6130e2565b612a7983836131bb565b8015612a9a5760008060016101000a81548160ff0219169083151502179055505b505050565b6000612aaa82611372565b9050612ab881600084612c75565b612ac360008361202d565b6001609a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612b139190614c4f565b925050819055506099600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612c2483836132c4565b612c316000848484612d89565b612c70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c6790614634565b60405180910390fd5b505050565b612c80838383613492565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612cc357612cbe81613497565b612d02565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612d0157612d0083826134e0565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612d4557612d408161364d565b612d84565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612d8357612d82828261371e565b5b5b505050565b6000612daa8473ffffffffffffffffffffffffffffffffffffffff1661379d565b15612f13578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612dd3612025565b8786866040518563ffffffff1660e01b8152600401612df59493929190614549565b602060405180830381600087803b158015612e0f57600080fd5b505af1925050508015612e4057506040513d601f19601f82011682018060405250810190612e3d9190613e58565b60015b612ec3573d8060008114612e70576040519150601f19603f3d011682016040523d82523d6000602084013e612e75565b606091505b50600081511415612ebb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612eb290614634565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612f18565b600190505b949350505050565b600060019054906101000a900460ff1680612f46575060008054906101000a900460ff16155b612f85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f7c90614814565b60405180910390fd5b60008060019054906101000a900460ff161590508015612fd5576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b8015612ff65760008060016101000a81548160ff0219169083151502179055505b50565b600060019054906101000a900460ff168061301f575060008054906101000a900460ff16155b61305e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161305590614814565b60405180910390fd5b60008060019054906101000a900460ff1615905080156130ae576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b6130be6130b9612025565b61243e565b80156130df5760008060016101000a81548160ff0219169083151502179055505b50565b600060019054906101000a900460ff1680613108575060008054906101000a900460ff16155b613147576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161313e90614814565b60405180910390fd5b60008060019054906101000a900460ff161590508015613197576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b80156131b85760008060016101000a81548160ff0219169083151502179055505b50565b600060019054906101000a900460ff16806131e1575060008054906101000a900460ff16155b613220576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161321790614814565b60405180910390fd5b60008060019054906101000a900460ff161590508015613270576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b82609790805190602001906132869291906137b0565b50816098908051906020019061329d9291906137b0565b5080156132bf5760008060016101000a81548160ff0219169083151502179055505b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613334576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161332b90614834565b60405180910390fd5b61333d81611fb9565b1561337d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613374906146b4565b60405180910390fd5b61338960008383612c75565b6001609a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546133d99190614b6e565b92505081905550816099600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b505050565b60cb8054905060cc60008381526020019081526020016000208190555060cb81908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016134ed846114b3565b6134f79190614c4f565b9050600060ca60008481526020019081526020016000205490508181146135dc57600060c960008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008481526020019081526020016000205490508060c960008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000848152602001908152602001600020819055508160ca600083815260200190815260200160002081905550505b60ca60008481526020019081526020016000206000905560c960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160cb805490506136619190614c4f565b9050600060cc6000848152602001908152602001600020549050600060cb838154811061369157613690614ed2565b5b906000526020600020015490508060cb83815481106136b3576136b2614ed2565b5b90600052602060002001819055508160cc60008381526020019081526020016000208190555060cc60008581526020019081526020016000206000905560cb80548061370257613701614ea3565b5b6001900381819060005260206000200160009055905550505050565b6000613729836114b3565b90508160c960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000838152602001908152602001600020819055508060ca600084815260200190815260200160002081905550505050565b600080823b905060008111915050919050565b8280546137bc90614d39565b90600052602060002090601f0160209004810192826137de5760008555613825565b82601f106137f757805160ff1916838001178555613825565b82800160010185558215613825579182015b82811115613824578251825591602001919060010190613809565b5b5090506138329190613836565b5090565b5b8082111561384f576000816000905550600101613837565b5090565b6000613866613861846149f7565b6149d2565b9050808382526020820190508285602086028201111561388957613888614f35565b5b60005b858110156138b9578161389f8882613a45565b84526020840193506020830192505060018101905061388c565b5050509392505050565b60006138d66138d184614a23565b6149d2565b905080838252602082019050828560208602820111156138f9576138f8614f35565b5b60005b8581101561394757813567ffffffffffffffff81111561391f5761391e614f30565b5b80860161392c8982613ab6565b855260208501945060208401935050506001810190506138fc565b5050509392505050565b600061396461395f84614a4f565b6149d2565b9050808382526020820190508285602086028201111561398757613986614f35565b5b60005b858110156139b7578161399d8882613b7f565b84526020840193506020830192505060018101905061398a565b5050509392505050565b60006139d46139cf84614a7b565b6149d2565b9050828152602081018484840111156139f0576139ef614f3a565b5b6139fb848285614cf7565b509392505050565b6000613a16613a1184614aac565b6149d2565b905082815260208101848484011115613a3257613a31614f3a565b5b613a3d848285614cf7565b509392505050565b600081359050613a548161560d565b92915050565b600082601f830112613a6f57613a6e614f30565b5b8135613a7f848260208601613853565b91505092915050565b600082601f830112613a9d57613a9c614f30565b5b8135613aad8482602086016138c3565b91505092915050565b600082601f830112613acb57613aca614f30565b5b8135613adb848260208601613951565b91505092915050565b600081359050613af381615624565b92915050565b600081359050613b088161563b565b92915050565b600081519050613b1d8161563b565b92915050565b600082601f830112613b3857613b37614f30565b5b8135613b488482602086016139c1565b91505092915050565b600082601f830112613b6657613b65614f30565b5b8135613b76848260208601613a03565b91505092915050565b600081359050613b8e81615652565b92915050565b600060208284031215613baa57613ba9614f44565b5b6000613bb884828501613a45565b91505092915050565b60008060408385031215613bd857613bd7614f44565b5b6000613be685828601613a45565b9250506020613bf785828601613a45565b9150509250929050565b600080600060608486031215613c1a57613c19614f44565b5b6000613c2886828701613a45565b9350506020613c3986828701613a45565b9250506040613c4a86828701613b7f565b9150509250925092565b60008060008060808587031215613c6e57613c6d614f44565b5b6000613c7c87828801613a45565b9450506020613c8d87828801613a45565b9350506040613c9e87828801613b7f565b925050606085013567ffffffffffffffff811115613cbf57613cbe614f3f565b5b613ccb87828801613b23565b91505092959194509250565b600080600060608486031215613cf057613cef614f44565b5b6000613cfe86828701613a45565b935050602084013567ffffffffffffffff811115613d1f57613d1e614f3f565b5b613d2b86828701613a5a565b925050604084013567ffffffffffffffff811115613d4c57613d4b614f3f565b5b613d5886828701613a88565b9150509250925092565b60008060408385031215613d7957613d78614f44565b5b6000613d8785828601613a45565b9250506020613d9885828601613ae4565b9150509250929050565b60008060408385031215613db957613db8614f44565b5b6000613dc785828601613a45565b9250506020613dd885828601613b7f565b9150509250929050565b600060208284031215613df857613df7614f44565b5b600082013567ffffffffffffffff811115613e1657613e15614f3f565b5b613e2284828501613ab6565b91505092915050565b600060208284031215613e4157613e40614f44565b5b6000613e4f84828501613af9565b91505092915050565b600060208284031215613e6e57613e6d614f44565b5b6000613e7c84828501613b0e565b91505092915050565b600060208284031215613e9b57613e9a614f44565b5b6000613ea984828501613b7f565b91505092915050565b600080600080600060a08688031215613ece57613ecd614f44565b5b6000613edc88828901613b7f565b9550506020613eed88828901613b7f565b9450506040613efe88828901613b7f565b935050606086013567ffffffffffffffff811115613f1f57613f1e614f3f565b5b613f2b88828901613b51565b9250506080613f3c88828901613b7f565b9150509295509295909350565b6000613f5583836144b0565b60208301905092915050565b613f6a81614c83565b82525050565b6000613f7b82614b02565b613f858185614b30565b9350613f9083614add565b8060005b83811015613fc1578151613fa88882613f49565b9750613fb383614b23565b925050600181019050613f94565b5085935050505092915050565b613fd781614c95565b82525050565b6000613fe882614b0d565b613ff28185614b41565b9350614002818560208601614d06565b61400b81614f49565b840191505092915050565b600061402182614b18565b61402b8185614b52565b935061403b818560208601614d06565b61404481614f49565b840191505092915050565b600061405a82614b18565b6140648185614b63565b9350614074818560208601614d06565b80840191505092915050565b6000815461408d81614d39565b6140978186614b63565b945060018216600081146140b257600181146140c3576140f6565b60ff198316865281860193506140f6565b6140cc85614aed565b60005b838110156140ee578154818901526001820191506020810190506140cf565b838801955050505b50505092915050565b600061410c602483614b52565b915061411782614f5a565b604082019050919050565b600061412f602b83614b52565b915061413a82614fa9565b604082019050919050565b6000614152603283614b52565b915061415d82614ff8565b604082019050919050565b6000614175602383614b52565b915061418082615047565b604082019050919050565b6000614198602683614b52565b91506141a382615096565b604082019050919050565b60006141bb601483614b52565b91506141c6826150e5565b602082019050919050565b60006141de601c83614b52565b91506141e98261510e565b602082019050919050565b6000614201602483614b52565b915061420c82615137565b604082019050919050565b6000614224601983614b52565b915061422f82615186565b602082019050919050565b6000614247602c83614b52565b9150614252826151af565b604082019050919050565b600061426a601883614b52565b9150614275826151fe565b602082019050919050565b600061428d601483614b52565b915061429882615227565b602082019050919050565b60006142b0603883614b52565b91506142bb82615250565b604082019050919050565b60006142d3601383614b52565b91506142de8261529f565b602082019050919050565b60006142f6602a83614b52565b9150614301826152c8565b604082019050919050565b6000614319602983614b52565b915061432482615317565b604082019050919050565b600061433c601583614b52565b915061434782615366565b602082019050919050565b600061435f602e83614b52565b915061436a8261538f565b604082019050919050565b6000614382602083614b52565b915061438d826153de565b602082019050919050565b60006143a5602c83614b52565b91506143b082615407565b604082019050919050565b60006143c8602083614b52565b91506143d382615456565b602082019050919050565b60006143eb602983614b52565b91506143f68261547f565b604082019050919050565b600061440e602183614b52565b9150614419826154ce565b604082019050919050565b6000614431601f83614b52565b915061443c8261551d565b602082019050919050565b6000614454603183614b52565b915061445f82615546565b604082019050919050565b6000614477602c83614b52565b915061448282615595565b604082019050919050565b600061449a600c83614b63565b91506144a5826155e4565b600c82019050919050565b6144b981614ced565b82525050565b6144c881614ced565b82525050565b60006144da8285614080565b91506144e6828461404f565b91508190509392505050565b60006144fe8286614080565b915061450a828561404f565b91506145158261448d565b9150614521828461404f565b9150819050949350505050565b60006020820190506145436000830184613f61565b92915050565b600060808201905061455e6000830187613f61565b61456b6020830186613f61565b61457860408301856144bf565b818103606083015261458a8184613fdd565b905095945050505050565b600060208201905081810360008301526145af8184613f70565b905092915050565b60006020820190506145cc6000830184613fce565b92915050565b600060208201905081810360008301526145ec8184614016565b905092915050565b6000602082019050818103600083015261460d816140ff565b9050919050565b6000602082019050818103600083015261462d81614122565b9050919050565b6000602082019050818103600083015261464d81614145565b9050919050565b6000602082019050818103600083015261466d81614168565b9050919050565b6000602082019050818103600083015261468d8161418b565b9050919050565b600060208201905081810360008301526146ad816141ae565b9050919050565b600060208201905081810360008301526146cd816141d1565b9050919050565b600060208201905081810360008301526146ed816141f4565b9050919050565b6000602082019050818103600083015261470d81614217565b9050919050565b6000602082019050818103600083015261472d8161423a565b9050919050565b6000602082019050818103600083015261474d8161425d565b9050919050565b6000602082019050818103600083015261476d81614280565b9050919050565b6000602082019050818103600083015261478d816142a3565b9050919050565b600060208201905081810360008301526147ad816142c6565b9050919050565b600060208201905081810360008301526147cd816142e9565b9050919050565b600060208201905081810360008301526147ed8161430c565b9050919050565b6000602082019050818103600083015261480d8161432f565b9050919050565b6000602082019050818103600083015261482d81614352565b9050919050565b6000602082019050818103600083015261484d81614375565b9050919050565b6000602082019050818103600083015261486d81614398565b9050919050565b6000602082019050818103600083015261488d816143bb565b9050919050565b600060208201905081810360008301526148ad816143de565b9050919050565b600060208201905081810360008301526148cd81614401565b9050919050565b600060208201905081810360008301526148ed81614424565b9050919050565b6000602082019050818103600083015261490d81614447565b9050919050565b6000602082019050818103600083015261492d8161446a565b9050919050565b600060208201905061494960008301846144bf565b92915050565b600060408201905061496460008301856144bf565b61497160208301846144bf565b9392505050565b600060a08201905061498d60008301886144bf565b61499a60208301876144bf565b6149a760408301866144bf565b81810360608301526149b98185614016565b90506149c860808301846144bf565b9695505050505050565b60006149dc6149ed565b90506149e88282614d6b565b919050565b6000604051905090565b600067ffffffffffffffff821115614a1257614a11614f01565b5b602082029050602081019050919050565b600067ffffffffffffffff821115614a3e57614a3d614f01565b5b602082029050602081019050919050565b600067ffffffffffffffff821115614a6a57614a69614f01565b5b602082029050602081019050919050565b600067ffffffffffffffff821115614a9657614a95614f01565b5b614a9f82614f49565b9050602081019050919050565b600067ffffffffffffffff821115614ac757614ac6614f01565b5b614ad082614f49565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000614b7982614ced565b9150614b8483614ced565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614bb957614bb8614e16565b5b828201905092915050565b6000614bcf82614ced565b9150614bda83614ced565b925082614bea57614be9614e45565b5b828204905092915050565b6000614c0082614ced565b9150614c0b83614ced565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614c4457614c43614e16565b5b828202905092915050565b6000614c5a82614ced565b9150614c6583614ced565b925082821015614c7857614c77614e16565b5b828203905092915050565b6000614c8e82614ccd565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015614d24578082015181840152602081019050614d09565b83811115614d33576000848401525b50505050565b60006002820490506001821680614d5157607f821691505b60208210811415614d6557614d64614e74565b5b50919050565b614d7482614f49565b810181811067ffffffffffffffff82111715614d9357614d92614f01565b5b80604052505050565b6000614da782614ced565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614dda57614dd9614e16565b5b600182019050919050565b6000614df082614ced565b9150614dfb83614ced565b925082614e0b57614e0a614e45565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f43513a2063616c6c6572206973206e6f74206f776e6572206e6f72206170707260008201527f6f76656400000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f43513a2055524920717565727920666f72206e6f6e6578697374656e7420746f60008201527f6b656e0000000000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f43513a496e73756666696369656e7420636f7374000000000000000000000000600082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f43513a20696e73756666696369656e742062616c616e63650000000000000000600082015250565b7f43513a657863656564206d696e74206c696d6974000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f43513a206c656e677468206d69736d6174636800000000000000000000000000600082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f43513a696e76616c6964206d696e74206c696d69740000000000000000000000600082015250565b7f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160008201527f647920696e697469616c697a6564000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f43513a20616c7265616479207573656420666f72206d656d6265727368697000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f2f6d656d626572736869702f0000000000000000000000000000000000000000600082015250565b61561681614c83565b811461562157600080fd5b50565b61562d81614c95565b811461563857600080fd5b50565b61564481614ca1565b811461564f57600080fd5b50565b61565b81614ced565b811461566657600080fd5b5056fea264697066735822122044654874ae50d3e4894fa427d1fa1fc9ad805cfb5d41d2215ec348443b940aa564736f6c63430008060033

Loading