Address Details
contract
token

0x367fd1B49D643766d0Bb131BaB424344F28962F5

Token
GenNFTs (GEN)
Creator
0x897b14–f62560 at 0xedd4b0–b2c2dc
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
13 Transactions
Transfers
0 Transfers
Gas Used
2,213,109
Last Balance Update
13519211
This contract has been verified via Sourcify. View contract in Sourcify repository
Contract name:
GenNFTs




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




EVM Version
london




Verified at
2022-06-14T02:46:56.086053Z

GenNFTs.sol

// SPDX-License-Identifier: GPL-3.0

pragma solidity >=0.7.0 <0.9.0;

import "@openzeppelin/contracts/token/ERC721//ERC721.sol";


contract GenNFTs is ERC721 {

    uint public totalMinted;
    mapping (address => bool) public autorized;
    using Strings for uint256;
    string InitName = "GenNFTs";
    string InitSymbol = "GEN";
    uint256 specialMinted;
    uint256 founderPercentage=10;
    address royaltyReceiver;
    mapping  (uint => string) private ID2URI;
    uint[] public mintedNFTs;

    constructor() ERC721(InitName, InitSymbol) {
        autorized[msg.sender]=true;
        royaltyReceiver=msg.sender;
    }

    function autorizeAddress(address _address) public onlyAutorized{
        autorized[_address]=true;
    }

    modifier onlyAutorized(){
        require(autorized[msg.sender],"Only autorized");
        _;
    }

    function mint(address _to, string memory _specialURI, uint _NFTID) public onlyAutorized {
        totalMinted++;
        ID2URI[_NFTID]=_specialURI;
        _safeMint(_to, _NFTID);
        _ownedTokens[_to].push(_NFTID);
        mintedNFTs.push(_NFTID);
    }

    function walletOfOwner(address _owner)
        public
        view
        returns (uint256[] memory)
    {
        return _ownedTokens[_owner];
    }     


    mapping(address => uint[]) private _ownedTokens;
    function tokenURI(uint256 _tokenId)
        public
        view
        virtual
        override
        returns (string memory)
    {
        require(
        _exists(_tokenId),
        "ERC721Metadata: URI query for nonexistent token"
        );
        return ID2URI[_tokenId];
    }
    function change_tokenURI(uint256 _tokenId, string memory _newURI) public onlyAutorized{
        require(_exists(_tokenId),"ERC721Metadata: URI query for nonexistent token");
        ID2URI[_tokenId]=_newURI;
    }
    function royaltyInfo(uint256 _tokenId,uint256 _salePrice) public view returns (address receiver, uint256 royaltyAmount){
        _tokenId+0;
        return(royaltyReceiver, _salePrice*(founderPercentage)/100);
    }
    function changeRoyaltyFounderInfo(address _royaltyReceiver) public onlyAutorized{
        royaltyReceiver=_royaltyReceiver;
    }
}

//Fork de Contrato de Prueba Hashlips
//Modificado y Adaptado por Rafael SantaMaría de BitsDapps.tech para el proyecto "Astroneas"
        

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

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.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 overridden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

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

        require(
            _msgSender() == owner || isApprovedForAll(owner, _msgSender()),
            "ERC721: approve caller is not 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 || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits 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 (last updated v4.6.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

/_openzeppelin/contracts/token/ERC721/extensions/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":"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":"Transfer","inputs":[{"type":"address","name":"from","internalType":"address","indexed":true},{"type":"address","name":"to","internalType":"address","indexed":true},{"type":"uint256","name":"tokenId","internalType":"uint256","indexed":true}],"anonymous":false},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"approve","inputs":[{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"autorizeAddress","inputs":[{"type":"address","name":"_address","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"autorized","inputs":[{"type":"address","name":"","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"balanceOf","inputs":[{"type":"address","name":"owner","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"changeRoyaltyFounderInfo","inputs":[{"type":"address","name":"_royaltyReceiver","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"change_tokenURI","inputs":[{"type":"uint256","name":"_tokenId","internalType":"uint256"},{"type":"string","name":"_newURI","internalType":"string"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"getApproved","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"isApprovedForAll","inputs":[{"type":"address","name":"owner","internalType":"address"},{"type":"address","name":"operator","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"mint","inputs":[{"type":"address","name":"_to","internalType":"address"},{"type":"string","name":"_specialURI","internalType":"string"},{"type":"uint256","name":"_NFTID","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"mintedNFTs","inputs":[{"type":"uint256","name":"","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"name","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"ownerOf","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"receiver","internalType":"address"},{"type":"uint256","name":"royaltyAmount","internalType":"uint256"}],"name":"royaltyInfo","inputs":[{"type":"uint256","name":"_tokenId","internalType":"uint256"},{"type":"uint256","name":"_salePrice","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"safeTransferFrom","inputs":[{"type":"address","name":"from","internalType":"address"},{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"safeTransferFrom","inputs":[{"type":"address","name":"from","internalType":"address"},{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"tokenId","internalType":"uint256"},{"type":"bytes","name":"_data","internalType":"bytes"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setApprovalForAll","inputs":[{"type":"address","name":"operator","internalType":"address"},{"type":"bool","name":"approved","internalType":"bool"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"supportsInterface","inputs":[{"type":"bytes4","name":"interfaceId","internalType":"bytes4"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"symbol","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"tokenURI","inputs":[{"type":"uint256","name":"_tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"totalMinted","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":"view","outputs":[{"type":"uint256[]","name":"","internalType":"uint256[]"}],"name":"walletOfOwner","inputs":[{"type":"address","name":"_owner","internalType":"address"}]}]
              

Contract Creation Code

0x60806040526040518060400160405280600781526020017f47656e4e465473000000000000000000000000000000000000000000000000008152506008908051906020019062000051929190620002ac565b506040518060400160405280600381526020017f47454e0000000000000000000000000000000000000000000000000000000000815250600990805190602001906200009f929190620002ac565b50600a600b55348015620000b257600080fd5b5060088054620000c2906200035c565b80601f0160208091040260200160405190810160405280929190818152602001828054620000f0906200035c565b8015620001415780601f10620001155761010080835404028352916020019162000141565b820191906000526020600020905b8154815290600101906020018083116200012357829003601f168201915b50505050506009805462000155906200035c565b80601f016020809104026020016040519081016040528092919081815260200182805462000183906200035c565b8015620001d45780601f10620001a857610100808354040283529160200191620001d4565b820191906000526020600020905b815481529060010190602001808311620001b657829003601f168201915b50505050508160009080519060200190620001f1929190620002ac565b5080600190805190602001906200020a929190620002ac565b5050506001600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555033600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550620003c1565b828054620002ba906200035c565b90600052602060002090601f016020900481019282620002de57600085556200032a565b82601f10620002f957805160ff19168380011785556200032a565b828001600101855582156200032a579182015b82811115620003295782518255916020019190600101906200030c565b5b5090506200033991906200033d565b5090565b5b80821115620003585760008160009055506001016200033e565b5090565b600060028204905060018216806200037557607f821691505b602082108114156200038c576200038b62000392565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b61306280620003d16000396000f3fe608060405234801561001057600080fd5b50600436106101425760003560e01c80636352211e116100b8578063b88d4fde1161007c578063b88d4fde1461039a578063ba7aef43146103b6578063c4add365146103d2578063c87b56dd146103ee578063e985e9c51461041e578063f94bb91c1461044e57610142565b80636352211e146102e257806370a082311461031257806395d89b4114610342578063a22cb46514610360578063a2309ff81461037c57610142565b806319228bf61161010a57806319228bf6146101fd5780631ee9f1d51461021957806323b872dd146102495780632a55205a1461026557806342842e0e14610296578063438b6300146102b257610142565b806301ffc9a71461014757806306fdde0314610177578063081812fc14610195578063095ea7b3146101c5578063153b47ef146101e1575b600080fd5b610161600480360381019061015c9190612039565b61047e565b60405161016e919061253f565b60405180910390f35b61017f610560565b60405161018c919061255a565b60405180910390f35b6101af60048036038101906101aa9190612093565b6105f2565b6040516101bc919061248d565b60405180910390f35b6101df60048036038101906101da9190611ff9565b610677565b005b6101fb60048036038101906101f691906120c0565b61078f565b005b61021760048036038101906102129190611e07565b61088f565b005b610233600480360381019061022e9190612093565b610976565b604051610240919061275c565b60405180910390f35b610263600480360381019061025e9190611e74565b61099a565b005b61027f600480360381019061027a919061211c565b6109fa565b60405161028d9291906124f4565b60405180910390f35b6102b060048036038101906102ab9190611e74565b610a53565b005b6102cc60048036038101906102c79190611e07565b610a73565b6040516102d9919061251d565b60405180910390f35b6102fc60048036038101906102f79190612093565b610b0a565b604051610309919061248d565b60405180910390f35b61032c60048036038101906103279190611e07565b610bbc565b604051610339919061275c565b60405180910390f35b61034a610c74565b604051610357919061255a565b60405180910390f35b61037a60048036038101906103759190611f4a565b610d06565b005b610384610d1c565b604051610391919061275c565b60405180910390f35b6103b460048036038101906103af9190611ec7565b610d22565b005b6103d060048036038101906103cb9190611f8a565b610d84565b005b6103ec60048036038101906103e79190611e07565b610eee565b005b61040860048036038101906104039190612093565b610fbe565b604051610415919061255a565b60405180910390f35b61043860048036038101906104339190611e34565b6110ab565b604051610445919061253f565b60405180910390f35b61046860048036038101906104639190611e07565b61113f565b604051610475919061253f565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061054957507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061055957506105588261115f565b5b9050919050565b60606000805461056f90612a3a565b80601f016020809104026020016040519081016040528092919081815260200182805461059b90612a3a565b80156105e85780601f106105bd576101008083540402835291602001916105e8565b820191906000526020600020905b8154815290600101906020018083116105cb57829003601f168201915b5050505050905090565b60006105fd826111c9565b61063c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610633906126dc565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061068282610b0a565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156106f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106ea9061271c565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610712611235565b73ffffffffffffffffffffffffffffffffffffffff16148061074157506107408161073b611235565b6110ab565b5b610780576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107779061265c565b60405180910390fd5b61078a838361123d565b505050565b600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1661081b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108129061257c565b60405180910390fd5b610824826111c9565b610863576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161085a906126fc565b60405180910390fd5b80600d6000848152602001908152602001600020908051906020019061088a929190611c1b565b505050565b600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1661091b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109129061257c565b60405180910390fd5b6001600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b600e818154811061098657600080fd5b906000526020600020016000915090505481565b6109ab6109a5611235565b826112f6565b6109ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109e19061273c565b60405180910390fd5b6109f58383836113d4565b505050565b600080600084610a0a919061286f565b50600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166064600b5485610a3e91906128f6565b610a4891906128c5565b915091509250929050565b610a6e83838360405180602001604052806000815250610d22565b505050565b6060600f60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805480602002602001604051908101604052809291908181526020018280548015610afe57602002820191906000526020600020905b815481526020019060010190808311610aea575b50505050509050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610bb3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610baa9061269c565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610c2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c249061267c565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b606060018054610c8390612a3a565b80601f0160208091040260200160405190810160405280929190818152602001828054610caf90612a3a565b8015610cfc5780601f10610cd157610100808354040283529160200191610cfc565b820191906000526020600020905b815481529060010190602001808311610cdf57829003601f168201915b5050505050905090565b610d18610d11611235565b838361163b565b5050565b60065481565b610d33610d2d611235565b836112f6565b610d72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d699061273c565b60405180910390fd5b610d7e848484846117a8565b50505050565b600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610e10576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e079061257c565b60405180910390fd5b60066000815480929190610e2390612a9d565b919050555081600d60008381526020019081526020016000209080519060200190610e4f929190611c1b565b50610e5a8382611804565b600f60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819080600181540180825580915050600190039060005260206000200160009091909190915055600e819080600181540180825580915050600190039060005260206000200160009091909190915055505050565b600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610f7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f719061257c565b60405180910390fd5b80600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6060610fc9826111c9565b611008576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fff906126fc565b60405180910390fd5b600d6000838152602001908152602001600020805461102690612a3a565b80601f016020809104026020016040519081016040528092919081815260200182805461105290612a3a565b801561109f5780601f106110745761010080835404028352916020019161109f565b820191906000526020600020905b81548152906001019060200180831161108257829003601f168201915b50505050509050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60076020528060005260406000206000915054906101000a900460ff1681565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166112b083610b0a565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611301826111c9565b611340576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113379061263c565b60405180910390fd5b600061134b83610b0a565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061138d575061138c81856110ab565b5b806113cb57508373ffffffffffffffffffffffffffffffffffffffff166113b3846105f2565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166113f482610b0a565b73ffffffffffffffffffffffffffffffffffffffff161461144a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611441906125bc565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156114ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114b1906125fc565b60405180910390fd5b6114c5838383611822565b6114d060008261123d565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546115209190612950565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611577919061286f565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611636838383611827565b505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156116aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116a19061261c565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161179b919061253f565b60405180910390a3505050565b6117b38484846113d4565b6117bf8484848461182c565b6117fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117f59061259c565b60405180910390fd5b50505050565b61181e8282604051806020016040528060008152506119c3565b5050565b505050565b505050565b600061184d8473ffffffffffffffffffffffffffffffffffffffff16611a1e565b156119b6578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611876611235565b8786866040518563ffffffff1660e01b815260040161189894939291906124a8565b602060405180830381600087803b1580156118b257600080fd5b505af19250505080156118e357506040513d601f19601f820116820180604052508101906118e09190612066565b60015b611966573d8060008114611913576040519150601f19603f3d011682016040523d82523d6000602084013e611918565b606091505b5060008151141561195e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119559061259c565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506119bb565b600190505b949350505050565b6119cd8383611a41565b6119da600084848461182c565b611a19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a109061259c565b60405180910390fd5b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611ab1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aa8906126bc565b60405180910390fd5b611aba816111c9565b15611afa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611af1906125dc565b60405180910390fd5b611b0660008383611822565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611b56919061286f565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611c1760008383611827565b5050565b828054611c2790612a3a565b90600052602060002090601f016020900481019282611c495760008555611c90565b82601f10611c6257805160ff1916838001178555611c90565b82800160010185558215611c90579182015b82811115611c8f578251825591602001919060010190611c74565b5b509050611c9d9190611ca1565b5090565b5b80821115611cba576000816000905550600101611ca2565b5090565b6000611cd1611ccc8461279c565b612777565b905082815260208101848484011115611ced57611cec612ba7565b5b611cf88482856129f8565b509392505050565b6000611d13611d0e846127cd565b612777565b905082815260208101848484011115611d2f57611d2e612ba7565b5b611d3a8482856129f8565b509392505050565b600081359050611d5181612fd0565b92915050565b600081359050611d6681612fe7565b92915050565b600081359050611d7b81612ffe565b92915050565b600081519050611d9081612ffe565b92915050565b600082601f830112611dab57611daa612ba2565b5b8135611dbb848260208601611cbe565b91505092915050565b600082601f830112611dd957611dd8612ba2565b5b8135611de9848260208601611d00565b91505092915050565b600081359050611e0181613015565b92915050565b600060208284031215611e1d57611e1c612bb1565b5b6000611e2b84828501611d42565b91505092915050565b60008060408385031215611e4b57611e4a612bb1565b5b6000611e5985828601611d42565b9250506020611e6a85828601611d42565b9150509250929050565b600080600060608486031215611e8d57611e8c612bb1565b5b6000611e9b86828701611d42565b9350506020611eac86828701611d42565b9250506040611ebd86828701611df2565b9150509250925092565b60008060008060808587031215611ee157611ee0612bb1565b5b6000611eef87828801611d42565b9450506020611f0087828801611d42565b9350506040611f1187828801611df2565b925050606085013567ffffffffffffffff811115611f3257611f31612bac565b5b611f3e87828801611d96565b91505092959194509250565b60008060408385031215611f6157611f60612bb1565b5b6000611f6f85828601611d42565b9250506020611f8085828601611d57565b9150509250929050565b600080600060608486031215611fa357611fa2612bb1565b5b6000611fb186828701611d42565b935050602084013567ffffffffffffffff811115611fd257611fd1612bac565b5b611fde86828701611dc4565b9250506040611fef86828701611df2565b9150509250925092565b600080604083850312156120105761200f612bb1565b5b600061201e85828601611d42565b925050602061202f85828601611df2565b9150509250929050565b60006020828403121561204f5761204e612bb1565b5b600061205d84828501611d6c565b91505092915050565b60006020828403121561207c5761207b612bb1565b5b600061208a84828501611d81565b91505092915050565b6000602082840312156120a9576120a8612bb1565b5b60006120b784828501611df2565b91505092915050565b600080604083850312156120d7576120d6612bb1565b5b60006120e585828601611df2565b925050602083013567ffffffffffffffff81111561210657612105612bac565b5b61211285828601611dc4565b9150509250929050565b6000806040838503121561213357612132612bb1565b5b600061214185828601611df2565b925050602061215285828601611df2565b9150509250929050565b6000612168838361246f565b60208301905092915050565b61217d81612984565b82525050565b600061218e8261280e565b612198818561283c565b93506121a3836127fe565b8060005b838110156121d45781516121bb888261215c565b97506121c68361282f565b9250506001810190506121a7565b5085935050505092915050565b6121ea81612996565b82525050565b60006121fb82612819565b612205818561284d565b9350612215818560208601612a07565b61221e81612bb6565b840191505092915050565b600061223482612824565b61223e818561285e565b935061224e818560208601612a07565b61225781612bb6565b840191505092915050565b600061226f600e8361285e565b915061227a82612bc7565b602082019050919050565b600061229260328361285e565b915061229d82612bf0565b604082019050919050565b60006122b560258361285e565b91506122c082612c3f565b604082019050919050565b60006122d8601c8361285e565b91506122e382612c8e565b602082019050919050565b60006122fb60248361285e565b915061230682612cb7565b604082019050919050565b600061231e60198361285e565b915061232982612d06565b602082019050919050565b6000612341602c8361285e565b915061234c82612d2f565b604082019050919050565b600061236460388361285e565b915061236f82612d7e565b604082019050919050565b6000612387602a8361285e565b915061239282612dcd565b604082019050919050565b60006123aa60298361285e565b91506123b582612e1c565b604082019050919050565b60006123cd60208361285e565b91506123d882612e6b565b602082019050919050565b60006123f0602c8361285e565b91506123fb82612e94565b604082019050919050565b6000612413602f8361285e565b915061241e82612ee3565b604082019050919050565b600061243660218361285e565b915061244182612f32565b604082019050919050565b600061245960318361285e565b915061246482612f81565b604082019050919050565b612478816129ee565b82525050565b612487816129ee565b82525050565b60006020820190506124a26000830184612174565b92915050565b60006080820190506124bd6000830187612174565b6124ca6020830186612174565b6124d7604083018561247e565b81810360608301526124e981846121f0565b905095945050505050565b60006040820190506125096000830185612174565b612516602083018461247e565b9392505050565b600060208201905081810360008301526125378184612183565b905092915050565b600060208201905061255460008301846121e1565b92915050565b600060208201905081810360008301526125748184612229565b905092915050565b6000602082019050818103600083015261259581612262565b9050919050565b600060208201905081810360008301526125b581612285565b9050919050565b600060208201905081810360008301526125d5816122a8565b9050919050565b600060208201905081810360008301526125f5816122cb565b9050919050565b60006020820190508181036000830152612615816122ee565b9050919050565b6000602082019050818103600083015261263581612311565b9050919050565b6000602082019050818103600083015261265581612334565b9050919050565b6000602082019050818103600083015261267581612357565b9050919050565b600060208201905081810360008301526126958161237a565b9050919050565b600060208201905081810360008301526126b58161239d565b9050919050565b600060208201905081810360008301526126d5816123c0565b9050919050565b600060208201905081810360008301526126f5816123e3565b9050919050565b6000602082019050818103600083015261271581612406565b9050919050565b6000602082019050818103600083015261273581612429565b9050919050565b600060208201905081810360008301526127558161244c565b9050919050565b6000602082019050612771600083018461247e565b92915050565b6000612781612792565b905061278d8282612a6c565b919050565b6000604051905090565b600067ffffffffffffffff8211156127b7576127b6612b73565b5b6127c082612bb6565b9050602081019050919050565b600067ffffffffffffffff8211156127e8576127e7612b73565b5b6127f182612bb6565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600061287a826129ee565b9150612885836129ee565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156128ba576128b9612ae6565b5b828201905092915050565b60006128d0826129ee565b91506128db836129ee565b9250826128eb576128ea612b15565b5b828204905092915050565b6000612901826129ee565b915061290c836129ee565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561294557612944612ae6565b5b828202905092915050565b600061295b826129ee565b9150612966836129ee565b92508282101561297957612978612ae6565b5b828203905092915050565b600061298f826129ce565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015612a25578082015181840152602081019050612a0a565b83811115612a34576000848401525b50505050565b60006002820490506001821680612a5257607f821691505b60208210811415612a6657612a65612b44565b5b50919050565b612a7582612bb6565b810181811067ffffffffffffffff82111715612a9457612a93612b73565b5b80604052505050565b6000612aa8826129ee565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415612adb57612ada612ae6565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4f6e6c79206175746f72697a6564000000000000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b612fd981612984565b8114612fe457600080fd5b50565b612ff081612996565b8114612ffb57600080fd5b50565b613007816129a2565b811461301257600080fd5b50565b61301e816129ee565b811461302957600080fd5b5056fea2646970667358221220e1fc5360966c9763e67e7fd8a7ef64145c24e68ffded172218d5406ea84ff0ec64736f6c63430008070033

Deployed ByteCode

0x608060405234801561001057600080fd5b50600436106101425760003560e01c80636352211e116100b8578063b88d4fde1161007c578063b88d4fde1461039a578063ba7aef43146103b6578063c4add365146103d2578063c87b56dd146103ee578063e985e9c51461041e578063f94bb91c1461044e57610142565b80636352211e146102e257806370a082311461031257806395d89b4114610342578063a22cb46514610360578063a2309ff81461037c57610142565b806319228bf61161010a57806319228bf6146101fd5780631ee9f1d51461021957806323b872dd146102495780632a55205a1461026557806342842e0e14610296578063438b6300146102b257610142565b806301ffc9a71461014757806306fdde0314610177578063081812fc14610195578063095ea7b3146101c5578063153b47ef146101e1575b600080fd5b610161600480360381019061015c9190612039565b61047e565b60405161016e919061253f565b60405180910390f35b61017f610560565b60405161018c919061255a565b60405180910390f35b6101af60048036038101906101aa9190612093565b6105f2565b6040516101bc919061248d565b60405180910390f35b6101df60048036038101906101da9190611ff9565b610677565b005b6101fb60048036038101906101f691906120c0565b61078f565b005b61021760048036038101906102129190611e07565b61088f565b005b610233600480360381019061022e9190612093565b610976565b604051610240919061275c565b60405180910390f35b610263600480360381019061025e9190611e74565b61099a565b005b61027f600480360381019061027a919061211c565b6109fa565b60405161028d9291906124f4565b60405180910390f35b6102b060048036038101906102ab9190611e74565b610a53565b005b6102cc60048036038101906102c79190611e07565b610a73565b6040516102d9919061251d565b60405180910390f35b6102fc60048036038101906102f79190612093565b610b0a565b604051610309919061248d565b60405180910390f35b61032c60048036038101906103279190611e07565b610bbc565b604051610339919061275c565b60405180910390f35b61034a610c74565b604051610357919061255a565b60405180910390f35b61037a60048036038101906103759190611f4a565b610d06565b005b610384610d1c565b604051610391919061275c565b60405180910390f35b6103b460048036038101906103af9190611ec7565b610d22565b005b6103d060048036038101906103cb9190611f8a565b610d84565b005b6103ec60048036038101906103e79190611e07565b610eee565b005b61040860048036038101906104039190612093565b610fbe565b604051610415919061255a565b60405180910390f35b61043860048036038101906104339190611e34565b6110ab565b604051610445919061253f565b60405180910390f35b61046860048036038101906104639190611e07565b61113f565b604051610475919061253f565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061054957507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061055957506105588261115f565b5b9050919050565b60606000805461056f90612a3a565b80601f016020809104026020016040519081016040528092919081815260200182805461059b90612a3a565b80156105e85780601f106105bd576101008083540402835291602001916105e8565b820191906000526020600020905b8154815290600101906020018083116105cb57829003601f168201915b5050505050905090565b60006105fd826111c9565b61063c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610633906126dc565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061068282610b0a565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156106f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106ea9061271c565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610712611235565b73ffffffffffffffffffffffffffffffffffffffff16148061074157506107408161073b611235565b6110ab565b5b610780576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107779061265c565b60405180910390fd5b61078a838361123d565b505050565b600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1661081b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108129061257c565b60405180910390fd5b610824826111c9565b610863576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161085a906126fc565b60405180910390fd5b80600d6000848152602001908152602001600020908051906020019061088a929190611c1b565b505050565b600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1661091b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109129061257c565b60405180910390fd5b6001600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b600e818154811061098657600080fd5b906000526020600020016000915090505481565b6109ab6109a5611235565b826112f6565b6109ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109e19061273c565b60405180910390fd5b6109f58383836113d4565b505050565b600080600084610a0a919061286f565b50600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166064600b5485610a3e91906128f6565b610a4891906128c5565b915091509250929050565b610a6e83838360405180602001604052806000815250610d22565b505050565b6060600f60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805480602002602001604051908101604052809291908181526020018280548015610afe57602002820191906000526020600020905b815481526020019060010190808311610aea575b50505050509050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610bb3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610baa9061269c565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610c2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c249061267c565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b606060018054610c8390612a3a565b80601f0160208091040260200160405190810160405280929190818152602001828054610caf90612a3a565b8015610cfc5780601f10610cd157610100808354040283529160200191610cfc565b820191906000526020600020905b815481529060010190602001808311610cdf57829003601f168201915b5050505050905090565b610d18610d11611235565b838361163b565b5050565b60065481565b610d33610d2d611235565b836112f6565b610d72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d699061273c565b60405180910390fd5b610d7e848484846117a8565b50505050565b600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610e10576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e079061257c565b60405180910390fd5b60066000815480929190610e2390612a9d565b919050555081600d60008381526020019081526020016000209080519060200190610e4f929190611c1b565b50610e5a8382611804565b600f60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819080600181540180825580915050600190039060005260206000200160009091909190915055600e819080600181540180825580915050600190039060005260206000200160009091909190915055505050565b600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610f7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f719061257c565b60405180910390fd5b80600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6060610fc9826111c9565b611008576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fff906126fc565b60405180910390fd5b600d6000838152602001908152602001600020805461102690612a3a565b80601f016020809104026020016040519081016040528092919081815260200182805461105290612a3a565b801561109f5780601f106110745761010080835404028352916020019161109f565b820191906000526020600020905b81548152906001019060200180831161108257829003601f168201915b50505050509050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60076020528060005260406000206000915054906101000a900460ff1681565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166112b083610b0a565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611301826111c9565b611340576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113379061263c565b60405180910390fd5b600061134b83610b0a565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061138d575061138c81856110ab565b5b806113cb57508373ffffffffffffffffffffffffffffffffffffffff166113b3846105f2565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166113f482610b0a565b73ffffffffffffffffffffffffffffffffffffffff161461144a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611441906125bc565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156114ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114b1906125fc565b60405180910390fd5b6114c5838383611822565b6114d060008261123d565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546115209190612950565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611577919061286f565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611636838383611827565b505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156116aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116a19061261c565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161179b919061253f565b60405180910390a3505050565b6117b38484846113d4565b6117bf8484848461182c565b6117fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117f59061259c565b60405180910390fd5b50505050565b61181e8282604051806020016040528060008152506119c3565b5050565b505050565b505050565b600061184d8473ffffffffffffffffffffffffffffffffffffffff16611a1e565b156119b6578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611876611235565b8786866040518563ffffffff1660e01b815260040161189894939291906124a8565b602060405180830381600087803b1580156118b257600080fd5b505af19250505080156118e357506040513d601f19601f820116820180604052508101906118e09190612066565b60015b611966573d8060008114611913576040519150601f19603f3d011682016040523d82523d6000602084013e611918565b606091505b5060008151141561195e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119559061259c565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506119bb565b600190505b949350505050565b6119cd8383611a41565b6119da600084848461182c565b611a19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a109061259c565b60405180910390fd5b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611ab1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aa8906126bc565b60405180910390fd5b611aba816111c9565b15611afa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611af1906125dc565b60405180910390fd5b611b0660008383611822565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611b56919061286f565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611c1760008383611827565b5050565b828054611c2790612a3a565b90600052602060002090601f016020900481019282611c495760008555611c90565b82601f10611c6257805160ff1916838001178555611c90565b82800160010185558215611c90579182015b82811115611c8f578251825591602001919060010190611c74565b5b509050611c9d9190611ca1565b5090565b5b80821115611cba576000816000905550600101611ca2565b5090565b6000611cd1611ccc8461279c565b612777565b905082815260208101848484011115611ced57611cec612ba7565b5b611cf88482856129f8565b509392505050565b6000611d13611d0e846127cd565b612777565b905082815260208101848484011115611d2f57611d2e612ba7565b5b611d3a8482856129f8565b509392505050565b600081359050611d5181612fd0565b92915050565b600081359050611d6681612fe7565b92915050565b600081359050611d7b81612ffe565b92915050565b600081519050611d9081612ffe565b92915050565b600082601f830112611dab57611daa612ba2565b5b8135611dbb848260208601611cbe565b91505092915050565b600082601f830112611dd957611dd8612ba2565b5b8135611de9848260208601611d00565b91505092915050565b600081359050611e0181613015565b92915050565b600060208284031215611e1d57611e1c612bb1565b5b6000611e2b84828501611d42565b91505092915050565b60008060408385031215611e4b57611e4a612bb1565b5b6000611e5985828601611d42565b9250506020611e6a85828601611d42565b9150509250929050565b600080600060608486031215611e8d57611e8c612bb1565b5b6000611e9b86828701611d42565b9350506020611eac86828701611d42565b9250506040611ebd86828701611df2565b9150509250925092565b60008060008060808587031215611ee157611ee0612bb1565b5b6000611eef87828801611d42565b9450506020611f0087828801611d42565b9350506040611f1187828801611df2565b925050606085013567ffffffffffffffff811115611f3257611f31612bac565b5b611f3e87828801611d96565b91505092959194509250565b60008060408385031215611f6157611f60612bb1565b5b6000611f6f85828601611d42565b9250506020611f8085828601611d57565b9150509250929050565b600080600060608486031215611fa357611fa2612bb1565b5b6000611fb186828701611d42565b935050602084013567ffffffffffffffff811115611fd257611fd1612bac565b5b611fde86828701611dc4565b9250506040611fef86828701611df2565b9150509250925092565b600080604083850312156120105761200f612bb1565b5b600061201e85828601611d42565b925050602061202f85828601611df2565b9150509250929050565b60006020828403121561204f5761204e612bb1565b5b600061205d84828501611d6c565b91505092915050565b60006020828403121561207c5761207b612bb1565b5b600061208a84828501611d81565b91505092915050565b6000602082840312156120a9576120a8612bb1565b5b60006120b784828501611df2565b91505092915050565b600080604083850312156120d7576120d6612bb1565b5b60006120e585828601611df2565b925050602083013567ffffffffffffffff81111561210657612105612bac565b5b61211285828601611dc4565b9150509250929050565b6000806040838503121561213357612132612bb1565b5b600061214185828601611df2565b925050602061215285828601611df2565b9150509250929050565b6000612168838361246f565b60208301905092915050565b61217d81612984565b82525050565b600061218e8261280e565b612198818561283c565b93506121a3836127fe565b8060005b838110156121d45781516121bb888261215c565b97506121c68361282f565b9250506001810190506121a7565b5085935050505092915050565b6121ea81612996565b82525050565b60006121fb82612819565b612205818561284d565b9350612215818560208601612a07565b61221e81612bb6565b840191505092915050565b600061223482612824565b61223e818561285e565b935061224e818560208601612a07565b61225781612bb6565b840191505092915050565b600061226f600e8361285e565b915061227a82612bc7565b602082019050919050565b600061229260328361285e565b915061229d82612bf0565b604082019050919050565b60006122b560258361285e565b91506122c082612c3f565b604082019050919050565b60006122d8601c8361285e565b91506122e382612c8e565b602082019050919050565b60006122fb60248361285e565b915061230682612cb7565b604082019050919050565b600061231e60198361285e565b915061232982612d06565b602082019050919050565b6000612341602c8361285e565b915061234c82612d2f565b604082019050919050565b600061236460388361285e565b915061236f82612d7e565b604082019050919050565b6000612387602a8361285e565b915061239282612dcd565b604082019050919050565b60006123aa60298361285e565b91506123b582612e1c565b604082019050919050565b60006123cd60208361285e565b91506123d882612e6b565b602082019050919050565b60006123f0602c8361285e565b91506123fb82612e94565b604082019050919050565b6000612413602f8361285e565b915061241e82612ee3565b604082019050919050565b600061243660218361285e565b915061244182612f32565b604082019050919050565b600061245960318361285e565b915061246482612f81565b604082019050919050565b612478816129ee565b82525050565b612487816129ee565b82525050565b60006020820190506124a26000830184612174565b92915050565b60006080820190506124bd6000830187612174565b6124ca6020830186612174565b6124d7604083018561247e565b81810360608301526124e981846121f0565b905095945050505050565b60006040820190506125096000830185612174565b612516602083018461247e565b9392505050565b600060208201905081810360008301526125378184612183565b905092915050565b600060208201905061255460008301846121e1565b92915050565b600060208201905081810360008301526125748184612229565b905092915050565b6000602082019050818103600083015261259581612262565b9050919050565b600060208201905081810360008301526125b581612285565b9050919050565b600060208201905081810360008301526125d5816122a8565b9050919050565b600060208201905081810360008301526125f5816122cb565b9050919050565b60006020820190508181036000830152612615816122ee565b9050919050565b6000602082019050818103600083015261263581612311565b9050919050565b6000602082019050818103600083015261265581612334565b9050919050565b6000602082019050818103600083015261267581612357565b9050919050565b600060208201905081810360008301526126958161237a565b9050919050565b600060208201905081810360008301526126b58161239d565b9050919050565b600060208201905081810360008301526126d5816123c0565b9050919050565b600060208201905081810360008301526126f5816123e3565b9050919050565b6000602082019050818103600083015261271581612406565b9050919050565b6000602082019050818103600083015261273581612429565b9050919050565b600060208201905081810360008301526127558161244c565b9050919050565b6000602082019050612771600083018461247e565b92915050565b6000612781612792565b905061278d8282612a6c565b919050565b6000604051905090565b600067ffffffffffffffff8211156127b7576127b6612b73565b5b6127c082612bb6565b9050602081019050919050565b600067ffffffffffffffff8211156127e8576127e7612b73565b5b6127f182612bb6565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600061287a826129ee565b9150612885836129ee565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156128ba576128b9612ae6565b5b828201905092915050565b60006128d0826129ee565b91506128db836129ee565b9250826128eb576128ea612b15565b5b828204905092915050565b6000612901826129ee565b915061290c836129ee565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561294557612944612ae6565b5b828202905092915050565b600061295b826129ee565b9150612966836129ee565b92508282101561297957612978612ae6565b5b828203905092915050565b600061298f826129ce565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015612a25578082015181840152602081019050612a0a565b83811115612a34576000848401525b50505050565b60006002820490506001821680612a5257607f821691505b60208210811415612a6657612a65612b44565b5b50919050565b612a7582612bb6565b810181811067ffffffffffffffff82111715612a9457612a93612b73565b5b80604052505050565b6000612aa8826129ee565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415612adb57612ada612ae6565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4f6e6c79206175746f72697a6564000000000000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b612fd981612984565b8114612fe457600080fd5b50565b612ff081612996565b8114612ffb57600080fd5b50565b613007816129a2565b811461301257600080fd5b50565b61301e816129ee565b811461302957600080fd5b5056fea2646970667358221220e1fc5360966c9763e67e7fd8a7ef64145c24e68ffded172218d5406ea84ff0ec64736f6c63430008070033