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

Token

Gift Goat #9 (GG9)
 

Overview

Max Total Supply

555 GG9

Holders

434

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Balance
2 GG9
0x0Ef375dbB207BBFFA29aAe894Bb947A7a59006f2
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0x15920988...9e748739b
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
VFToken

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
No with 200 runs

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

pragma solidity ^0.8.0;

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

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

File 2 of 21 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

File 3 of 21 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {
    /**
     * @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 4 of 21 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @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`.
     *
     * 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;

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

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

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

File 5 of 21 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.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 IERC721Receiver {
    /**
     * @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 `IERC721Receiver.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

File 6 of 21 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @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
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 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 Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

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

        (bool success, bytes memory returndata) = target.delegatecall(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
                /// @solidity memory-safe-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 7 of 21 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 9 of 21 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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

File 10 of 21 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

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

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // 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);
    }

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

File 11 of 21 : EnumerableSet.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/structs/EnumerableSet.sol)

pragma solidity ^0.8.0;

/**
 * @dev Library for managing
 * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
 * types.
 *
 * Sets have the following properties:
 *
 * - Elements are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Elements are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```
 * contract Example {
 *     // Add the library methods
 *     using EnumerableSet for EnumerableSet.AddressSet;
 *
 *     // Declare a set state variable
 *     EnumerableSet.AddressSet private mySet;
 * }
 * ```
 *
 * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)
 * and `uint256` (`UintSet`) are supported.
 *
 * [WARNING]
 * ====
 *  Trying to delete such a structure from storage will likely result in data corruption, rendering the structure unusable.
 *  See https://github.com/ethereum/solidity/pull/11843[ethereum/solidity#11843] for more info.
 *
 *  In order to clean an EnumerableSet, you can either remove all elements one by one or create a fresh instance using an array of EnumerableSet.
 * ====
 */
library EnumerableSet {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Set type with
    // bytes32 values.
    // The Set implementation uses private functions, and user-facing
    // implementations (such as AddressSet) are just wrappers around the
    // underlying Set.
    // This means that we can only create new EnumerableSets for types that fit
    // in bytes32.

    struct Set {
        // Storage of set values
        bytes32[] _values;
        // Position of the value in the `values` array, plus 1 because index 0
        // means a value is not in the set.
        mapping(bytes32 => uint256) _indexes;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function _add(Set storage set, bytes32 value) private returns (bool) {
        if (!_contains(set, value)) {
            set._values.push(value);
            // The value is stored at length-1, but we add 1 to all indexes
            // and use 0 as a sentinel value
            set._indexes[value] = set._values.length;
            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function _remove(Set storage set, bytes32 value) private returns (bool) {
        // We read and store the value's index to prevent multiple reads from the same storage slot
        uint256 valueIndex = set._indexes[value];

        if (valueIndex != 0) {
            // Equivalent to contains(set, value)
            // To delete an element from the _values array in O(1), we swap the element to delete with the last one in
            // the array, and then remove the last element (sometimes called as 'swap and pop').
            // This modifies the order of the array, as noted in {at}.

            uint256 toDeleteIndex = valueIndex - 1;
            uint256 lastIndex = set._values.length - 1;

            if (lastIndex != toDeleteIndex) {
                bytes32 lastValue = set._values[lastIndex];

                // Move the last value to the index where the value to delete is
                set._values[toDeleteIndex] = lastValue;
                // Update the index for the moved value
                set._indexes[lastValue] = valueIndex; // Replace lastValue's index to valueIndex
            }

            // Delete the slot where the moved value was stored
            set._values.pop();

            // Delete the index for the deleted slot
            delete set._indexes[value];

            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function _contains(Set storage set, bytes32 value) private view returns (bool) {
        return set._indexes[value] != 0;
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function _length(Set storage set) private view returns (uint256) {
        return set._values.length;
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function _at(Set storage set, uint256 index) private view returns (bytes32) {
        return set._values[index];
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function _values(Set storage set) private view returns (bytes32[] memory) {
        return set._values;
    }

    // Bytes32Set

    struct Bytes32Set {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _add(set._inner, value);
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _remove(set._inner, value);
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {
        return _contains(set._inner, value);
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(Bytes32Set storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {
        return _at(set._inner, index);
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(Bytes32Set storage set) internal view returns (bytes32[] memory) {
        return _values(set._inner);
    }

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(AddressSet storage set, address value) internal returns (bool) {
        return _add(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(AddressSet storage set, address value) internal returns (bool) {
        return _remove(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(AddressSet storage set, address value) internal view returns (bool) {
        return _contains(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(AddressSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(AddressSet storage set, uint256 index) internal view returns (address) {
        return address(uint160(uint256(_at(set._inner, index))));
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(AddressSet storage set) internal view returns (address[] memory) {
        bytes32[] memory store = _values(set._inner);
        address[] memory result;

        /// @solidity memory-safe-assembly
        assembly {
            result := store
        }

        return result;
    }

    // UintSet

    struct UintSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(UintSet storage set, uint256 value) internal returns (bool) {
        return _add(set._inner, bytes32(value));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(UintSet storage set, uint256 value) internal returns (bool) {
        return _remove(set._inner, bytes32(value));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(UintSet storage set, uint256 value) internal view returns (bool) {
        return _contains(set._inner, bytes32(value));
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function length(UintSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(UintSet storage set, uint256 index) internal view returns (uint256) {
        return uint256(_at(set._inner, index));
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(UintSet storage set) internal view returns (uint256[] memory) {
        bytes32[] memory store = _values(set._inner);
        uint256[] memory result;

        /// @solidity memory-safe-assembly
        assembly {
            result := store
        }

        return result;
    }
}

File 12 of 21 : ERC721VF.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721VF/ERC721VF.sol)

pragma solidity ^0.8.0;

import "./IERC721VF.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/introspection/ERC165.sol";

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension, and a queryable extenstion defined in {IERC721VF}.
 */
contract ERC721VF is Context, ERC165, IERC721, IERC721Metadata, IERC721VF {
    using Address for address;
    using Strings 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;

    // The number of tokens minted
    uint256 private _mintCounter;

    // The number of tokens burned
    uint256 private _burnCounter;

    /**
     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId)
        public
        view
        virtual
        override(ERC165, IERC165)
        returns (bool)
    {
        return
            interfaceId == type(IERC721).interfaceId ||
            interfaceId == type(IERC721Metadata).interfaceId ||
            interfaceId == type(IERC721VF).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 = ERC721VF.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 See {IERC721VF-totalSupply}.
     */
    function totalSupply() public view returns (uint256) {
        unchecked {
            return _mintCounter - _burnCounter;
        }
    }

    /**
     * @dev See {IERC721VF-totalMinted}.
     */
    function totalMinted() public view returns (uint256) {
        unchecked {
            return _mintCounter;
        }
    }

    /**
     * @dev See {IERC721VF-totalBurned}.
     */
    function totalBurned() public view returns (uint256) {
        unchecked {
            return _burnCounter;
        }
    }

    /**
     * @dev See {IERC721VF-tokensOfOwner}.
     */
    function tokensOfOwner(address owner)
        public
        view
        returns (uint256[] memory ownerTokens)
    {
        address currentOwnerAddress;
        uint256 tokenCount = balanceOf(owner);

        if (tokenCount == 0) {
            return new uint256[](0);
        } else {
            uint256[] memory result = new uint256[](tokenCount);
            uint256 resultIndex = 0;

            uint256 index;
            for (index = 0; resultIndex != tokenCount; index++) {
                currentOwnerAddress = _owners[index];
                if (currentOwnerAddress == owner) {
                    result[resultIndex++] = index;
                }
            }

            return result;
        }
    }

    /**
     * @dev See {IERC721VF-tokensOfOwnerIn}.
     */
    function tokensOfOwnerIn(
        address owner,
        uint256 startIndex,
        uint256 endIndex
    ) public view returns (uint256[] memory ownerTokens) {
        address currentOwnerAddress;
        uint256 tokenCount = balanceOf(owner);

        if (tokenCount == 0) {
            return new uint256[](0);
        } else {
            uint256[] memory result = new uint256[](tokenCount);
            uint256 resultIndex = 0;

            uint256 index = startIndex;
            for (index; index <= endIndex; index++) {
                currentOwnerAddress = _owners[index];
                if (currentOwnerAddress == owner) {
                    result[resultIndex++] = index;
                }
            }

            // Downsize the array to fit.
            assembly {
                mstore(result, resultIndex)
            }

            return result;
        }
    }

    /**
     * @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 = ERC721VF.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 Safely batch mints tokens starting at `startTokenId` until `quantity` is met and transfers them 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.
     * - Transfer to only ERC721Reciever implementers
     *
     * Emits a {Transfer} event.
     */
    function _safeMintBatch(
        address to,
        uint256 quantity,
        uint256 startTokenId
    ) internal returns (uint256 endToken) {
        uint256 tokenId = startTokenId;
        for (uint256 i; i < quantity; i++) {
            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);

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

            require(
                _checkOnERC721Received(address(0), to, tokenId, ""),
                "ERC721: transfer to non ERC721Receiver implementer"
            );

            tokenId++;
        }

        unchecked {
            _mintCounter += quantity;
        }

        return tokenId;
    }

    /**
     * @dev Batch mints tokens starting at `startTokenId` until `quantity` is met and transfers them 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 _mintBatch(
        address to,
        uint256 quantity,
        uint256 startTokenId
    ) internal returns (uint256 endToken) {
        uint256 tokenId = startTokenId;
        for (uint256 i; i < quantity; i++) {
            require(to != address(0), "ERC721: mint to the zero address");
            require(!_exists(tokenId), "ERC721: token already minted");

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

            _owners[tokenId] = to;

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

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

            tokenId++;
        }

        unchecked {
            _balances[to] += quantity;
            _mintCounter += quantity;
        }

        return tokenId;
    }

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

        unchecked {
            _mintCounter++;
        }

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

        _afterTokenTransfer(address(0), to, tokenId);
    }

    function _burn(address from, uint256 tokenId) internal virtual {
        require(
            _isApprovedOrOwner(from, tokenId),
            "ERC721: transfer caller is not owner nor approved"
        );
        _burn(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 = ERC721VF.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);

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

        unchecked {
            _burnCounter++;
        }
    }

    /**
     * @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(
            ERC721VF.ownerOf(tokenId) == from,
            "ERC721VF: transfer from incorrect owner"
        );
        require(to != address(0), "ERC721VF: 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);

        _afterTokenTransfer(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(ERC721VF.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
                IERC721Receiver(to).onERC721Received(
                    _msgSender(),
                    from,
                    tokenId,
                    _data
                )
            returns (bytes4 retval) {
                return retval == IERC721Receiver.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 {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}
}

File 13 of 21 : IERC721VF.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

interface IERC721VF {
    /**
     * @dev Burned tokens are calculated here, use totalMinted() if you want to count just minted tokens.
     */
    function totalSupply() external view returns (uint256);

    /**
     * Returns the total amount of tokens minted in the contract.
     */
    function totalMinted() external view returns (uint256);

    /**
     * Returns the total amount of tokens burned in the contract.
     */
    function totalBurned() external view returns (uint256);

    /**
     * @dev Returns an array of token IDs owned by `owner`.
     *
     * This function scans the ownership mapping and is O(totalSupply) in complexity.
     * It is meant to be called off-chain.
     *
     * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into
     * multiple smaller scans if the collection is large enough to cause
     * an out-of-gas error (10K pfp collections should be fine).
     */
    function tokensOfOwner(address owner)
        external
        view
        returns (uint256[] memory ownerTokens);

    /**
     * @dev Returns an array of token IDs owned by `owner`,
     * in the range [`start`, `stop`)
     * (i.e. `start <= tokenId < stop`).
     *
     * This function allows for tokens to be queried if the collection
     * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}.
     *
     * Requirements:
     *
     * - `start` < `stop`
     */
    function tokensOfOwnerIn(
        address owner,
        uint256 startIndex,
        uint256 endIndex
    ) external view returns (uint256[] memory ownerTokens);
}

File 14 of 21 : IVFAccessControl.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

interface IVFAccessControl {
    /**
     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
     *
     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
     * {RoleAdminChanged} not being emitted signaling this.
     *
     * _Available since v3.1._
     */
    event RoleAdminChanged(
        bytes32 indexed role,
        bytes32 indexed previousAdminRole,
        bytes32 indexed newAdminRole
    );

    /**
     * @dev Emitted when `account` is granted `role`.
     *
     * `sender` is the account that originated the contract call, an admin role
     * bearer except when using {AccessControl-_setupRole}.
     */
    event RoleGranted(
        bytes32 indexed role,
        address indexed account,
        address indexed sender
    );

    /**
     * @dev Emitted when `account` is revoked `role`.
     *
     * `sender` is the account that originated the contract call:
     *   - if using `revokeRole`, it is the admin role bearer
     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)
     */
    event RoleRevoked(
        bytes32 indexed role,
        address indexed account,
        address indexed sender
    );

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account)
        external
        view
        returns (bool);

    /**
     * @dev Revert with a standard message if `account` is missing `role`.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     */
    function checkRole(bytes32 role, address account) external view;

    /**
     * @dev Returns bytes of default admin role
     */
    function getAdminRole() external view returns (bytes32);

    /**
     * @dev Returns bytes of token contract role
     */
    function getTokenContractRole() external view returns (bytes32);

    /**
     * @dev Returns bytes of sales contract role
     */
    function getSalesContractRole() external view returns (bytes32);

    /**
     * @dev Returns bytes of burner role
     */
    function getBurnerRole() external view returns (bytes32);

    /**
     * @dev Returns bytes of minter role
     */
    function getMinterRole() external view returns (bytes32);

    /**
     * @dev Returns a bytes array of roles that can be minters
     */
    function getMinterRoles() external view returns (bytes32[] memory);

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) external view returns (bytes32);

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been revoked `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) external;

    /**
     * @dev Selects the next minter from the minters array using the current minter index.
     * The current minter index should be incremented after each selection.  If the
     * current minter index + 1 is equal to the minters array length then the current
     * minter index should be set back to 0
     *
     * Requirements:
     *
     * - the caller must be an admin role
     */
    function selectNextMinter() external returns (address payable);

    /**
     * @dev Grants `minter` minter role and adds `minter` to minters array
     *
     * Requirements:
     *
     * - the caller must be an admin role
     */
    function grantMinterRole(address minter) external;

    /**
     * @dev Revokes minter role from `minter` and removes `minter` from minters array
     *
     * Requirements:
     *
     * - the caller must be an admin role
     */
    function revokeMinterRole(address minter) external;

    /**
     * @dev Distributes ETH evenly to all addresses in minters array
     */
    function fundMinters() external payable;
}

File 15 of 21 : IVFRoyalties.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

interface IVFRoyalties {
    /**
     * @dev Update the access control contract
     *
     * Requirements:
     *
     * - the caller must be an admin role
     * - `controlContractAddress` must support the IVFAccesControl interface
     */
    function setControlContract(address controlContractAddress) external;

    /**
     * @dev Get royalty information for a contract based on the `salePrice` of a token
     */
    function royaltyInfo(
        uint256,
        address contractAddress,
        uint256 salePrice
    ) external view returns (address receiver, uint256 royaltyAmount);

    /**
     * @dev Sets the royalty information that all ids in this contract will default to.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function setDefaultRoyalty(address receiver, uint96 feeNumerator) external;

    /**
     * @dev Removes default royalty information.
     */
    function deleteDefaultRoyalty() external;

    /**
     * @dev Sets the royalty information for `contractAddress`.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function setContractRoyalties(
        address contractAddress,
        address receiver,
        uint96 feeNumerator
    ) external;

    /**
     * @dev Removes royalty information for `contractAddress`.
     */
    function resetContractRoyalty(address contractAddress) external;
}

File 16 of 21 : DefaultOperatorFilterer.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

import {OperatorFilterer} from "./OperatorFilterer.sol";

contract DefaultOperatorFilterer is OperatorFilterer {
    address constant DEFAULT_SUBSCRIPTION = address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6);

    constructor() OperatorFilterer(DEFAULT_SUBSCRIPTION, true) {}
}

File 17 of 21 : IOperatorFilterRegistry.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

import {EnumerableSet} from "@openzeppelin/contracts/utils/structs/EnumerableSet.sol";

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

    function register(address registrant) external;

    function registerAndSubscribe(address registrant, address subscription)
        external;

    function registerAndCopyEntries(
        address registrant,
        address registrantToCopy
    ) external;

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

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

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

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

    function subscribe(address registrant, address registrantToSubscribe)
        external;

    function unsubscribe(address registrant, bool copyExistingEntries) external;

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

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

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

    function copyEntriesOf(address registrant, address registrantToCopy)
        external;

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

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

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

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

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

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

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

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

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

File 18 of 21 : OperatorFilterer.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

import {IOperatorFilterRegistry} from "./IOperatorFilterRegistry.sol";

contract OperatorFilterer {
    error OperatorNotAllowed(address operator);

    IOperatorFilterRegistry constant operatorFilterRegistry =
        IOperatorFilterRegistry(0x000000000000AAeB6D7670E522A718067333cd4E);

    constructor(address subscriptionOrRegistrantToCopy, bool subscribe) {
        // If an inheriting token contract is deployed to a network without the registry deployed, the modifier
        // will not revert, but the contract will need to be registered with the registry once it is deployed in
        // order for the modifier to filter addresses.
        if (address(operatorFilterRegistry).code.length > 0) {
            if (subscribe) {
                operatorFilterRegistry.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy);
            } else {
                if (subscriptionOrRegistrantToCopy != address(0)) {
                    operatorFilterRegistry.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy);
                } else {
                    operatorFilterRegistry.register(address(this));
                }
            }
        }
    }

    modifier onlyAllowedOperator() virtual {
        // Check registry code length to facilitate testing in environments without a deployed registry.
        if (address(operatorFilterRegistry).code.length > 0) {
            if (!operatorFilterRegistry.isOperatorAllowed(address(this), msg.sender)) {
                revert OperatorNotAllowed(msg.sender);
            }
        }
        _;
    }
}

File 19 of 21 : VFAccessControl.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

import "./IVFAccessControl.sol";
import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/introspection/ERC165.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";

contract VFAccessControl is IVFAccessControl, Context, ERC165, ReentrancyGuard {
    //Struct for maintaining role information
    struct RoleData {
        mapping(address => bool) members;
        bytes32 adminRole;
    }

    //Role information
    mapping(bytes32 => RoleData) private _roles;

    //Admin role
    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;
    //Token contract role
    bytes32 public constant TOKEN_CONTRACT_ROLE =
        keccak256("TOKEN_CONTRACT_ROLE");
    //Sales contract role
    bytes32 public constant SALES_CONTRACT_ROLE =
        keccak256("SALES_CONTRACT_ROLE");
    //Burner role
    bytes32 public constant BURNER_ROLE = keccak256("BURNER_ROLE");

    //Minter role
    bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE");
    //Array of addresses that can mint
    address[] public minterAddresses;
    //Index of next minter in minterAddresses
    uint8 private _currentMinterIndex = 0;

    //Array of roles that can mint
    bytes32[] public minterRoles;

    /**
     * @dev Initializes the contract by assigning the msg sender the admin, minter,
     * and burner role. Along with adding the minter role and sales contract role
     * to the minter roles array.
     */
    constructor() {
        _grantRole(DEFAULT_ADMIN_ROLE, _msgSender());
        _grantRole(MINTER_ROLE, _msgSender());
        _grantRole(BURNER_ROLE, _msgSender());
        minterRoles.push(MINTER_ROLE);
        minterRoles.push(SALES_CONTRACT_ROLE);
    }

    /**
     * @dev Modifier that checks that an account has a specific role. Reverts
     * with a standardized message including the required role.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     *
     * _Available since v4.1._
     */
    modifier onlyRole(bytes32 role) {
        checkRole(role, _msgSender());
        _;
    }

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

    /**
     * @dev See {IVFAccessControl-hasRole}.
     */
    function hasRole(bytes32 role, address account)
        public
        view
        virtual
        returns (bool)
    {
        return _roles[role].members[account];
    }

    /**
     * @dev See {IVFAccessControl-checkRole}.
     */
    function checkRole(bytes32 role, address account) public view virtual {
        if (!hasRole(role, account)) {
            revert(
                string(
                    abi.encodePacked(
                        "AccessControl: account ",
                        Strings.toHexString(uint160(account), 20),
                        " is missing role ",
                        Strings.toHexString(uint256(role), 32)
                    )
                )
            );
        }
    }

    /**
     * @dev See {IVFAccessControl-getAdminRole}.
     */
    function getAdminRole() external view virtual returns (bytes32) {
        return DEFAULT_ADMIN_ROLE;
    }

    /**
     * @dev See {IVFAccessControl-getTokenContractRole}.
     */
    function getTokenContractRole() external view virtual returns (bytes32) {
        return TOKEN_CONTRACT_ROLE;
    }

    /**
     * @dev See {IVFAccessControl-getSalesContractRole}.
     */
    function getSalesContractRole() external view virtual returns (bytes32) {
        return SALES_CONTRACT_ROLE;
    }

    /**
     * @dev See {IVFAccessControl-getBurnerRole}.
     */
    function getBurnerRole() external view virtual returns (bytes32) {
        return BURNER_ROLE;
    }

    /**
     * @dev See {IVFAccessControl-getMinterRole}.
     */
    function getMinterRole() external view virtual returns (bytes32) {
        return MINTER_ROLE;
    }

    /**
     * @dev See {IVFAccessControl-getMinterRoles}.
     */
    function getMinterRoles() external view virtual returns (bytes32[] memory) {
        return minterRoles;
    }

    /**
     * @dev See {IVFAccessControl-getRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) public view virtual returns (bytes32) {
        return _roles[role].adminRole;
    }

    /**
     * @dev See {IVFAccessControl-grantRole}.
     */
    function grantRole(bytes32 role, address account)
        public
        virtual
        onlyRole(getRoleAdmin(role))
    {
        _grantRole(role, account);
    }

    /**
     * @dev See {IVFAccessControl-revokeRole}.
     */
    function revokeRole(bytes32 role, address account)
        external
        virtual
        onlyRole(getRoleAdmin(role))
    {
        _revokeRole(role, account);
    }

    /**
     * @dev See {IVFAccessControl-renounceRole}.
     */
    function renounceRole(bytes32 role, address account) external virtual {
        require(
            account == _msgSender(),
            "AccessControl: can only renounce roles for self"
        );

        _revokeRole(role, account);
    }

    /**
     * @dev See {IVFAccessControl-selectNextMinter}.
     */
    function selectNextMinter()
        external
        onlyRole(SALES_CONTRACT_ROLE)
        returns (address payable)
    {
        address nextMinter = minterAddresses[_currentMinterIndex];
        if (_currentMinterIndex + 1 < minterAddresses.length) {
            _currentMinterIndex++;
        } else {
            _currentMinterIndex = 0;
        }
        return payable(nextMinter);
    }

    /**
     * @dev See {IVFAccessControl-grantMinterRole}.
     */
    function grantMinterRole(address minter)
        external
        onlyRole(DEFAULT_ADMIN_ROLE)
    {
        _grantRole(MINTER_ROLE, minter);
        minterAddresses.push(minter);
        _currentMinterIndex = 0;
    }

    /**
     * @dev See {IVFAccessControl-revokeMinterRole}.
     */
    function revokeMinterRole(address minter)
        external
        onlyRole(DEFAULT_ADMIN_ROLE)
    {
        _revokeRole(MINTER_ROLE, minter);
        uint256 index;
        for (index = 0; index < minterAddresses.length; index++) {
            if (minter == minterAddresses[index]) {
                minterAddresses[index] = minterAddresses[
                    minterAddresses.length - 1
                ];
                break;
            }
        }
        minterAddresses.pop();
        _currentMinterIndex = 0;
    }

    /**
     * @dev See {IVFAccessControl-fundMinters}.
     */
    function fundMinters() external payable nonReentrant {
        uint256 totalMinters = minterAddresses.length;
        uint256 amount = msg.value / totalMinters;
        for (uint256 index = 0; index < totalMinters; index++) {
            payable(minterAddresses[index]).transfer(amount);
        }
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     *
     * NOTE: This function is deprecated in favor of {_grantRole}.
     */
    function _setupRole(bytes32 role, address account) internal virtual {
        _grantRole(role, account);
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
        bytes32 previousAdminRole = getRoleAdmin(role);
        _roles[role].adminRole = adminRole;
        emit RoleAdminChanged(role, previousAdminRole, adminRole);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * Internal function without access restriction.
     */
    function _grantRole(bytes32 role, address account) internal virtual {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * Internal function without access restriction.
     */
    function _revokeRole(bytes32 role, address account) internal virtual {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }

    /**
     * @dev Widthraw balance on contact to msg sender
     *
     * Requirements:
     *
     * - the caller must be an admin role
     */
    function withdrawMoney() external onlyRole(DEFAULT_ADMIN_ROLE) {
        address payable to = payable(_msgSender());
        to.transfer(address(this).balance);
    }
}

File 20 of 21 : VFRoyalties.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

import "./IVFRoyalties.sol";
import "./VFAccessControl.sol";
import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/utils/introspection/ERC165.sol";

contract VFRoyalties is IVFRoyalties, Context, ERC165 {
    //Struct for maintaining royalty information
    struct RoyaltyInfo {
        address receiver;
        uint96 royaltyFraction;
    }

    //Default royalty informations
    RoyaltyInfo private _defaultRoyaltyInfo;

    //Contract address to royalty information map
    mapping(address => RoyaltyInfo) private _contractRoyalInfo;

    //Contract for function access control
    VFAccessControl private _controlContract;

    /**
     * @dev Initializes the contract by setting a `controlContractAddress`, `defaultReceiver`,
     * and `defaultFeeNumerator` for the royalties contract.
     */
    constructor(
        address controlContractAddress,
        address defaultReceiver,
        uint96 defaultFeeNumerator
    ) {
        _controlContract = VFAccessControl(controlContractAddress);
        setDefaultRoyalty(defaultReceiver, defaultFeeNumerator);
    }

    modifier onlyRole(bytes32 role) {
        _controlContract.checkRole(role, _msgSender());
        _;
    }

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

    /**
     * @dev See {IVFRoyalties-setControlContract}.
     */
    function setControlContract(address controlContractAddress)
        external
        onlyRole(_controlContract.getAdminRole())
    {
        require(
            IERC165(controlContractAddress).supportsInterface(
                type(IVFAccessControl).interfaceId
            ),
            "Contract does not support required interface"
        );
        _controlContract = VFAccessControl(controlContractAddress);
    }

    /**
     * @dev See {IVFRoyalties-royaltyInfo}.
     */
    function royaltyInfo(
        uint256,
        address contractAddress,
        uint256 salePrice
    ) external view returns (address receiver, uint256 royaltyAmount) {
        RoyaltyInfo memory contractRoyaltyInfo = _contractRoyalInfo[
            contractAddress
        ];

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

        royaltyAmount =
            (salePrice * contractRoyaltyInfo.royaltyFraction) /
            _feeDenominator();

        return (contractRoyaltyInfo.receiver, royaltyAmount);
    }

    /**
     * @dev See {IVFRoyalties-setDefaultRoyalty}.
     */
    function setDefaultRoyalty(address receiver, uint96 feeNumerator)
        public
        virtual
        onlyRole(_controlContract.getAdminRole())
    {
        require(
            feeNumerator <= _feeDenominator(),
            "ERC2981: royalty fee will exceed salePrice"
        );
        require(receiver != address(0), "ERC2981: invalid receiver");

        _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev See {IVFRoyalties-deleteDefaultRoyalty}.
     */
    function deleteDefaultRoyalty()
        external
        virtual
        onlyRole(_controlContract.getAdminRole())
    {
        delete _defaultRoyaltyInfo;
    }

    /**
     * @dev See {IVFRoyalties-setContractRoyalties}.
     */
    function setContractRoyalties(
        address contractAddress,
        address receiver,
        uint96 feeNumerator
    ) external onlyRole(_controlContract.getAdminRole()) {
        require(
            feeNumerator <= _feeDenominator(),
            "ERC2981: royalty fee will exceed salePrice"
        );
        require(receiver != address(0), "ERC2981: invalid receiver");

        _contractRoyalInfo[contractAddress] = RoyaltyInfo(
            receiver,
            feeNumerator
        );
    }

    /**
     * @dev See {IVFRoyalties-resetContractRoyalty}.
     */
    function resetContractRoyalty(address contractAddress)
        external
        virtual
        onlyRole(_controlContract.getAdminRole())
    {
        delete _contractRoyalInfo[contractAddress];
    }

    /**
     * @dev Get the fee denominator
     */
    function _feeDenominator() internal pure virtual returns (uint96) {
        return 10000;
    }
}

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

pragma solidity ^0.8.4;

import "./erc721vf/contracts/ERC721VF.sol";
import "./VFAccessControl.sol";
import "./IVFAccessControl.sol";
import "./VFRoyalties.sol";
import "./IVFRoyalties.sol";
import "./operator/DefaultOperatorFilterer.sol";
import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/interfaces/IERC2981.sol";

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

contract VFToken is ERC721VF, IERC2981, DefaultOperatorFilterer {
    //Token base URI
    string private _baseUri;

    //Flag to permanently lock minting
    bool public mintingPermanentlyLocked = false;
    //Flag to activate or disable minting
    bool public isMintActive = false;
    //Flag to activate or disable burning
    bool public isBurnActive = false;

    //Contract for function access control
    VFAccessControl private _controlContract;

    //Contract for royalties
    VFRoyalties private _royaltiesContract;

    //Contract for token URI generation
    ITokenURIGenerator public _renderingContract;

    /**
     * @dev Initializes the contract by setting a `initialBaseUri`, `name`, `symbol`,
     * and a `controlContractAddress` to the token collection.
     */
    constructor(
        string memory initialBaseUri,
        string memory name,
        string memory symbol,
        address controlContractAddress
    ) ERC721VF(name, symbol) {
        _controlContract = VFAccessControl(controlContractAddress);
        string memory contractAddress = Strings.toHexString(
            uint160(address(this)),
            20
        );
        setBaseURI(
            string(
                abi.encodePacked(initialBaseUri, contractAddress, "/tokens/")
            )
        );
    }

    modifier onlyRole(bytes32 role) {
        _controlContract.checkRole(role, _msgSender());
        _;
    }

    modifier onlyRoles(bytes32[] memory roles) {
        bool hasRequiredRole = false;
        for (uint256 i; i < roles.length; i++) {
            bytes32 role = roles[i];
            if (_controlContract.hasRole(role, _msgSender())) {
                hasRequiredRole = true;
                break;
            }
        }
        require(hasRequiredRole, "Missing required role");
        _;
    }

    modifier notLocked() {
        require(!mintingPermanentlyLocked, "Minting permanently locked");
        _;
    }

    modifier mintActive() {
        require(isMintActive, "Mint is not active");
        _;
    }

    modifier burnActive() {
        require(isBurnActive, "Burn is not active");
        _;
    }

    /**
     * @dev Get the base token URI
     */
    function _baseURI() internal view virtual override returns (string memory) {
        return _baseUri;
    }

    /**
     * @dev Update the base token URI
     *
     * Requirements:
     *
     * - the caller must be an admin role
     */
    function setBaseURI(string memory baseUri)
        public
        onlyRole(_controlContract.getAdminRole())
    {
        _baseUri = baseUri;
    }

    /**
     * @dev Update the access control contract
     *
     * Requirements:
     *
     * - the caller must be an admin role
     * - `controlContractAddress` must support the IVFAccesControl interface
     */
    function setControlContract(address controlContractAddress)
        external
        onlyRole(_controlContract.getAdminRole())
    {
        require(
            IERC165(controlContractAddress).supportsInterface(
                type(IVFAccessControl).interfaceId
            ),
            "Contract does not support required interface"
        );
        _controlContract = VFAccessControl(controlContractAddress);
    }

    /**
     * @dev Update the royalties contract
     *
     * Requirements:
     *
     * - the caller must be an admin role
     * - `royaltiesContractAddress` must support the IVFRoyalties interface
     */
    function setRoyaltiesContract(address royaltiesContractAddress)
        external
        onlyRole(_controlContract.getAdminRole())
    {
        require(
            IERC165(royaltiesContractAddress).supportsInterface(
                type(IVFRoyalties).interfaceId
            ),
            "Contract does not support required interface"
        );
        _royaltiesContract = VFRoyalties(royaltiesContractAddress);
    }

    /**
     * @dev Permanently lock minting
     *
     * Requirements:
     *
     * - the caller must be an admin role
     */
    function lockMintingPermanently()
        external
        onlyRole(_controlContract.getAdminRole())
    {
        mintingPermanentlyLocked = true;
    }

    /**
     * @dev Set the active/inactive state of minting
     *
     * Requirements:
     *
     * - the caller must be an admin role
     */
    function toggleMintActive()
        external
        onlyRole(_controlContract.getAdminRole())
    {
        isMintActive = !isMintActive;
    }

    /**
     * @dev Set the active/inactive state of burning
     *
     * Requirements:
     *
     * - the caller must be an admin role
     */
    function toggleBurnActive()
        external
        onlyRole(_controlContract.getAdminRole())
    {
        isBurnActive = !isBurnActive;
    }

    /**
     * @dev Airdrop `addresses` for `quantity` starting at `startTokenId`
     *
     * Requirements:
     *
     * - the caller must be a minter role
     * - minting must not be locked and must be active
     * - `addresses` and `quantities` must have the same length
     */
    function airdrop(
        address[] memory addresses,
        uint16[] memory quantities,
        uint256 startTokenId
    )
        external
        onlyRoles(_controlContract.getMinterRoles())
        notLocked
        mintActive
    {
        require(
            addresses.length == quantities.length,
            "Address and quantities need to be equal length"
        );

        for (uint256 i; i < addresses.length; i++) {
            startTokenId = _mintBatch(
                addresses[i],
                quantities[i],
                startTokenId
            );
        }
    }

    /**
     * @dev mint batch `to` for `quantity` starting at `startTokenId`
     *
     * Requirements:
     *
     * - the caller must be a minter role
     * - minting must not be locked and must be active
     */
    function mintBatch(
        address to,
        uint8 quantity,
        uint256 startTokenId
    )
        external
        onlyRoles(_controlContract.getMinterRoles())
        notLocked
        mintActive
    {
        _mintBatch(to, quantity, startTokenId);
    }

    /**
     * @dev mint `to` token `tokenId`
     *
     * Requirements:
     *
     * - the caller must be a minter role
     * - minting must not be locked and must be active
     */
    function mint(address to, uint256 tokenId)
        external
        onlyRoles(_controlContract.getMinterRoles())
        notLocked
        mintActive
    {
        _mint(to, tokenId);
    }

    /**
     * @dev burn `from` token `tokenId`
     *
     * Requirements:
     *
     * - the caller must be a burner role
     * - burning must be active
     */
    function burn(address from, uint256 tokenId)
        external
        onlyRole(_controlContract.getBurnerRole())
        burnActive
    {
        _burn(from, tokenId);
    }

    /**
     * @dev Get royalty information for a token based on the `salePrice`
     */
    function royaltyInfo(uint256 tokenId, uint256 salePrice)
        external
        view
        returns (address receiver, uint256 royaltyAmount)
    {
        return
            _royaltiesContract.royaltyInfo(tokenId, address(this), salePrice);
    }

    /**
     * @dev Sets the optional tokenURI override contract.
     */
    function setRenderingContract(ITokenURIGenerator renderingContract)
        external
        onlyRole(_controlContract.getAdminRole())
    {
        _renderingContract = renderingContract;
    }

    /**
     * @dev If renderingContract is set then returns its tokenURI(tokenId)
     * return value, otherwise returns the standard baseTokenURI + tokenId.
     */
    function tokenURI(uint256 tokenId)
        public
        view
        override
        returns (string memory)
    {
        if (address(_renderingContract) != address(0)) {
            return _renderingContract.tokenURI(tokenId);
        }
        return super.tokenURI(tokenId);
    }

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

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

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

    /**
     * @dev Widthraw balance on contact to msg sender
     *
     * Requirements:
     *
     * - the caller must be an admin role
     */
    function withdrawMoney()
        external
        onlyRole(_controlContract.getAdminRole())
    {
        address payable to = payable(_msgSender());
        to.transfer(address(this).balance);
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"initialBaseUri","type":"string"},{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"address","name":"controlContractAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"_renderingContract","outputs":[{"internalType":"contract ITokenURIGenerator","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"},{"internalType":"uint16[]","name":"quantities","type":"uint16[]"},{"internalType":"uint256","name":"startTokenId","type":"uint256"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","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":[{"internalType":"address","name":"from","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isBurnActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isMintActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lockMintingPermanently","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint8","name":"quantity","type":"uint8"},{"internalType":"uint256","name":"startTokenId","type":"uint256"}],"name":"mintBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintingPermanentlyLocked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"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":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseUri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"controlContractAddress","type":"address"}],"name":"setControlContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract ITokenURIGenerator","name":"renderingContract","type":"address"}],"name":"setRenderingContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"royaltiesContractAddress","type":"address"}],"name":"setRoyaltiesContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"toggleBurnActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleMintActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"ownerTokens","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"startIndex","type":"uint256"},{"internalType":"uint256","name":"endIndex","type":"uint256"}],"name":"tokensOfOwnerIn","outputs":[{"internalType":"uint256[]","name":"ownerTokens","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalBurned","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[],"name":"withdrawMoney","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526000600960006101000a81548160ff0219169083151502179055506000600960016101000a81548160ff0219169083151502179055506000600960026101000a81548160ff0219169083151502179055503480156200006257600080fd5b5060405162006fe038038062006fe0833981810160405281019062000088919062000915565b733cc6cdda760b79bafa08df41ecfa224f810dceb6600184848160009081620000b2919062000c2f565b508060019081620000c4919062000c2f565b50505060006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115620002bc57801562000182576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16637d3e3dbe30846040518363ffffffff1660e01b81526004016200014892919062000d27565b600060405180830381600087803b1580156200016357600080fd5b505af115801562000178573d6000803e3d6000fd5b50505050620002bb565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146200023c576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663a0af290330846040518363ffffffff1660e01b81526004016200020292919062000d27565b600060405180830381600087803b1580156200021d57600080fd5b505af115801562000232573d6000803e3d6000fd5b50505050620002ba565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16634420e486306040518263ffffffff1660e01b815260040162000285919062000d54565b600060405180830381600087803b158015620002a057600080fd5b505af1158015620002b5573d6000803e3d6000fd5b505050505b5b5b505080600960036101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060006200032f3073ffffffffffffffffffffffffffffffffffffffff1660146200037060201b62002b091760201c565b90506200036585826040516020016200034a92919062000e03565b604051602081830303815290604052620005cb60201b60201c565b505050505062001078565b60606000600283600262000385919062000e67565b62000391919062000eb2565b67ffffffffffffffff811115620003ad57620003ac6200074c565b5b6040519080825280601f01601f191660200182016040528015620003e05781602001600182028036833780820191505090505b5090507f3000000000000000000000000000000000000000000000000000000000000000816000815181106200041b576200041a62000eed565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f78000000000000000000000000000000000000000000000000000000000000008160018151811062000482576200048162000eed565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060006001846002620004c4919062000e67565b620004d0919062000eb2565b90505b60018111156200057a577f3031323334353637383961626364656600000000000000000000000000000000600f86166010811062000516576200051562000eed565b5b1a60f81b82828151811062000530576200052f62000eed565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080620005729062000f1c565b9050620004d3565b5060008414620005c1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620005b89062000fab565b60405180910390fd5b8091505092915050565b600960039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b3ecf2366040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000639573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200065f919062001008565b600960039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166312d9a6ad82620006ae6200071560201b60201c565b6040518363ffffffff1660e01b8152600401620006cd9291906200104b565b60006040518083038186803b158015620006e657600080fd5b505afa158015620006fb573d6000803e3d6000fd5b50505050816008908162000710919062000c2f565b505050565b600033905090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b62000786826200073b565b810181811067ffffffffffffffff82111715620007a857620007a76200074c565b5b80604052505050565b6000620007bd6200071d565b9050620007cb82826200077b565b919050565b600067ffffffffffffffff821115620007ee57620007ed6200074c565b5b620007f9826200073b565b9050602081019050919050565b60005b838110156200082657808201518184015260208101905062000809565b60008484015250505050565b6000620008496200084384620007d0565b620007b1565b90508281526020810184848401111562000868576200086762000736565b5b6200087584828562000806565b509392505050565b600082601f83011262000895576200089462000731565b5b8151620008a784826020860162000832565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620008dd82620008b0565b9050919050565b620008ef81620008d0565b8114620008fb57600080fd5b50565b6000815190506200090f81620008e4565b92915050565b6000806000806080858703121562000932576200093162000727565b5b600085015167ffffffffffffffff8111156200095357620009526200072c565b5b62000961878288016200087d565b945050602085015167ffffffffffffffff8111156200098557620009846200072c565b5b62000993878288016200087d565b935050604085015167ffffffffffffffff811115620009b757620009b66200072c565b5b620009c5878288016200087d565b9250506060620009d887828801620008fe565b91505092959194509250565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168062000a3757607f821691505b60208210810362000a4d5762000a4c620009ef565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830262000ab77fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000a78565b62000ac3868362000a78565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b600062000b1062000b0a62000b048462000adb565b62000ae5565b62000adb565b9050919050565b6000819050919050565b62000b2c8362000aef565b62000b4462000b3b8262000b17565b84845462000a85565b825550505050565b600090565b62000b5b62000b4c565b62000b6881848462000b21565b505050565b5b8181101562000b905762000b8460008262000b51565b60018101905062000b6e565b5050565b601f82111562000bdf5762000ba98162000a53565b62000bb48462000a68565b8101602085101562000bc4578190505b62000bdc62000bd38562000a68565b83018262000b6d565b50505b505050565b600082821c905092915050565b600062000c046000198460080262000be4565b1980831691505092915050565b600062000c1f838362000bf1565b9150826002028217905092915050565b62000c3a82620009e4565b67ffffffffffffffff81111562000c565762000c556200074c565b5b62000c62825462000a1e565b62000c6f82828562000b94565b600060209050601f83116001811462000ca7576000841562000c92578287015190505b62000c9e858262000c11565b86555062000d0e565b601f19841662000cb78662000a53565b60005b8281101562000ce15784890151825560018201915060208501945060208101905062000cba565b8683101562000d01578489015162000cfd601f89168262000bf1565b8355505b6001600288020188555050505b505050505050565b62000d2181620008d0565b82525050565b600060408201905062000d3e600083018562000d16565b62000d4d602083018462000d16565b9392505050565b600060208201905062000d6b600083018462000d16565b92915050565b600081905092915050565b600062000d8982620009e4565b62000d95818562000d71565b935062000da781856020860162000806565b80840191505092915050565b7f2f746f6b656e732f000000000000000000000000000000000000000000000000600082015250565b600062000deb60088362000d71565b915062000df88262000db3565b600882019050919050565b600062000e11828562000d7c565b915062000e1f828462000d7c565b915062000e2c8262000ddc565b91508190509392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600062000e748262000adb565b915062000e818362000adb565b925082820262000e918162000adb565b9150828204841483151762000eab5762000eaa62000e38565b5b5092915050565b600062000ebf8262000adb565b915062000ecc8362000adb565b925082820190508082111562000ee75762000ee662000e38565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600062000f298262000adb565b91506000820362000f3f5762000f3e62000e38565b5b600182039050919050565b600082825260208201905092915050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b600062000f9360208362000f4a565b915062000fa08262000f5b565b602082019050919050565b6000602082019050818103600083015262000fc68162000f84565b9050919050565b6000819050919050565b62000fe28162000fcd565b811462000fee57600080fd5b50565b600081519050620010028162000fd7565b92915050565b60006020828403121562001021576200102062000727565b5b6000620010318482850162000ff1565b91505092915050565b620010458162000fcd565b82525050565b60006040820190506200106260008301856200103a565b62001071602083018462000d16565b9392505050565b615f5880620010886000396000f3fe608060405234801561001057600080fd5b50600436106102115760003560e01c80638462151c11610125578063b7f1d072116100ad578063ca35e8a01161007c578063ca35e8a0146105d7578063d02c2bf2146105f3578063d89135cd146105fd578063e985e9c51461061b578063f5e92b951461064b57610211565b8063b7f1d07214610565578063b88d4fde14610581578063bb7648b61461059d578063c87b56dd146105a757610211565b8063a22cb465116100f4578063a22cb465146104e7578063a2309ff814610503578063ac44600214610521578063b166da421461052b578063b1a6676e1461054757610211565b80638462151c1461044d57806395d89b411461047d57806399a2557a1461049b5780639dc29fac146104cb57610211565b806340c10f19116101a85780635b92ac0d116101775780635b92ac0d146103a75780635bc0997c146103c55780635f183cd7146103cf5780636352211e146103ed57806370a082311461041d57610211565b806340c10f191461033757806342842e0e1461035357806349324be11461036f57806355f804b31461038b57610211565b806318160ddd116101e457806318160ddd146102b057806323b872dd146102ce57806324e8b6fc146102ea5780632a55205a1461030657610211565b806301ffc9a71461021657806306fdde0314610246578063081812fc14610264578063095ea7b314610294575b600080fd5b610230600480360381019061022b9190613f0c565b610669565b60405161023d9190613f54565b60405180910390f35b61024e6107b3565b60405161025b9190613fff565b60405180910390f35b61027e60048036038101906102799190614057565b610845565b60405161028b91906140c5565b60405180910390f35b6102ae60048036038101906102a9919061410c565b6108ca565b005b6102b86109e1565b6040516102c5919061415b565b60405180910390f35b6102e860048036038101906102e39190614176565b6109ef565b005b61030460048036038101906102ff919061440e565b610afb565b005b610320600480360381019061031b9190614499565b610e15565b60405161032e9291906144d9565b60405180910390f35b610351600480360381019061034c919061410c565b610ec2565b005b61036d60048036038101906103689190614176565b61113c565b005b6103896004803603810190610384919061453b565b611248565b005b6103a560048036038101906103a09190614643565b6114c8565b005b6103af611601565b6040516103bc9190613f54565b60405180910390f35b6103cd611614565b005b6103d7611766565b6040516103e491906146eb565b60405180910390f35b61040760048036038101906104029190614057565b61178c565b60405161041491906140c5565b60405180910390f35b61043760048036038101906104329190614706565b61183d565b604051610444919061415b565b60405180910390f35b61046760048036038101906104629190614706565b6118f4565b60405161047491906147f1565b60405180910390f35b610485611a6e565b6040516104929190613fff565b60405180910390f35b6104b560048036038101906104b09190614813565b611b00565b6040516104c291906147f1565b60405180910390f35b6104e560048036038101906104e0919061410c565b611c82565b005b61050160048036038101906104fc9190614892565b611e05565b005b61050b611e1b565b604051610518919061415b565b60405180910390f35b610529611e25565b005b61054560048036038101906105409190614706565b611fa1565b005b61054f6121e4565b60405161055c9190613f54565b60405180910390f35b61057f600480360381019061057a9190614910565b6121f7565b005b61059b600480360381019061059691906149de565b612361565b005b6105a561246f565b005b6105c160048036038101906105bc9190614057565b6125b2565b6040516105ce9190613fff565b60405180910390f35b6105f160048036038101906105ec9190614706565b6126c3565b005b6105fb612906565b005b610605612a58565b604051610612919061415b565b60405180910390f35b61063560048036038101906106309190614a61565b612a62565b6040516106429190613f54565b60405180910390f35b610653612af6565b6040516106609190613f54565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061073457507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061079c57507f7f77e78e000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806107ac57506107ab82612d45565b5b9050919050565b6060600080546107c290614ad0565b80601f01602080910402602001604051908101604052809291908181526020018280546107ee90614ad0565b801561083b5780601f106108105761010080835404028352916020019161083b565b820191906000526020600020905b81548152906001019060200180831161081e57829003601f168201915b5050505050905090565b600061085082612daf565b61088f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161088690614b73565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006108d58261178c565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610945576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161093c90614c05565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610964612e1b565b73ffffffffffffffffffffffffffffffffffffffff16148061099357506109928161098d612e1b565b612a62565b5b6109d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109c990614c97565b60405180910390fd5b6109dc8383612e23565b505050565b600060075460065403905090565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115610aeb576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b8152600401610a66929190614cb7565b6020604051808303816000875af1158015610a85573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aa99190614cf5565b610aea57336040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401610ae191906140c5565b60405180910390fd5b5b610af6838383612edc565b505050565b600960039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663dd5adf0c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015610b68573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190610b919190614e1b565b6000805b8251811015610c85576000838281518110610bb357610bb2614e64565b5b60200260200101519050600960039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166391d1485482610c04612e1b565b6040518363ffffffff1660e01b8152600401610c21929190614ea2565b602060405180830381865afa158015610c3e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c629190614cf5565b15610c71576001925050610c85565b508080610c7d90614efa565b915050610b95565b5080610cc6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cbd90614f8e565b60405180910390fd5b600960009054906101000a900460ff1615610d16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d0d90614ffa565b60405180910390fd5b600960019054906101000a900460ff16610d65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5c90615066565b60405180910390fd5b8351855114610da9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da0906150f8565b60405180910390fd5b60005b8551811015610e0d57610df8868281518110610dcb57610dca614e64565b5b6020026020010151868381518110610de657610de5614e64565b5b602002602001015161ffff1686612f3c565b93508080610e0590614efa565b915050610dac565b505050505050565b600080600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b8ca29d58530866040518463ffffffff1660e01b8152600401610e7793929190615118565b6040805180830381865afa158015610e93573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eb79190615179565b915091509250929050565b600960039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663dd5adf0c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015610f2f573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190610f589190614e1b565b6000805b825181101561104c576000838281518110610f7a57610f79614e64565b5b60200260200101519050600960039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166391d1485482610fcb612e1b565b6040518363ffffffff1660e01b8152600401610fe8929190614ea2565b602060405180830381865afa158015611005573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110299190614cf5565b1561103857600192505061104c565b50808061104490614efa565b915050610f5c565b508061108d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108490614f8e565b60405180910390fd5b600960009054906101000a900460ff16156110dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d490614ffa565b60405180910390fd5b600960019054906101000a900460ff1661112c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112390615066565b60405180910390fd5b6111368484613155565b50505050565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115611238576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b81526004016111b3929190614cb7565b6020604051808303816000875af11580156111d2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111f69190614cf5565b61123757336040517fede71dcc00000000000000000000000000000000000000000000000000000000815260040161122e91906140c5565b60405180910390fd5b5b611243838383613340565b505050565b600960039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663dd5adf0c6040518163ffffffff1660e01b8152600401600060405180830381865afa1580156112b5573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906112de9190614e1b565b6000805b82518110156113d2576000838281518110611300576112ff614e64565b5b60200260200101519050600960039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166391d1485482611351612e1b565b6040518363ffffffff1660e01b815260040161136e929190614ea2565b602060405180830381865afa15801561138b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113af9190614cf5565b156113be5760019250506113d2565b5080806113ca90614efa565b9150506112e2565b5080611413576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140a90614f8e565b60405180910390fd5b600960009054906101000a900460ff1615611463576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161145a90614ffa565b60405180910390fd5b600960019054906101000a900460ff166114b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114a990615066565b60405180910390fd5b6114c0858560ff1685612f3c565b505050505050565b600960039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b3ecf2366040518163ffffffff1660e01b8152600401602060405180830381865afa158015611535573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061155991906151b9565b600960039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166312d9a6ad826115a0612e1b565b6040518363ffffffff1660e01b81526004016115bd929190614ea2565b60006040518083038186803b1580156115d557600080fd5b505afa1580156115e9573d6000803e3d6000fd5b5050505081600890816115fc9190615388565b505050565b600960019054906101000a900460ff1681565b600960039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b3ecf2366040518163ffffffff1660e01b8152600401602060405180830381865afa158015611681573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116a591906151b9565b600960039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166312d9a6ad826116ec612e1b565b6040518363ffffffff1660e01b8152600401611709929190614ea2565b60006040518083038186803b15801561172157600080fd5b505afa158015611735573d6000803e3d6000fd5b50505050600960029054906101000a900460ff1615600960026101000a81548160ff02191690831515021790555050565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611834576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161182b906154cc565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036118ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118a49061555e565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60606000806119028461183d565b90506000810361195f57600067ffffffffffffffff811115611927576119266141ce565b5b6040519080825280602002602001820160405280156119555781602001602082028036833780820191505090505b5092505050611a69565b60008167ffffffffffffffff81111561197b5761197a6141ce565b5b6040519080825280602002602001820160405280156119a95781602001602082028036833780820191505090505b5090506000805b838214611a60576002600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1694508673ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603611a4d5780838380611a2d90614efa565b945081518110611a4057611a3f614e64565b5b6020026020010181815250505b8080611a5890614efa565b9150506119b0565b82955050505050505b919050565b606060018054611a7d90614ad0565b80601f0160208091040260200160405190810160405280929190818152602001828054611aa990614ad0565b8015611af65780601f10611acb57610100808354040283529160200191611af6565b820191906000526020600020905b815481529060010190602001808311611ad957829003601f168201915b5050505050905090565b6060600080611b0e8661183d565b905060008103611b6b57600067ffffffffffffffff811115611b3357611b326141ce565b5b604051908082528060200260200182016040528015611b615781602001602082028036833780820191505090505b5092505050611c7b565b60008167ffffffffffffffff811115611b8757611b866141ce565b5b604051908082528060200260200182016040528015611bb55781602001602082028036833780820191505090505b5090506000808790505b868111611c6f576002600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1694508873ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603611c5c5780838380611c3c90614efa565b945081518110611c4f57611c4e614e64565b5b6020026020010181815250505b8080611c6790614efa565b915050611bbf565b81835282955050505050505b9392505050565b600960039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c5b66dc96040518163ffffffff1660e01b8152600401602060405180830381865afa158015611cef573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d1391906151b9565b600960039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166312d9a6ad82611d5a612e1b565b6040518363ffffffff1660e01b8152600401611d77929190614ea2565b60006040518083038186803b158015611d8f57600080fd5b505afa158015611da3573d6000803e3d6000fd5b50505050600960029054906101000a900460ff16611df6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ded906155ca565b60405180910390fd5b611e008383613360565b505050565b611e17611e10612e1b565b83836133b6565b5050565b6000600654905090565b600960039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b3ecf2366040518163ffffffff1660e01b8152600401602060405180830381865afa158015611e92573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611eb691906151b9565b600960039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166312d9a6ad82611efd612e1b565b6040518363ffffffff1660e01b8152600401611f1a929190614ea2565b60006040518083038186803b158015611f3257600080fd5b505afa158015611f46573d6000803e3d6000fd5b505050506000611f54612e1b565b90508073ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015611f9c573d6000803e3d6000fd5b505050565b600960039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b3ecf2366040518163ffffffff1660e01b8152600401602060405180830381865afa15801561200e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061203291906151b9565b600960039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166312d9a6ad82612079612e1b565b6040518363ffffffff1660e01b8152600401612096929190614ea2565b60006040518083038186803b1580156120ae57600080fd5b505afa1580156120c2573d6000803e3d6000fd5b505050508173ffffffffffffffffffffffffffffffffffffffff166301ffc9a77f84648494000000000000000000000000000000000000000000000000000000006040518263ffffffff1660e01b815260040161211f91906155f9565b602060405180830381865afa15801561213c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121609190614cf5565b61219f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161219690615686565b60405180910390fd5b81600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b600960029054906101000a900460ff1681565b600960039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b3ecf2366040518163ffffffff1660e01b8152600401602060405180830381865afa158015612264573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061228891906151b9565b600960039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166312d9a6ad826122cf612e1b565b6040518363ffffffff1660e01b81526004016122ec929190614ea2565b60006040518083038186803b15801561230457600080fd5b505afa158015612318573d6000803e3d6000fd5b5050505081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b111561245d576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b81526004016123d8929190614cb7565b6020604051808303816000875af11580156123f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061241b9190614cf5565b61245c57336040517fede71dcc00000000000000000000000000000000000000000000000000000000815260040161245391906140c5565b60405180910390fd5b5b61246984848484613522565b50505050565b600960039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b3ecf2366040518163ffffffff1660e01b8152600401602060405180830381865afa1580156124dc573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061250091906151b9565b600960039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166312d9a6ad82612547612e1b565b6040518363ffffffff1660e01b8152600401612564929190614ea2565b60006040518083038186803b15801561257c57600080fd5b505afa158015612590573d6000803e3d6000fd5b505050506001600960006101000a81548160ff02191690831515021790555050565b6060600073ffffffffffffffffffffffffffffffffffffffff16600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146126b257600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c87b56dd836040518263ffffffff1660e01b8152600401612665919061415b565b600060405180830381865afa158015612682573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906126ab9190615716565b90506126be565b6126bb82613584565b90505b919050565b600960039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b3ecf2366040518163ffffffff1660e01b8152600401602060405180830381865afa158015612730573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061275491906151b9565b600960039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166312d9a6ad8261279b612e1b565b6040518363ffffffff1660e01b81526004016127b8929190614ea2565b60006040518083038186803b1580156127d057600080fd5b505afa1580156127e4573d6000803e3d6000fd5b505050508173ffffffffffffffffffffffffffffffffffffffff166301ffc9a77f0b7162d4000000000000000000000000000000000000000000000000000000006040518263ffffffff1660e01b815260040161284191906155f9565b602060405180830381865afa15801561285e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128829190614cf5565b6128c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128b890615686565b60405180910390fd5b81600960036101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b600960039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b3ecf2366040518163ffffffff1660e01b8152600401602060405180830381865afa158015612973573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061299791906151b9565b600960039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166312d9a6ad826129de612e1b565b6040518363ffffffff1660e01b81526004016129fb929190614ea2565b60006040518083038186803b158015612a1357600080fd5b505afa158015612a27573d6000803e3d6000fd5b50505050600960019054906101000a900460ff1615600960016101000a81548160ff02191690831515021790555050565b6000600754905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600960009054906101000a900460ff1681565b606060006002836002612b1c919061575f565b612b2691906157a1565b67ffffffffffffffff811115612b3f57612b3e6141ce565b5b6040519080825280601f01601f191660200182016040528015612b715781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110612ba957612ba8614e64565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110612c0d57612c0c614e64565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060006001846002612c4d919061575f565b612c5791906157a1565b90505b6001811115612cf7577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110612c9957612c98614e64565b5b1a60f81b828281518110612cb057612caf614e64565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080612cf0906157d5565b9050612c5a565b5060008414612d3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d329061584a565b60405180910390fd5b8091505092915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612e968361178c565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b612eed612ee7612e1b565b8261362b565b612f2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f23906158dc565b60405180910390fd5b612f37838383613709565b505050565b60008082905060005b848110156130ec57600073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1603612fbc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fb390615948565b60405180910390fd5b612fc582612daf565b15613005576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ffc906159b4565b60405180910390fd5b6130116000878461396f565b856002600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46130cb60008784613974565b81806130d690614efa565b92505080806130e490614efa565b915050612f45565b5083600360008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555083600660008282540192505081905550809150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036131c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131bb90615948565b60405180910390fd5b6131cd81612daf565b1561320d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613204906159b4565b60405180910390fd5b6132196000838361396f565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461326991906157a1565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600660008154809291906001019190505550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461333c60008383613974565b5050565b61335b83838360405180602001604052806000815250612361565b505050565b61336a828261362b565b6133a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133a0906158dc565b60405180910390fd5b6133b281613979565b5050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603613424576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161341b90615a20565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516135159190613f54565b60405180910390a3505050565b61353361352d612e1b565b8361362b565b613572576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613569906158dc565b60405180910390fd5b61357e84848484613aa8565b50505050565b606061358f82612daf565b6135ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135c590615ab2565b60405180910390fd5b60006135d8613b04565b905060008151116135f85760405180602001604052806000815250613623565b8061360284613b96565b604051602001613613929190615b0e565b6040516020818303038152906040525b915050919050565b600061363682612daf565b613675576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161366c90615ba4565b60405180910390fd5b60006136808361178c565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806136ef57508373ffffffffffffffffffffffffffffffffffffffff166136d784610845565b73ffffffffffffffffffffffffffffffffffffffff16145b8061370057506136ff8185612a62565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166137298261178c565b73ffffffffffffffffffffffffffffffffffffffff161461377f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161377690615c36565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036137ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137e590615cc8565b60405180910390fd5b6137f983838361396f565b613804600082612e23565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546138549190615ce8565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546138ab91906157a1565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461396a838383613974565b505050565b505050565b505050565b60006139848261178c565b90506139928160008461396f565b61399d600083612e23565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546139ed9190615ce8565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613a9281600084613974565b6007600081548092919060010191905055505050565b613ab3848484613709565b613abf84848484613cf6565b613afe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613af590615d8e565b60405180910390fd5b50505050565b606060088054613b1390614ad0565b80601f0160208091040260200160405190810160405280929190818152602001828054613b3f90614ad0565b8015613b8c5780601f10613b6157610100808354040283529160200191613b8c565b820191906000526020600020905b815481529060010190602001808311613b6f57829003601f168201915b5050505050905090565b606060008203613bdd576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613cf1565b600082905060005b60008214613c0f578080613bf890614efa565b915050600a82613c089190615ddd565b9150613be5565b60008167ffffffffffffffff811115613c2b57613c2a6141ce565b5b6040519080825280601f01601f191660200182016040528015613c5d5781602001600182028036833780820191505090505b5090505b60008514613cea57600182613c769190615ce8565b9150600a85613c859190615e0e565b6030613c9191906157a1565b60f81b818381518110613ca757613ca6614e64565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85613ce39190615ddd565b9450613c61565b8093505050505b919050565b6000613d178473ffffffffffffffffffffffffffffffffffffffff16613e7d565b15613e70578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613d40612e1b565b8786866040518563ffffffff1660e01b8152600401613d629493929190615e94565b6020604051808303816000875af1925050508015613d9e57506040513d601f19601f82011682018060405250810190613d9b9190615ef5565b60015b613e20573d8060008114613dce576040519150601f19603f3d011682016040523d82523d6000602084013e613dd3565b606091505b506000815103613e18576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613e0f90615d8e565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613e75565b600190505b949350505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613ee981613eb4565b8114613ef457600080fd5b50565b600081359050613f0681613ee0565b92915050565b600060208284031215613f2257613f21613eaa565b5b6000613f3084828501613ef7565b91505092915050565b60008115159050919050565b613f4e81613f39565b82525050565b6000602082019050613f696000830184613f45565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613fa9578082015181840152602081019050613f8e565b60008484015250505050565b6000601f19601f8301169050919050565b6000613fd182613f6f565b613fdb8185613f7a565b9350613feb818560208601613f8b565b613ff481613fb5565b840191505092915050565b600060208201905081810360008301526140198184613fc6565b905092915050565b6000819050919050565b61403481614021565b811461403f57600080fd5b50565b6000813590506140518161402b565b92915050565b60006020828403121561406d5761406c613eaa565b5b600061407b84828501614042565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006140af82614084565b9050919050565b6140bf816140a4565b82525050565b60006020820190506140da60008301846140b6565b92915050565b6140e9816140a4565b81146140f457600080fd5b50565b600081359050614106816140e0565b92915050565b6000806040838503121561412357614122613eaa565b5b6000614131858286016140f7565b925050602061414285828601614042565b9150509250929050565b61415581614021565b82525050565b6000602082019050614170600083018461414c565b92915050565b60008060006060848603121561418f5761418e613eaa565b5b600061419d868287016140f7565b93505060206141ae868287016140f7565b92505060406141bf86828701614042565b9150509250925092565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61420682613fb5565b810181811067ffffffffffffffff82111715614225576142246141ce565b5b80604052505050565b6000614238613ea0565b905061424482826141fd565b919050565b600067ffffffffffffffff821115614264576142636141ce565b5b602082029050602081019050919050565b600080fd5b600061428d61428884614249565b61422e565b905080838252602082019050602084028301858111156142b0576142af614275565b5b835b818110156142d957806142c588826140f7565b8452602084019350506020810190506142b2565b5050509392505050565b600082601f8301126142f8576142f76141c9565b5b813561430884826020860161427a565b91505092915050565b600067ffffffffffffffff82111561432c5761432b6141ce565b5b602082029050602081019050919050565b600061ffff82169050919050565b6143548161433d565b811461435f57600080fd5b50565b6000813590506143718161434b565b92915050565b600061438a61438584614311565b61422e565b905080838252602082019050602084028301858111156143ad576143ac614275565b5b835b818110156143d657806143c28882614362565b8452602084019350506020810190506143af565b5050509392505050565b600082601f8301126143f5576143f46141c9565b5b8135614405848260208601614377565b91505092915050565b60008060006060848603121561442757614426613eaa565b5b600084013567ffffffffffffffff81111561444557614444613eaf565b5b614451868287016142e3565b935050602084013567ffffffffffffffff81111561447257614471613eaf565b5b61447e868287016143e0565b925050604061448f86828701614042565b9150509250925092565b600080604083850312156144b0576144af613eaa565b5b60006144be85828601614042565b92505060206144cf85828601614042565b9150509250929050565b60006040820190506144ee60008301856140b6565b6144fb602083018461414c565b9392505050565b600060ff82169050919050565b61451881614502565b811461452357600080fd5b50565b6000813590506145358161450f565b92915050565b60008060006060848603121561455457614553613eaa565b5b6000614562868287016140f7565b935050602061457386828701614526565b925050604061458486828701614042565b9150509250925092565b600080fd5b600067ffffffffffffffff8211156145ae576145ad6141ce565b5b6145b782613fb5565b9050602081019050919050565b82818337600083830152505050565b60006145e66145e184614593565b61422e565b9050828152602081018484840111156146025761460161458e565b5b61460d8482856145c4565b509392505050565b600082601f83011261462a576146296141c9565b5b813561463a8482602086016145d3565b91505092915050565b60006020828403121561465957614658613eaa565b5b600082013567ffffffffffffffff81111561467757614676613eaf565b5b61468384828501614615565b91505092915050565b6000819050919050565b60006146b16146ac6146a784614084565b61468c565b614084565b9050919050565b60006146c382614696565b9050919050565b60006146d5826146b8565b9050919050565b6146e5816146ca565b82525050565b600060208201905061470060008301846146dc565b92915050565b60006020828403121561471c5761471b613eaa565b5b600061472a848285016140f7565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61476881614021565b82525050565b600061477a838361475f565b60208301905092915050565b6000602082019050919050565b600061479e82614733565b6147a8818561473e565b93506147b38361474f565b8060005b838110156147e45781516147cb888261476e565b97506147d683614786565b9250506001810190506147b7565b5085935050505092915050565b6000602082019050818103600083015261480b8184614793565b905092915050565b60008060006060848603121561482c5761482b613eaa565b5b600061483a868287016140f7565b935050602061484b86828701614042565b925050604061485c86828701614042565b9150509250925092565b61486f81613f39565b811461487a57600080fd5b50565b60008135905061488c81614866565b92915050565b600080604083850312156148a9576148a8613eaa565b5b60006148b7858286016140f7565b92505060206148c88582860161487d565b9150509250929050565b60006148dd826140a4565b9050919050565b6148ed816148d2565b81146148f857600080fd5b50565b60008135905061490a816148e4565b92915050565b60006020828403121561492657614925613eaa565b5b6000614934848285016148fb565b91505092915050565b600067ffffffffffffffff821115614958576149576141ce565b5b61496182613fb5565b9050602081019050919050565b600061498161497c8461493d565b61422e565b90508281526020810184848401111561499d5761499c61458e565b5b6149a88482856145c4565b509392505050565b600082601f8301126149c5576149c46141c9565b5b81356149d584826020860161496e565b91505092915050565b600080600080608085870312156149f8576149f7613eaa565b5b6000614a06878288016140f7565b9450506020614a17878288016140f7565b9350506040614a2887828801614042565b925050606085013567ffffffffffffffff811115614a4957614a48613eaf565b5b614a55878288016149b0565b91505092959194509250565b60008060408385031215614a7857614a77613eaa565b5b6000614a86858286016140f7565b9250506020614a97858286016140f7565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680614ae857607f821691505b602082108103614afb57614afa614aa1565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614b5d602c83613f7a565b9150614b6882614b01565b604082019050919050565b60006020820190508181036000830152614b8c81614b50565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000614bef602183613f7a565b9150614bfa82614b93565b604082019050919050565b60006020820190508181036000830152614c1e81614be2565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b6000614c81603883613f7a565b9150614c8c82614c25565b604082019050919050565b60006020820190508181036000830152614cb081614c74565b9050919050565b6000604082019050614ccc60008301856140b6565b614cd960208301846140b6565b9392505050565b600081519050614cef81614866565b92915050565b600060208284031215614d0b57614d0a613eaa565b5b6000614d1984828501614ce0565b91505092915050565b600067ffffffffffffffff821115614d3d57614d3c6141ce565b5b602082029050602081019050919050565b6000819050919050565b614d6181614d4e565b8114614d6c57600080fd5b50565b600081519050614d7e81614d58565b92915050565b6000614d97614d9284614d22565b61422e565b90508083825260208201905060208402830185811115614dba57614db9614275565b5b835b81811015614de35780614dcf8882614d6f565b845260208401935050602081019050614dbc565b5050509392505050565b600082601f830112614e0257614e016141c9565b5b8151614e12848260208601614d84565b91505092915050565b600060208284031215614e3157614e30613eaa565b5b600082015167ffffffffffffffff811115614e4f57614e4e613eaf565b5b614e5b84828501614ded565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b614e9c81614d4e565b82525050565b6000604082019050614eb76000830185614e93565b614ec460208301846140b6565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614f0582614021565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203614f3757614f36614ecb565b5b600182019050919050565b7f4d697373696e6720726571756972656420726f6c650000000000000000000000600082015250565b6000614f78601583613f7a565b9150614f8382614f42565b602082019050919050565b60006020820190508181036000830152614fa781614f6b565b9050919050565b7f4d696e74696e67207065726d616e656e746c79206c6f636b6564000000000000600082015250565b6000614fe4601a83613f7a565b9150614fef82614fae565b602082019050919050565b6000602082019050818103600083015261501381614fd7565b9050919050565b7f4d696e74206973206e6f74206163746976650000000000000000000000000000600082015250565b6000615050601283613f7a565b915061505b8261501a565b602082019050919050565b6000602082019050818103600083015261507f81615043565b9050919050565b7f4164647265737320616e64207175616e746974696573206e65656420746f206260008201527f6520657175616c206c656e677468000000000000000000000000000000000000602082015250565b60006150e2602e83613f7a565b91506150ed82615086565b604082019050919050565b60006020820190508181036000830152615111816150d5565b9050919050565b600060608201905061512d600083018661414c565b61513a60208301856140b6565b615147604083018461414c565b949350505050565b60008151905061515e816140e0565b92915050565b6000815190506151738161402b565b92915050565b600080604083850312156151905761518f613eaa565b5b600061519e8582860161514f565b92505060206151af85828601615164565b9150509250929050565b6000602082840312156151cf576151ce613eaa565b5b60006151dd84828501614d6f565b91505092915050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026152487fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8261520b565b615252868361520b565b95508019841693508086168417925050509392505050565b600061528561528061527b84614021565b61468c565b614021565b9050919050565b6000819050919050565b61529f8361526a565b6152b36152ab8261528c565b848454615218565b825550505050565b600090565b6152c86152bb565b6152d3818484615296565b505050565b5b818110156152f7576152ec6000826152c0565b6001810190506152d9565b5050565b601f82111561533c5761530d816151e6565b615316846151fb565b81016020851015615325578190505b615339615331856151fb565b8301826152d8565b50505b505050565b600082821c905092915050565b600061535f60001984600802615341565b1980831691505092915050565b6000615378838361534e565b9150826002028217905092915050565b61539182613f6f565b67ffffffffffffffff8111156153aa576153a96141ce565b5b6153b48254614ad0565b6153bf8282856152fb565b600060209050601f8311600181146153f257600084156153e0578287015190505b6153ea858261536c565b865550615452565b601f198416615400866151e6565b60005b8281101561542857848901518255600182019150602085019450602081019050615403565b868310156154455784890151615441601f89168261534e565b8355505b6001600288020188555050505b505050505050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b60006154b6602983613f7a565b91506154c18261545a565b604082019050919050565b600060208201905081810360008301526154e5816154a9565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000615548602a83613f7a565b9150615553826154ec565b604082019050919050565b600060208201905081810360008301526155778161553b565b9050919050565b7f4275726e206973206e6f74206163746976650000000000000000000000000000600082015250565b60006155b4601283613f7a565b91506155bf8261557e565b602082019050919050565b600060208201905081810360008301526155e3816155a7565b9050919050565b6155f381613eb4565b82525050565b600060208201905061560e60008301846155ea565b92915050565b7f436f6e747261637420646f6573206e6f7420737570706f72742072657175697260008201527f656420696e746572666163650000000000000000000000000000000000000000602082015250565b6000615670602c83613f7a565b915061567b82615614565b604082019050919050565b6000602082019050818103600083015261569f81615663565b9050919050565b60006156b96156b484614593565b61422e565b9050828152602081018484840111156156d5576156d461458e565b5b6156e0848285613f8b565b509392505050565b600082601f8301126156fd576156fc6141c9565b5b815161570d8482602086016156a6565b91505092915050565b60006020828403121561572c5761572b613eaa565b5b600082015167ffffffffffffffff81111561574a57615749613eaf565b5b615756848285016156e8565b91505092915050565b600061576a82614021565b915061577583614021565b925082820261578381614021565b9150828204841483151761579a57615799614ecb565b5b5092915050565b60006157ac82614021565b91506157b783614021565b92508282019050808211156157cf576157ce614ecb565b5b92915050565b60006157e082614021565b9150600082036157f3576157f2614ecb565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b6000615834602083613f7a565b915061583f826157fe565b602082019050919050565b6000602082019050818103600083015261586381615827565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b60006158c6603183613f7a565b91506158d18261586a565b604082019050919050565b600060208201905081810360008301526158f5816158b9565b9050919050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000615932602083613f7a565b915061593d826158fc565b602082019050919050565b6000602082019050818103600083015261596181615925565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b600061599e601c83613f7a565b91506159a982615968565b602082019050919050565b600060208201905081810360008301526159cd81615991565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000615a0a601983613f7a565b9150615a15826159d4565b602082019050919050565b60006020820190508181036000830152615a39816159fd565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000615a9c602f83613f7a565b9150615aa782615a40565b604082019050919050565b60006020820190508181036000830152615acb81615a8f565b9050919050565b600081905092915050565b6000615ae882613f6f565b615af28185615ad2565b9350615b02818560208601613f8b565b80840191505092915050565b6000615b1a8285615add565b9150615b268284615add565b91508190509392505050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000615b8e602c83613f7a565b9150615b9982615b32565b604082019050919050565b60006020820190508181036000830152615bbd81615b81565b9050919050565b7f45524337323156463a207472616e736665722066726f6d20696e636f7272656360008201527f74206f776e657200000000000000000000000000000000000000000000000000602082015250565b6000615c20602783613f7a565b9150615c2b82615bc4565b604082019050919050565b60006020820190508181036000830152615c4f81615c13565b9050919050565b7f45524337323156463a207472616e7366657220746f20746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000615cb2602683613f7a565b9150615cbd82615c56565b604082019050919050565b60006020820190508181036000830152615ce181615ca5565b9050919050565b6000615cf382614021565b9150615cfe83614021565b9250828203905081811115615d1657615d15614ecb565b5b92915050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000615d78603283613f7a565b9150615d8382615d1c565b604082019050919050565b60006020820190508181036000830152615da781615d6b565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000615de882614021565b9150615df383614021565b925082615e0357615e02615dae565b5b828204905092915050565b6000615e1982614021565b9150615e2483614021565b925082615e3457615e33615dae565b5b828206905092915050565b600081519050919050565b600082825260208201905092915050565b6000615e6682615e3f565b615e708185615e4a565b9350615e80818560208601613f8b565b615e8981613fb5565b840191505092915050565b6000608082019050615ea960008301876140b6565b615eb660208301866140b6565b615ec3604083018561414c565b8181036060830152615ed58184615e5b565b905095945050505050565b600081519050615eef81613ee0565b92915050565b600060208284031215615f0b57615f0a613eaa565b5b6000615f1984828501615ee0565b9150509291505056fea2646970667358221220871ffbfa38aecca4129e77e21eb929ebd095c465e5d983ff06fadccd1e8ed66464736f6c63430008110033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000120000000000000000000000000cdf831868185c4e92433b2f66a88123523011ecf000000000000000000000000000000000000000000000000000000000000002f68747470733a2f2f6d657461646174612e766565667269656e64732e636f6d2f76322f636f6c6c656374696f6e732f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000015562061742053434f50452042656163682032303232000000000000000000000000000000000000000000000000000000000000000000000000000000000000045654495800000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106102115760003560e01c80638462151c11610125578063b7f1d072116100ad578063ca35e8a01161007c578063ca35e8a0146105d7578063d02c2bf2146105f3578063d89135cd146105fd578063e985e9c51461061b578063f5e92b951461064b57610211565b8063b7f1d07214610565578063b88d4fde14610581578063bb7648b61461059d578063c87b56dd146105a757610211565b8063a22cb465116100f4578063a22cb465146104e7578063a2309ff814610503578063ac44600214610521578063b166da421461052b578063b1a6676e1461054757610211565b80638462151c1461044d57806395d89b411461047d57806399a2557a1461049b5780639dc29fac146104cb57610211565b806340c10f19116101a85780635b92ac0d116101775780635b92ac0d146103a75780635bc0997c146103c55780635f183cd7146103cf5780636352211e146103ed57806370a082311461041d57610211565b806340c10f191461033757806342842e0e1461035357806349324be11461036f57806355f804b31461038b57610211565b806318160ddd116101e457806318160ddd146102b057806323b872dd146102ce57806324e8b6fc146102ea5780632a55205a1461030657610211565b806301ffc9a71461021657806306fdde0314610246578063081812fc14610264578063095ea7b314610294575b600080fd5b610230600480360381019061022b9190613f0c565b610669565b60405161023d9190613f54565b60405180910390f35b61024e6107b3565b60405161025b9190613fff565b60405180910390f35b61027e60048036038101906102799190614057565b610845565b60405161028b91906140c5565b60405180910390f35b6102ae60048036038101906102a9919061410c565b6108ca565b005b6102b86109e1565b6040516102c5919061415b565b60405180910390f35b6102e860048036038101906102e39190614176565b6109ef565b005b61030460048036038101906102ff919061440e565b610afb565b005b610320600480360381019061031b9190614499565b610e15565b60405161032e9291906144d9565b60405180910390f35b610351600480360381019061034c919061410c565b610ec2565b005b61036d60048036038101906103689190614176565b61113c565b005b6103896004803603810190610384919061453b565b611248565b005b6103a560048036038101906103a09190614643565b6114c8565b005b6103af611601565b6040516103bc9190613f54565b60405180910390f35b6103cd611614565b005b6103d7611766565b6040516103e491906146eb565b60405180910390f35b61040760048036038101906104029190614057565b61178c565b60405161041491906140c5565b60405180910390f35b61043760048036038101906104329190614706565b61183d565b604051610444919061415b565b60405180910390f35b61046760048036038101906104629190614706565b6118f4565b60405161047491906147f1565b60405180910390f35b610485611a6e565b6040516104929190613fff565b60405180910390f35b6104b560048036038101906104b09190614813565b611b00565b6040516104c291906147f1565b60405180910390f35b6104e560048036038101906104e0919061410c565b611c82565b005b61050160048036038101906104fc9190614892565b611e05565b005b61050b611e1b565b604051610518919061415b565b60405180910390f35b610529611e25565b005b61054560048036038101906105409190614706565b611fa1565b005b61054f6121e4565b60405161055c9190613f54565b60405180910390f35b61057f600480360381019061057a9190614910565b6121f7565b005b61059b600480360381019061059691906149de565b612361565b005b6105a561246f565b005b6105c160048036038101906105bc9190614057565b6125b2565b6040516105ce9190613fff565b60405180910390f35b6105f160048036038101906105ec9190614706565b6126c3565b005b6105fb612906565b005b610605612a58565b604051610612919061415b565b60405180910390f35b61063560048036038101906106309190614a61565b612a62565b6040516106429190613f54565b60405180910390f35b610653612af6565b6040516106609190613f54565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061073457507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061079c57507f7f77e78e000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806107ac57506107ab82612d45565b5b9050919050565b6060600080546107c290614ad0565b80601f01602080910402602001604051908101604052809291908181526020018280546107ee90614ad0565b801561083b5780601f106108105761010080835404028352916020019161083b565b820191906000526020600020905b81548152906001019060200180831161081e57829003601f168201915b5050505050905090565b600061085082612daf565b61088f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161088690614b73565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006108d58261178c565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610945576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161093c90614c05565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610964612e1b565b73ffffffffffffffffffffffffffffffffffffffff16148061099357506109928161098d612e1b565b612a62565b5b6109d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109c990614c97565b60405180910390fd5b6109dc8383612e23565b505050565b600060075460065403905090565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115610aeb576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b8152600401610a66929190614cb7565b6020604051808303816000875af1158015610a85573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aa99190614cf5565b610aea57336040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401610ae191906140c5565b60405180910390fd5b5b610af6838383612edc565b505050565b600960039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663dd5adf0c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015610b68573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190610b919190614e1b565b6000805b8251811015610c85576000838281518110610bb357610bb2614e64565b5b60200260200101519050600960039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166391d1485482610c04612e1b565b6040518363ffffffff1660e01b8152600401610c21929190614ea2565b602060405180830381865afa158015610c3e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c629190614cf5565b15610c71576001925050610c85565b508080610c7d90614efa565b915050610b95565b5080610cc6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cbd90614f8e565b60405180910390fd5b600960009054906101000a900460ff1615610d16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d0d90614ffa565b60405180910390fd5b600960019054906101000a900460ff16610d65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5c90615066565b60405180910390fd5b8351855114610da9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da0906150f8565b60405180910390fd5b60005b8551811015610e0d57610df8868281518110610dcb57610dca614e64565b5b6020026020010151868381518110610de657610de5614e64565b5b602002602001015161ffff1686612f3c565b93508080610e0590614efa565b915050610dac565b505050505050565b600080600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b8ca29d58530866040518463ffffffff1660e01b8152600401610e7793929190615118565b6040805180830381865afa158015610e93573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eb79190615179565b915091509250929050565b600960039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663dd5adf0c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015610f2f573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190610f589190614e1b565b6000805b825181101561104c576000838281518110610f7a57610f79614e64565b5b60200260200101519050600960039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166391d1485482610fcb612e1b565b6040518363ffffffff1660e01b8152600401610fe8929190614ea2565b602060405180830381865afa158015611005573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110299190614cf5565b1561103857600192505061104c565b50808061104490614efa565b915050610f5c565b508061108d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108490614f8e565b60405180910390fd5b600960009054906101000a900460ff16156110dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d490614ffa565b60405180910390fd5b600960019054906101000a900460ff1661112c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112390615066565b60405180910390fd5b6111368484613155565b50505050565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115611238576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b81526004016111b3929190614cb7565b6020604051808303816000875af11580156111d2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111f69190614cf5565b61123757336040517fede71dcc00000000000000000000000000000000000000000000000000000000815260040161122e91906140c5565b60405180910390fd5b5b611243838383613340565b505050565b600960039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663dd5adf0c6040518163ffffffff1660e01b8152600401600060405180830381865afa1580156112b5573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906112de9190614e1b565b6000805b82518110156113d2576000838281518110611300576112ff614e64565b5b60200260200101519050600960039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166391d1485482611351612e1b565b6040518363ffffffff1660e01b815260040161136e929190614ea2565b602060405180830381865afa15801561138b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113af9190614cf5565b156113be5760019250506113d2565b5080806113ca90614efa565b9150506112e2565b5080611413576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140a90614f8e565b60405180910390fd5b600960009054906101000a900460ff1615611463576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161145a90614ffa565b60405180910390fd5b600960019054906101000a900460ff166114b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114a990615066565b60405180910390fd5b6114c0858560ff1685612f3c565b505050505050565b600960039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b3ecf2366040518163ffffffff1660e01b8152600401602060405180830381865afa158015611535573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061155991906151b9565b600960039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166312d9a6ad826115a0612e1b565b6040518363ffffffff1660e01b81526004016115bd929190614ea2565b60006040518083038186803b1580156115d557600080fd5b505afa1580156115e9573d6000803e3d6000fd5b5050505081600890816115fc9190615388565b505050565b600960019054906101000a900460ff1681565b600960039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b3ecf2366040518163ffffffff1660e01b8152600401602060405180830381865afa158015611681573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116a591906151b9565b600960039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166312d9a6ad826116ec612e1b565b6040518363ffffffff1660e01b8152600401611709929190614ea2565b60006040518083038186803b15801561172157600080fd5b505afa158015611735573d6000803e3d6000fd5b50505050600960029054906101000a900460ff1615600960026101000a81548160ff02191690831515021790555050565b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611834576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161182b906154cc565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036118ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118a49061555e565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60606000806119028461183d565b90506000810361195f57600067ffffffffffffffff811115611927576119266141ce565b5b6040519080825280602002602001820160405280156119555781602001602082028036833780820191505090505b5092505050611a69565b60008167ffffffffffffffff81111561197b5761197a6141ce565b5b6040519080825280602002602001820160405280156119a95781602001602082028036833780820191505090505b5090506000805b838214611a60576002600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1694508673ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603611a4d5780838380611a2d90614efa565b945081518110611a4057611a3f614e64565b5b6020026020010181815250505b8080611a5890614efa565b9150506119b0565b82955050505050505b919050565b606060018054611a7d90614ad0565b80601f0160208091040260200160405190810160405280929190818152602001828054611aa990614ad0565b8015611af65780601f10611acb57610100808354040283529160200191611af6565b820191906000526020600020905b815481529060010190602001808311611ad957829003601f168201915b5050505050905090565b6060600080611b0e8661183d565b905060008103611b6b57600067ffffffffffffffff811115611b3357611b326141ce565b5b604051908082528060200260200182016040528015611b615781602001602082028036833780820191505090505b5092505050611c7b565b60008167ffffffffffffffff811115611b8757611b866141ce565b5b604051908082528060200260200182016040528015611bb55781602001602082028036833780820191505090505b5090506000808790505b868111611c6f576002600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1694508873ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603611c5c5780838380611c3c90614efa565b945081518110611c4f57611c4e614e64565b5b6020026020010181815250505b8080611c6790614efa565b915050611bbf565b81835282955050505050505b9392505050565b600960039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c5b66dc96040518163ffffffff1660e01b8152600401602060405180830381865afa158015611cef573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d1391906151b9565b600960039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166312d9a6ad82611d5a612e1b565b6040518363ffffffff1660e01b8152600401611d77929190614ea2565b60006040518083038186803b158015611d8f57600080fd5b505afa158015611da3573d6000803e3d6000fd5b50505050600960029054906101000a900460ff16611df6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ded906155ca565b60405180910390fd5b611e008383613360565b505050565b611e17611e10612e1b565b83836133b6565b5050565b6000600654905090565b600960039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b3ecf2366040518163ffffffff1660e01b8152600401602060405180830381865afa158015611e92573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611eb691906151b9565b600960039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166312d9a6ad82611efd612e1b565b6040518363ffffffff1660e01b8152600401611f1a929190614ea2565b60006040518083038186803b158015611f3257600080fd5b505afa158015611f46573d6000803e3d6000fd5b505050506000611f54612e1b565b90508073ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015611f9c573d6000803e3d6000fd5b505050565b600960039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b3ecf2366040518163ffffffff1660e01b8152600401602060405180830381865afa15801561200e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061203291906151b9565b600960039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166312d9a6ad82612079612e1b565b6040518363ffffffff1660e01b8152600401612096929190614ea2565b60006040518083038186803b1580156120ae57600080fd5b505afa1580156120c2573d6000803e3d6000fd5b505050508173ffffffffffffffffffffffffffffffffffffffff166301ffc9a77f84648494000000000000000000000000000000000000000000000000000000006040518263ffffffff1660e01b815260040161211f91906155f9565b602060405180830381865afa15801561213c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121609190614cf5565b61219f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161219690615686565b60405180910390fd5b81600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b600960029054906101000a900460ff1681565b600960039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b3ecf2366040518163ffffffff1660e01b8152600401602060405180830381865afa158015612264573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061228891906151b9565b600960039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166312d9a6ad826122cf612e1b565b6040518363ffffffff1660e01b81526004016122ec929190614ea2565b60006040518083038186803b15801561230457600080fd5b505afa158015612318573d6000803e3d6000fd5b5050505081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b111561245d576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430336040518363ffffffff1660e01b81526004016123d8929190614cb7565b6020604051808303816000875af11580156123f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061241b9190614cf5565b61245c57336040517fede71dcc00000000000000000000000000000000000000000000000000000000815260040161245391906140c5565b60405180910390fd5b5b61246984848484613522565b50505050565b600960039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b3ecf2366040518163ffffffff1660e01b8152600401602060405180830381865afa1580156124dc573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061250091906151b9565b600960039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166312d9a6ad82612547612e1b565b6040518363ffffffff1660e01b8152600401612564929190614ea2565b60006040518083038186803b15801561257c57600080fd5b505afa158015612590573d6000803e3d6000fd5b505050506001600960006101000a81548160ff02191690831515021790555050565b6060600073ffffffffffffffffffffffffffffffffffffffff16600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146126b257600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c87b56dd836040518263ffffffff1660e01b8152600401612665919061415b565b600060405180830381865afa158015612682573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906126ab9190615716565b90506126be565b6126bb82613584565b90505b919050565b600960039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b3ecf2366040518163ffffffff1660e01b8152600401602060405180830381865afa158015612730573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061275491906151b9565b600960039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166312d9a6ad8261279b612e1b565b6040518363ffffffff1660e01b81526004016127b8929190614ea2565b60006040518083038186803b1580156127d057600080fd5b505afa1580156127e4573d6000803e3d6000fd5b505050508173ffffffffffffffffffffffffffffffffffffffff166301ffc9a77f0b7162d4000000000000000000000000000000000000000000000000000000006040518263ffffffff1660e01b815260040161284191906155f9565b602060405180830381865afa15801561285e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128829190614cf5565b6128c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128b890615686565b60405180910390fd5b81600960036101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b600960039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b3ecf2366040518163ffffffff1660e01b8152600401602060405180830381865afa158015612973573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061299791906151b9565b600960039054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166312d9a6ad826129de612e1b565b6040518363ffffffff1660e01b81526004016129fb929190614ea2565b60006040518083038186803b158015612a1357600080fd5b505afa158015612a27573d6000803e3d6000fd5b50505050600960019054906101000a900460ff1615600960016101000a81548160ff02191690831515021790555050565b6000600754905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600960009054906101000a900460ff1681565b606060006002836002612b1c919061575f565b612b2691906157a1565b67ffffffffffffffff811115612b3f57612b3e6141ce565b5b6040519080825280601f01601f191660200182016040528015612b715781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110612ba957612ba8614e64565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110612c0d57612c0c614e64565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060006001846002612c4d919061575f565b612c5791906157a1565b90505b6001811115612cf7577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110612c9957612c98614e64565b5b1a60f81b828281518110612cb057612caf614e64565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080612cf0906157d5565b9050612c5a565b5060008414612d3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d329061584a565b60405180910390fd5b8091505092915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612e968361178c565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b612eed612ee7612e1b565b8261362b565b612f2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f23906158dc565b60405180910390fd5b612f37838383613709565b505050565b60008082905060005b848110156130ec57600073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1603612fbc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fb390615948565b60405180910390fd5b612fc582612daf565b15613005576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ffc906159b4565b60405180910390fd5b6130116000878461396f565b856002600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46130cb60008784613974565b81806130d690614efa565b92505080806130e490614efa565b915050612f45565b5083600360008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555083600660008282540192505081905550809150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036131c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131bb90615948565b60405180910390fd5b6131cd81612daf565b1561320d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613204906159b4565b60405180910390fd5b6132196000838361396f565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461326991906157a1565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600660008154809291906001019190505550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461333c60008383613974565b5050565b61335b83838360405180602001604052806000815250612361565b505050565b61336a828261362b565b6133a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133a0906158dc565b60405180910390fd5b6133b281613979565b5050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603613424576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161341b90615a20565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516135159190613f54565b60405180910390a3505050565b61353361352d612e1b565b8361362b565b613572576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613569906158dc565b60405180910390fd5b61357e84848484613aa8565b50505050565b606061358f82612daf565b6135ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135c590615ab2565b60405180910390fd5b60006135d8613b04565b905060008151116135f85760405180602001604052806000815250613623565b8061360284613b96565b604051602001613613929190615b0e565b6040516020818303038152906040525b915050919050565b600061363682612daf565b613675576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161366c90615ba4565b60405180910390fd5b60006136808361178c565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806136ef57508373ffffffffffffffffffffffffffffffffffffffff166136d784610845565b73ffffffffffffffffffffffffffffffffffffffff16145b8061370057506136ff8185612a62565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166137298261178c565b73ffffffffffffffffffffffffffffffffffffffff161461377f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161377690615c36565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036137ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137e590615cc8565b60405180910390fd5b6137f983838361396f565b613804600082612e23565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546138549190615ce8565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546138ab91906157a1565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461396a838383613974565b505050565b505050565b505050565b60006139848261178c565b90506139928160008461396f565b61399d600083612e23565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546139ed9190615ce8565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613a9281600084613974565b6007600081548092919060010191905055505050565b613ab3848484613709565b613abf84848484613cf6565b613afe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613af590615d8e565b60405180910390fd5b50505050565b606060088054613b1390614ad0565b80601f0160208091040260200160405190810160405280929190818152602001828054613b3f90614ad0565b8015613b8c5780601f10613b6157610100808354040283529160200191613b8c565b820191906000526020600020905b815481529060010190602001808311613b6f57829003601f168201915b5050505050905090565b606060008203613bdd576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613cf1565b600082905060005b60008214613c0f578080613bf890614efa565b915050600a82613c089190615ddd565b9150613be5565b60008167ffffffffffffffff811115613c2b57613c2a6141ce565b5b6040519080825280601f01601f191660200182016040528015613c5d5781602001600182028036833780820191505090505b5090505b60008514613cea57600182613c769190615ce8565b9150600a85613c859190615e0e565b6030613c9191906157a1565b60f81b818381518110613ca757613ca6614e64565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85613ce39190615ddd565b9450613c61565b8093505050505b919050565b6000613d178473ffffffffffffffffffffffffffffffffffffffff16613e7d565b15613e70578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613d40612e1b565b8786866040518563ffffffff1660e01b8152600401613d629493929190615e94565b6020604051808303816000875af1925050508015613d9e57506040513d601f19601f82011682018060405250810190613d9b9190615ef5565b60015b613e20573d8060008114613dce576040519150601f19603f3d011682016040523d82523d6000602084013e613dd3565b606091505b506000815103613e18576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613e0f90615d8e565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613e75565b600190505b949350505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613ee981613eb4565b8114613ef457600080fd5b50565b600081359050613f0681613ee0565b92915050565b600060208284031215613f2257613f21613eaa565b5b6000613f3084828501613ef7565b91505092915050565b60008115159050919050565b613f4e81613f39565b82525050565b6000602082019050613f696000830184613f45565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613fa9578082015181840152602081019050613f8e565b60008484015250505050565b6000601f19601f8301169050919050565b6000613fd182613f6f565b613fdb8185613f7a565b9350613feb818560208601613f8b565b613ff481613fb5565b840191505092915050565b600060208201905081810360008301526140198184613fc6565b905092915050565b6000819050919050565b61403481614021565b811461403f57600080fd5b50565b6000813590506140518161402b565b92915050565b60006020828403121561406d5761406c613eaa565b5b600061407b84828501614042565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006140af82614084565b9050919050565b6140bf816140a4565b82525050565b60006020820190506140da60008301846140b6565b92915050565b6140e9816140a4565b81146140f457600080fd5b50565b600081359050614106816140e0565b92915050565b6000806040838503121561412357614122613eaa565b5b6000614131858286016140f7565b925050602061414285828601614042565b9150509250929050565b61415581614021565b82525050565b6000602082019050614170600083018461414c565b92915050565b60008060006060848603121561418f5761418e613eaa565b5b600061419d868287016140f7565b93505060206141ae868287016140f7565b92505060406141bf86828701614042565b9150509250925092565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61420682613fb5565b810181811067ffffffffffffffff82111715614225576142246141ce565b5b80604052505050565b6000614238613ea0565b905061424482826141fd565b919050565b600067ffffffffffffffff821115614264576142636141ce565b5b602082029050602081019050919050565b600080fd5b600061428d61428884614249565b61422e565b905080838252602082019050602084028301858111156142b0576142af614275565b5b835b818110156142d957806142c588826140f7565b8452602084019350506020810190506142b2565b5050509392505050565b600082601f8301126142f8576142f76141c9565b5b813561430884826020860161427a565b91505092915050565b600067ffffffffffffffff82111561432c5761432b6141ce565b5b602082029050602081019050919050565b600061ffff82169050919050565b6143548161433d565b811461435f57600080fd5b50565b6000813590506143718161434b565b92915050565b600061438a61438584614311565b61422e565b905080838252602082019050602084028301858111156143ad576143ac614275565b5b835b818110156143d657806143c28882614362565b8452602084019350506020810190506143af565b5050509392505050565b600082601f8301126143f5576143f46141c9565b5b8135614405848260208601614377565b91505092915050565b60008060006060848603121561442757614426613eaa565b5b600084013567ffffffffffffffff81111561444557614444613eaf565b5b614451868287016142e3565b935050602084013567ffffffffffffffff81111561447257614471613eaf565b5b61447e868287016143e0565b925050604061448f86828701614042565b9150509250925092565b600080604083850312156144b0576144af613eaa565b5b60006144be85828601614042565b92505060206144cf85828601614042565b9150509250929050565b60006040820190506144ee60008301856140b6565b6144fb602083018461414c565b9392505050565b600060ff82169050919050565b61451881614502565b811461452357600080fd5b50565b6000813590506145358161450f565b92915050565b60008060006060848603121561455457614553613eaa565b5b6000614562868287016140f7565b935050602061457386828701614526565b925050604061458486828701614042565b9150509250925092565b600080fd5b600067ffffffffffffffff8211156145ae576145ad6141ce565b5b6145b782613fb5565b9050602081019050919050565b82818337600083830152505050565b60006145e66145e184614593565b61422e565b9050828152602081018484840111156146025761460161458e565b5b61460d8482856145c4565b509392505050565b600082601f83011261462a576146296141c9565b5b813561463a8482602086016145d3565b91505092915050565b60006020828403121561465957614658613eaa565b5b600082013567ffffffffffffffff81111561467757614676613eaf565b5b61468384828501614615565b91505092915050565b6000819050919050565b60006146b16146ac6146a784614084565b61468c565b614084565b9050919050565b60006146c382614696565b9050919050565b60006146d5826146b8565b9050919050565b6146e5816146ca565b82525050565b600060208201905061470060008301846146dc565b92915050565b60006020828403121561471c5761471b613eaa565b5b600061472a848285016140f7565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61476881614021565b82525050565b600061477a838361475f565b60208301905092915050565b6000602082019050919050565b600061479e82614733565b6147a8818561473e565b93506147b38361474f565b8060005b838110156147e45781516147cb888261476e565b97506147d683614786565b9250506001810190506147b7565b5085935050505092915050565b6000602082019050818103600083015261480b8184614793565b905092915050565b60008060006060848603121561482c5761482b613eaa565b5b600061483a868287016140f7565b935050602061484b86828701614042565b925050604061485c86828701614042565b9150509250925092565b61486f81613f39565b811461487a57600080fd5b50565b60008135905061488c81614866565b92915050565b600080604083850312156148a9576148a8613eaa565b5b60006148b7858286016140f7565b92505060206148c88582860161487d565b9150509250929050565b60006148dd826140a4565b9050919050565b6148ed816148d2565b81146148f857600080fd5b50565b60008135905061490a816148e4565b92915050565b60006020828403121561492657614925613eaa565b5b6000614934848285016148fb565b91505092915050565b600067ffffffffffffffff821115614958576149576141ce565b5b61496182613fb5565b9050602081019050919050565b600061498161497c8461493d565b61422e565b90508281526020810184848401111561499d5761499c61458e565b5b6149a88482856145c4565b509392505050565b600082601f8301126149c5576149c46141c9565b5b81356149d584826020860161496e565b91505092915050565b600080600080608085870312156149f8576149f7613eaa565b5b6000614a06878288016140f7565b9450506020614a17878288016140f7565b9350506040614a2887828801614042565b925050606085013567ffffffffffffffff811115614a4957614a48613eaf565b5b614a55878288016149b0565b91505092959194509250565b60008060408385031215614a7857614a77613eaa565b5b6000614a86858286016140f7565b9250506020614a97858286016140f7565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680614ae857607f821691505b602082108103614afb57614afa614aa1565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614b5d602c83613f7a565b9150614b6882614b01565b604082019050919050565b60006020820190508181036000830152614b8c81614b50565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000614bef602183613f7a565b9150614bfa82614b93565b604082019050919050565b60006020820190508181036000830152614c1e81614be2565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b6000614c81603883613f7a565b9150614c8c82614c25565b604082019050919050565b60006020820190508181036000830152614cb081614c74565b9050919050565b6000604082019050614ccc60008301856140b6565b614cd960208301846140b6565b9392505050565b600081519050614cef81614866565b92915050565b600060208284031215614d0b57614d0a613eaa565b5b6000614d1984828501614ce0565b91505092915050565b600067ffffffffffffffff821115614d3d57614d3c6141ce565b5b602082029050602081019050919050565b6000819050919050565b614d6181614d4e565b8114614d6c57600080fd5b50565b600081519050614d7e81614d58565b92915050565b6000614d97614d9284614d22565b61422e565b90508083825260208201905060208402830185811115614dba57614db9614275565b5b835b81811015614de35780614dcf8882614d6f565b845260208401935050602081019050614dbc565b5050509392505050565b600082601f830112614e0257614e016141c9565b5b8151614e12848260208601614d84565b91505092915050565b600060208284031215614e3157614e30613eaa565b5b600082015167ffffffffffffffff811115614e4f57614e4e613eaf565b5b614e5b84828501614ded565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b614e9c81614d4e565b82525050565b6000604082019050614eb76000830185614e93565b614ec460208301846140b6565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614f0582614021565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203614f3757614f36614ecb565b5b600182019050919050565b7f4d697373696e6720726571756972656420726f6c650000000000000000000000600082015250565b6000614f78601583613f7a565b9150614f8382614f42565b602082019050919050565b60006020820190508181036000830152614fa781614f6b565b9050919050565b7f4d696e74696e67207065726d616e656e746c79206c6f636b6564000000000000600082015250565b6000614fe4601a83613f7a565b9150614fef82614fae565b602082019050919050565b6000602082019050818103600083015261501381614fd7565b9050919050565b7f4d696e74206973206e6f74206163746976650000000000000000000000000000600082015250565b6000615050601283613f7a565b915061505b8261501a565b602082019050919050565b6000602082019050818103600083015261507f81615043565b9050919050565b7f4164647265737320616e64207175616e746974696573206e65656420746f206260008201527f6520657175616c206c656e677468000000000000000000000000000000000000602082015250565b60006150e2602e83613f7a565b91506150ed82615086565b604082019050919050565b60006020820190508181036000830152615111816150d5565b9050919050565b600060608201905061512d600083018661414c565b61513a60208301856140b6565b615147604083018461414c565b949350505050565b60008151905061515e816140e0565b92915050565b6000815190506151738161402b565b92915050565b600080604083850312156151905761518f613eaa565b5b600061519e8582860161514f565b92505060206151af85828601615164565b9150509250929050565b6000602082840312156151cf576151ce613eaa565b5b60006151dd84828501614d6f565b91505092915050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026152487fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8261520b565b615252868361520b565b95508019841693508086168417925050509392505050565b600061528561528061527b84614021565b61468c565b614021565b9050919050565b6000819050919050565b61529f8361526a565b6152b36152ab8261528c565b848454615218565b825550505050565b600090565b6152c86152bb565b6152d3818484615296565b505050565b5b818110156152f7576152ec6000826152c0565b6001810190506152d9565b5050565b601f82111561533c5761530d816151e6565b615316846151fb565b81016020851015615325578190505b615339615331856151fb565b8301826152d8565b50505b505050565b600082821c905092915050565b600061535f60001984600802615341565b1980831691505092915050565b6000615378838361534e565b9150826002028217905092915050565b61539182613f6f565b67ffffffffffffffff8111156153aa576153a96141ce565b5b6153b48254614ad0565b6153bf8282856152fb565b600060209050601f8311600181146153f257600084156153e0578287015190505b6153ea858261536c565b865550615452565b601f198416615400866151e6565b60005b8281101561542857848901518255600182019150602085019450602081019050615403565b868310156154455784890151615441601f89168261534e565b8355505b6001600288020188555050505b505050505050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b60006154b6602983613f7a565b91506154c18261545a565b604082019050919050565b600060208201905081810360008301526154e5816154a9565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000615548602a83613f7a565b9150615553826154ec565b604082019050919050565b600060208201905081810360008301526155778161553b565b9050919050565b7f4275726e206973206e6f74206163746976650000000000000000000000000000600082015250565b60006155b4601283613f7a565b91506155bf8261557e565b602082019050919050565b600060208201905081810360008301526155e3816155a7565b9050919050565b6155f381613eb4565b82525050565b600060208201905061560e60008301846155ea565b92915050565b7f436f6e747261637420646f6573206e6f7420737570706f72742072657175697260008201527f656420696e746572666163650000000000000000000000000000000000000000602082015250565b6000615670602c83613f7a565b915061567b82615614565b604082019050919050565b6000602082019050818103600083015261569f81615663565b9050919050565b60006156b96156b484614593565b61422e565b9050828152602081018484840111156156d5576156d461458e565b5b6156e0848285613f8b565b509392505050565b600082601f8301126156fd576156fc6141c9565b5b815161570d8482602086016156a6565b91505092915050565b60006020828403121561572c5761572b613eaa565b5b600082015167ffffffffffffffff81111561574a57615749613eaf565b5b615756848285016156e8565b91505092915050565b600061576a82614021565b915061577583614021565b925082820261578381614021565b9150828204841483151761579a57615799614ecb565b5b5092915050565b60006157ac82614021565b91506157b783614021565b92508282019050808211156157cf576157ce614ecb565b5b92915050565b60006157e082614021565b9150600082036157f3576157f2614ecb565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b6000615834602083613f7a565b915061583f826157fe565b602082019050919050565b6000602082019050818103600083015261586381615827565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b60006158c6603183613f7a565b91506158d18261586a565b604082019050919050565b600060208201905081810360008301526158f5816158b9565b9050919050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000615932602083613f7a565b915061593d826158fc565b602082019050919050565b6000602082019050818103600083015261596181615925565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b600061599e601c83613f7a565b91506159a982615968565b602082019050919050565b600060208201905081810360008301526159cd81615991565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000615a0a601983613f7a565b9150615a15826159d4565b602082019050919050565b60006020820190508181036000830152615a39816159fd565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000615a9c602f83613f7a565b9150615aa782615a40565b604082019050919050565b60006020820190508181036000830152615acb81615a8f565b9050919050565b600081905092915050565b6000615ae882613f6f565b615af28185615ad2565b9350615b02818560208601613f8b565b80840191505092915050565b6000615b1a8285615add565b9150615b268284615add565b91508190509392505050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000615b8e602c83613f7a565b9150615b9982615b32565b604082019050919050565b60006020820190508181036000830152615bbd81615b81565b9050919050565b7f45524337323156463a207472616e736665722066726f6d20696e636f7272656360008201527f74206f776e657200000000000000000000000000000000000000000000000000602082015250565b6000615c20602783613f7a565b9150615c2b82615bc4565b604082019050919050565b60006020820190508181036000830152615c4f81615c13565b9050919050565b7f45524337323156463a207472616e7366657220746f20746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000615cb2602683613f7a565b9150615cbd82615c56565b604082019050919050565b60006020820190508181036000830152615ce181615ca5565b9050919050565b6000615cf382614021565b9150615cfe83614021565b9250828203905081811115615d1657615d15614ecb565b5b92915050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000615d78603283613f7a565b9150615d8382615d1c565b604082019050919050565b60006020820190508181036000830152615da781615d6b565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000615de882614021565b9150615df383614021565b925082615e0357615e02615dae565b5b828204905092915050565b6000615e1982614021565b9150615e2483614021565b925082615e3457615e33615dae565b5b828206905092915050565b600081519050919050565b600082825260208201905092915050565b6000615e6682615e3f565b615e708185615e4a565b9350615e80818560208601613f8b565b615e8981613fb5565b840191505092915050565b6000608082019050615ea960008301876140b6565b615eb660208301866140b6565b615ec3604083018561414c565b8181036060830152615ed58184615e5b565b905095945050505050565b600081519050615eef81613ee0565b92915050565b600060208284031215615f0b57615f0a613eaa565b5b6000615f1984828501615ee0565b9150509291505056fea2646970667358221220871ffbfa38aecca4129e77e21eb929ebd095c465e5d983ff06fadccd1e8ed66464736f6c63430008110033

Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.