Address Details
contract
token

0x5171BFe6E20F7d5F022aE6bE3E919628Ae030320

Token
CarboToken (CARBO)
Creator
0x8feb29–eb3c66 at 0xcfec50–7d1770
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
3 Transactions
Transfers
0 Transfers
Gas Used
250,125
Last Balance Update
10721864
This contract has been verified via Sourcify. View contract in Sourcify repository
Contract name:
CarboMerchant




Optimization enabled
false
Compiler version
v0.8.4+commit.c7e474f2




EVM Version
istanbul




Verified at
2023-03-15T06:46:28.396356Z

contracts/CarboMerchant.sol

// SPDX-License-Identifier: MIT

//   ▄████▄   ▄▄▄       ██▀███   ▄▄▄▄    ▒█████  
//  ▒██▀ ▀█  ▒████▄    ▓██ ▒ ██▒▓█████▄ ▒██▒  ██▒
//  ▒▓█    ▄ ▒██  ▀█▄  ▓██ ░▄█ ▒▒██▒ ▄██▒██░  ██▒
//  ▒▓▓▄ ▄██▒░██▄▄▄▄██ ▒██▀▀█▄  ▒██░█▀  ▒██   ██░
//  ▒ ▓███▀ ░ ▓█   ▓██▒░██▓ ▒██▒░▓█  ▀█▓░ ████▓▒░
//  ░ ░▒ ▒  ░ ▒▒   ▓▒█░░ ▒▓ ░▒▓░░▒▓███▀▒░ ▒░▒░▒░ 
//    ░  ▒     ▒   ▒▒ ░  ░▒ ░ ▒░▒░▒   ░   ░ ▒ ▒░ 
//  ░          ░   ▒     ░░   ░  ░    ░ ░ ░ ░ ▒  
//  ░ ░            ░  ░   ░      ░          ░ ░  
//  ░                                 ░          
                                                      
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol";

contract CarboMerchant is ERC721URIStorage, ERC721Enumerable, Ownable, ReentrancyGuard {

    // Burn Storage
    address public _burnAddress = 0x8d891cFFaEc8Dd6E571B717872db8095541110b2;

    // Merchant Information
    address public _merchantAddress;
    string public _merchantName;

    mapping (address => string) _parties;

    struct Product {
        uint256 id;
        string name;
    }
    mapping (uint256 => Product) products;
    uint256 productCount = 0;

    struct Transaction {
        uint256 id;
    }
    uint256 transactionCount = 0;

    // Supply Chain Keys
    // "Production"
    // "Manufacturing"
    // "Retail"
    constructor(string memory merchantName) ERC721("CarboToken", "CARBO") {
        require(bytes(merchantName).length != 0, "Merchant name cannot be blank!");
        _merchantName = merchantName;
        _merchantAddress = msg.sender;
    }

    function addProducts(string memory productName) public onlyOwner{
        products[productCount] = Product(productCount, productName);
        productCount++;
    }

    function addParty(address _address, string memory _type) public onlyOwner {
        _parties[_address] = _type;
    }


    function createTransaction(address _nextParty, string memory tokenUri) public returns (uint256 tokenID) {
        require(keccak256(bytes(_parties[msg.sender])) == keccak256(bytes("Production")), "Only production can create transaction");
        mint(_nextParty);
        transactionCount++;
        _setTokenURI(transactionCount, tokenUri);
        return transactionCount;
    }

    function holderSign(address _nextParty, uint256 tokenID) public returns (string memory message) {
        uint256 tokenBalance = balanceOf(msg.sender);
        for (uint256 i = 0; i < tokenBalance; i++) {
            if (tokenOfOwnerByIndex(msg.sender, i) == tokenID) {
                safeTransferFrom(msg.sender, _nextParty, tokenID);
                return "Successfully transferred!";
            }
        }
        return "Token not found!";
    }

    function holderBurn(uint256 tokenID) public returns (string memory message) {
        uint256 tokenBalance = balanceOf(msg.sender);
        for (uint256 i = 0; i < tokenBalance; i++) {
            if (tokenOfOwnerByIndex(msg.sender, i) == tokenID - 1) {
                safeTransferFrom(msg.sender, _burnAddress, tokenID);
                return "Successfully burned!";
            }
        }
        return "Token not found!";
    }

    function mint(address _to) public {
        // _safeMint's second argument now takes in a quantity, not a tokenId.
        _safeMint(_to, 1);
    }
    
    // Overrides conflicting functions
    function _beforeTokenTransfer(address from, address to, uint256 tokenId)
        internal
        override(ERC721, ERC721Enumerable)
    {
        super._beforeTokenTransfer(from, to, tokenId);
    }

    function _burn(uint256 tokenId) internal override(ERC721, ERC721URIStorage) {
        super._burn(tokenId);
    }
    function tokenURI(uint256 tokenId)
        public
        view
        override(ERC721, ERC721URIStorage)
        returns (string memory)
    {
        return super.tokenURI(tokenId);
    }

    function supportsInterface(bytes4 interfaceId)
        public
        view
        override(ERC721, ERC721Enumerable)
        returns (bool)
    {
        return super.supportsInterface(interfaceId);
    }

}
        

/_openzeppelin/contracts/access/Ownable.sol

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

pragma solidity ^0.8.0;

import "../utils/Context.sol";

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

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

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

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

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

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

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

/_openzeppelin/contracts/security/ReentrancyGuard.sol

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

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

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

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.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: balance query for the zero address");
        return _balances[owner];
    }

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

        _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 a {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 a {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC721: approve to caller");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

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

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

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

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

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

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

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

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

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

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

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

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

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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 `IERC721.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}
          

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

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

pragma solidity ^0.8.0;

import "../ERC721.sol";
import "./IERC721Enumerable.sol";

/**
 * @dev This implements an optional extension of {ERC721} defined in the EIP that adds
 * enumerability of all the token ids in the contract as well as all token ids owned by each
 * account.
 */
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
    // Mapping from owner to list of owned token IDs
    mapping(address => mapping(uint256 => uint256)) private _ownedTokens;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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) {
        require(_exists(tokenId), "ERC721URIStorage: URI query for nonexistent token");

        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 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 override {
        super._burn(tokenId);

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

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

/_openzeppelin/contracts/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.5.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

                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/Strings.sol

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

pragma solidity ^0.8.0;

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

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

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

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

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

/_openzeppelin/contracts/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":"string","name":"merchantName","internalType":"string"}]},{"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":"OwnershipTransferred","inputs":[{"type":"address","name":"previousOwner","internalType":"address","indexed":true},{"type":"address","name":"newOwner","internalType":"address","indexed":true}],"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":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"_burnAddress","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"_merchantAddress","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"_merchantName","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"addParty","inputs":[{"type":"address","name":"_address","internalType":"address"},{"type":"string","name":"_type","internalType":"string"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"addProducts","inputs":[{"type":"string","name":"productName","internalType":"string"}]},{"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":"nonpayable","outputs":[{"type":"uint256","name":"tokenID","internalType":"uint256"}],"name":"createTransaction","inputs":[{"type":"address","name":"_nextParty","internalType":"address"},{"type":"string","name":"tokenUri","internalType":"string"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"getApproved","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"string","name":"message","internalType":"string"}],"name":"holderBurn","inputs":[{"type":"uint256","name":"tokenID","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"string","name":"message","internalType":"string"}],"name":"holderSign","inputs":[{"type":"address","name":"_nextParty","internalType":"address"},{"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":"nonpayable","outputs":[],"name":"mint","inputs":[{"type":"address","name":"_to","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":"owner","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"ownerOf","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"renounceOwnership","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"safeTransferFrom","inputs":[{"type":"address","name":"from","internalType":"address"},{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"safeTransferFrom","inputs":[{"type":"address","name":"from","internalType":"address"},{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"tokenId","internalType":"uint256"},{"type":"bytes","name":"_data","internalType":"bytes"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setApprovalForAll","inputs":[{"type":"address","name":"operator","internalType":"address"},{"type":"bool","name":"approved","internalType":"bool"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"supportsInterface","inputs":[{"type":"bytes4","name":"interfaceId","internalType":"bytes4"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"symbol","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"tokenByIndex","inputs":[{"type":"uint256","name":"index","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"tokenOfOwnerByIndex","inputs":[{"type":"address","name":"owner","internalType":"address"},{"type":"uint256","name":"index","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"tokenURI","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"totalSupply","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"transferFrom","inputs":[{"type":"address","name":"from","internalType":"address"},{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"transferOwnership","inputs":[{"type":"address","name":"newOwner","internalType":"address"}]}]
              

Contract Creation Code

0x6080604052738d891cffaec8dd6e571b717872db8095541110b2600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600060125560006013553480156200007057600080fd5b50604051620046b1380380620046b18339818101604052810190620000969190620003f7565b6040518060400160405280600a81526020017f436172626f546f6b656e000000000000000000000000000000000000000000008152506040518060400160405280600581526020017f434152424f00000000000000000000000000000000000000000000000000000081525081600090805190602001906200011a929190620002d5565b50806001908051906020019062000133929190620002d5565b505050620001566200014a6200020760201b60201c565b6200020f60201b60201c565b6001600c81905550600081511415620001a6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200019d9062000463565b60405180910390fd5b80600f9080519060200190620001be929190620002d5565b5033600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550506200062f565b600033905090565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620002e3906200052b565b90600052602060002090601f01602090048101928262000307576000855562000353565b82601f106200032257805160ff191683800117855562000353565b8280016001018555821562000353579182015b828111156200035257825182559160200191906001019062000335565b5b50905062000362919062000366565b5090565b5b808211156200038157600081600090555060010162000367565b5090565b60006200039c6200039684620004ae565b62000485565b905082815260208101848484011115620003b557600080fd5b620003c2848285620004f5565b509392505050565b600082601f830112620003dc57600080fd5b8151620003ee84826020860162000385565b91505092915050565b6000602082840312156200040a57600080fd5b600082015167ffffffffffffffff8111156200042557600080fd5b6200043384828501620003ca565b91505092915050565b60006200044b601e83620004e4565b9150620004588262000606565b602082019050919050565b600060208201905081810360008301526200047e816200043c565b9050919050565b600062000491620004a4565b90506200049f828262000561565b919050565b6000604051905090565b600067ffffffffffffffff821115620004cc57620004cb620005c6565b5b620004d782620005f5565b9050602081019050919050565b600082825260208201905092915050565b60005b8381101562000515578082015181840152602081019050620004f8565b8381111562000525576000848401525b50505050565b600060028204905060018216806200054457607f821691505b602082108114156200055b576200055a62000597565b5b50919050565b6200056c82620005f5565b810181811067ffffffffffffffff821117156200058e576200058d620005c6565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4d65726368616e74206e616d652063616e6e6f7420626520626c616e6b210000600082015250565b614072806200063f6000396000f3fe608060405234801561001057600080fd5b50600436106101c45760003560e01c80638da5cb5b116100f9578063c87b56dd11610097578063e985e9c511610071578063e985e9c514610517578063eb2fadf014610547578063f2fde38b14610577578063fd3c430314610593576101c4565b8063c87b56dd14610499578063d1910de9146104c9578063d5b21447146104e7576101c4565b8063a22cb465116100d3578063a22cb46514610427578063aaf23b2d14610443578063b88d4fde1461045f578063bd3900c01461047b576101c4565b80638da5cb5b146103bb5780638e2f2ab7146103d957806395d89b4114610409576101c4565b80632f745c59116101665780636352211e116101405780636352211e146103355780636a6278421461036557806370a0823114610381578063715018a6146103b1576101c4565b80632f745c59146102b957806342842e0e146102e95780634f6ccce714610305576101c4565b8063095ea7b3116101a2578063095ea7b31461024757806318160ddd1461026357806321405cd11461028157806323b872dd1461029d576101c4565b806301ffc9a7146101c957806306fdde03146101f9578063081812fc14610217575b600080fd5b6101e360048036038101906101de9190612d74565b6105b1565b6040516101f09190613300565b60405180910390f35b6102016105c3565b60405161020e919061331b565b60405180910390f35b610231600480360381019061022c9190612e07565b610655565b60405161023e9190613299565b60405180910390f35b610261600480360381019061025c9190612d38565b6106da565b005b61026b6107f2565b60405161027891906135dd565b60405180910390f35b61029b60048036038101906102969190612ce4565b6107ff565b005b6102b760048036038101906102b29190612bde565b6108d3565b005b6102d360048036038101906102ce9190612d38565b610933565b6040516102e091906135dd565b60405180910390f35b61030360048036038101906102fe9190612bde565b6109d8565b005b61031f600480360381019061031a9190612e07565b6109f8565b60405161032c91906135dd565b60405180910390f35b61034f600480360381019061034a9190612e07565b610a8f565b60405161035c9190613299565b60405180910390f35b61037f600480360381019061037a9190612b79565b610b41565b005b61039b60048036038101906103969190612b79565b610b4f565b6040516103a891906135dd565b60405180910390f35b6103b9610c07565b005b6103c3610c8f565b6040516103d09190613299565b60405180910390f35b6103f360048036038101906103ee9190612e07565b610cb9565b604051610400919061331b565b60405180910390f35b610411610daf565b60405161041e919061331b565b60405180910390f35b610441600480360381019061043c9190612ca8565b610e41565b005b61045d60048036038101906104589190612dc6565b610e57565b005b61047960048036038101906104749190612c2d565b610f44565b005b610483610fa6565b6040516104909190613299565b60405180910390f35b6104b360048036038101906104ae9190612e07565b610fcc565b6040516104c0919061331b565b60405180910390f35b6104d1610fde565b6040516104de9190613299565b60405180910390f35b61050160048036038101906104fc9190612d38565b611004565b60405161050e919061331b565b60405180910390f35b610531600480360381019061052c9190612ba2565b6110cd565b60405161053e9190613300565b60405180910390f35b610561600480360381019061055c9190612ce4565b611161565b60405161056e91906135dd565b60405180910390f35b610591600480360381019061058c9190612b79565b61126c565b005b61059b611364565b6040516105a8919061331b565b60405180910390f35b60006105bc826113f2565b9050919050565b6060600080546105d290613853565b80601f01602080910402602001604051908101604052809291908181526020018280546105fe90613853565b801561064b5780601f106106205761010080835404028352916020019161064b565b820191906000526020600020905b81548152906001019060200180831161062e57829003601f168201915b5050505050905090565b60006106608261146c565b61069f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106969061351d565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006106e582610a8f565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610756576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161074d9061357d565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166107756114d8565b73ffffffffffffffffffffffffffffffffffffffff1614806107a457506107a38161079e6114d8565b6110cd565b5b6107e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107da9061343d565b60405180910390fd5b6107ed83836114e0565b505050565b6000600980549050905090565b6108076114d8565b73ffffffffffffffffffffffffffffffffffffffff16610825610c8f565b73ffffffffffffffffffffffffffffffffffffffff161461087b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108729061353d565b60405180910390fd5b80601060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090805190602001906108ce92919061299d565b505050565b6108e46108de6114d8565b82611599565b610923576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161091a9061359d565b60405180910390fd5b61092e838383611677565b505050565b600061093e83610b4f565b821061097f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109769061333d565b60405180910390fd5b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6109f383838360405180602001604052806000815250610f44565b505050565b6000610a026107f2565b8210610a43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a3a906135bd565b60405180910390fd5b60098281548110610a7d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610b38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b2f9061349d565b60405180910390fd5b80915050919050565b610b4c8160016118de565b50565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610bc0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bb79061347d565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610c0f6114d8565b73ffffffffffffffffffffffffffffffffffffffff16610c2d610c8f565b73ffffffffffffffffffffffffffffffffffffffff1614610c83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7a9061353d565b60405180910390fd5b610c8d60006118fc565b565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606000610cc633610b4f565b905060005b81811015610d6f57600184610ce09190613769565b610cea3383610933565b1415610d5c57610d1d33600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16866109d8565b6040518060400160405280601481526020017f5375636365737366756c6c79206275726e65642100000000000000000000000081525092505050610daa565b8080610d67906138b6565b915050610ccb565b506040518060400160405280601081526020017f546f6b656e206e6f7420666f756e6421000000000000000000000000000000008152509150505b919050565b606060018054610dbe90613853565b80601f0160208091040260200160405190810160405280929190818152602001828054610dea90613853565b8015610e375780601f10610e0c57610100808354040283529160200191610e37565b820191906000526020600020905b815481529060010190602001808311610e1a57829003601f168201915b5050505050905090565b610e53610e4c6114d8565b83836119c2565b5050565b610e5f6114d8565b73ffffffffffffffffffffffffffffffffffffffff16610e7d610c8f565b73ffffffffffffffffffffffffffffffffffffffff1614610ed3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eca9061353d565b60405180910390fd5b6040518060400160405280601254815260200182815250601160006012548152602001908152602001600020600082015181600001556020820151816001019080519060200190610f2592919061299d565b5090505060126000815480929190610f3c906138b6565b919050555050565b610f55610f4f6114d8565b83611599565b610f94576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f8b9061359d565b60405180910390fd5b610fa084848484611b2f565b50505050565b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6060610fd782611b8b565b9050919050565b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6060600061101133610b4f565b905060005b8181101561108c57836110293383610933565b14156110795761103a3386866109d8565b6040518060400160405280601981526020017f5375636365737366756c6c79207472616e736665727265642100000000000000815250925050506110c7565b8080611084906138b6565b915050611016565b506040518060400160405280601081526020017f546f6b656e206e6f7420666f756e6421000000000000000000000000000000008152509150505b92915050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60006040518060400160405280600a81526020017f50726f64756374696f6e0000000000000000000000000000000000000000000081525080519060200120601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040516111ec919061325e565b604051809103902014611234576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122b9061345d565b60405180910390fd5b61123d83610b41565b60136000815480929190611250906138b6565b919050555061126160135483611cdd565b601354905092915050565b6112746114d8565b73ffffffffffffffffffffffffffffffffffffffff16611292610c8f565b73ffffffffffffffffffffffffffffffffffffffff16146112e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112df9061353d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611358576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134f9061337d565b60405180910390fd5b611361816118fc565b50565b600f805461137190613853565b80601f016020809104026020016040519081016040528092919081815260200182805461139d90613853565b80156113ea5780601f106113bf576101008083540402835291602001916113ea565b820191906000526020600020905b8154815290600101906020018083116113cd57829003601f168201915b505050505081565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611465575061146482611d51565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661155383610a8f565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006115a48261146c565b6115e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115da9061341d565b60405180910390fd5b60006115ee83610a8f565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061165d57508373ffffffffffffffffffffffffffffffffffffffff1661164584610655565b73ffffffffffffffffffffffffffffffffffffffff16145b8061166e575061166d81856110cd565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661169782610a8f565b73ffffffffffffffffffffffffffffffffffffffff16146116ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116e49061339d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561175d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611754906133dd565b60405180910390fd5b611768838383611e33565b6117736000826114e0565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546117c39190613769565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461181a91906136e2565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46118d9838383611e43565b505050565b6118f8828260405180602001604052806000815250611e48565b5050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611a31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a28906133fd565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611b229190613300565b60405180910390a3505050565b611b3a848484611677565b611b4684848484611ea3565b611b85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b7c9061335d565b60405180910390fd5b50505050565b6060611b968261146c565b611bd5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bcc906134fd565b60405180910390fd5b6000600660008481526020019081526020016000208054611bf590613853565b80601f0160208091040260200160405190810160405280929190818152602001828054611c2190613853565b8015611c6e5780601f10611c4357610100808354040283529160200191611c6e565b820191906000526020600020905b815481529060010190602001808311611c5157829003601f168201915b505050505090506000611c7f61203a565b9050600081511415611c95578192505050611cd8565b600082511115611cca578082604051602001611cb2929190613275565b60405160208183030381529060405292505050611cd8565b611cd384612051565b925050505b919050565b611ce68261146c565b611d25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d1c906134bd565b60405180910390fd5b80600660008481526020019081526020016000209080519060200190611d4c92919061299d565b505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611e1c57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611e2c5750611e2b826120f8565b5b9050919050565b611e3e838383612162565b505050565b505050565b611e528383612276565b611e5f6000848484611ea3565b611e9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e959061335d565b60405180910390fd5b505050565b6000611ec48473ffffffffffffffffffffffffffffffffffffffff16612450565b1561202d578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611eed6114d8565b8786866040518563ffffffff1660e01b8152600401611f0f94939291906132b4565b602060405180830381600087803b158015611f2957600080fd5b505af1925050508015611f5a57506040513d601f19601f82011682018060405250810190611f579190612d9d565b60015b611fdd573d8060008114611f8a576040519150601f19603f3d011682016040523d82523d6000602084013e611f8f565b606091505b50600081511415611fd5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fcc9061335d565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612032565b600190505b949350505050565b606060405180602001604052806000815250905090565b606061205c8261146c565b61209b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120929061355d565b60405180910390fd5b60006120a561203a565b905060008151116120c557604051806020016040528060008152506120f0565b806120cf84612473565b6040516020016120e0929190613275565b6040516020818303038152906040525b915050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61216d838383612620565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156121b0576121ab81612625565b6121ef565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146121ee576121ed838261266e565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156122325761222d816127db565b612271565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146122705761226f828261291e565b5b5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156122e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122dd906134dd565b60405180910390fd5b6122ef8161146c565b1561232f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612326906133bd565b60405180910390fd5b61233b60008383611e33565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461238b91906136e2565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461244c60008383611e43565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b606060008214156124bb576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061261b565b600082905060005b600082146124ed5780806124d6906138b6565b915050600a826124e69190613738565b91506124c3565b60008167ffffffffffffffff81111561252f577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156125615781602001600182028036833780820191505090505b5090505b600085146126145760018261257a9190613769565b9150600a8561258991906138ff565b603061259591906136e2565b60f81b8183815181106125d1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561260d9190613738565b9450612565565b8093505050505b919050565b505050565b600980549050600a600083815260200190815260200160002081905550600981908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161267b84610b4f565b6126859190613769565b905060006008600084815260200190815260200160002054905081811461276a576000600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816008600083815260200190815260200160002081905550505b6008600084815260200190815260200160002060009055600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016009805490506127ef9190613769565b90506000600a6000848152602001908152602001600020549050600060098381548110612845577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050806009838154811061288d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600a600083815260200190815260200160002081905550600a6000858152602001908152602001600020600090556009805480612902577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b600061292983610b4f565b905081600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806008600084815260200190815260200160002081905550505050565b8280546129a990613853565b90600052602060002090601f0160209004810192826129cb5760008555612a12565b82601f106129e457805160ff1916838001178555612a12565b82800160010185558215612a12579182015b82811115612a115782518255916020019190600101906129f6565b5b509050612a1f9190612a23565b5090565b5b80821115612a3c576000816000905550600101612a24565b5090565b6000612a53612a4e8461361d565b6135f8565b905082815260208101848484011115612a6b57600080fd5b612a76848285613811565b509392505050565b6000612a91612a8c8461364e565b6135f8565b905082815260208101848484011115612aa957600080fd5b612ab4848285613811565b509392505050565b600081359050612acb81613fe0565b92915050565b600081359050612ae081613ff7565b92915050565b600081359050612af58161400e565b92915050565b600081519050612b0a8161400e565b92915050565b600082601f830112612b2157600080fd5b8135612b31848260208601612a40565b91505092915050565b600082601f830112612b4b57600080fd5b8135612b5b848260208601612a7e565b91505092915050565b600081359050612b7381614025565b92915050565b600060208284031215612b8b57600080fd5b6000612b9984828501612abc565b91505092915050565b60008060408385031215612bb557600080fd5b6000612bc385828601612abc565b9250506020612bd485828601612abc565b9150509250929050565b600080600060608486031215612bf357600080fd5b6000612c0186828701612abc565b9350506020612c1286828701612abc565b9250506040612c2386828701612b64565b9150509250925092565b60008060008060808587031215612c4357600080fd5b6000612c5187828801612abc565b9450506020612c6287828801612abc565b9350506040612c7387828801612b64565b925050606085013567ffffffffffffffff811115612c9057600080fd5b612c9c87828801612b10565b91505092959194509250565b60008060408385031215612cbb57600080fd5b6000612cc985828601612abc565b9250506020612cda85828601612ad1565b9150509250929050565b60008060408385031215612cf757600080fd5b6000612d0585828601612abc565b925050602083013567ffffffffffffffff811115612d2257600080fd5b612d2e85828601612b3a565b9150509250929050565b60008060408385031215612d4b57600080fd5b6000612d5985828601612abc565b9250506020612d6a85828601612b64565b9150509250929050565b600060208284031215612d8657600080fd5b6000612d9484828501612ae6565b91505092915050565b600060208284031215612daf57600080fd5b6000612dbd84828501612afb565b91505092915050565b600060208284031215612dd857600080fd5b600082013567ffffffffffffffff811115612df257600080fd5b612dfe84828501612b3a565b91505092915050565b600060208284031215612e1957600080fd5b6000612e2784828501612b64565b91505092915050565b612e398161379d565b82525050565b612e48816137af565b82525050565b6000612e5982613694565b612e6381856136aa565b9350612e73818560208601613820565b612e7c816139ec565b840191505092915050565b60008154612e9481613853565b612e9e81866136bb565b94506001821660008114612eb95760018114612eca57612efd565b60ff19831686528186019350612efd565b612ed38561367f565b60005b83811015612ef557815481890152600182019150602081019050612ed6565b838801955050505b50505092915050565b6000612f118261369f565b612f1b81856136c6565b9350612f2b818560208601613820565b612f34816139ec565b840191505092915050565b6000612f4a8261369f565b612f5481856136d7565b9350612f64818560208601613820565b80840191505092915050565b6000612f7d602b836136c6565b9150612f88826139fd565b604082019050919050565b6000612fa06032836136c6565b9150612fab82613a4c565b604082019050919050565b6000612fc36026836136c6565b9150612fce82613a9b565b604082019050919050565b6000612fe66025836136c6565b9150612ff182613aea565b604082019050919050565b6000613009601c836136c6565b915061301482613b39565b602082019050919050565b600061302c6024836136c6565b915061303782613b62565b604082019050919050565b600061304f6019836136c6565b915061305a82613bb1565b602082019050919050565b6000613072602c836136c6565b915061307d82613bda565b604082019050919050565b60006130956038836136c6565b91506130a082613c29565b604082019050919050565b60006130b86026836136c6565b91506130c382613c78565b604082019050919050565b60006130db602a836136c6565b91506130e682613cc7565b604082019050919050565b60006130fe6029836136c6565b915061310982613d16565b604082019050919050565b6000613121602e836136c6565b915061312c82613d65565b604082019050919050565b60006131446020836136c6565b915061314f82613db4565b602082019050919050565b60006131676031836136c6565b915061317282613ddd565b604082019050919050565b600061318a602c836136c6565b915061319582613e2c565b604082019050919050565b60006131ad6020836136c6565b91506131b882613e7b565b602082019050919050565b60006131d0602f836136c6565b91506131db82613ea4565b604082019050919050565b60006131f36021836136c6565b91506131fe82613ef3565b604082019050919050565b60006132166031836136c6565b915061322182613f42565b604082019050919050565b6000613239602c836136c6565b915061324482613f91565b604082019050919050565b61325881613807565b82525050565b600061326a8284612e87565b915081905092915050565b60006132818285612f3f565b915061328d8284612f3f565b91508190509392505050565b60006020820190506132ae6000830184612e30565b92915050565b60006080820190506132c96000830187612e30565b6132d66020830186612e30565b6132e3604083018561324f565b81810360608301526132f58184612e4e565b905095945050505050565b60006020820190506133156000830184612e3f565b92915050565b600060208201905081810360008301526133358184612f06565b905092915050565b6000602082019050818103600083015261335681612f70565b9050919050565b6000602082019050818103600083015261337681612f93565b9050919050565b6000602082019050818103600083015261339681612fb6565b9050919050565b600060208201905081810360008301526133b681612fd9565b9050919050565b600060208201905081810360008301526133d681612ffc565b9050919050565b600060208201905081810360008301526133f68161301f565b9050919050565b6000602082019050818103600083015261341681613042565b9050919050565b6000602082019050818103600083015261343681613065565b9050919050565b6000602082019050818103600083015261345681613088565b9050919050565b60006020820190508181036000830152613476816130ab565b9050919050565b60006020820190508181036000830152613496816130ce565b9050919050565b600060208201905081810360008301526134b6816130f1565b9050919050565b600060208201905081810360008301526134d681613114565b9050919050565b600060208201905081810360008301526134f681613137565b9050919050565b600060208201905081810360008301526135168161315a565b9050919050565b600060208201905081810360008301526135368161317d565b9050919050565b60006020820190508181036000830152613556816131a0565b9050919050565b60006020820190508181036000830152613576816131c3565b9050919050565b60006020820190508181036000830152613596816131e6565b9050919050565b600060208201905081810360008301526135b681613209565b9050919050565b600060208201905081810360008301526135d68161322c565b9050919050565b60006020820190506135f2600083018461324f565b92915050565b6000613602613613565b905061360e8282613885565b919050565b6000604051905090565b600067ffffffffffffffff821115613638576136376139bd565b5b613641826139ec565b9050602081019050919050565b600067ffffffffffffffff821115613669576136686139bd565b5b613672826139ec565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006136ed82613807565b91506136f883613807565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561372d5761372c613930565b5b828201905092915050565b600061374382613807565b915061374e83613807565b92508261375e5761375d61395f565b5b828204905092915050565b600061377482613807565b915061377f83613807565b92508282101561379257613791613930565b5b828203905092915050565b60006137a8826137e7565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b8381101561383e578082015181840152602081019050613823565b8381111561384d576000848401525b50505050565b6000600282049050600182168061386b57607f821691505b6020821081141561387f5761387e61398e565b5b50919050565b61388e826139ec565b810181811067ffffffffffffffff821117156138ad576138ac6139bd565b5b80604052505050565b60006138c182613807565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156138f4576138f3613930565b5b600182019050919050565b600061390a82613807565b915061391583613807565b9250826139255761392461395f565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4f6e6c792070726f64756374696f6e2063616e20637265617465207472616e7360008201527f616374696f6e0000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60008201527f6578697374656e7420746f6b656e000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f45524337323155524953746f726167653a2055524920717565727920666f722060008201527f6e6f6e6578697374656e7420746f6b656e000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b613fe98161379d565b8114613ff457600080fd5b50565b614000816137af565b811461400b57600080fd5b50565b614017816137bb565b811461402257600080fd5b50565b61402e81613807565b811461403957600080fd5b5056fea2646970667358221220fe8e7f6f8970cc840e8a6ae14efe12d10950add6c84635aa4fbdd994711c89c664736f6c63430008040033000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000094661697250726963650000000000000000000000000000000000000000000000

Deployed ByteCode

0x608060405234801561001057600080fd5b50600436106101c45760003560e01c80638da5cb5b116100f9578063c87b56dd11610097578063e985e9c511610071578063e985e9c514610517578063eb2fadf014610547578063f2fde38b14610577578063fd3c430314610593576101c4565b8063c87b56dd14610499578063d1910de9146104c9578063d5b21447146104e7576101c4565b8063a22cb465116100d3578063a22cb46514610427578063aaf23b2d14610443578063b88d4fde1461045f578063bd3900c01461047b576101c4565b80638da5cb5b146103bb5780638e2f2ab7146103d957806395d89b4114610409576101c4565b80632f745c59116101665780636352211e116101405780636352211e146103355780636a6278421461036557806370a0823114610381578063715018a6146103b1576101c4565b80632f745c59146102b957806342842e0e146102e95780634f6ccce714610305576101c4565b8063095ea7b3116101a2578063095ea7b31461024757806318160ddd1461026357806321405cd11461028157806323b872dd1461029d576101c4565b806301ffc9a7146101c957806306fdde03146101f9578063081812fc14610217575b600080fd5b6101e360048036038101906101de9190612d74565b6105b1565b6040516101f09190613300565b60405180910390f35b6102016105c3565b60405161020e919061331b565b60405180910390f35b610231600480360381019061022c9190612e07565b610655565b60405161023e9190613299565b60405180910390f35b610261600480360381019061025c9190612d38565b6106da565b005b61026b6107f2565b60405161027891906135dd565b60405180910390f35b61029b60048036038101906102969190612ce4565b6107ff565b005b6102b760048036038101906102b29190612bde565b6108d3565b005b6102d360048036038101906102ce9190612d38565b610933565b6040516102e091906135dd565b60405180910390f35b61030360048036038101906102fe9190612bde565b6109d8565b005b61031f600480360381019061031a9190612e07565b6109f8565b60405161032c91906135dd565b60405180910390f35b61034f600480360381019061034a9190612e07565b610a8f565b60405161035c9190613299565b60405180910390f35b61037f600480360381019061037a9190612b79565b610b41565b005b61039b60048036038101906103969190612b79565b610b4f565b6040516103a891906135dd565b60405180910390f35b6103b9610c07565b005b6103c3610c8f565b6040516103d09190613299565b60405180910390f35b6103f360048036038101906103ee9190612e07565b610cb9565b604051610400919061331b565b60405180910390f35b610411610daf565b60405161041e919061331b565b60405180910390f35b610441600480360381019061043c9190612ca8565b610e41565b005b61045d60048036038101906104589190612dc6565b610e57565b005b61047960048036038101906104749190612c2d565b610f44565b005b610483610fa6565b6040516104909190613299565b60405180910390f35b6104b360048036038101906104ae9190612e07565b610fcc565b6040516104c0919061331b565b60405180910390f35b6104d1610fde565b6040516104de9190613299565b60405180910390f35b61050160048036038101906104fc9190612d38565b611004565b60405161050e919061331b565b60405180910390f35b610531600480360381019061052c9190612ba2565b6110cd565b60405161053e9190613300565b60405180910390f35b610561600480360381019061055c9190612ce4565b611161565b60405161056e91906135dd565b60405180910390f35b610591600480360381019061058c9190612b79565b61126c565b005b61059b611364565b6040516105a8919061331b565b60405180910390f35b60006105bc826113f2565b9050919050565b6060600080546105d290613853565b80601f01602080910402602001604051908101604052809291908181526020018280546105fe90613853565b801561064b5780601f106106205761010080835404028352916020019161064b565b820191906000526020600020905b81548152906001019060200180831161062e57829003601f168201915b5050505050905090565b60006106608261146c565b61069f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106969061351d565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006106e582610a8f565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610756576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161074d9061357d565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166107756114d8565b73ffffffffffffffffffffffffffffffffffffffff1614806107a457506107a38161079e6114d8565b6110cd565b5b6107e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107da9061343d565b60405180910390fd5b6107ed83836114e0565b505050565b6000600980549050905090565b6108076114d8565b73ffffffffffffffffffffffffffffffffffffffff16610825610c8f565b73ffffffffffffffffffffffffffffffffffffffff161461087b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108729061353d565b60405180910390fd5b80601060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090805190602001906108ce92919061299d565b505050565b6108e46108de6114d8565b82611599565b610923576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161091a9061359d565b60405180910390fd5b61092e838383611677565b505050565b600061093e83610b4f565b821061097f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109769061333d565b60405180910390fd5b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6109f383838360405180602001604052806000815250610f44565b505050565b6000610a026107f2565b8210610a43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a3a906135bd565b60405180910390fd5b60098281548110610a7d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610b38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b2f9061349d565b60405180910390fd5b80915050919050565b610b4c8160016118de565b50565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610bc0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bb79061347d565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610c0f6114d8565b73ffffffffffffffffffffffffffffffffffffffff16610c2d610c8f565b73ffffffffffffffffffffffffffffffffffffffff1614610c83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7a9061353d565b60405180910390fd5b610c8d60006118fc565b565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606000610cc633610b4f565b905060005b81811015610d6f57600184610ce09190613769565b610cea3383610933565b1415610d5c57610d1d33600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16866109d8565b6040518060400160405280601481526020017f5375636365737366756c6c79206275726e65642100000000000000000000000081525092505050610daa565b8080610d67906138b6565b915050610ccb565b506040518060400160405280601081526020017f546f6b656e206e6f7420666f756e6421000000000000000000000000000000008152509150505b919050565b606060018054610dbe90613853565b80601f0160208091040260200160405190810160405280929190818152602001828054610dea90613853565b8015610e375780601f10610e0c57610100808354040283529160200191610e37565b820191906000526020600020905b815481529060010190602001808311610e1a57829003601f168201915b5050505050905090565b610e53610e4c6114d8565b83836119c2565b5050565b610e5f6114d8565b73ffffffffffffffffffffffffffffffffffffffff16610e7d610c8f565b73ffffffffffffffffffffffffffffffffffffffff1614610ed3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eca9061353d565b60405180910390fd5b6040518060400160405280601254815260200182815250601160006012548152602001908152602001600020600082015181600001556020820151816001019080519060200190610f2592919061299d565b5090505060126000815480929190610f3c906138b6565b919050555050565b610f55610f4f6114d8565b83611599565b610f94576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f8b9061359d565b60405180910390fd5b610fa084848484611b2f565b50505050565b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6060610fd782611b8b565b9050919050565b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6060600061101133610b4f565b905060005b8181101561108c57836110293383610933565b14156110795761103a3386866109d8565b6040518060400160405280601981526020017f5375636365737366756c6c79207472616e736665727265642100000000000000815250925050506110c7565b8080611084906138b6565b915050611016565b506040518060400160405280601081526020017f546f6b656e206e6f7420666f756e6421000000000000000000000000000000008152509150505b92915050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60006040518060400160405280600a81526020017f50726f64756374696f6e0000000000000000000000000000000000000000000081525080519060200120601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040516111ec919061325e565b604051809103902014611234576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122b9061345d565b60405180910390fd5b61123d83610b41565b60136000815480929190611250906138b6565b919050555061126160135483611cdd565b601354905092915050565b6112746114d8565b73ffffffffffffffffffffffffffffffffffffffff16611292610c8f565b73ffffffffffffffffffffffffffffffffffffffff16146112e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112df9061353d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611358576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134f9061337d565b60405180910390fd5b611361816118fc565b50565b600f805461137190613853565b80601f016020809104026020016040519081016040528092919081815260200182805461139d90613853565b80156113ea5780601f106113bf576101008083540402835291602001916113ea565b820191906000526020600020905b8154815290600101906020018083116113cd57829003601f168201915b505050505081565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611465575061146482611d51565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661155383610a8f565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006115a48261146c565b6115e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115da9061341d565b60405180910390fd5b60006115ee83610a8f565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061165d57508373ffffffffffffffffffffffffffffffffffffffff1661164584610655565b73ffffffffffffffffffffffffffffffffffffffff16145b8061166e575061166d81856110cd565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661169782610a8f565b73ffffffffffffffffffffffffffffffffffffffff16146116ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116e49061339d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561175d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611754906133dd565b60405180910390fd5b611768838383611e33565b6117736000826114e0565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546117c39190613769565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461181a91906136e2565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46118d9838383611e43565b505050565b6118f8828260405180602001604052806000815250611e48565b5050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611a31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a28906133fd565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611b229190613300565b60405180910390a3505050565b611b3a848484611677565b611b4684848484611ea3565b611b85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b7c9061335d565b60405180910390fd5b50505050565b6060611b968261146c565b611bd5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bcc906134fd565b60405180910390fd5b6000600660008481526020019081526020016000208054611bf590613853565b80601f0160208091040260200160405190810160405280929190818152602001828054611c2190613853565b8015611c6e5780601f10611c4357610100808354040283529160200191611c6e565b820191906000526020600020905b815481529060010190602001808311611c5157829003601f168201915b505050505090506000611c7f61203a565b9050600081511415611c95578192505050611cd8565b600082511115611cca578082604051602001611cb2929190613275565b60405160208183030381529060405292505050611cd8565b611cd384612051565b925050505b919050565b611ce68261146c565b611d25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d1c906134bd565b60405180910390fd5b80600660008481526020019081526020016000209080519060200190611d4c92919061299d565b505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611e1c57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611e2c5750611e2b826120f8565b5b9050919050565b611e3e838383612162565b505050565b505050565b611e528383612276565b611e5f6000848484611ea3565b611e9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e959061335d565b60405180910390fd5b505050565b6000611ec48473ffffffffffffffffffffffffffffffffffffffff16612450565b1561202d578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611eed6114d8565b8786866040518563ffffffff1660e01b8152600401611f0f94939291906132b4565b602060405180830381600087803b158015611f2957600080fd5b505af1925050508015611f5a57506040513d601f19601f82011682018060405250810190611f579190612d9d565b60015b611fdd573d8060008114611f8a576040519150601f19603f3d011682016040523d82523d6000602084013e611f8f565b606091505b50600081511415611fd5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fcc9061335d565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612032565b600190505b949350505050565b606060405180602001604052806000815250905090565b606061205c8261146c565b61209b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120929061355d565b60405180910390fd5b60006120a561203a565b905060008151116120c557604051806020016040528060008152506120f0565b806120cf84612473565b6040516020016120e0929190613275565b6040516020818303038152906040525b915050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61216d838383612620565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156121b0576121ab81612625565b6121ef565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146121ee576121ed838261266e565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156122325761222d816127db565b612271565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146122705761226f828261291e565b5b5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156122e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122dd906134dd565b60405180910390fd5b6122ef8161146c565b1561232f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612326906133bd565b60405180910390fd5b61233b60008383611e33565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461238b91906136e2565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461244c60008383611e43565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b606060008214156124bb576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061261b565b600082905060005b600082146124ed5780806124d6906138b6565b915050600a826124e69190613738565b91506124c3565b60008167ffffffffffffffff81111561252f577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156125615781602001600182028036833780820191505090505b5090505b600085146126145760018261257a9190613769565b9150600a8561258991906138ff565b603061259591906136e2565b60f81b8183815181106125d1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561260d9190613738565b9450612565565b8093505050505b919050565b505050565b600980549050600a600083815260200190815260200160002081905550600981908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161267b84610b4f565b6126859190613769565b905060006008600084815260200190815260200160002054905081811461276a576000600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816008600083815260200190815260200160002081905550505b6008600084815260200190815260200160002060009055600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016009805490506127ef9190613769565b90506000600a6000848152602001908152602001600020549050600060098381548110612845577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050806009838154811061288d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600a600083815260200190815260200160002081905550600a6000858152602001908152602001600020600090556009805480612902577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b600061292983610b4f565b905081600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806008600084815260200190815260200160002081905550505050565b8280546129a990613853565b90600052602060002090601f0160209004810192826129cb5760008555612a12565b82601f106129e457805160ff1916838001178555612a12565b82800160010185558215612a12579182015b82811115612a115782518255916020019190600101906129f6565b5b509050612a1f9190612a23565b5090565b5b80821115612a3c576000816000905550600101612a24565b5090565b6000612a53612a4e8461361d565b6135f8565b905082815260208101848484011115612a6b57600080fd5b612a76848285613811565b509392505050565b6000612a91612a8c8461364e565b6135f8565b905082815260208101848484011115612aa957600080fd5b612ab4848285613811565b509392505050565b600081359050612acb81613fe0565b92915050565b600081359050612ae081613ff7565b92915050565b600081359050612af58161400e565b92915050565b600081519050612b0a8161400e565b92915050565b600082601f830112612b2157600080fd5b8135612b31848260208601612a40565b91505092915050565b600082601f830112612b4b57600080fd5b8135612b5b848260208601612a7e565b91505092915050565b600081359050612b7381614025565b92915050565b600060208284031215612b8b57600080fd5b6000612b9984828501612abc565b91505092915050565b60008060408385031215612bb557600080fd5b6000612bc385828601612abc565b9250506020612bd485828601612abc565b9150509250929050565b600080600060608486031215612bf357600080fd5b6000612c0186828701612abc565b9350506020612c1286828701612abc565b9250506040612c2386828701612b64565b9150509250925092565b60008060008060808587031215612c4357600080fd5b6000612c5187828801612abc565b9450506020612c6287828801612abc565b9350506040612c7387828801612b64565b925050606085013567ffffffffffffffff811115612c9057600080fd5b612c9c87828801612b10565b91505092959194509250565b60008060408385031215612cbb57600080fd5b6000612cc985828601612abc565b9250506020612cda85828601612ad1565b9150509250929050565b60008060408385031215612cf757600080fd5b6000612d0585828601612abc565b925050602083013567ffffffffffffffff811115612d2257600080fd5b612d2e85828601612b3a565b9150509250929050565b60008060408385031215612d4b57600080fd5b6000612d5985828601612abc565b9250506020612d6a85828601612b64565b9150509250929050565b600060208284031215612d8657600080fd5b6000612d9484828501612ae6565b91505092915050565b600060208284031215612daf57600080fd5b6000612dbd84828501612afb565b91505092915050565b600060208284031215612dd857600080fd5b600082013567ffffffffffffffff811115612df257600080fd5b612dfe84828501612b3a565b91505092915050565b600060208284031215612e1957600080fd5b6000612e2784828501612b64565b91505092915050565b612e398161379d565b82525050565b612e48816137af565b82525050565b6000612e5982613694565b612e6381856136aa565b9350612e73818560208601613820565b612e7c816139ec565b840191505092915050565b60008154612e9481613853565b612e9e81866136bb565b94506001821660008114612eb95760018114612eca57612efd565b60ff19831686528186019350612efd565b612ed38561367f565b60005b83811015612ef557815481890152600182019150602081019050612ed6565b838801955050505b50505092915050565b6000612f118261369f565b612f1b81856136c6565b9350612f2b818560208601613820565b612f34816139ec565b840191505092915050565b6000612f4a8261369f565b612f5481856136d7565b9350612f64818560208601613820565b80840191505092915050565b6000612f7d602b836136c6565b9150612f88826139fd565b604082019050919050565b6000612fa06032836136c6565b9150612fab82613a4c565b604082019050919050565b6000612fc36026836136c6565b9150612fce82613a9b565b604082019050919050565b6000612fe66025836136c6565b9150612ff182613aea565b604082019050919050565b6000613009601c836136c6565b915061301482613b39565b602082019050919050565b600061302c6024836136c6565b915061303782613b62565b604082019050919050565b600061304f6019836136c6565b915061305a82613bb1565b602082019050919050565b6000613072602c836136c6565b915061307d82613bda565b604082019050919050565b60006130956038836136c6565b91506130a082613c29565b604082019050919050565b60006130b86026836136c6565b91506130c382613c78565b604082019050919050565b60006130db602a836136c6565b91506130e682613cc7565b604082019050919050565b60006130fe6029836136c6565b915061310982613d16565b604082019050919050565b6000613121602e836136c6565b915061312c82613d65565b604082019050919050565b60006131446020836136c6565b915061314f82613db4565b602082019050919050565b60006131676031836136c6565b915061317282613ddd565b604082019050919050565b600061318a602c836136c6565b915061319582613e2c565b604082019050919050565b60006131ad6020836136c6565b91506131b882613e7b565b602082019050919050565b60006131d0602f836136c6565b91506131db82613ea4565b604082019050919050565b60006131f36021836136c6565b91506131fe82613ef3565b604082019050919050565b60006132166031836136c6565b915061322182613f42565b604082019050919050565b6000613239602c836136c6565b915061324482613f91565b604082019050919050565b61325881613807565b82525050565b600061326a8284612e87565b915081905092915050565b60006132818285612f3f565b915061328d8284612f3f565b91508190509392505050565b60006020820190506132ae6000830184612e30565b92915050565b60006080820190506132c96000830187612e30565b6132d66020830186612e30565b6132e3604083018561324f565b81810360608301526132f58184612e4e565b905095945050505050565b60006020820190506133156000830184612e3f565b92915050565b600060208201905081810360008301526133358184612f06565b905092915050565b6000602082019050818103600083015261335681612f70565b9050919050565b6000602082019050818103600083015261337681612f93565b9050919050565b6000602082019050818103600083015261339681612fb6565b9050919050565b600060208201905081810360008301526133b681612fd9565b9050919050565b600060208201905081810360008301526133d681612ffc565b9050919050565b600060208201905081810360008301526133f68161301f565b9050919050565b6000602082019050818103600083015261341681613042565b9050919050565b6000602082019050818103600083015261343681613065565b9050919050565b6000602082019050818103600083015261345681613088565b9050919050565b60006020820190508181036000830152613476816130ab565b9050919050565b60006020820190508181036000830152613496816130ce565b9050919050565b600060208201905081810360008301526134b6816130f1565b9050919050565b600060208201905081810360008301526134d681613114565b9050919050565b600060208201905081810360008301526134f681613137565b9050919050565b600060208201905081810360008301526135168161315a565b9050919050565b600060208201905081810360008301526135368161317d565b9050919050565b60006020820190508181036000830152613556816131a0565b9050919050565b60006020820190508181036000830152613576816131c3565b9050919050565b60006020820190508181036000830152613596816131e6565b9050919050565b600060208201905081810360008301526135b681613209565b9050919050565b600060208201905081810360008301526135d68161322c565b9050919050565b60006020820190506135f2600083018461324f565b92915050565b6000613602613613565b905061360e8282613885565b919050565b6000604051905090565b600067ffffffffffffffff821115613638576136376139bd565b5b613641826139ec565b9050602081019050919050565b600067ffffffffffffffff821115613669576136686139bd565b5b613672826139ec565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006136ed82613807565b91506136f883613807565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561372d5761372c613930565b5b828201905092915050565b600061374382613807565b915061374e83613807565b92508261375e5761375d61395f565b5b828204905092915050565b600061377482613807565b915061377f83613807565b92508282101561379257613791613930565b5b828203905092915050565b60006137a8826137e7565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b8381101561383e578082015181840152602081019050613823565b8381111561384d576000848401525b50505050565b6000600282049050600182168061386b57607f821691505b6020821081141561387f5761387e61398e565b5b50919050565b61388e826139ec565b810181811067ffffffffffffffff821117156138ad576138ac6139bd565b5b80604052505050565b60006138c182613807565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156138f4576138f3613930565b5b600182019050919050565b600061390a82613807565b915061391583613807565b9250826139255761392461395f565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4f6e6c792070726f64756374696f6e2063616e20637265617465207472616e7360008201527f616374696f6e0000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60008201527f6578697374656e7420746f6b656e000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f45524337323155524953746f726167653a2055524920717565727920666f722060008201527f6e6f6e6578697374656e7420746f6b656e000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b613fe98161379d565b8114613ff457600080fd5b50565b614000816137af565b811461400b57600080fd5b50565b614017816137bb565b811461402257600080fd5b50565b61402e81613807565b811461403957600080fd5b5056fea2646970667358221220fe8e7f6f8970cc840e8a6ae14efe12d10950add6c84635aa4fbdd994711c89c664736f6c63430008040033