Address Details
contract
token

0x5A8c2d7BDcC65a751C1037f961fe6A41e6055120

Token
Recycle (RCY)
Creator
0x46e949–ae6a0f at 0xb129bd–12fbb1
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
1 Transactions
Transfers
1 Transfers
Gas Used
249,209
Last Balance Update
13615037
This contract has been verified via Sourcify. View contract in Sourcify repository
Contract name:
Waste




Optimization enabled
false
Compiler version
v0.8.7+commit.e28d00a7




EVM Version
london




Verified at
2022-09-30T10:29:15.644686Z

contracts/recycle.sol

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


import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";

contract Waste is ERC721URIStorage {
    using Counters for Counters.Counter;
    Counters.Counter private _tokenIds;
    Counters.Counter private  _itemsRecycled;

    address payable owner;

    mapping(uint256 => MarketItem) private idToMarketItem;

    struct MarketItem {
      uint256 tokenId;
      address payable seller;
      address payable owner;
      uint256 price;
      bool recycled;
    }

    event MarketItemCreated (
      uint256 indexed tokenId,
      address seller,
      address owner,
      uint256 price,
      bool recycled
    );

    constructor() ERC721("Recycle", "RCY") {
      owner = payable(msg.sender);
      _mint(msg.sender,100000 * 10 );
    }

     /* Mints a waste and lists it in the marketplace */
    function createToken(string memory tokenURI, uint256 price) public payable returns (uint) {
      _tokenIds.increment();
      uint256 newTokenId = _tokenIds.current();

      _mint(msg.sender, newTokenId);
      _setTokenURI(newTokenId, tokenURI);
      createMarketItem(newTokenId, price);
      return newTokenId;
    }

    function createMarketItem(
      uint256 tokenId, uint256 price
    ) private {
   require(price >= 0, "Price must be at least 0 wei");
      idToMarketItem[tokenId] =  MarketItem(
        tokenId,
        payable(msg.sender),
        payable(address(this)),
        price,
        false
      );

       _transfer(msg.sender, address(this), tokenId);
      emit MarketItemCreated(
        tokenId,
        msg.sender,
        address(this),
        price,
        false
      );
    }

    // Transfers ownership of the item, as well as funds between parties 
    function createMarketSale(
      uint256 tokenId
      ) public payable {
      uint price = idToMarketItem[tokenId].price;
      address seller = idToMarketItem[tokenId].seller;   
      require(msg.value == price, "Please submit the asking price in order to complete the purchase");

      idToMarketItem[tokenId].owner = payable(msg.sender);
      idToMarketItem[tokenId].recycled = true;
      idToMarketItem[tokenId].seller = payable(address(0));
      _itemsRecycled.increment();
      _transfer(address(this), msg.sender, tokenId);
      payable(seller).transfer(msg.value);
    }
    

    /* Returns all unsold market items */
    function fetchMarketItems() public view returns (MarketItem[] memory) {
      uint itemCount = _tokenIds.current();
      uint unsoldItemCount = _tokenIds.current() - _itemsRecycled.current();
      uint currentIndex = 0;

      MarketItem[] memory items = new MarketItem[](unsoldItemCount);
      for (uint i = 0; i < itemCount; i++) {
        if (idToMarketItem[i + 1].owner == address(this)) {
          uint currentId = i + 1;
          MarketItem storage currentItem = idToMarketItem[currentId];
          items[currentIndex] = currentItem;
          currentIndex += 1;
        }
      }
      return items;
    }

    /* Returns only items that a user has purchased   */
    function fetchMyNFTs() public view returns (MarketItem[] memory) {
      uint totalItemCount = _tokenIds.current();
      uint itemCount = 0;
      uint currentIndex = 0;

      for (uint i = 0; i < totalItemCount; i++) {
        if (idToMarketItem[i + 1].owner == msg.sender) {
          itemCount += 1;
        }
      }

      MarketItem[] memory items = new MarketItem[](itemCount);
      for (uint i = 0; i < totalItemCount; i++) {
        if (idToMarketItem[i + 1].owner == msg.sender) {
          uint currentId = i + 1;
          MarketItem storage currentItem = idToMarketItem[currentId];
          items[currentIndex] = currentItem;
          currentIndex += 1;
        }
      }
      return items;
    }
  

    /* Returns only items a user has listed */
    function fetchItemsListed() public view returns (MarketItem[] memory) {
      uint totalItemCount = _tokenIds.current();
      uint itemCount = 0;
      uint currentIndex = 0;

      for (uint i = 0; i < totalItemCount; i++) {
        if (idToMarketItem[i + 1].seller == msg.sender) {
          itemCount += 1;
        }
      }

      MarketItem[] memory items = new MarketItem[](itemCount);
      for (uint i = 0; i < totalItemCount; i++) {
        if (idToMarketItem[i + 1].seller == msg.sender) {
          uint currentId = i + 1;
          MarketItem storage currentItem = idToMarketItem[currentId];
          items[currentIndex] = currentItem;
          currentIndex += 1;
        }
      }
      return items;
    }
}
        

/_openzeppelin/contracts/token/ERC721/ERC721.sol

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

pragma solidity ^0.8.0;

import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/Strings.sol";
import "../../utils/introspection/ERC165.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 ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        require(owner != address(0), "ERC721: address zero is not a valid owner");
        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: invalid token ID");
        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) {
        _requireMinted(tokenId);

        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 = ERC721.ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

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

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        _requireMinted(tokenId);

        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: caller is not token 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: caller is not token 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) {
        address owner = ERC721.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 = ERC721.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(ERC721.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 an {Approval} event.
     */
    function _approve(address to, uint256 tokenId) internal virtual {
        _tokenApprovals[tokenId] = to;
        emit Approval(ERC721.ownerOf(tokenId), to, tokenId);
    }

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits an {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 Reverts if the `tokenId` has not been minted yet.
     */
    function _requireMinted(uint256 tokenId) internal view virtual {
        require(_exists(tokenId), "ERC721: invalid token ID");
    }

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

/_openzeppelin/contracts/token/ERC721/IERC721.sol

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes calldata data
    ) external;

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

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

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

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

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

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

/_openzeppelin/contracts/token/ERC721/IERC721Receiver.sol

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

pragma solidity ^0.8.0;

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

/_openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol

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

pragma solidity ^0.8.0;

import "../ERC721.sol";

/**
 * @dev ERC721 token with storage based token URI management.
 */
abstract contract ERC721URIStorage is ERC721 {
    using Strings for uint256;

    // Optional mapping for token URIs
    mapping(uint256 => string) private _tokenURIs;

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        _requireMinted(tokenId);

        string memory _tokenURI = _tokenURIs[tokenId];
        string memory base = _baseURI();

        // If there is no base URI, return the token URI.
        if (bytes(base).length == 0) {
            return _tokenURI;
        }
        // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked).
        if (bytes(_tokenURI).length > 0) {
            return string(abi.encodePacked(base, _tokenURI));
        }

        return super.tokenURI(tokenId);
    }

    /**
     * @dev Sets `_tokenURI` as the tokenURI of `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual {
        require(_exists(tokenId), "ERC721URIStorage: URI set of nonexistent token");
        _tokenURIs[tokenId] = _tokenURI;
    }

    /**
     * @dev See {ERC721-_burn}. This override additionally checks to see if a
     * token-specific URI was set for the token, and if so, it deletes the token URI from
     * the storage mapping.
     */
    function _burn(uint256 tokenId) internal virtual override {
        super._burn(tokenId);

        if (bytes(_tokenURIs[tokenId]).length != 0) {
            delete _tokenURIs[tokenId];
        }
    }
}
          

/_openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

/_openzeppelin/contracts/utils/Address.sol

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

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/_openzeppelin/contracts/utils/Context.sol

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

pragma solidity ^0.8.0;

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

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

/_openzeppelin/contracts/utils/Counters.sol

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

pragma solidity ^0.8.0;

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(Counter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }

    function reset(Counter storage counter) internal {
        counter._value = 0;
    }
}
          

/_openzeppelin/contracts/utils/Strings.sol

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

/_openzeppelin/contracts/utils/introspection/ERC165.sol

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

/_openzeppelin/contracts/utils/introspection/IERC165.sol

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

pragma solidity ^0.8.0;

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

Contract ABI

[{"type":"constructor","stateMutability":"nonpayable","inputs":[]},{"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":"MarketItemCreated","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256","indexed":true},{"type":"address","name":"seller","internalType":"address","indexed":false},{"type":"address","name":"owner","internalType":"address","indexed":false},{"type":"uint256","name":"price","internalType":"uint256","indexed":false},{"type":"bool","name":"recycled","internalType":"bool","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":"payable","outputs":[],"name":"createMarketSale","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"payable","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"createToken","inputs":[{"type":"string","name":"tokenURI","internalType":"string"},{"type":"uint256","name":"price","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"tuple[]","name":"","internalType":"struct Waste.MarketItem[]","components":[{"type":"uint256","name":"tokenId","internalType":"uint256"},{"type":"address","name":"seller","internalType":"address payable"},{"type":"address","name":"owner","internalType":"address payable"},{"type":"uint256","name":"price","internalType":"uint256"},{"type":"bool","name":"recycled","internalType":"bool"}]}],"name":"fetchItemsListed","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"tuple[]","name":"","internalType":"struct Waste.MarketItem[]","components":[{"type":"uint256","name":"tokenId","internalType":"uint256"},{"type":"address","name":"seller","internalType":"address payable"},{"type":"address","name":"owner","internalType":"address payable"},{"type":"uint256","name":"price","internalType":"uint256"},{"type":"bool","name":"recycled","internalType":"bool"}]}],"name":"fetchMarketItems","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"tuple[]","name":"","internalType":"struct Waste.MarketItem[]","components":[{"type":"uint256","name":"tokenId","internalType":"uint256"},{"type":"address","name":"seller","internalType":"address payable"},{"type":"address","name":"owner","internalType":"address payable"},{"type":"uint256","name":"price","internalType":"uint256"},{"type":"bool","name":"recycled","internalType":"bool"}]}],"name":"fetchMyNFTs","inputs":[]},{"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":"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":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"ownerOf","inputs":[{"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":"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":"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":"string","name":"","internalType":"string"}],"name":"tokenURI","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"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"}]}]
              

Contract Creation Code

0x60806040523480156200001157600080fd5b506040518060400160405280600781526020017f52656379636c65000000000000000000000000000000000000000000000000008152506040518060400160405280600381526020017f52435900000000000000000000000000000000000000000000000000000000008152508160009080519060200190620000969291906200037e565b508060019080519060200190620000af9291906200037e565b50505033600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506200010833620f42406200010e60201b60201c565b6200061e565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141562000181576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000178906200049e565b60405180910390fd5b62000192816200030860201b60201c565b15620001d5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620001cc906200047c565b60405180910390fd5b620001e9600083836200037460201b60201c565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546200023b9190620004d1565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a462000304600083836200037960201b60201c565b5050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b505050565b505050565b8280546200038c9062000538565b90600052602060002090601f016020900481019282620003b05760008555620003fc565b82601f10620003cb57805160ff1916838001178555620003fc565b82800160010185558215620003fc579182015b82811115620003fb578251825591602001919060010190620003de565b5b5090506200040b91906200040f565b5090565b5b808211156200042a57600081600090555060010162000410565b5090565b60006200043d601c83620004c0565b91506200044a82620005cc565b602082019050919050565b600062000464602083620004c0565b91506200047182620005f5565b602082019050919050565b6000602082019050818103600083015262000497816200042e565b9050919050565b60006020820190508181036000830152620004b98162000455565b9050919050565b600082825260208201905092915050565b6000620004de826200052e565b9150620004eb836200052e565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156200052357620005226200056e565b5b828201905092915050565b6000819050919050565b600060028204905060018216806200055157607f821691505b602082108114156200056857620005676200059d565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b613907806200062e6000396000f3fe6080604052600436106101095760003560e01c80636352211e11610095578063a22cb46511610064578063a22cb46514610384578063b88d4fde146103ad578063be9af536146103d6578063c87b56dd146103f2578063e985e9c51461042f57610109565b80636352211e146102af57806370a08231146102ec57806372b3b6201461032957806395d89b411461035957610109565b80630f08efe0116100dc5780630f08efe0146101dc578063202e37401461020757806323b872dd1461023257806342842e0e1461025b57806345f8fa801461028457610109565b806301ffc9a71461010e57806306fdde031461014b578063081812fc14610176578063095ea7b3146101b3575b600080fd5b34801561011a57600080fd5b50610135600480360381019061013091906128bc565b61046c565b6040516101429190612e56565b60405180910390f35b34801561015757600080fd5b5061016061054e565b60405161016d9190612e71565b60405180910390f35b34801561018257600080fd5b5061019d60048036038101906101989190612972565b6105e0565b6040516101aa9190612d88565b60405180910390f35b3480156101bf57600080fd5b506101da60048036038101906101d5919061287c565b610626565b005b3480156101e857600080fd5b506101f161073e565b6040516101fe9190612e34565b60405180910390f35b34801561021357600080fd5b5061021c6109a7565b6040516102299190612e34565b60405180910390f35b34801561023e57600080fd5b5061025960048036038101906102549190612766565b610c95565b005b34801561026757600080fd5b50610282600480360381019061027d9190612766565b610cf5565b005b34801561029057600080fd5b50610299610d15565b6040516102a69190612e34565b60405180910390f35b3480156102bb57600080fd5b506102d660048036038101906102d19190612972565b611003565b6040516102e39190612d88565b60405180910390f35b3480156102f857600080fd5b50610313600480360381019061030e91906126f9565b6110b5565b6040516103209190613053565b60405180910390f35b610343600480360381019061033e9190612916565b61116d565b6040516103509190613053565b60405180910390f35b34801561036557600080fd5b5061036e6111af565b60405161037b9190612e71565b60405180910390f35b34801561039057600080fd5b506103ab60048036038101906103a6919061283c565b611241565b005b3480156103b957600080fd5b506103d460048036038101906103cf91906127b9565b611257565b005b6103f060048036038101906103eb9190612972565b6112b9565b005b3480156103fe57600080fd5b5061041960048036038101906104149190612972565b61148c565b6040516104269190612e71565b60405180910390f35b34801561043b57600080fd5b5061045660048036038101906104519190612726565b61159f565b6040516104639190612e56565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061053757507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610547575061054682611633565b5b9050919050565b60606000805461055d906132f4565b80601f0160208091040260200160405190810160405280929190818152602001828054610589906132f4565b80156105d65780601f106105ab576101008083540402835291602001916105d6565b820191906000526020600020905b8154815290600101906020018083116105b957829003601f168201915b5050505050905090565b60006105eb8261169d565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061063182611003565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156106a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161069990613013565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166106c16116e8565b73ffffffffffffffffffffffffffffffffffffffff1614806106f057506106ef816106ea6116e8565b61159f565b5b61072f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161072690612f93565b60405180910390fd5b61073983836116f0565b505050565b6060600061074c60076117a9565b9050600061075a60086117a9565b61076460076117a9565b61076e91906131f8565b90506000808267ffffffffffffffff81111561078d5761078c61348d565b5b6040519080825280602002602001820160405280156107c657816020015b6107b36124b0565b8152602001906001900390816107ab5790505b50905060005b8481101561099c573073ffffffffffffffffffffffffffffffffffffffff16600a60006001846107fc9190613171565b815260200190815260200160002060020160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156109895760006001826108599190613171565b90506000600a60008381526020019081526020016000209050806040518060a0016040529081600082015481526020016001820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016002820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001600382015481526020016004820160009054906101000a900460ff16151515158152505084868151811061096c5761096b61345e565b5b60200260200101819052506001856109849190613171565b945050505b808061099490613357565b9150506107cc565b508094505050505090565b606060006109b560076117a9565b905060008060005b83811015610a5e573373ffffffffffffffffffffffffffffffffffffffff16600a60006001846109ed9190613171565b815260200190815260200160002060020160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415610a4b57600183610a489190613171565b92505b8080610a5690613357565b9150506109bd565b5060008267ffffffffffffffff811115610a7b57610a7a61348d565b5b604051908082528060200260200182016040528015610ab457816020015b610aa16124b0565b815260200190600190039081610a995790505b50905060005b84811015610c8a573373ffffffffffffffffffffffffffffffffffffffff16600a6000600184610aea9190613171565b815260200190815260200160002060020160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415610c77576000600182610b479190613171565b90506000600a60008381526020019081526020016000209050806040518060a0016040529081600082015481526020016001820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016002820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001600382015481526020016004820160009054906101000a900460ff161515151581525050848681518110610c5a57610c5961345e565b5b6020026020010181905250600185610c729190613171565b945050505b8080610c8290613357565b915050610aba565b508094505050505090565b610ca6610ca06116e8565b826117b7565b610ce5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cdc90613033565b60405180910390fd5b610cf083838361184c565b505050565b610d1083838360405180602001604052806000815250611257565b505050565b60606000610d2360076117a9565b905060008060005b83811015610dcc573373ffffffffffffffffffffffffffffffffffffffff16600a6000600184610d5b9190613171565b815260200190815260200160002060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415610db957600183610db69190613171565b92505b8080610dc490613357565b915050610d2b565b5060008267ffffffffffffffff811115610de957610de861348d565b5b604051908082528060200260200182016040528015610e2257816020015b610e0f6124b0565b815260200190600190039081610e075790505b50905060005b84811015610ff8573373ffffffffffffffffffffffffffffffffffffffff16600a6000600184610e589190613171565b815260200190815260200160002060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415610fe5576000600182610eb59190613171565b90506000600a60008381526020019081526020016000209050806040518060a0016040529081600082015481526020016001820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016002820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001600382015481526020016004820160009054906101000a900460ff161515151581525050848681518110610fc857610fc761345e565b5b6020026020010181905250600185610fe09190613171565b945050505b8080610ff090613357565b915050610e28565b508094505050505090565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156110ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110a390612ff3565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611126576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111d90612f33565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60006111796007611ab3565b600061118560076117a9565b90506111913382611ac9565b61119b8185611ca3565b6111a58184611d17565b8091505092915050565b6060600180546111be906132f4565b80601f01602080910402602001604051908101604052809291908181526020018280546111ea906132f4565b80156112375780601f1061120c57610100808354040283529160200191611237565b820191906000526020600020905b81548152906001019060200180831161121a57829003601f168201915b5050505050905090565b61125361124c6116e8565b8383611ed7565b5050565b6112686112626116e8565b836117b7565b6112a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129e90613033565b60405180910390fd5b6112b384848484612044565b50505050565b6000600a60008381526020019081526020016000206003015490506000600a600084815260200190815260200160002060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050813414611351576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134890612f73565b60405180910390fd5b33600a600085815260200190815260200160002060020160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001600a600085815260200190815260200160002060040160006101000a81548160ff0219169083151502179055506000600a600085815260200190815260200160002060010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506114356008611ab3565b61144030338561184c565b8073ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f19350505050158015611486573d6000803e3d6000fd5b50505050565b60606114978261169d565b60006006600084815260200190815260200160002080546114b7906132f4565b80601f01602080910402602001604051908101604052809291908181526020018280546114e3906132f4565b80156115305780601f1061150557610100808354040283529160200191611530565b820191906000526020600020905b81548152906001019060200180831161151357829003601f168201915b5050505050905060006115416120a0565b905060008151141561155757819250505061159a565b60008251111561158c578082604051602001611574929190612d64565b6040516020818303038152906040529250505061159a565b611595846120b7565b925050505b919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6116a68161211f565b6116e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116dc90612ff3565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661176383611003565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081600001549050919050565b6000806117c383611003565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806118055750611804818561159f565b5b8061184357508373ffffffffffffffffffffffffffffffffffffffff1661182b846105e0565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661186c82611003565b73ffffffffffffffffffffffffffffffffffffffff16146118c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118b990612eb3565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611932576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161192990612ef3565b60405180910390fd5b61193d83838361218b565b6119486000826116f0565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461199891906131f8565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546119ef9190613171565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611aae838383612190565b505050565b6001816000016000828254019250508190555050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611b39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b3090612fb3565b60405180910390fd5b611b428161211f565b15611b82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b7990612ed3565b60405180910390fd5b611b8e6000838361218b565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611bde9190613171565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611c9f60008383612190565b5050565b611cac8261211f565b611ceb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ce290612f53565b60405180910390fd5b80600660008481526020019081526020016000209080519060200190611d1292919061250d565b505050565b6000811015611d5b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5290612fd3565b60405180910390fd5b6040518060a001604052808381526020013373ffffffffffffffffffffffffffffffffffffffff1681526020013073ffffffffffffffffffffffffffffffffffffffff16815260200182815260200160001515815250600a60008481526020019081526020016000206000820151816000015560208201518160010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060408201518160020160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506060820151816003015560808201518160040160006101000a81548160ff021916908315150217905550905050611e9433308461184c565b817fb640004f1d14576d0c209e240cad0410e0d8c0c33a09375861fbadae2588a98d3330846000604051611ecb9493929190612da3565b60405180910390a25050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611f46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f3d90612f13565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516120379190612e56565b60405180910390a3505050565b61204f84848461184c565b61205b84848484612195565b61209a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161209190612e93565b60405180910390fd5b50505050565b606060405180602001604052806000815250905090565b60606120c28261169d565b60006120cc6120a0565b905060008151116120ec5760405180602001604052806000815250612117565b806120f68461232c565b604051602001612107929190612d64565b6040516020818303038152906040525b915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b505050565b505050565b60006121b68473ffffffffffffffffffffffffffffffffffffffff1661248d565b1561231f578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026121df6116e8565b8786866040518563ffffffff1660e01b81526004016122019493929190612de8565b602060405180830381600087803b15801561221b57600080fd5b505af192505050801561224c57506040513d601f19601f8201168201806040525081019061224991906128e9565b60015b6122cf573d806000811461227c576040519150601f19603f3d011682016040523d82523d6000602084013e612281565b606091505b506000815114156122c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122be90612e93565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612324565b600190505b949350505050565b60606000821415612374576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612488565b600082905060005b600082146123a657808061238f90613357565b915050600a8261239f91906131c7565b915061237c565b60008167ffffffffffffffff8111156123c2576123c161348d565b5b6040519080825280601f01601f1916602001820160405280156123f45781602001600182028036833780820191505090505b5090505b600085146124815760018261240d91906131f8565b9150600a8561241c91906133a0565b60306124289190613171565b60f81b81838151811061243e5761243d61345e565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561247a91906131c7565b94506123f8565b8093505050505b919050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6040518060a0016040528060008152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600081526020016000151581525090565b828054612519906132f4565b90600052602060002090601f01602090048101928261253b5760008555612582565b82601f1061255457805160ff1916838001178555612582565b82800160010185558215612582579182015b82811115612581578251825591602001919060010190612566565b5b50905061258f9190612593565b5090565b5b808211156125ac576000816000905550600101612594565b5090565b60006125c36125be84613093565b61306e565b9050828152602081018484840111156125df576125de6134c1565b5b6125ea8482856132b2565b509392505050565b6000612605612600846130c4565b61306e565b905082815260208101848484011115612621576126206134c1565b5b61262c8482856132b2565b509392505050565b60008135905061264381613875565b92915050565b6000813590506126588161388c565b92915050565b60008135905061266d816138a3565b92915050565b600081519050612682816138a3565b92915050565b600082601f83011261269d5761269c6134bc565b5b81356126ad8482602086016125b0565b91505092915050565b600082601f8301126126cb576126ca6134bc565b5b81356126db8482602086016125f2565b91505092915050565b6000813590506126f3816138ba565b92915050565b60006020828403121561270f5761270e6134cb565b5b600061271d84828501612634565b91505092915050565b6000806040838503121561273d5761273c6134cb565b5b600061274b85828601612634565b925050602061275c85828601612634565b9150509250929050565b60008060006060848603121561277f5761277e6134cb565b5b600061278d86828701612634565b935050602061279e86828701612634565b92505060406127af868287016126e4565b9150509250925092565b600080600080608085870312156127d3576127d26134cb565b5b60006127e187828801612634565b94505060206127f287828801612634565b9350506040612803878288016126e4565b925050606085013567ffffffffffffffff811115612824576128236134c6565b5b61283087828801612688565b91505092959194509250565b60008060408385031215612853576128526134cb565b5b600061286185828601612634565b925050602061287285828601612649565b9150509250929050565b60008060408385031215612893576128926134cb565b5b60006128a185828601612634565b92505060206128b2858286016126e4565b9150509250929050565b6000602082840312156128d2576128d16134cb565b5b60006128e08482850161265e565b91505092915050565b6000602082840312156128ff576128fe6134cb565b5b600061290d84828501612673565b91505092915050565b6000806040838503121561292d5761292c6134cb565b5b600083013567ffffffffffffffff81111561294b5761294a6134c6565b5b612957858286016126b6565b9250506020612968858286016126e4565b9150509250929050565b600060208284031215612988576129876134cb565b5b6000612996848285016126e4565b91505092915050565b60006129ab8383612cde565b60a08301905092915050565b6129c08161323e565b82525050565b6129cf8161322c565b82525050565b60006129e082613105565b6129ea8185613133565b93506129f5836130f5565b8060005b83811015612a26578151612a0d888261299f565b9750612a1883613126565b9250506001810190506129f9565b5085935050505092915050565b612a3c81613250565b82525050565b612a4b81613250565b82525050565b6000612a5c82613110565b612a668185613144565b9350612a768185602086016132c1565b612a7f816134d0565b840191505092915050565b6000612a958261311b565b612a9f8185613155565b9350612aaf8185602086016132c1565b612ab8816134d0565b840191505092915050565b6000612ace8261311b565b612ad88185613166565b9350612ae88185602086016132c1565b80840191505092915050565b6000612b01603283613155565b9150612b0c826134e1565b604082019050919050565b6000612b24602583613155565b9150612b2f82613530565b604082019050919050565b6000612b47601c83613155565b9150612b528261357f565b602082019050919050565b6000612b6a602483613155565b9150612b75826135a8565b604082019050919050565b6000612b8d601983613155565b9150612b98826135f7565b602082019050919050565b6000612bb0602983613155565b9150612bbb82613620565b604082019050919050565b6000612bd3602e83613155565b9150612bde8261366f565b604082019050919050565b6000612bf6604083613155565b9150612c01826136be565b604082019050919050565b6000612c19603e83613155565b9150612c248261370d565b604082019050919050565b6000612c3c602083613155565b9150612c478261375c565b602082019050919050565b6000612c5f601c83613155565b9150612c6a82613785565b602082019050919050565b6000612c82601883613155565b9150612c8d826137ae565b602082019050919050565b6000612ca5602183613155565b9150612cb0826137d7565b604082019050919050565b6000612cc8602e83613155565b9150612cd382613826565b604082019050919050565b60a082016000820151612cf46000850182612d46565b506020820151612d0760208501826129b7565b506040820151612d1a60408501826129b7565b506060820151612d2d6060850182612d46565b506080820151612d406080850182612a33565b50505050565b612d4f816132a8565b82525050565b612d5e816132a8565b82525050565b6000612d708285612ac3565b9150612d7c8284612ac3565b91508190509392505050565b6000602082019050612d9d60008301846129c6565b92915050565b6000608082019050612db860008301876129c6565b612dc560208301866129c6565b612dd26040830185612d55565b612ddf6060830184612a42565b95945050505050565b6000608082019050612dfd60008301876129c6565b612e0a60208301866129c6565b612e176040830185612d55565b8181036060830152612e298184612a51565b905095945050505050565b60006020820190508181036000830152612e4e81846129d5565b905092915050565b6000602082019050612e6b6000830184612a42565b92915050565b60006020820190508181036000830152612e8b8184612a8a565b905092915050565b60006020820190508181036000830152612eac81612af4565b9050919050565b60006020820190508181036000830152612ecc81612b17565b9050919050565b60006020820190508181036000830152612eec81612b3a565b9050919050565b60006020820190508181036000830152612f0c81612b5d565b9050919050565b60006020820190508181036000830152612f2c81612b80565b9050919050565b60006020820190508181036000830152612f4c81612ba3565b9050919050565b60006020820190508181036000830152612f6c81612bc6565b9050919050565b60006020820190508181036000830152612f8c81612be9565b9050919050565b60006020820190508181036000830152612fac81612c0c565b9050919050565b60006020820190508181036000830152612fcc81612c2f565b9050919050565b60006020820190508181036000830152612fec81612c52565b9050919050565b6000602082019050818103600083015261300c81612c75565b9050919050565b6000602082019050818103600083015261302c81612c98565b9050919050565b6000602082019050818103600083015261304c81612cbb565b9050919050565b60006020820190506130686000830184612d55565b92915050565b6000613078613089565b90506130848282613326565b919050565b6000604051905090565b600067ffffffffffffffff8211156130ae576130ad61348d565b5b6130b7826134d0565b9050602081019050919050565b600067ffffffffffffffff8211156130df576130de61348d565b5b6130e8826134d0565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061317c826132a8565b9150613187836132a8565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156131bc576131bb6133d1565b5b828201905092915050565b60006131d2826132a8565b91506131dd836132a8565b9250826131ed576131ec613400565b5b828204905092915050565b6000613203826132a8565b915061320e836132a8565b925082821015613221576132206133d1565b5b828203905092915050565b600061323782613288565b9050919050565b600061324982613288565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156132df5780820151818401526020810190506132c4565b838111156132ee576000848401525b50505050565b6000600282049050600182168061330c57607f821691505b602082108114156133205761331f61342f565b5b50919050565b61332f826134d0565b810181811067ffffffffffffffff8211171561334e5761334d61348d565b5b80604052505050565b6000613362826132a8565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613395576133946133d1565b5b600182019050919050565b60006133ab826132a8565b91506133b6836132a8565b9250826133c6576133c5613400565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b7f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60008201527f6578697374656e7420746f6b656e000000000000000000000000000000000000602082015250565b7f506c65617365207375626d6974207468652061736b696e67207072696365206960008201527f6e206f7264657220746f20636f6d706c65746520746865207075726368617365602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f5072696365206d757374206265206174206c6561737420302077656900000000600082015250565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b61387e8161322c565b811461388957600080fd5b50565b61389581613250565b81146138a057600080fd5b50565b6138ac8161325c565b81146138b757600080fd5b50565b6138c3816132a8565b81146138ce57600080fd5b5056fea2646970667358221220c0f5fb34e826c404b609ac1206a93663d45ae29c7284f3950d2e34539ed6c14b64736f6c63430008070033

Deployed ByteCode

0x6080604052600436106101095760003560e01c80636352211e11610095578063a22cb46511610064578063a22cb46514610384578063b88d4fde146103ad578063be9af536146103d6578063c87b56dd146103f2578063e985e9c51461042f57610109565b80636352211e146102af57806370a08231146102ec57806372b3b6201461032957806395d89b411461035957610109565b80630f08efe0116100dc5780630f08efe0146101dc578063202e37401461020757806323b872dd1461023257806342842e0e1461025b57806345f8fa801461028457610109565b806301ffc9a71461010e57806306fdde031461014b578063081812fc14610176578063095ea7b3146101b3575b600080fd5b34801561011a57600080fd5b50610135600480360381019061013091906128bc565b61046c565b6040516101429190612e56565b60405180910390f35b34801561015757600080fd5b5061016061054e565b60405161016d9190612e71565b60405180910390f35b34801561018257600080fd5b5061019d60048036038101906101989190612972565b6105e0565b6040516101aa9190612d88565b60405180910390f35b3480156101bf57600080fd5b506101da60048036038101906101d5919061287c565b610626565b005b3480156101e857600080fd5b506101f161073e565b6040516101fe9190612e34565b60405180910390f35b34801561021357600080fd5b5061021c6109a7565b6040516102299190612e34565b60405180910390f35b34801561023e57600080fd5b5061025960048036038101906102549190612766565b610c95565b005b34801561026757600080fd5b50610282600480360381019061027d9190612766565b610cf5565b005b34801561029057600080fd5b50610299610d15565b6040516102a69190612e34565b60405180910390f35b3480156102bb57600080fd5b506102d660048036038101906102d19190612972565b611003565b6040516102e39190612d88565b60405180910390f35b3480156102f857600080fd5b50610313600480360381019061030e91906126f9565b6110b5565b6040516103209190613053565b60405180910390f35b610343600480360381019061033e9190612916565b61116d565b6040516103509190613053565b60405180910390f35b34801561036557600080fd5b5061036e6111af565b60405161037b9190612e71565b60405180910390f35b34801561039057600080fd5b506103ab60048036038101906103a6919061283c565b611241565b005b3480156103b957600080fd5b506103d460048036038101906103cf91906127b9565b611257565b005b6103f060048036038101906103eb9190612972565b6112b9565b005b3480156103fe57600080fd5b5061041960048036038101906104149190612972565b61148c565b6040516104269190612e71565b60405180910390f35b34801561043b57600080fd5b5061045660048036038101906104519190612726565b61159f565b6040516104639190612e56565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061053757507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610547575061054682611633565b5b9050919050565b60606000805461055d906132f4565b80601f0160208091040260200160405190810160405280929190818152602001828054610589906132f4565b80156105d65780601f106105ab576101008083540402835291602001916105d6565b820191906000526020600020905b8154815290600101906020018083116105b957829003601f168201915b5050505050905090565b60006105eb8261169d565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061063182611003565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156106a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161069990613013565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166106c16116e8565b73ffffffffffffffffffffffffffffffffffffffff1614806106f057506106ef816106ea6116e8565b61159f565b5b61072f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161072690612f93565b60405180910390fd5b61073983836116f0565b505050565b6060600061074c60076117a9565b9050600061075a60086117a9565b61076460076117a9565b61076e91906131f8565b90506000808267ffffffffffffffff81111561078d5761078c61348d565b5b6040519080825280602002602001820160405280156107c657816020015b6107b36124b0565b8152602001906001900390816107ab5790505b50905060005b8481101561099c573073ffffffffffffffffffffffffffffffffffffffff16600a60006001846107fc9190613171565b815260200190815260200160002060020160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156109895760006001826108599190613171565b90506000600a60008381526020019081526020016000209050806040518060a0016040529081600082015481526020016001820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016002820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001600382015481526020016004820160009054906101000a900460ff16151515158152505084868151811061096c5761096b61345e565b5b60200260200101819052506001856109849190613171565b945050505b808061099490613357565b9150506107cc565b508094505050505090565b606060006109b560076117a9565b905060008060005b83811015610a5e573373ffffffffffffffffffffffffffffffffffffffff16600a60006001846109ed9190613171565b815260200190815260200160002060020160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415610a4b57600183610a489190613171565b92505b8080610a5690613357565b9150506109bd565b5060008267ffffffffffffffff811115610a7b57610a7a61348d565b5b604051908082528060200260200182016040528015610ab457816020015b610aa16124b0565b815260200190600190039081610a995790505b50905060005b84811015610c8a573373ffffffffffffffffffffffffffffffffffffffff16600a6000600184610aea9190613171565b815260200190815260200160002060020160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415610c77576000600182610b479190613171565b90506000600a60008381526020019081526020016000209050806040518060a0016040529081600082015481526020016001820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016002820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001600382015481526020016004820160009054906101000a900460ff161515151581525050848681518110610c5a57610c5961345e565b5b6020026020010181905250600185610c729190613171565b945050505b8080610c8290613357565b915050610aba565b508094505050505090565b610ca6610ca06116e8565b826117b7565b610ce5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cdc90613033565b60405180910390fd5b610cf083838361184c565b505050565b610d1083838360405180602001604052806000815250611257565b505050565b60606000610d2360076117a9565b905060008060005b83811015610dcc573373ffffffffffffffffffffffffffffffffffffffff16600a6000600184610d5b9190613171565b815260200190815260200160002060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415610db957600183610db69190613171565b92505b8080610dc490613357565b915050610d2b565b5060008267ffffffffffffffff811115610de957610de861348d565b5b604051908082528060200260200182016040528015610e2257816020015b610e0f6124b0565b815260200190600190039081610e075790505b50905060005b84811015610ff8573373ffffffffffffffffffffffffffffffffffffffff16600a6000600184610e589190613171565b815260200190815260200160002060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415610fe5576000600182610eb59190613171565b90506000600a60008381526020019081526020016000209050806040518060a0016040529081600082015481526020016001820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016002820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001600382015481526020016004820160009054906101000a900460ff161515151581525050848681518110610fc857610fc761345e565b5b6020026020010181905250600185610fe09190613171565b945050505b8080610ff090613357565b915050610e28565b508094505050505090565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156110ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110a390612ff3565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611126576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111d90612f33565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60006111796007611ab3565b600061118560076117a9565b90506111913382611ac9565b61119b8185611ca3565b6111a58184611d17565b8091505092915050565b6060600180546111be906132f4565b80601f01602080910402602001604051908101604052809291908181526020018280546111ea906132f4565b80156112375780601f1061120c57610100808354040283529160200191611237565b820191906000526020600020905b81548152906001019060200180831161121a57829003601f168201915b5050505050905090565b61125361124c6116e8565b8383611ed7565b5050565b6112686112626116e8565b836117b7565b6112a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129e90613033565b60405180910390fd5b6112b384848484612044565b50505050565b6000600a60008381526020019081526020016000206003015490506000600a600084815260200190815260200160002060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050813414611351576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134890612f73565b60405180910390fd5b33600a600085815260200190815260200160002060020160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001600a600085815260200190815260200160002060040160006101000a81548160ff0219169083151502179055506000600a600085815260200190815260200160002060010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506114356008611ab3565b61144030338561184c565b8073ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f19350505050158015611486573d6000803e3d6000fd5b50505050565b60606114978261169d565b60006006600084815260200190815260200160002080546114b7906132f4565b80601f01602080910402602001604051908101604052809291908181526020018280546114e3906132f4565b80156115305780601f1061150557610100808354040283529160200191611530565b820191906000526020600020905b81548152906001019060200180831161151357829003601f168201915b5050505050905060006115416120a0565b905060008151141561155757819250505061159a565b60008251111561158c578082604051602001611574929190612d64565b6040516020818303038152906040529250505061159a565b611595846120b7565b925050505b919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6116a68161211f565b6116e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116dc90612ff3565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661176383611003565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081600001549050919050565b6000806117c383611003565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806118055750611804818561159f565b5b8061184357508373ffffffffffffffffffffffffffffffffffffffff1661182b846105e0565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661186c82611003565b73ffffffffffffffffffffffffffffffffffffffff16146118c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118b990612eb3565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611932576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161192990612ef3565b60405180910390fd5b61193d83838361218b565b6119486000826116f0565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461199891906131f8565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546119ef9190613171565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611aae838383612190565b505050565b6001816000016000828254019250508190555050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611b39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b3090612fb3565b60405180910390fd5b611b428161211f565b15611b82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b7990612ed3565b60405180910390fd5b611b8e6000838361218b565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611bde9190613171565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611c9f60008383612190565b5050565b611cac8261211f565b611ceb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ce290612f53565b60405180910390fd5b80600660008481526020019081526020016000209080519060200190611d1292919061250d565b505050565b6000811015611d5b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5290612fd3565b60405180910390fd5b6040518060a001604052808381526020013373ffffffffffffffffffffffffffffffffffffffff1681526020013073ffffffffffffffffffffffffffffffffffffffff16815260200182815260200160001515815250600a60008481526020019081526020016000206000820151816000015560208201518160010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060408201518160020160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506060820151816003015560808201518160040160006101000a81548160ff021916908315150217905550905050611e9433308461184c565b817fb640004f1d14576d0c209e240cad0410e0d8c0c33a09375861fbadae2588a98d3330846000604051611ecb9493929190612da3565b60405180910390a25050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611f46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f3d90612f13565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516120379190612e56565b60405180910390a3505050565b61204f84848461184c565b61205b84848484612195565b61209a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161209190612e93565b60405180910390fd5b50505050565b606060405180602001604052806000815250905090565b60606120c28261169d565b60006120cc6120a0565b905060008151116120ec5760405180602001604052806000815250612117565b806120f68461232c565b604051602001612107929190612d64565b6040516020818303038152906040525b915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b505050565b505050565b60006121b68473ffffffffffffffffffffffffffffffffffffffff1661248d565b1561231f578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026121df6116e8565b8786866040518563ffffffff1660e01b81526004016122019493929190612de8565b602060405180830381600087803b15801561221b57600080fd5b505af192505050801561224c57506040513d601f19601f8201168201806040525081019061224991906128e9565b60015b6122cf573d806000811461227c576040519150601f19603f3d011682016040523d82523d6000602084013e612281565b606091505b506000815114156122c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122be90612e93565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612324565b600190505b949350505050565b60606000821415612374576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612488565b600082905060005b600082146123a657808061238f90613357565b915050600a8261239f91906131c7565b915061237c565b60008167ffffffffffffffff8111156123c2576123c161348d565b5b6040519080825280601f01601f1916602001820160405280156123f45781602001600182028036833780820191505090505b5090505b600085146124815760018261240d91906131f8565b9150600a8561241c91906133a0565b60306124289190613171565b60f81b81838151811061243e5761243d61345e565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561247a91906131c7565b94506123f8565b8093505050505b919050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6040518060a0016040528060008152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600081526020016000151581525090565b828054612519906132f4565b90600052602060002090601f01602090048101928261253b5760008555612582565b82601f1061255457805160ff1916838001178555612582565b82800160010185558215612582579182015b82811115612581578251825591602001919060010190612566565b5b50905061258f9190612593565b5090565b5b808211156125ac576000816000905550600101612594565b5090565b60006125c36125be84613093565b61306e565b9050828152602081018484840111156125df576125de6134c1565b5b6125ea8482856132b2565b509392505050565b6000612605612600846130c4565b61306e565b905082815260208101848484011115612621576126206134c1565b5b61262c8482856132b2565b509392505050565b60008135905061264381613875565b92915050565b6000813590506126588161388c565b92915050565b60008135905061266d816138a3565b92915050565b600081519050612682816138a3565b92915050565b600082601f83011261269d5761269c6134bc565b5b81356126ad8482602086016125b0565b91505092915050565b600082601f8301126126cb576126ca6134bc565b5b81356126db8482602086016125f2565b91505092915050565b6000813590506126f3816138ba565b92915050565b60006020828403121561270f5761270e6134cb565b5b600061271d84828501612634565b91505092915050565b6000806040838503121561273d5761273c6134cb565b5b600061274b85828601612634565b925050602061275c85828601612634565b9150509250929050565b60008060006060848603121561277f5761277e6134cb565b5b600061278d86828701612634565b935050602061279e86828701612634565b92505060406127af868287016126e4565b9150509250925092565b600080600080608085870312156127d3576127d26134cb565b5b60006127e187828801612634565b94505060206127f287828801612634565b9350506040612803878288016126e4565b925050606085013567ffffffffffffffff811115612824576128236134c6565b5b61283087828801612688565b91505092959194509250565b60008060408385031215612853576128526134cb565b5b600061286185828601612634565b925050602061287285828601612649565b9150509250929050565b60008060408385031215612893576128926134cb565b5b60006128a185828601612634565b92505060206128b2858286016126e4565b9150509250929050565b6000602082840312156128d2576128d16134cb565b5b60006128e08482850161265e565b91505092915050565b6000602082840312156128ff576128fe6134cb565b5b600061290d84828501612673565b91505092915050565b6000806040838503121561292d5761292c6134cb565b5b600083013567ffffffffffffffff81111561294b5761294a6134c6565b5b612957858286016126b6565b9250506020612968858286016126e4565b9150509250929050565b600060208284031215612988576129876134cb565b5b6000612996848285016126e4565b91505092915050565b60006129ab8383612cde565b60a08301905092915050565b6129c08161323e565b82525050565b6129cf8161322c565b82525050565b60006129e082613105565b6129ea8185613133565b93506129f5836130f5565b8060005b83811015612a26578151612a0d888261299f565b9750612a1883613126565b9250506001810190506129f9565b5085935050505092915050565b612a3c81613250565b82525050565b612a4b81613250565b82525050565b6000612a5c82613110565b612a668185613144565b9350612a768185602086016132c1565b612a7f816134d0565b840191505092915050565b6000612a958261311b565b612a9f8185613155565b9350612aaf8185602086016132c1565b612ab8816134d0565b840191505092915050565b6000612ace8261311b565b612ad88185613166565b9350612ae88185602086016132c1565b80840191505092915050565b6000612b01603283613155565b9150612b0c826134e1565b604082019050919050565b6000612b24602583613155565b9150612b2f82613530565b604082019050919050565b6000612b47601c83613155565b9150612b528261357f565b602082019050919050565b6000612b6a602483613155565b9150612b75826135a8565b604082019050919050565b6000612b8d601983613155565b9150612b98826135f7565b602082019050919050565b6000612bb0602983613155565b9150612bbb82613620565b604082019050919050565b6000612bd3602e83613155565b9150612bde8261366f565b604082019050919050565b6000612bf6604083613155565b9150612c01826136be565b604082019050919050565b6000612c19603e83613155565b9150612c248261370d565b604082019050919050565b6000612c3c602083613155565b9150612c478261375c565b602082019050919050565b6000612c5f601c83613155565b9150612c6a82613785565b602082019050919050565b6000612c82601883613155565b9150612c8d826137ae565b602082019050919050565b6000612ca5602183613155565b9150612cb0826137d7565b604082019050919050565b6000612cc8602e83613155565b9150612cd382613826565b604082019050919050565b60a082016000820151612cf46000850182612d46565b506020820151612d0760208501826129b7565b506040820151612d1a60408501826129b7565b506060820151612d2d6060850182612d46565b506080820151612d406080850182612a33565b50505050565b612d4f816132a8565b82525050565b612d5e816132a8565b82525050565b6000612d708285612ac3565b9150612d7c8284612ac3565b91508190509392505050565b6000602082019050612d9d60008301846129c6565b92915050565b6000608082019050612db860008301876129c6565b612dc560208301866129c6565b612dd26040830185612d55565b612ddf6060830184612a42565b95945050505050565b6000608082019050612dfd60008301876129c6565b612e0a60208301866129c6565b612e176040830185612d55565b8181036060830152612e298184612a51565b905095945050505050565b60006020820190508181036000830152612e4e81846129d5565b905092915050565b6000602082019050612e6b6000830184612a42565b92915050565b60006020820190508181036000830152612e8b8184612a8a565b905092915050565b60006020820190508181036000830152612eac81612af4565b9050919050565b60006020820190508181036000830152612ecc81612b17565b9050919050565b60006020820190508181036000830152612eec81612b3a565b9050919050565b60006020820190508181036000830152612f0c81612b5d565b9050919050565b60006020820190508181036000830152612f2c81612b80565b9050919050565b60006020820190508181036000830152612f4c81612ba3565b9050919050565b60006020820190508181036000830152612f6c81612bc6565b9050919050565b60006020820190508181036000830152612f8c81612be9565b9050919050565b60006020820190508181036000830152612fac81612c0c565b9050919050565b60006020820190508181036000830152612fcc81612c2f565b9050919050565b60006020820190508181036000830152612fec81612c52565b9050919050565b6000602082019050818103600083015261300c81612c75565b9050919050565b6000602082019050818103600083015261302c81612c98565b9050919050565b6000602082019050818103600083015261304c81612cbb565b9050919050565b60006020820190506130686000830184612d55565b92915050565b6000613078613089565b90506130848282613326565b919050565b6000604051905090565b600067ffffffffffffffff8211156130ae576130ad61348d565b5b6130b7826134d0565b9050602081019050919050565b600067ffffffffffffffff8211156130df576130de61348d565b5b6130e8826134d0565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061317c826132a8565b9150613187836132a8565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156131bc576131bb6133d1565b5b828201905092915050565b60006131d2826132a8565b91506131dd836132a8565b9250826131ed576131ec613400565b5b828204905092915050565b6000613203826132a8565b915061320e836132a8565b925082821015613221576132206133d1565b5b828203905092915050565b600061323782613288565b9050919050565b600061324982613288565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156132df5780820151818401526020810190506132c4565b838111156132ee576000848401525b50505050565b6000600282049050600182168061330c57607f821691505b602082108114156133205761331f61342f565b5b50919050565b61332f826134d0565b810181811067ffffffffffffffff8211171561334e5761334d61348d565b5b80604052505050565b6000613362826132a8565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613395576133946133d1565b5b600182019050919050565b60006133ab826132a8565b91506133b6836132a8565b9250826133c6576133c5613400565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b7f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60008201527f6578697374656e7420746f6b656e000000000000000000000000000000000000602082015250565b7f506c65617365207375626d6974207468652061736b696e67207072696365206960008201527f6e206f7264657220746f20636f6d706c65746520746865207075726368617365602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f5072696365206d757374206265206174206c6561737420302077656900000000600082015250565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b61387e8161322c565b811461388957600080fd5b50565b61389581613250565b81146138a057600080fd5b50565b6138ac8161325c565b81146138b757600080fd5b50565b6138c3816132a8565b81146138ce57600080fd5b5056fea2646970667358221220c0f5fb34e826c404b609ac1206a93663d45ae29c7284f3950d2e34539ed6c14b64736f6c63430008070033