Address Details
contract

0x7a1EDe8C9Cc8388bCB879Be761EE73685E5dbEfc

Contract Name
CarbonizedCollectionV2
Creator
0x5ac1cf–67fbfd at 0x7c8060–d56e83
Balance
0 CELO ( )
Locked CELO Balance
0.00 CELO
Voting CELO Balance
0.00 CELO
Pending Unlocked Gold
0.00 CELO
Tokens
Fetching tokens...
Transactions
0 Transactions
Transfers
0 Transfers
Gas Used
Fetching gas used...
Last Balance Update
17423584
This contract has been verified via Sourcify. View contract in Sourcify repository
Contract name:
CarbonizedCollectionV2




Optimization enabled
false
Compiler version
v0.8.9+commit.e5eed63a




EVM Version
london




Verified at
2023-01-27T02:21:03.583757Z

contracts/CarbonizedCollectionV2.sol

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol";
import "@openzeppelin/contracts-upgradeable/token/ERC721/IERC721Upgradeable.sol";
import "@openzeppelin/contracts-upgradeable/token/ERC721/IERC721ReceiverUpgradeable.sol";
import "@openzeppelin/contracts-upgradeable/token/ERC721/extensions/ERC721EnumerableUpgradeable.sol";
import "@openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol";
import "@openzeppelin/contracts-upgradeable/token/ERC20/utils/SafeERC20Upgradeable.sol";
import "./interface/ICarbonizer.sol";
import "./interface/ICarbonizerDeployer.sol";

/// @title CarbonizedCollection
/// @author Bridger Zoske
/// @dev This contract inherits from both ERC721 that ERC721Receiver which enables the mint,
/// burn and safe storage of other ERC721 tokens.
contract CarbonizedCollectionV2 is
    OwnableUpgradeable,
    ERC721EnumerableUpgradeable,
    IERC721ReceiverUpgradeable
{
    using SafeERC20Upgradeable for IERC20Upgradeable;

    /* ========== STATE VARIABLES ========== */

    IERC721Upgradeable public originalCollection;
    ICarbonizerDeployer public deployer;
    string public baseURI;
    string public baseExtension;
    // tokenId => carbonizer
    mapping(uint256 => address) public carbonizer;

    /* ========== INITIALIZER ========== */

    function initialize(
        address _originalCollection,
        address _deployer,
        string memory _name,
        string memory _symbol,
        string memory _baseURI
    ) external virtual initializer {
        __Ownable_init();
        __ERC721_init(_name, _symbol);
        originalCollection = IERC721Upgradeable(_originalCollection);
        deployer = ICarbonizerDeployer(_deployer);
        baseExtension = ".json";
        baseURI = _baseURI;
    }

    /* ========== MUTATIVE FUNCTIONS ========== */

    function carbonize(uint256 tokenId) public payable {
        // deploy carbonizer contract if not already deployed
        if (carbonizer[tokenId] == address(0)) carbonizer[tokenId] = deployer.deploy(address(this));
        // if token not already carbonized
        if (!exists(tokenId)) {
            originalCollection.safeTransferFrom(msg.sender, address(this), tokenId);
            _safeMint(msg.sender, tokenId);
        }
        ICarbonizer(carbonizer[tokenId]).deposit{value: msg.value}();
        emit TokenIdCarbonized(carbonizer[tokenId], tokenId, msg.value);
    }

    function startDecarbonize(uint256 tokenId) external {
        require(
            carbonizer[tokenId] != address(0),
            "CarbonizedCollection: tokenId is not carbonized"
        );
        ICarbonizer(carbonizer[tokenId]).withdraw();
    }

    function decarbonize(uint256 tokenId) public {
        require(
            ownerOf(tokenId) == msg.sender,
            "CarbonizedCollection: caller does not own tokenId"
        );
        originalCollection.safeTransferFrom(address(this), msg.sender, tokenId);
        ICarbonizer(carbonizer[tokenId]).claim(msg.sender);
        _burn(tokenId);
        emit TokenIdDecarbonized(carbonizer[tokenId], tokenId);
    }

    /* ========== VIEWS ========== */

    function getDeposit(uint256 tokenId) external view returns (uint256) {
        return ICarbonizer(carbonizer[tokenId]).getDeposit();
    }

    function withdrawls(uint256 tokenId) external view returns (uint256 value, uint256 timestamp) {
        return ICarbonizer(carbonizer[tokenId]).withdrawls();
    }

    function getYield(uint256 tokenId) external view returns (uint256) {
        return ICarbonizer(carbonizer[tokenId]).getYield();
    }

    function exists(uint256 tokenId) public view returns (bool) {
        return _exists(tokenId);
    }

    function walletOfOwner(address _owner)
        public
        view
        returns (uint256[] memory, address[] memory)
    {
        uint256 ownerTokenCount = balanceOf(_owner);
        uint256[] memory tokenIds = new uint256[](ownerTokenCount);
        address[] memory carbonizers = new address[](ownerTokenCount);
        for (uint256 i; i < ownerTokenCount; i++) {
            tokenIds[i] = tokenOfOwnerByIndex(_owner, i);
            carbonizers[i] = carbonizer[tokenIds[i]];
        }
        return (tokenIds, carbonizers);
    }

    function onERC721Received(
        address,
        address,
        uint256,
        bytes calldata
    ) external pure override returns (bytes4) {
        return bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"));
    }

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

    /* ========== EVENTS ========== */

    event TokenIdCarbonized(address carbonizer, uint256 tokenId, uint256 amount);

    event TokenIdDecarbonized(address carbonizer, uint256 tokenId);
}
        

/_openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/ContextUpgradeable.sol";
import "../proxy/utils/Initializable.sol";

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

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

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

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

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

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

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

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

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

    /**
     * @dev This empty reserved space is put in place to allow future versions to add new
     * variables without shifting down storage in the inheritance chain.
     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
     */
    uint256[49] private __gap;
}
          

/_openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (proxy/utils/Initializable.sol)

pragma solidity ^0.8.2;

import "../../utils/AddressUpgradeable.sol";

/**
 * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed
 * behind a proxy. Since proxied contracts do not make use of a constructor, it's common to move constructor logic to an
 * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer
 * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.
 *
 * The initialization functions use a version number. Once a version number is used, it is consumed and cannot be
 * reused. This mechanism prevents re-execution of each "step" but allows the creation of new initialization steps in
 * case an upgrade adds a module that needs to be initialized.
 *
 * For example:
 *
 * [.hljs-theme-light.nopadding]
 * ```
 * contract MyToken is ERC20Upgradeable {
 *     function initialize() initializer public {
 *         __ERC20_init("MyToken", "MTK");
 *     }
 * }
 * contract MyTokenV2 is MyToken, ERC20PermitUpgradeable {
 *     function initializeV2() reinitializer(2) public {
 *         __ERC20Permit_init("MyToken");
 *     }
 * }
 * ```
 *
 * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as
 * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}.
 *
 * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure
 * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.
 *
 * [CAUTION]
 * ====
 * Avoid leaving a contract uninitialized.
 *
 * An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation
 * contract, which may impact the proxy. To prevent the implementation contract from being used, you should invoke
 * the {_disableInitializers} function in the constructor to automatically lock it when it is deployed:
 *
 * [.hljs-theme-light.nopadding]
 * ```
 * /// @custom:oz-upgrades-unsafe-allow constructor
 * constructor() {
 *     _disableInitializers();
 * }
 * ```
 * ====
 */
abstract contract Initializable {
    /**
     * @dev Indicates that the contract has been initialized.
     * @custom:oz-retyped-from bool
     */
    uint8 private _initialized;

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

    /**
     * @dev Triggered when the contract has been initialized or reinitialized.
     */
    event Initialized(uint8 version);

    /**
     * @dev A modifier that defines a protected initializer function that can be invoked at most once. In its scope,
     * `onlyInitializing` functions can be used to initialize parent contracts. Equivalent to `reinitializer(1)`.
     */
    modifier initializer() {
        bool isTopLevelCall = _setInitializedVersion(1);
        if (isTopLevelCall) {
            _initializing = true;
        }
        _;
        if (isTopLevelCall) {
            _initializing = false;
            emit Initialized(1);
        }
    }

    /**
     * @dev A modifier that defines a protected reinitializer function that can be invoked at most once, and only if the
     * contract hasn't been initialized to a greater version before. In its scope, `onlyInitializing` functions can be
     * used to initialize parent contracts.
     *
     * `initializer` is equivalent to `reinitializer(1)`, so a reinitializer may be used after the original
     * initialization step. This is essential to configure modules that are added through upgrades and that require
     * initialization.
     *
     * Note that versions can jump in increments greater than 1; this implies that if multiple reinitializers coexist in
     * a contract, executing them in the right order is up to the developer or operator.
     */
    modifier reinitializer(uint8 version) {
        bool isTopLevelCall = _setInitializedVersion(version);
        if (isTopLevelCall) {
            _initializing = true;
        }
        _;
        if (isTopLevelCall) {
            _initializing = false;
            emit Initialized(version);
        }
    }

    /**
     * @dev Modifier to protect an initialization function so that it can only be invoked by functions with the
     * {initializer} and {reinitializer} modifiers, directly or indirectly.
     */
    modifier onlyInitializing() {
        require(_initializing, "Initializable: contract is not initializing");
        _;
    }

    /**
     * @dev Locks the contract, preventing any future reinitialization. This cannot be part of an initializer call.
     * Calling this in the constructor of a contract will prevent that contract from being initialized or reinitialized
     * to any version. It is recommended to use this to lock implementation contracts that are designed to be called
     * through proxies.
     */
    function _disableInitializers() internal virtual {
        _setInitializedVersion(type(uint8).max);
    }

    function _setInitializedVersion(uint8 version) private returns (bool) {
        // If the contract is initializing we ignore whether _initialized is set in order to support multiple
        // inheritance patterns, but we only do this in the context of a constructor, and for the lowest level
        // of initializers, because in other contexts the contract may have been reentered.
        if (_initializing) {
            require(
                version == 1 && !AddressUpgradeable.isContract(address(this)),
                "Initializable: contract is already initialized"
            );
            return false;
        } else {
            require(_initialized < version, "Initializable: contract is already initialized");
            _initialized = version;
            return true;
        }
    }
}
          

/_openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20Upgradeable {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);

    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `from` to `to` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) external returns (bool);
}
          

/_openzeppelin/contracts-upgradeable/token/ERC20/utils/SafeERC20Upgradeable.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.0;

import "../IERC20Upgradeable.sol";
import "../../../utils/AddressUpgradeable.sol";

/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20Upgradeable {
    using AddressUpgradeable for address;

    function safeTransfer(
        IERC20Upgradeable token,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(
        IERC20Upgradeable token,
        address from,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(
        IERC20Upgradeable token,
        address spender,
        uint256 value
    ) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        require(
            (value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(
        IERC20Upgradeable token,
        address spender,
        uint256 value
    ) internal {
        uint256 newAllowance = token.allowance(address(this), spender) + value;
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(
        IERC20Upgradeable token,
        address spender,
        uint256 value
    ) internal {
        unchecked {
            uint256 oldAllowance = token.allowance(address(this), spender);
            require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
            uint256 newAllowance = oldAllowance - value;
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
        }
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20Upgradeable token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        if (returndata.length > 0) {
            // Return data is optional
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}
          

/_openzeppelin/contracts-upgradeable/token/ERC721/ERC721Upgradeable.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

import "./IERC721Upgradeable.sol";
import "./IERC721ReceiverUpgradeable.sol";
import "./extensions/IERC721MetadataUpgradeable.sol";
import "../../utils/AddressUpgradeable.sol";
import "../../utils/ContextUpgradeable.sol";
import "../../utils/StringsUpgradeable.sol";
import "../../utils/introspection/ERC165Upgradeable.sol";
import "../../proxy/utils/Initializable.sol";

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * `_data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
    }

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted (`_mint`),
     * and stop existing when they are burned (`_burn`).
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return _owners[tokenId] != address(0);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);

        _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(ERC721Upgradeable.ownerOf(tokenId), to, tokenId);
    }

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

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

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, ``from``'s `tokenId` will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}

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

    /**
     * @dev This empty reserved space is put in place to allow future versions to add new
     * variables without shifting down storage in the inheritance chain.
     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
     */
    uint256[44] private __gap;
}
          

/_openzeppelin/contracts-upgradeable/token/ERC721/IERC721ReceiverUpgradeable.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 IERC721ReceiverUpgradeable {
    /**
     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
     * by `operator` from `from`, this function is called.
     *
     * It must return its Solidity selector to confirm the token transfer.
     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
     *
     * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}
          

/_openzeppelin/contracts-upgradeable/token/ERC721/IERC721Upgradeable.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721Upgradeable is IERC165Upgradeable {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

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

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

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * 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 be have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

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

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

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

/_openzeppelin/contracts-upgradeable/token/ERC721/extensions/ERC721EnumerableUpgradeable.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol)

pragma solidity ^0.8.0;

import "../ERC721Upgradeable.sol";
import "./IERC721EnumerableUpgradeable.sol";
import "../../../proxy/utils/Initializable.sol";

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

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

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

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

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

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

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

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

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

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, ``from``'s `tokenId` will be burned.
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual override {
        super._beforeTokenTransfer(from, to, tokenId);

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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev This empty reserved space is put in place to allow future versions to add new
     * variables without shifting down storage in the inheritance chain.
     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
     */
    uint256[46] private __gap;
}
          

/_openzeppelin/contracts-upgradeable/token/ERC721/extensions/IERC721EnumerableUpgradeable.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;

import "../IERC721Upgradeable.sol";

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

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

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

/_openzeppelin/contracts-upgradeable/token/ERC721/extensions/IERC721MetadataUpgradeable.sol

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

pragma solidity ^0.8.0;

import "../IERC721Upgradeable.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721MetadataUpgradeable is IERC721Upgradeable {
    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

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

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

/_openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library AddressUpgradeable {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     *
     * [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 Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

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

/_openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol

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

pragma solidity ^0.8.0;
import "../proxy/utils/Initializable.sol";

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

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

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

    /**
     * @dev This empty reserved space is put in place to allow future versions to add new
     * variables without shifting down storage in the inheritance chain.
     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
     */
    uint256[50] private __gap;
}
          

/_openzeppelin/contracts-upgradeable/utils/StringsUpgradeable.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = _HEX_SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }
}
          

/_openzeppelin/contracts-upgradeable/utils/introspection/ERC165Upgradeable.sol

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

pragma solidity ^0.8.0;

import "./IERC165Upgradeable.sol";
import "../../proxy/utils/Initializable.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 ERC165Upgradeable is Initializable, IERC165Upgradeable {
    function __ERC165_init() internal onlyInitializing {
    }

    function __ERC165_init_unchained() internal onlyInitializing {
    }
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165Upgradeable).interfaceId;
    }

    /**
     * @dev This empty reserved space is put in place to allow future versions to add new
     * variables without shifting down storage in the inheritance chain.
     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
     */
    uint256[50] private __gap;
}
          

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

/contracts/interface/ICarbonizer.sol

// SPDX-License-Identifier: Apache-2.0

pragma solidity ^0.8.0;

interface ICarbonizer {
    function deposit() external payable;

    function withdraw() external;

    function withdrawls() external view returns (uint256 value, uint256 timestamp);

    function getYield() external view returns (uint256);

    function getDeposit() external view returns (uint256);

    function claim(address _receiver) external;
}
          

/contracts/interface/ICarbonizerDeployer.sol

// SPDX-License-Identifier: Apache-2.0

pragma solidity ^0.8.0;

interface ICarbonizerDeployer {
    function deploy(address _carbonizedCollection) external returns (address);
}
          

Contract ABI

[{"type":"event","name":"Approval","inputs":[{"type":"address","name":"owner","internalType":"address","indexed":true},{"type":"address","name":"approved","internalType":"address","indexed":true},{"type":"uint256","name":"tokenId","internalType":"uint256","indexed":true}],"anonymous":false},{"type":"event","name":"ApprovalForAll","inputs":[{"type":"address","name":"owner","internalType":"address","indexed":true},{"type":"address","name":"operator","internalType":"address","indexed":true},{"type":"bool","name":"approved","internalType":"bool","indexed":false}],"anonymous":false},{"type":"event","name":"Initialized","inputs":[{"type":"uint8","name":"version","internalType":"uint8","indexed":false}],"anonymous":false},{"type":"event","name":"OwnershipTransferred","inputs":[{"type":"address","name":"previousOwner","internalType":"address","indexed":true},{"type":"address","name":"newOwner","internalType":"address","indexed":true}],"anonymous":false},{"type":"event","name":"TokenIdCarbonized","inputs":[{"type":"address","name":"carbonizer","internalType":"address","indexed":false},{"type":"uint256","name":"tokenId","internalType":"uint256","indexed":false},{"type":"uint256","name":"amount","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"TokenIdDecarbonized","inputs":[{"type":"address","name":"carbonizer","internalType":"address","indexed":false},{"type":"uint256","name":"tokenId","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"Transfer","inputs":[{"type":"address","name":"from","internalType":"address","indexed":true},{"type":"address","name":"to","internalType":"address","indexed":true},{"type":"uint256","name":"tokenId","internalType":"uint256","indexed":true}],"anonymous":false},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"approve","inputs":[{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"balanceOf","inputs":[{"type":"address","name":"owner","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"baseExtension","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"baseURI","inputs":[]},{"type":"function","stateMutability":"payable","outputs":[],"name":"carbonize","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"carbonizer","inputs":[{"type":"uint256","name":"","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"decarbonize","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"contract ICarbonizerDeployer"}],"name":"deployer","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"exists","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"getApproved","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"getDeposit","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"getYield","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"initialize","inputs":[{"type":"address","name":"_originalCollection","internalType":"address"},{"type":"address","name":"_deployer","internalType":"address"},{"type":"string","name":"_name","internalType":"string"},{"type":"string","name":"_symbol","internalType":"string"},{"type":"string","name":"_baseURI","internalType":"string"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"isApprovedForAll","inputs":[{"type":"address","name":"owner","internalType":"address"},{"type":"address","name":"operator","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"name","inputs":[]},{"type":"function","stateMutability":"pure","outputs":[{"type":"bytes4","name":"","internalType":"bytes4"}],"name":"onERC721Received","inputs":[{"type":"address","name":"","internalType":"address"},{"type":"address","name":"","internalType":"address"},{"type":"uint256","name":"","internalType":"uint256"},{"type":"bytes","name":"","internalType":"bytes"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"contract IERC721Upgradeable"}],"name":"originalCollection","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"owner","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"ownerOf","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"renounceOwnership","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"safeTransferFrom","inputs":[{"type":"address","name":"from","internalType":"address"},{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"safeTransferFrom","inputs":[{"type":"address","name":"from","internalType":"address"},{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"tokenId","internalType":"uint256"},{"type":"bytes","name":"_data","internalType":"bytes"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setApprovalForAll","inputs":[{"type":"address","name":"operator","internalType":"address"},{"type":"bool","name":"approved","internalType":"bool"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"startDecarbonize","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"supportsInterface","inputs":[{"type":"bytes4","name":"interfaceId","internalType":"bytes4"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"symbol","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"tokenByIndex","inputs":[{"type":"uint256","name":"index","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"tokenOfOwnerByIndex","inputs":[{"type":"address","name":"owner","internalType":"address"},{"type":"uint256","name":"index","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"tokenURI","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"totalSupply","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"transferFrom","inputs":[{"type":"address","name":"from","internalType":"address"},{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"transferOwnership","inputs":[{"type":"address","name":"newOwner","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256[]","name":"","internalType":"uint256[]"},{"type":"address[]","name":"","internalType":"address[]"}],"name":"walletOfOwner","inputs":[{"type":"address","name":"_owner","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"value","internalType":"uint256"},{"type":"uint256","name":"timestamp","internalType":"uint256"}],"name":"withdrawls","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"}]}]
              

Contract Creation Code

0x608060405234801561001057600080fd5b506152da806100206000396000f3fe6080604052600436106101f95760003560e01c80636c0360eb1161010d578063b88d4fde116100a0578063e0a96bc91161006f578063e0a96bc91461079a578063e985e9c5146107c3578063eceac7bf14610800578063f2fde38b14610829578063fe6838a514610852576101f9565b8063b88d4fde146106de578063c668286214610707578063c87b56dd14610732578063d5f394881461076f576101f9565b806395d89b41116100dc57806395d89b411461060f5780639f9fb9681461063a578063a22cb46514610677578063ac687cc4146106a0576101f9565b80636c0360eb1461056557806370a0823114610590578063715018a6146105cd5780638da5cb5b146105e4576101f9565b80632f745c5911610190578063438b63001161015f578063438b6300146104455780634f558e79146104835780634f6ccce7146104c057806361dd277e146104fd5780636352211e14610528576101f9565b80632f745c591461039a5780633a781dc1146103d75780633f2f5ee2146103f357806342842e0e1461041c576101f9565b8063095ea7b3116101cc578063095ea7b3146102e0578063150b7a021461030957806318160ddd1461034657806323b872dd14610371576101f9565b806301ffc9a7146101fe57806306fdde031461023b5780630805d88414610266578063081812fc146102a3575b600080fd5b34801561020a57600080fd5b50610225600480360381019061022091906136f2565b61088f565b604051610232919061373a565b60405180910390f35b34801561024757600080fd5b50610250610909565b60405161025d91906137ee565b60405180910390f35b34801561027257600080fd5b5061028d60048036038101906102889190613846565b61099b565b60405161029a9190613882565b60405180910390f35b3480156102af57600080fd5b506102ca60048036038101906102c59190613846565b610a55565b6040516102d791906138de565b60405180910390f35b3480156102ec57600080fd5b5061030760048036038101906103029190613925565b610ada565b005b34801561031557600080fd5b50610330600480360381019061032b91906139ca565b610bf2565b60405161033d9190613a61565b60405180910390f35b34801561035257600080fd5b5061035b610c20565b6040516103689190613882565b60405180910390f35b34801561037d57600080fd5b5061039860048036038101906103939190613a7c565b610c2d565b005b3480156103a657600080fd5b506103c160048036038101906103bc9190613925565b610c8d565b6040516103ce9190613882565b60405180910390f35b6103f160048036038101906103ec9190613846565b610d32565b005b3480156103ff57600080fd5b5061041a60048036038101906104159190613bff565b611047565b005b34801561042857600080fd5b50610443600480360381019061043e9190613a7c565b6111cf565b005b34801561045157600080fd5b5061046c60048036038101906104679190613cce565b6111ef565b60405161047a929190613e77565b60405180910390f35b34801561048f57600080fd5b506104aa60048036038101906104a59190613846565b61138a565b6040516104b7919061373a565b60405180910390f35b3480156104cc57600080fd5b506104e760048036038101906104e29190613846565b61139c565b6040516104f49190613882565b60405180910390f35b34801561050957600080fd5b5061051261140d565b60405161051f9190613f0d565b60405180910390f35b34801561053457600080fd5b5061054f600480360381019061054a9190613846565b611433565b60405161055c91906138de565b60405180910390f35b34801561057157600080fd5b5061057a6114e5565b60405161058791906137ee565b60405180910390f35b34801561059c57600080fd5b506105b760048036038101906105b29190613cce565b611573565b6040516105c49190613882565b60405180910390f35b3480156105d957600080fd5b506105e261162b565b005b3480156105f057600080fd5b506105f96116b3565b60405161060691906138de565b60405180910390f35b34801561061b57600080fd5b506106246116dd565b60405161063191906137ee565b60405180910390f35b34801561064657600080fd5b50610661600480360381019061065c9190613846565b61176f565b60405161066e9190613882565b60405180910390f35b34801561068357600080fd5b5061069e60048036038101906106999190613f54565b611829565b005b3480156106ac57600080fd5b506106c760048036038101906106c29190613846565b61183f565b6040516106d5929190613f94565b60405180910390f35b3480156106ea57600080fd5b506107056004803603810190610700919061405e565b6118fb565b005b34801561071357600080fd5b5061071c61195d565b60405161072991906137ee565b60405180910390f35b34801561073e57600080fd5b5061075960048036038101906107549190613846565b6119eb565b60405161076691906137ee565b60405180910390f35b34801561077b57600080fd5b50610784611a92565b6040516107919190614102565b60405180910390f35b3480156107a657600080fd5b506107c160048036038101906107bc9190613846565b611ab8565b005b3480156107cf57600080fd5b506107ea60048036038101906107e5919061411d565b611bf1565b6040516107f7919061373a565b60405180910390f35b34801561080c57600080fd5b5061082760048036038101906108229190613846565b611c85565b005b34801561083557600080fd5b50610850600480360381019061084b9190613cce565b611ea2565b005b34801561085e57600080fd5b5061087960048036038101906108749190613846565b611f9a565b60405161088691906138de565b60405180910390f35b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610902575061090182611fcd565b5b9050919050565b6060609780546109189061418c565b80601f01602080910402602001604051908101604052809291908181526020018280546109449061418c565b80156109915780601f1061096657610100808354040283529160200191610991565b820191906000526020600020905b81548152906001019060200180831161097457829003601f168201915b5050505050905090565b600060ff600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16637c2628716040518163ffffffff1660e01b815260040160206040518083038186803b158015610a1657600080fd5b505afa158015610a2a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a4e91906141d3565b9050919050565b6000610a60826120af565b610a9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9690614272565b60405180910390fd5b609b600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610ae582611433565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4d90614304565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b7561211b565b73ffffffffffffffffffffffffffffffffffffffff161480610ba45750610ba381610b9e61211b565b611bf1565b5b610be3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bda90614396565b60405180910390fd5b610bed8383612123565b505050565b60007f150b7a023d4804d13e8c85fb27262cb750cf6ba9f9dd3bb30d90f482ceeb4b1f905095945050505050565b600060cb80549050905090565b610c3e610c3861211b565b826121dc565b610c7d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7490614428565b60405180910390fd5b610c888383836122ba565b505050565b6000610c9883611573565b8210610cd9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cd0906144ba565b60405180910390fd5b60c960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b600073ffffffffffffffffffffffffffffffffffffffff1660ff600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415610e995760fc60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634c96a389306040518263ffffffff1660e01b8152600401610df591906138de565b602060405180830381600087803b158015610e0f57600080fd5b505af1158015610e23573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e4791906144ef565b60ff600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b610ea28161138a565b610f425760fb60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342842e0e3330846040518463ffffffff1660e01b8152600401610f059392919061451c565b600060405180830381600087803b158015610f1f57600080fd5b505af1158015610f33573d6000803e3d6000fd5b50505050610f413382612521565b5b60ff600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d0e30db0346040518263ffffffff1660e01b81526004016000604051808303818588803b158015610fbd57600080fd5b505af1158015610fd1573d6000803e3d6000fd5b50505050507f94d7341445c8324577301ae2fbc92ba44773357f4f3ba896bd12dfd76f99459d60ff600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16823460405161103c93929190614553565b60405180910390a150565b6000611053600161253f565b90508015611077576001600060016101000a81548160ff0219169083151502179055505b61107f61262f565b6110898484612688565b8560fb60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508460fc60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506040518060400160405280600581526020017f2e6a736f6e00000000000000000000000000000000000000000000000000000081525060fe90805190602001906111569291906135e3565b508160fd908051906020019061116d9291906135e3565b5080156111c75760008060016101000a81548160ff0219169083151502179055507f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb384740249860016040516111be91906145d2565b60405180910390a15b505050505050565b6111ea838383604051806020016040528060008152506118fb565b505050565b60608060006111fd84611573565b905060008167ffffffffffffffff81111561121b5761121a613ad4565b5b6040519080825280602002602001820160405280156112495781602001602082028036833780820191505090505b50905060008267ffffffffffffffff81111561126857611267613ad4565b5b6040519080825280602002602001820160405280156112965781602001602082028036833780820191505090505b50905060005b8381101561137b576112ae8782610c8d565b8382815181106112c1576112c06145ed565b5b60200260200101818152505060ff60008483815181106112e4576112e36145ed565b5b6020026020010151815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682828151811061132e5761132d6145ed565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505080806113739061464b565b91505061129c565b50818194509450505050915091565b6000611395826120af565b9050919050565b60006113a6610c20565b82106113e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113de90614706565b60405180910390fd5b60cb82815481106113fb576113fa6145ed565b5b90600052602060002001549050919050565b60fb60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000806099600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156114dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d390614798565b60405180910390fd5b80915050919050565b60fd80546114f29061418c565b80601f016020809104026020016040519081016040528092919081815260200182805461151e9061418c565b801561156b5780601f106115405761010080835404028352916020019161156b565b820191906000526020600020905b81548152906001019060200180831161154e57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156115e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115db9061482a565b60405180910390fd5b609a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61163361211b565b73ffffffffffffffffffffffffffffffffffffffff166116516116b3565b73ffffffffffffffffffffffffffffffffffffffff16146116a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169e90614896565b60405180910390fd5b6116b160006126e5565b565b6000603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060609880546116ec9061418c565b80601f01602080910402602001604051908101604052809291908181526020018280546117189061418c565b80156117655780601f1061173a57610100808354040283529160200191611765565b820191906000526020600020905b81548152906001019060200180831161174857829003601f168201915b5050505050905090565b600060ff600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c399ec886040518163ffffffff1660e01b815260040160206040518083038186803b1580156117ea57600080fd5b505afa1580156117fe573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061182291906141d3565b9050919050565b61183b61183461211b565b83836127ab565b5050565b60008060ff600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f35762206040518163ffffffff1660e01b8152600401604080518083038186803b1580156118ba57600080fd5b505afa1580156118ce573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118f291906148b6565b91509150915091565b61190c61190661211b565b836121dc565b61194b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161194290614428565b60405180910390fd5b61195784848484612918565b50505050565b60fe805461196a9061418c565b80601f01602080910402602001604051908101604052809291908181526020018280546119969061418c565b80156119e35780601f106119b8576101008083540402835291602001916119e3565b820191906000526020600020905b8154815290600101906020018083116119c657829003601f168201915b505050505081565b60606119f6826120af565b611a35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a2c90614968565b60405180910390fd5b6000611a3f612974565b90506000815111611a5f5760405180602001604052806000815250611a8a565b80611a6984612a06565b604051602001611a7a9291906149c4565b6040516020818303038152906040525b915050919050565b60fc60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600073ffffffffffffffffffffffffffffffffffffffff1660ff600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415611b5b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b5290614a5a565b60405180910390fd5b60ff600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16633ccfd60b6040518163ffffffff1660e01b8152600401600060405180830381600087803b158015611bd657600080fd5b505af1158015611bea573d6000803e3d6000fd5b5050505050565b6000609c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b3373ffffffffffffffffffffffffffffffffffffffff16611ca582611433565b73ffffffffffffffffffffffffffffffffffffffff1614611cfb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cf290614aec565b60405180910390fd5b60fb60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342842e0e3033846040518463ffffffff1660e01b8152600401611d5a9392919061451c565b600060405180830381600087803b158015611d7457600080fd5b505af1158015611d88573d6000803e3d6000fd5b5050505060ff600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16631e83409a336040518263ffffffff1660e01b8152600401611df891906138de565b600060405180830381600087803b158015611e1257600080fd5b505af1158015611e26573d6000803e3d6000fd5b50505050611e3381612b67565b7fa10425edcce3c531d8f074a91c3209a3f991e2a015ff946c111bd1cbd097ac4960ff600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682604051611e97929190614b0c565b60405180910390a150565b611eaa61211b565b73ffffffffffffffffffffffffffffffffffffffff16611ec86116b3565b73ffffffffffffffffffffffffffffffffffffffff1614611f1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f1590614896565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611f8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f8590614ba7565b60405180910390fd5b611f97816126e5565b50565b60ff6020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061209857507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806120a857506120a782612c84565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166099600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b81609b600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661219683611433565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006121e7826120af565b612226576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161221d90614c39565b60405180910390fd5b600061223183611433565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061227357506122728185611bf1565b5b806122b157508373ffffffffffffffffffffffffffffffffffffffff1661229984610a55565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166122da82611433565b73ffffffffffffffffffffffffffffffffffffffff1614612330576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161232790614ccb565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156123a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161239790614d5d565b60405180910390fd5b6123ab838383612cee565b6123b6600082612123565b6001609a60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546124069190614d7d565b925050819055506001609a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461245d9190614db1565b92505081905550816099600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461251c838383612e02565b505050565b61253b828260405180602001604052806000815250612e07565b5050565b60008060019054906101000a900460ff16156125b65760018260ff1614801561256e575061256c30612e62565b155b6125ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125a490614e79565b60405180910390fd5b6000905061262a565b8160ff1660008054906101000a900460ff1660ff161061260b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161260290614e79565b60405180910390fd5b816000806101000a81548160ff021916908360ff160217905550600190505b919050565b600060019054906101000a900460ff1661267e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161267590614f0b565b60405180910390fd5b612686612e85565b565b600060019054906101000a900460ff166126d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126ce90614f0b565b60405180910390fd5b6126e18282612ee6565b5050565b6000603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081603360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561281a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161281190614f77565b60405180910390fd5b80609c60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161290b919061373a565b60405180910390a3505050565b6129238484846122ba565b61292f84848484612f67565b61296e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161296590615009565b60405180910390fd5b50505050565b606060fd80546129839061418c565b80601f01602080910402602001604051908101604052809291908181526020018280546129af9061418c565b80156129fc5780601f106129d1576101008083540402835291602001916129fc565b820191906000526020600020905b8154815290600101906020018083116129df57829003601f168201915b5050505050905090565b60606000821415612a4e576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612b62565b600082905060005b60008214612a80578080612a699061464b565b915050600a82612a799190615058565b9150612a56565b60008167ffffffffffffffff811115612a9c57612a9b613ad4565b5b6040519080825280601f01601f191660200182016040528015612ace5781602001600182028036833780820191505090505b5090505b60008514612b5b57600182612ae79190614d7d565b9150600a85612af69190615089565b6030612b029190614db1565b60f81b818381518110612b1857612b176145ed565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612b549190615058565b9450612ad2565b8093505050505b919050565b6000612b7282611433565b9050612b8081600084612cee565b612b8b600083612123565b6001609a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612bdb9190614d7d565b925050819055506099600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612c8081600084612e02565b5050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612cf98383836130fe565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612d3c57612d3781613103565b612d7b565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612d7a57612d79838261314c565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612dbe57612db9816132b9565b612dfd565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612dfc57612dfb828261338a565b5b5b505050565b505050565b612e118383613409565b612e1e6000848484612f67565b612e5d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e5490615009565b60405180910390fd5b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600060019054906101000a900460ff16612ed4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ecb90614f0b565b60405180910390fd5b612ee4612edf61211b565b6126e5565b565b600060019054906101000a900460ff16612f35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f2c90614f0b565b60405180910390fd5b8160979080519060200190612f4b9291906135e3565b508060989080519060200190612f629291906135e3565b505050565b6000612f888473ffffffffffffffffffffffffffffffffffffffff16612e62565b156130f1578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612fb161211b565b8786866040518563ffffffff1660e01b8152600401612fd3949392919061510f565b602060405180830381600087803b158015612fed57600080fd5b505af192505050801561301e57506040513d601f19601f8201168201806040525081019061301b9190615170565b60015b6130a1573d806000811461304e576040519150601f19603f3d011682016040523d82523d6000602084013e613053565b606091505b50600081511415613099576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161309090615009565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506130f6565b600190505b949350505050565b505050565b60cb8054905060cc60008381526020019081526020016000208190555060cb81908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161315984611573565b6131639190614d7d565b9050600060ca600084815260200190815260200160002054905081811461324857600060c960008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008481526020019081526020016000205490508060c960008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000848152602001908152602001600020819055508160ca600083815260200190815260200160002081905550505b60ca60008481526020019081526020016000206000905560c960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160cb805490506132cd9190614d7d565b9050600060cc6000848152602001908152602001600020549050600060cb83815481106132fd576132fc6145ed565b5b906000526020600020015490508060cb838154811061331f5761331e6145ed565b5b90600052602060002001819055508160cc60008381526020019081526020016000208190555060cc60008581526020019081526020016000206000905560cb80548061336e5761336d61519d565b5b6001900381819060005260206000200160009055905550505050565b600061339583611573565b90508160c960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000838152602001908152602001600020819055508060ca600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613479576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161347090615218565b60405180910390fd5b613482816120af565b156134c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134b990615284565b60405180910390fd5b6134ce60008383612cee565b6001609a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461351e9190614db1565b92505081905550816099600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46135df60008383612e02565b5050565b8280546135ef9061418c565b90600052602060002090601f0160209004810192826136115760008555613658565b82601f1061362a57805160ff1916838001178555613658565b82800160010185558215613658579182015b8281111561365757825182559160200191906001019061363c565b5b5090506136659190613669565b5090565b5b8082111561368257600081600090555060010161366a565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6136cf8161369a565b81146136da57600080fd5b50565b6000813590506136ec816136c6565b92915050565b60006020828403121561370857613707613690565b5b6000613716848285016136dd565b91505092915050565b60008115159050919050565b6137348161371f565b82525050565b600060208201905061374f600083018461372b565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561378f578082015181840152602081019050613774565b8381111561379e576000848401525b50505050565b6000601f19601f8301169050919050565b60006137c082613755565b6137ca8185613760565b93506137da818560208601613771565b6137e3816137a4565b840191505092915050565b6000602082019050818103600083015261380881846137b5565b905092915050565b6000819050919050565b61382381613810565b811461382e57600080fd5b50565b6000813590506138408161381a565b92915050565b60006020828403121561385c5761385b613690565b5b600061386a84828501613831565b91505092915050565b61387c81613810565b82525050565b60006020820190506138976000830184613873565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006138c88261389d565b9050919050565b6138d8816138bd565b82525050565b60006020820190506138f360008301846138cf565b92915050565b613902816138bd565b811461390d57600080fd5b50565b60008135905061391f816138f9565b92915050565b6000806040838503121561393c5761393b613690565b5b600061394a85828601613910565b925050602061395b85828601613831565b9150509250929050565b600080fd5b600080fd5b600080fd5b60008083601f84011261398a57613989613965565b5b8235905067ffffffffffffffff8111156139a7576139a661396a565b5b6020830191508360018202830111156139c3576139c261396f565b5b9250929050565b6000806000806000608086880312156139e6576139e5613690565b5b60006139f488828901613910565b9550506020613a0588828901613910565b9450506040613a1688828901613831565b935050606086013567ffffffffffffffff811115613a3757613a36613695565b5b613a4388828901613974565b92509250509295509295909350565b613a5b8161369a565b82525050565b6000602082019050613a766000830184613a52565b92915050565b600080600060608486031215613a9557613a94613690565b5b6000613aa386828701613910565b9350506020613ab486828701613910565b9250506040613ac586828701613831565b9150509250925092565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613b0c826137a4565b810181811067ffffffffffffffff82111715613b2b57613b2a613ad4565b5b80604052505050565b6000613b3e613686565b9050613b4a8282613b03565b919050565b600067ffffffffffffffff821115613b6a57613b69613ad4565b5b613b73826137a4565b9050602081019050919050565b82818337600083830152505050565b6000613ba2613b9d84613b4f565b613b34565b905082815260208101848484011115613bbe57613bbd613acf565b5b613bc9848285613b80565b509392505050565b600082601f830112613be657613be5613965565b5b8135613bf6848260208601613b8f565b91505092915050565b600080600080600060a08688031215613c1b57613c1a613690565b5b6000613c2988828901613910565b9550506020613c3a88828901613910565b945050604086013567ffffffffffffffff811115613c5b57613c5a613695565b5b613c6788828901613bd1565b935050606086013567ffffffffffffffff811115613c8857613c87613695565b5b613c9488828901613bd1565b925050608086013567ffffffffffffffff811115613cb557613cb4613695565b5b613cc188828901613bd1565b9150509295509295909350565b600060208284031215613ce457613ce3613690565b5b6000613cf284828501613910565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613d3081613810565b82525050565b6000613d428383613d27565b60208301905092915050565b6000602082019050919050565b6000613d6682613cfb565b613d708185613d06565b9350613d7b83613d17565b8060005b83811015613dac578151613d938882613d36565b9750613d9e83613d4e565b925050600181019050613d7f565b5085935050505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613dee816138bd565b82525050565b6000613e008383613de5565b60208301905092915050565b6000602082019050919050565b6000613e2482613db9565b613e2e8185613dc4565b9350613e3983613dd5565b8060005b83811015613e6a578151613e518882613df4565b9750613e5c83613e0c565b925050600181019050613e3d565b5085935050505092915050565b60006040820190508181036000830152613e918185613d5b565b90508181036020830152613ea58184613e19565b90509392505050565b6000819050919050565b6000613ed3613ece613ec98461389d565b613eae565b61389d565b9050919050565b6000613ee582613eb8565b9050919050565b6000613ef782613eda565b9050919050565b613f0781613eec565b82525050565b6000602082019050613f226000830184613efe565b92915050565b613f318161371f565b8114613f3c57600080fd5b50565b600081359050613f4e81613f28565b92915050565b60008060408385031215613f6b57613f6a613690565b5b6000613f7985828601613910565b9250506020613f8a85828601613f3f565b9150509250929050565b6000604082019050613fa96000830185613873565b613fb66020830184613873565b9392505050565b600067ffffffffffffffff821115613fd857613fd7613ad4565b5b613fe1826137a4565b9050602081019050919050565b6000614001613ffc84613fbd565b613b34565b90508281526020810184848401111561401d5761401c613acf565b5b614028848285613b80565b509392505050565b600082601f83011261404557614044613965565b5b8135614055848260208601613fee565b91505092915050565b6000806000806080858703121561407857614077613690565b5b600061408687828801613910565b945050602061409787828801613910565b93505060406140a887828801613831565b925050606085013567ffffffffffffffff8111156140c9576140c8613695565b5b6140d587828801614030565b91505092959194509250565b60006140ec82613eda565b9050919050565b6140fc816140e1565b82525050565b600060208201905061411760008301846140f3565b92915050565b6000806040838503121561413457614133613690565b5b600061414285828601613910565b925050602061415385828601613910565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806141a457607f821691505b602082108114156141b8576141b761415d565b5b50919050565b6000815190506141cd8161381a565b92915050565b6000602082840312156141e9576141e8613690565b5b60006141f7848285016141be565b91505092915050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b600061425c602c83613760565b915061426782614200565b604082019050919050565b6000602082019050818103600083015261428b8161424f565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006142ee602183613760565b91506142f982614292565b604082019050919050565b6000602082019050818103600083015261431d816142e1565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b6000614380603883613760565b915061438b82614324565b604082019050919050565b600060208201905081810360008301526143af81614373565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b6000614412603183613760565b915061441d826143b6565b604082019050919050565b6000602082019050818103600083015261444181614405565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b60006144a4602b83613760565b91506144af82614448565b604082019050919050565b600060208201905081810360008301526144d381614497565b9050919050565b6000815190506144e9816138f9565b92915050565b60006020828403121561450557614504613690565b5b6000614513848285016144da565b91505092915050565b600060608201905061453160008301866138cf565b61453e60208301856138cf565b61454b6040830184613873565b949350505050565b600060608201905061456860008301866138cf565b6145756020830185613873565b6145826040830184613873565b949350505050565b6000819050919050565b600060ff82169050919050565b60006145bc6145b76145b28461458a565b613eae565b614594565b9050919050565b6145cc816145a1565b82525050565b60006020820190506145e760008301846145c3565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061465682613810565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156146895761468861461c565b5b600182019050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b60006146f0602c83613760565b91506146fb82614694565b604082019050919050565b6000602082019050818103600083015261471f816146e3565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000614782602983613760565b915061478d82614726565b604082019050919050565b600060208201905081810360008301526147b181614775565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000614814602a83613760565b915061481f826147b8565b604082019050919050565b6000602082019050818103600083015261484381614807565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614880602083613760565b915061488b8261484a565b602082019050919050565b600060208201905081810360008301526148af81614873565b9050919050565b600080604083850312156148cd576148cc613690565b5b60006148db858286016141be565b92505060206148ec858286016141be565b9150509250929050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000614952602f83613760565b915061495d826148f6565b604082019050919050565b6000602082019050818103600083015261498181614945565b9050919050565b600081905092915050565b600061499e82613755565b6149a88185614988565b93506149b8818560208601613771565b80840191505092915050565b60006149d08285614993565b91506149dc8284614993565b91508190509392505050565b7f436172626f6e697a6564436f6c6c656374696f6e3a20746f6b656e496420697360008201527f206e6f7420636172626f6e697a65640000000000000000000000000000000000602082015250565b6000614a44602f83613760565b9150614a4f826149e8565b604082019050919050565b60006020820190508181036000830152614a7381614a37565b9050919050565b7f436172626f6e697a6564436f6c6c656374696f6e3a2063616c6c657220646f6560008201527f73206e6f74206f776e20746f6b656e4964000000000000000000000000000000602082015250565b6000614ad6603183613760565b9150614ae182614a7a565b604082019050919050565b60006020820190508181036000830152614b0581614ac9565b9050919050565b6000604082019050614b2160008301856138cf565b614b2e6020830184613873565b9392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614b91602683613760565b9150614b9c82614b35565b604082019050919050565b60006020820190508181036000830152614bc081614b84565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614c23602c83613760565b9150614c2e82614bc7565b604082019050919050565b60006020820190508181036000830152614c5281614c16565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000614cb5602583613760565b9150614cc082614c59565b604082019050919050565b60006020820190508181036000830152614ce481614ca8565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000614d47602483613760565b9150614d5282614ceb565b604082019050919050565b60006020820190508181036000830152614d7681614d3a565b9050919050565b6000614d8882613810565b9150614d9383613810565b925082821015614da657614da561461c565b5b828203905092915050565b6000614dbc82613810565b9150614dc783613810565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614dfc57614dfb61461c565b5b828201905092915050565b7f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160008201527f647920696e697469616c697a6564000000000000000000000000000000000000602082015250565b6000614e63602e83613760565b9150614e6e82614e07565b604082019050919050565b60006020820190508181036000830152614e9281614e56565b9050919050565b7f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960008201527f6e697469616c697a696e67000000000000000000000000000000000000000000602082015250565b6000614ef5602b83613760565b9150614f0082614e99565b604082019050919050565b60006020820190508181036000830152614f2481614ee8565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000614f61601983613760565b9150614f6c82614f2b565b602082019050919050565b60006020820190508181036000830152614f9081614f54565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000614ff3603283613760565b9150614ffe82614f97565b604082019050919050565b6000602082019050818103600083015261502281614fe6565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061506382613810565b915061506e83613810565b92508261507e5761507d615029565b5b828204905092915050565b600061509482613810565b915061509f83613810565b9250826150af576150ae615029565b5b828206905092915050565b600081519050919050565b600082825260208201905092915050565b60006150e1826150ba565b6150eb81856150c5565b93506150fb818560208601613771565b615104816137a4565b840191505092915050565b600060808201905061512460008301876138cf565b61513160208301866138cf565b61513e6040830185613873565b818103606083015261515081846150d6565b905095945050505050565b60008151905061516a816136c6565b92915050565b60006020828403121561518657615185613690565b5b60006151948482850161515b565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000615202602083613760565b915061520d826151cc565b602082019050919050565b60006020820190508181036000830152615231816151f5565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b600061526e601c83613760565b915061527982615238565b602082019050919050565b6000602082019050818103600083015261529d81615261565b905091905056fea264697066735822122047aebec84252bfc94c781976117d7f4efc681d617492ee0487dfbb99282872b064736f6c63430008090033

Deployed ByteCode

0x6080604052600436106101f95760003560e01c80636c0360eb1161010d578063b88d4fde116100a0578063e0a96bc91161006f578063e0a96bc91461079a578063e985e9c5146107c3578063eceac7bf14610800578063f2fde38b14610829578063fe6838a514610852576101f9565b8063b88d4fde146106de578063c668286214610707578063c87b56dd14610732578063d5f394881461076f576101f9565b806395d89b41116100dc57806395d89b411461060f5780639f9fb9681461063a578063a22cb46514610677578063ac687cc4146106a0576101f9565b80636c0360eb1461056557806370a0823114610590578063715018a6146105cd5780638da5cb5b146105e4576101f9565b80632f745c5911610190578063438b63001161015f578063438b6300146104455780634f558e79146104835780634f6ccce7146104c057806361dd277e146104fd5780636352211e14610528576101f9565b80632f745c591461039a5780633a781dc1146103d75780633f2f5ee2146103f357806342842e0e1461041c576101f9565b8063095ea7b3116101cc578063095ea7b3146102e0578063150b7a021461030957806318160ddd1461034657806323b872dd14610371576101f9565b806301ffc9a7146101fe57806306fdde031461023b5780630805d88414610266578063081812fc146102a3575b600080fd5b34801561020a57600080fd5b50610225600480360381019061022091906136f2565b61088f565b604051610232919061373a565b60405180910390f35b34801561024757600080fd5b50610250610909565b60405161025d91906137ee565b60405180910390f35b34801561027257600080fd5b5061028d60048036038101906102889190613846565b61099b565b60405161029a9190613882565b60405180910390f35b3480156102af57600080fd5b506102ca60048036038101906102c59190613846565b610a55565b6040516102d791906138de565b60405180910390f35b3480156102ec57600080fd5b5061030760048036038101906103029190613925565b610ada565b005b34801561031557600080fd5b50610330600480360381019061032b91906139ca565b610bf2565b60405161033d9190613a61565b60405180910390f35b34801561035257600080fd5b5061035b610c20565b6040516103689190613882565b60405180910390f35b34801561037d57600080fd5b5061039860048036038101906103939190613a7c565b610c2d565b005b3480156103a657600080fd5b506103c160048036038101906103bc9190613925565b610c8d565b6040516103ce9190613882565b60405180910390f35b6103f160048036038101906103ec9190613846565b610d32565b005b3480156103ff57600080fd5b5061041a60048036038101906104159190613bff565b611047565b005b34801561042857600080fd5b50610443600480360381019061043e9190613a7c565b6111cf565b005b34801561045157600080fd5b5061046c60048036038101906104679190613cce565b6111ef565b60405161047a929190613e77565b60405180910390f35b34801561048f57600080fd5b506104aa60048036038101906104a59190613846565b61138a565b6040516104b7919061373a565b60405180910390f35b3480156104cc57600080fd5b506104e760048036038101906104e29190613846565b61139c565b6040516104f49190613882565b60405180910390f35b34801561050957600080fd5b5061051261140d565b60405161051f9190613f0d565b60405180910390f35b34801561053457600080fd5b5061054f600480360381019061054a9190613846565b611433565b60405161055c91906138de565b60405180910390f35b34801561057157600080fd5b5061057a6114e5565b60405161058791906137ee565b60405180910390f35b34801561059c57600080fd5b506105b760048036038101906105b29190613cce565b611573565b6040516105c49190613882565b60405180910390f35b3480156105d957600080fd5b506105e261162b565b005b3480156105f057600080fd5b506105f96116b3565b60405161060691906138de565b60405180910390f35b34801561061b57600080fd5b506106246116dd565b60405161063191906137ee565b60405180910390f35b34801561064657600080fd5b50610661600480360381019061065c9190613846565b61176f565b60405161066e9190613882565b60405180910390f35b34801561068357600080fd5b5061069e60048036038101906106999190613f54565b611829565b005b3480156106ac57600080fd5b506106c760048036038101906106c29190613846565b61183f565b6040516106d5929190613f94565b60405180910390f35b3480156106ea57600080fd5b506107056004803603810190610700919061405e565b6118fb565b005b34801561071357600080fd5b5061071c61195d565b60405161072991906137ee565b60405180910390f35b34801561073e57600080fd5b5061075960048036038101906107549190613846565b6119eb565b60405161076691906137ee565b60405180910390f35b34801561077b57600080fd5b50610784611a92565b6040516107919190614102565b60405180910390f35b3480156107a657600080fd5b506107c160048036038101906107bc9190613846565b611ab8565b005b3480156107cf57600080fd5b506107ea60048036038101906107e5919061411d565b611bf1565b6040516107f7919061373a565b60405180910390f35b34801561080c57600080fd5b5061082760048036038101906108229190613846565b611c85565b005b34801561083557600080fd5b50610850600480360381019061084b9190613cce565b611ea2565b005b34801561085e57600080fd5b5061087960048036038101906108749190613846565b611f9a565b60405161088691906138de565b60405180910390f35b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610902575061090182611fcd565b5b9050919050565b6060609780546109189061418c565b80601f01602080910402602001604051908101604052809291908181526020018280546109449061418c565b80156109915780601f1061096657610100808354040283529160200191610991565b820191906000526020600020905b81548152906001019060200180831161097457829003601f168201915b5050505050905090565b600060ff600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16637c2628716040518163ffffffff1660e01b815260040160206040518083038186803b158015610a1657600080fd5b505afa158015610a2a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a4e91906141d3565b9050919050565b6000610a60826120af565b610a9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9690614272565b60405180910390fd5b609b600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610ae582611433565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4d90614304565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b7561211b565b73ffffffffffffffffffffffffffffffffffffffff161480610ba45750610ba381610b9e61211b565b611bf1565b5b610be3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bda90614396565b60405180910390fd5b610bed8383612123565b505050565b60007f150b7a023d4804d13e8c85fb27262cb750cf6ba9f9dd3bb30d90f482ceeb4b1f905095945050505050565b600060cb80549050905090565b610c3e610c3861211b565b826121dc565b610c7d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7490614428565b60405180910390fd5b610c888383836122ba565b505050565b6000610c9883611573565b8210610cd9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cd0906144ba565b60405180910390fd5b60c960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b600073ffffffffffffffffffffffffffffffffffffffff1660ff600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415610e995760fc60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634c96a389306040518263ffffffff1660e01b8152600401610df591906138de565b602060405180830381600087803b158015610e0f57600080fd5b505af1158015610e23573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e4791906144ef565b60ff600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b610ea28161138a565b610f425760fb60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342842e0e3330846040518463ffffffff1660e01b8152600401610f059392919061451c565b600060405180830381600087803b158015610f1f57600080fd5b505af1158015610f33573d6000803e3d6000fd5b50505050610f413382612521565b5b60ff600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d0e30db0346040518263ffffffff1660e01b81526004016000604051808303818588803b158015610fbd57600080fd5b505af1158015610fd1573d6000803e3d6000fd5b50505050507f94d7341445c8324577301ae2fbc92ba44773357f4f3ba896bd12dfd76f99459d60ff600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16823460405161103c93929190614553565b60405180910390a150565b6000611053600161253f565b90508015611077576001600060016101000a81548160ff0219169083151502179055505b61107f61262f565b6110898484612688565b8560fb60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508460fc60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506040518060400160405280600581526020017f2e6a736f6e00000000000000000000000000000000000000000000000000000081525060fe90805190602001906111569291906135e3565b508160fd908051906020019061116d9291906135e3565b5080156111c75760008060016101000a81548160ff0219169083151502179055507f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb384740249860016040516111be91906145d2565b60405180910390a15b505050505050565b6111ea838383604051806020016040528060008152506118fb565b505050565b60608060006111fd84611573565b905060008167ffffffffffffffff81111561121b5761121a613ad4565b5b6040519080825280602002602001820160405280156112495781602001602082028036833780820191505090505b50905060008267ffffffffffffffff81111561126857611267613ad4565b5b6040519080825280602002602001820160405280156112965781602001602082028036833780820191505090505b50905060005b8381101561137b576112ae8782610c8d565b8382815181106112c1576112c06145ed565b5b60200260200101818152505060ff60008483815181106112e4576112e36145ed565b5b6020026020010151815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682828151811061132e5761132d6145ed565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505080806113739061464b565b91505061129c565b50818194509450505050915091565b6000611395826120af565b9050919050565b60006113a6610c20565b82106113e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113de90614706565b60405180910390fd5b60cb82815481106113fb576113fa6145ed565b5b90600052602060002001549050919050565b60fb60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000806099600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156114dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d390614798565b60405180910390fd5b80915050919050565b60fd80546114f29061418c565b80601f016020809104026020016040519081016040528092919081815260200182805461151e9061418c565b801561156b5780601f106115405761010080835404028352916020019161156b565b820191906000526020600020905b81548152906001019060200180831161154e57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156115e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115db9061482a565b60405180910390fd5b609a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61163361211b565b73ffffffffffffffffffffffffffffffffffffffff166116516116b3565b73ffffffffffffffffffffffffffffffffffffffff16146116a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169e90614896565b60405180910390fd5b6116b160006126e5565b565b6000603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060609880546116ec9061418c565b80601f01602080910402602001604051908101604052809291908181526020018280546117189061418c565b80156117655780601f1061173a57610100808354040283529160200191611765565b820191906000526020600020905b81548152906001019060200180831161174857829003601f168201915b5050505050905090565b600060ff600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c399ec886040518163ffffffff1660e01b815260040160206040518083038186803b1580156117ea57600080fd5b505afa1580156117fe573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061182291906141d3565b9050919050565b61183b61183461211b565b83836127ab565b5050565b60008060ff600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f35762206040518163ffffffff1660e01b8152600401604080518083038186803b1580156118ba57600080fd5b505afa1580156118ce573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118f291906148b6565b91509150915091565b61190c61190661211b565b836121dc565b61194b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161194290614428565b60405180910390fd5b61195784848484612918565b50505050565b60fe805461196a9061418c565b80601f01602080910402602001604051908101604052809291908181526020018280546119969061418c565b80156119e35780601f106119b8576101008083540402835291602001916119e3565b820191906000526020600020905b8154815290600101906020018083116119c657829003601f168201915b505050505081565b60606119f6826120af565b611a35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a2c90614968565b60405180910390fd5b6000611a3f612974565b90506000815111611a5f5760405180602001604052806000815250611a8a565b80611a6984612a06565b604051602001611a7a9291906149c4565b6040516020818303038152906040525b915050919050565b60fc60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600073ffffffffffffffffffffffffffffffffffffffff1660ff600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415611b5b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b5290614a5a565b60405180910390fd5b60ff600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16633ccfd60b6040518163ffffffff1660e01b8152600401600060405180830381600087803b158015611bd657600080fd5b505af1158015611bea573d6000803e3d6000fd5b5050505050565b6000609c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b3373ffffffffffffffffffffffffffffffffffffffff16611ca582611433565b73ffffffffffffffffffffffffffffffffffffffff1614611cfb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cf290614aec565b60405180910390fd5b60fb60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342842e0e3033846040518463ffffffff1660e01b8152600401611d5a9392919061451c565b600060405180830381600087803b158015611d7457600080fd5b505af1158015611d88573d6000803e3d6000fd5b5050505060ff600082815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16631e83409a336040518263ffffffff1660e01b8152600401611df891906138de565b600060405180830381600087803b158015611e1257600080fd5b505af1158015611e26573d6000803e3d6000fd5b50505050611e3381612b67565b7fa10425edcce3c531d8f074a91c3209a3f991e2a015ff946c111bd1cbd097ac4960ff600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682604051611e97929190614b0c565b60405180910390a150565b611eaa61211b565b73ffffffffffffffffffffffffffffffffffffffff16611ec86116b3565b73ffffffffffffffffffffffffffffffffffffffff1614611f1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f1590614896565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611f8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f8590614ba7565b60405180910390fd5b611f97816126e5565b50565b60ff6020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061209857507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806120a857506120a782612c84565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166099600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b81609b600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661219683611433565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006121e7826120af565b612226576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161221d90614c39565b60405180910390fd5b600061223183611433565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061227357506122728185611bf1565b5b806122b157508373ffffffffffffffffffffffffffffffffffffffff1661229984610a55565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166122da82611433565b73ffffffffffffffffffffffffffffffffffffffff1614612330576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161232790614ccb565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156123a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161239790614d5d565b60405180910390fd5b6123ab838383612cee565b6123b6600082612123565b6001609a60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546124069190614d7d565b925050819055506001609a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461245d9190614db1565b92505081905550816099600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461251c838383612e02565b505050565b61253b828260405180602001604052806000815250612e07565b5050565b60008060019054906101000a900460ff16156125b65760018260ff1614801561256e575061256c30612e62565b155b6125ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125a490614e79565b60405180910390fd5b6000905061262a565b8160ff1660008054906101000a900460ff1660ff161061260b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161260290614e79565b60405180910390fd5b816000806101000a81548160ff021916908360ff160217905550600190505b919050565b600060019054906101000a900460ff1661267e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161267590614f0b565b60405180910390fd5b612686612e85565b565b600060019054906101000a900460ff166126d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126ce90614f0b565b60405180910390fd5b6126e18282612ee6565b5050565b6000603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081603360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561281a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161281190614f77565b60405180910390fd5b80609c60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161290b919061373a565b60405180910390a3505050565b6129238484846122ba565b61292f84848484612f67565b61296e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161296590615009565b60405180910390fd5b50505050565b606060fd80546129839061418c565b80601f01602080910402602001604051908101604052809291908181526020018280546129af9061418c565b80156129fc5780601f106129d1576101008083540402835291602001916129fc565b820191906000526020600020905b8154815290600101906020018083116129df57829003601f168201915b5050505050905090565b60606000821415612a4e576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612b62565b600082905060005b60008214612a80578080612a699061464b565b915050600a82612a799190615058565b9150612a56565b60008167ffffffffffffffff811115612a9c57612a9b613ad4565b5b6040519080825280601f01601f191660200182016040528015612ace5781602001600182028036833780820191505090505b5090505b60008514612b5b57600182612ae79190614d7d565b9150600a85612af69190615089565b6030612b029190614db1565b60f81b818381518110612b1857612b176145ed565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612b549190615058565b9450612ad2565b8093505050505b919050565b6000612b7282611433565b9050612b8081600084612cee565b612b8b600083612123565b6001609a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612bdb9190614d7d565b925050819055506099600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612c8081600084612e02565b5050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612cf98383836130fe565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612d3c57612d3781613103565b612d7b565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612d7a57612d79838261314c565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612dbe57612db9816132b9565b612dfd565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612dfc57612dfb828261338a565b5b5b505050565b505050565b612e118383613409565b612e1e6000848484612f67565b612e5d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e5490615009565b60405180910390fd5b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600060019054906101000a900460ff16612ed4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ecb90614f0b565b60405180910390fd5b612ee4612edf61211b565b6126e5565b565b600060019054906101000a900460ff16612f35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f2c90614f0b565b60405180910390fd5b8160979080519060200190612f4b9291906135e3565b508060989080519060200190612f629291906135e3565b505050565b6000612f888473ffffffffffffffffffffffffffffffffffffffff16612e62565b156130f1578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612fb161211b565b8786866040518563ffffffff1660e01b8152600401612fd3949392919061510f565b602060405180830381600087803b158015612fed57600080fd5b505af192505050801561301e57506040513d601f19601f8201168201806040525081019061301b9190615170565b60015b6130a1573d806000811461304e576040519150601f19603f3d011682016040523d82523d6000602084013e613053565b606091505b50600081511415613099576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161309090615009565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506130f6565b600190505b949350505050565b505050565b60cb8054905060cc60008381526020019081526020016000208190555060cb81908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161315984611573565b6131639190614d7d565b9050600060ca600084815260200190815260200160002054905081811461324857600060c960008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008481526020019081526020016000205490508060c960008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000848152602001908152602001600020819055508160ca600083815260200190815260200160002081905550505b60ca60008481526020019081526020016000206000905560c960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160cb805490506132cd9190614d7d565b9050600060cc6000848152602001908152602001600020549050600060cb83815481106132fd576132fc6145ed565b5b906000526020600020015490508060cb838154811061331f5761331e6145ed565b5b90600052602060002001819055508160cc60008381526020019081526020016000208190555060cc60008581526020019081526020016000206000905560cb80548061336e5761336d61519d565b5b6001900381819060005260206000200160009055905550505050565b600061339583611573565b90508160c960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000838152602001908152602001600020819055508060ca600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613479576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161347090615218565b60405180910390fd5b613482816120af565b156134c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134b990615284565b60405180910390fd5b6134ce60008383612cee565b6001609a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461351e9190614db1565b92505081905550816099600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46135df60008383612e02565b5050565b8280546135ef9061418c565b90600052602060002090601f0160209004810192826136115760008555613658565b82601f1061362a57805160ff1916838001178555613658565b82800160010185558215613658579182015b8281111561365757825182559160200191906001019061363c565b5b5090506136659190613669565b5090565b5b8082111561368257600081600090555060010161366a565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6136cf8161369a565b81146136da57600080fd5b50565b6000813590506136ec816136c6565b92915050565b60006020828403121561370857613707613690565b5b6000613716848285016136dd565b91505092915050565b60008115159050919050565b6137348161371f565b82525050565b600060208201905061374f600083018461372b565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561378f578082015181840152602081019050613774565b8381111561379e576000848401525b50505050565b6000601f19601f8301169050919050565b60006137c082613755565b6137ca8185613760565b93506137da818560208601613771565b6137e3816137a4565b840191505092915050565b6000602082019050818103600083015261380881846137b5565b905092915050565b6000819050919050565b61382381613810565b811461382e57600080fd5b50565b6000813590506138408161381a565b92915050565b60006020828403121561385c5761385b613690565b5b600061386a84828501613831565b91505092915050565b61387c81613810565b82525050565b60006020820190506138976000830184613873565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006138c88261389d565b9050919050565b6138d8816138bd565b82525050565b60006020820190506138f360008301846138cf565b92915050565b613902816138bd565b811461390d57600080fd5b50565b60008135905061391f816138f9565b92915050565b6000806040838503121561393c5761393b613690565b5b600061394a85828601613910565b925050602061395b85828601613831565b9150509250929050565b600080fd5b600080fd5b600080fd5b60008083601f84011261398a57613989613965565b5b8235905067ffffffffffffffff8111156139a7576139a661396a565b5b6020830191508360018202830111156139c3576139c261396f565b5b9250929050565b6000806000806000608086880312156139e6576139e5613690565b5b60006139f488828901613910565b9550506020613a0588828901613910565b9450506040613a1688828901613831565b935050606086013567ffffffffffffffff811115613a3757613a36613695565b5b613a4388828901613974565b92509250509295509295909350565b613a5b8161369a565b82525050565b6000602082019050613a766000830184613a52565b92915050565b600080600060608486031215613a9557613a94613690565b5b6000613aa386828701613910565b9350506020613ab486828701613910565b9250506040613ac586828701613831565b9150509250925092565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613b0c826137a4565b810181811067ffffffffffffffff82111715613b2b57613b2a613ad4565b5b80604052505050565b6000613b3e613686565b9050613b4a8282613b03565b919050565b600067ffffffffffffffff821115613b6a57613b69613ad4565b5b613b73826137a4565b9050602081019050919050565b82818337600083830152505050565b6000613ba2613b9d84613b4f565b613b34565b905082815260208101848484011115613bbe57613bbd613acf565b5b613bc9848285613b80565b509392505050565b600082601f830112613be657613be5613965565b5b8135613bf6848260208601613b8f565b91505092915050565b600080600080600060a08688031215613c1b57613c1a613690565b5b6000613c2988828901613910565b9550506020613c3a88828901613910565b945050604086013567ffffffffffffffff811115613c5b57613c5a613695565b5b613c6788828901613bd1565b935050606086013567ffffffffffffffff811115613c8857613c87613695565b5b613c9488828901613bd1565b925050608086013567ffffffffffffffff811115613cb557613cb4613695565b5b613cc188828901613bd1565b9150509295509295909350565b600060208284031215613ce457613ce3613690565b5b6000613cf284828501613910565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613d3081613810565b82525050565b6000613d428383613d27565b60208301905092915050565b6000602082019050919050565b6000613d6682613cfb565b613d708185613d06565b9350613d7b83613d17565b8060005b83811015613dac578151613d938882613d36565b9750613d9e83613d4e565b925050600181019050613d7f565b5085935050505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613dee816138bd565b82525050565b6000613e008383613de5565b60208301905092915050565b6000602082019050919050565b6000613e2482613db9565b613e2e8185613dc4565b9350613e3983613dd5565b8060005b83811015613e6a578151613e518882613df4565b9750613e5c83613e0c565b925050600181019050613e3d565b5085935050505092915050565b60006040820190508181036000830152613e918185613d5b565b90508181036020830152613ea58184613e19565b90509392505050565b6000819050919050565b6000613ed3613ece613ec98461389d565b613eae565b61389d565b9050919050565b6000613ee582613eb8565b9050919050565b6000613ef782613eda565b9050919050565b613f0781613eec565b82525050565b6000602082019050613f226000830184613efe565b92915050565b613f318161371f565b8114613f3c57600080fd5b50565b600081359050613f4e81613f28565b92915050565b60008060408385031215613f6b57613f6a613690565b5b6000613f7985828601613910565b9250506020613f8a85828601613f3f565b9150509250929050565b6000604082019050613fa96000830185613873565b613fb66020830184613873565b9392505050565b600067ffffffffffffffff821115613fd857613fd7613ad4565b5b613fe1826137a4565b9050602081019050919050565b6000614001613ffc84613fbd565b613b34565b90508281526020810184848401111561401d5761401c613acf565b5b614028848285613b80565b509392505050565b600082601f83011261404557614044613965565b5b8135614055848260208601613fee565b91505092915050565b6000806000806080858703121561407857614077613690565b5b600061408687828801613910565b945050602061409787828801613910565b93505060406140a887828801613831565b925050606085013567ffffffffffffffff8111156140c9576140c8613695565b5b6140d587828801614030565b91505092959194509250565b60006140ec82613eda565b9050919050565b6140fc816140e1565b82525050565b600060208201905061411760008301846140f3565b92915050565b6000806040838503121561413457614133613690565b5b600061414285828601613910565b925050602061415385828601613910565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806141a457607f821691505b602082108114156141b8576141b761415d565b5b50919050565b6000815190506141cd8161381a565b92915050565b6000602082840312156141e9576141e8613690565b5b60006141f7848285016141be565b91505092915050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b600061425c602c83613760565b915061426782614200565b604082019050919050565b6000602082019050818103600083015261428b8161424f565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006142ee602183613760565b91506142f982614292565b604082019050919050565b6000602082019050818103600083015261431d816142e1565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b6000614380603883613760565b915061438b82614324565b604082019050919050565b600060208201905081810360008301526143af81614373565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b6000614412603183613760565b915061441d826143b6565b604082019050919050565b6000602082019050818103600083015261444181614405565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b60006144a4602b83613760565b91506144af82614448565b604082019050919050565b600060208201905081810360008301526144d381614497565b9050919050565b6000815190506144e9816138f9565b92915050565b60006020828403121561450557614504613690565b5b6000614513848285016144da565b91505092915050565b600060608201905061453160008301866138cf565b61453e60208301856138cf565b61454b6040830184613873565b949350505050565b600060608201905061456860008301866138cf565b6145756020830185613873565b6145826040830184613873565b949350505050565b6000819050919050565b600060ff82169050919050565b60006145bc6145b76145b28461458a565b613eae565b614594565b9050919050565b6145cc816145a1565b82525050565b60006020820190506145e760008301846145c3565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061465682613810565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156146895761468861461c565b5b600182019050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b60006146f0602c83613760565b91506146fb82614694565b604082019050919050565b6000602082019050818103600083015261471f816146e3565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000614782602983613760565b915061478d82614726565b604082019050919050565b600060208201905081810360008301526147b181614775565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000614814602a83613760565b915061481f826147b8565b604082019050919050565b6000602082019050818103600083015261484381614807565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614880602083613760565b915061488b8261484a565b602082019050919050565b600060208201905081810360008301526148af81614873565b9050919050565b600080604083850312156148cd576148cc613690565b5b60006148db858286016141be565b92505060206148ec858286016141be565b9150509250929050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000614952602f83613760565b915061495d826148f6565b604082019050919050565b6000602082019050818103600083015261498181614945565b9050919050565b600081905092915050565b600061499e82613755565b6149a88185614988565b93506149b8818560208601613771565b80840191505092915050565b60006149d08285614993565b91506149dc8284614993565b91508190509392505050565b7f436172626f6e697a6564436f6c6c656374696f6e3a20746f6b656e496420697360008201527f206e6f7420636172626f6e697a65640000000000000000000000000000000000602082015250565b6000614a44602f83613760565b9150614a4f826149e8565b604082019050919050565b60006020820190508181036000830152614a7381614a37565b9050919050565b7f436172626f6e697a6564436f6c6c656374696f6e3a2063616c6c657220646f6560008201527f73206e6f74206f776e20746f6b656e4964000000000000000000000000000000602082015250565b6000614ad6603183613760565b9150614ae182614a7a565b604082019050919050565b60006020820190508181036000830152614b0581614ac9565b9050919050565b6000604082019050614b2160008301856138cf565b614b2e6020830184613873565b9392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614b91602683613760565b9150614b9c82614b35565b604082019050919050565b60006020820190508181036000830152614bc081614b84565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614c23602c83613760565b9150614c2e82614bc7565b604082019050919050565b60006020820190508181036000830152614c5281614c16565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000614cb5602583613760565b9150614cc082614c59565b604082019050919050565b60006020820190508181036000830152614ce481614ca8565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000614d47602483613760565b9150614d5282614ceb565b604082019050919050565b60006020820190508181036000830152614d7681614d3a565b9050919050565b6000614d8882613810565b9150614d9383613810565b925082821015614da657614da561461c565b5b828203905092915050565b6000614dbc82613810565b9150614dc783613810565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614dfc57614dfb61461c565b5b828201905092915050565b7f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160008201527f647920696e697469616c697a6564000000000000000000000000000000000000602082015250565b6000614e63602e83613760565b9150614e6e82614e07565b604082019050919050565b60006020820190508181036000830152614e9281614e56565b9050919050565b7f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960008201527f6e697469616c697a696e67000000000000000000000000000000000000000000602082015250565b6000614ef5602b83613760565b9150614f0082614e99565b604082019050919050565b60006020820190508181036000830152614f2481614ee8565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000614f61601983613760565b9150614f6c82614f2b565b602082019050919050565b60006020820190508181036000830152614f9081614f54565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000614ff3603283613760565b9150614ffe82614f97565b604082019050919050565b6000602082019050818103600083015261502281614fe6565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061506382613810565b915061506e83613810565b92508261507e5761507d615029565b5b828204905092915050565b600061509482613810565b915061509f83613810565b9250826150af576150ae615029565b5b828206905092915050565b600081519050919050565b600082825260208201905092915050565b60006150e1826150ba565b6150eb81856150c5565b93506150fb818560208601613771565b615104816137a4565b840191505092915050565b600060808201905061512460008301876138cf565b61513160208301866138cf565b61513e6040830185613873565b818103606083015261515081846150d6565b905095945050505050565b60008151905061516a816136c6565b92915050565b60006020828403121561518657615185613690565b5b60006151948482850161515b565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000615202602083613760565b915061520d826151cc565b602082019050919050565b60006020820190508181036000830152615231816151f5565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b600061526e601c83613760565b915061527982615238565b602082019050919050565b6000602082019050818103600083015261529d81615261565b905091905056fea264697066735822122047aebec84252bfc94c781976117d7f4efc681d617492ee0487dfbb99282872b064736f6c63430008090033