ETH Price: $3,352.53 (-0.97%)

Token

Ovomorph (EGG)
 

Overview

Max Total Supply

564 EGG

Holders

210

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Balance
12 EGG
0xc3d0a259db2dcda6553c3a1f435e50dfccd4229c
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
Ovomorph

Compiler Version
v0.8.15+commit.e14f2714

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 16 : Ovomorph.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";



contract Ovomorph is ERC721, ERC721Enumerable, Ownable {
    using Strings for uint256;
    using SafeERC20 for IERC20;

    // WhiteLists for presale.
    mapping (address => uint) public _numberOfPresale;
    mapping (uint => uint) public _numberOfAction;
    mapping (uint => uint) public _timeOfLastAction;
    // mapping (address => uint[]) public _tokensOfWallet;

    address public POOL = 0x8bDc87BF6a9625205bCBeC270448f3C7bF4e00c3;
    uint256 public ETH_PRICE = 60000000000000000; // 0.06 ETH
    uint256 public FOOD_PRICE = 10000000000000000000000000000; // 10B
    uint256 public FOOD_FEED = 2000000000000000000000000000; // 2B
    uint256 public constant MAX_TOKENS = 10000;
    bool public saleIsActive = false;
    bool public eggIsActive = false;
    string public baseExtension = ".json";
    string private _baseURIextended;

    IERC20 public FOOD;
    
    constructor(
        address _food
    ) ERC721("Ovomorph", "EGG") {
        
        FOOD = IERC20(_food);
        //_numberOfPresale[0x84CCf38452Dc6bB59DBccD5E1BA465f7BF2e66a7] = 2;

    }

    function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal override(ERC721, ERC721Enumerable) {
        super._beforeTokenTransfer(from, to, tokenId);
    }

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

    function setBaseURI(string memory baseURI_) external onlyOwner() {
        _baseURIextended = baseURI_;
    }

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


    function tokenURI(uint256 tokenId) public view virtual override returns (string memory)
    {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

        string[6] memory action_list = ['Initial/', 'Turning/', 'Candling/', 'Pre-hatching/', 'Ovomorph/', 'Swarm/'];
    
        string memory currentBaseURI = _baseURI();
        return bytes(currentBaseURI).length > 0
            ? string(abi.encodePacked(currentBaseURI, action_list[_numberOfAction[tokenId]], tokenId.toString(), baseExtension))
            : "";
    }

    function flipSaleState() public onlyOwner {
        saleIsActive = !saleIsActive;
    }

    function flipEggState() public onlyOwner {
        eggIsActive = !eggIsActive;
    }

    function EggList() public {
        require(eggIsActive, "Egglist must be active to mint Tokens");
        require(totalSupply() + _numberOfPresale[msg.sender] <= MAX_TOKENS, "Purchase would exceed max supply of tokens");

        for(uint i = 0; i < _numberOfPresale[msg.sender]; i++) {
            uint mintIndex = totalSupply();
            if (totalSupply() < MAX_TOKENS) {
                _safeMint(msg.sender, mintIndex);
                // _tokensOfWallet[msg.sender].push(mintIndex);
            }
        }
        
        _numberOfPresale[msg.sender] = 0;
    }
    
    function mintWithEthToken(uint numberOfTokens) public payable {
        require(saleIsActive, "Sale must be active to mint Tokens");
        require(totalSupply() + numberOfTokens <= MAX_TOKENS, "Purchase would exceed max supply of tokens");
        require(ETH_PRICE * numberOfTokens <= msg.value, "You dont have enough Ether");

        for(uint i = 0; i < numberOfTokens; i++) {
            uint mintIndex = totalSupply();
            if (totalSupply() < MAX_TOKENS) {
                _safeMint(msg.sender, mintIndex);
                // _tokensOfWallet[msg.sender].push(mintIndex);
            }
        }
    }

    function mintWithFoodToken(uint numberOfTokens) public {
        require(tx.origin == msg.sender, "You dont own");
        require(saleIsActive, "Sale must be active to mint Tokens");
        require(totalSupply() + numberOfTokens <= MAX_TOKENS, "Purchase would exceed max supply of tokens");

        FOOD.safeTransferFrom(msg.sender, address(this), numberOfTokens * FOOD_PRICE);

        for(uint i = 0; i < numberOfTokens; i++) {
            uint mintIndex = totalSupply();
            if (totalSupply() < MAX_TOKENS) {
                _safeMint(msg.sender, mintIndex);
                // _tokensOfWallet[msg.sender].push(mintIndex);
            }
        }
    }


    function Incubating(uint tokenId) public {
        require(tx.origin == msg.sender, "You dont own");
        require(ownerOf(tokenId) == msg.sender, "You are not token's owner");
        require(_numberOfAction[tokenId] <= 5, "There is not an egg");
        require(block.timestamp >= (_timeOfLastAction[tokenId] + 24*3600), "Please wait for the next incubate");
        require(FOOD.balanceOf(msg.sender) >= FOOD_FEED, "FOOD tokens not enough");

        FOOD.transferFrom(msg.sender, POOL, FOOD_FEED);
        _numberOfAction[tokenId]++;
        _timeOfLastAction[tokenId] = block.timestamp;

    }

    function getTokensOfWallet(address wallet) public view returns(uint[] memory) {
        uint tokenBalance = balanceOf(wallet);
        uint[] memory res = new uint[](tokenBalance);
        for (uint i=0; i<tokenBalance; i++) {
            res[i] = tokenOfOwnerByIndex(wallet, i);
        }

        return res;
    }

    function getPresaleCount(address wallet) public view returns(uint) {
        return _numberOfPresale[wallet];
    }
    
    // Update Food Amount
    function setFoodFeed(uint _newPrice) external onlyOwner {
        FOOD_FEED = _newPrice;
    }

    // Update ETH Price
    function setEthPrice(uint _newPrice) external onlyOwner {
        ETH_PRICE = _newPrice;
    }

    // Update FOOD Price
    function setFoodPrice(uint _newPrice) external onlyOwner {
        FOOD_PRICE = _newPrice;
    }

    // Update POOL Address
    function setPoolAddress(address _newPool) external onlyOwner {
        POOL = _newPool;
    }

    function addWhiteList(address[] calldata _wallet, uint8 _count) external onlyOwner {
    for (uint256 i = 0; i < _wallet.length; i++) {
        _numberOfPresale[_wallet[i]] = _count;
    }
}

    function withdraw() public onlyOwner {
        uint256 balance = address(this).balance;
        payable(msg.sender).transfer(balance);
    }

}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/Strings.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension, but not including the Enumerable extension, which is available separately as
 * {ERC721Enumerable}.
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits an {Approval} event.
     */
    function _approve(address to, uint256 tokenId) internal virtual {
        _tokenApprovals[tokenId] = to;
        emit Approval(ERC721.ownerOf(tokenId), to, tokenId);
    }

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

    /**
     * @dev Reverts if the `tokenId` has not been minted yet.
     */
    function _requireMinted(uint256 tokenId) internal view virtual {
        require(_exists(tokenId), "ERC721: invalid token ID");
    }

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 6 of 16 : SafeERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";
import "../extensions/draft-IERC20Permit.sol";
import "../../../utils/Address.sol";

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

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

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

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

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

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

    function safePermit(
        IERC20Permit token,
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal {
        uint256 nonceBefore = token.nonces(owner);
        token.permit(owner, spender, value, deadline, v, r, s);
        uint256 nonceAfter = token.nonces(owner);
        require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed");
    }

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

File 8 of 16 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

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

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

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

File 15 of 16 : draft-IERC20Permit.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
 * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
 *
 * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
 * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't
 * need to send a transaction, and thus is not required to hold Ether at all.
 */
interface IERC20Permit {
    /**
     * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,
     * given ``owner``'s signed approval.
     *
     * IMPORTANT: The same issues {IERC20-approve} has related to transaction
     * ordering also apply here.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `deadline` must be a timestamp in the future.
     * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`
     * over the EIP712-formatted function arguments.
     * - the signature must use ``owner``'s current nonce (see {nonces}).
     *
     * For more information on the signature format, see the
     * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP
     * section].
     */
    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external;

    /**
     * @dev Returns the current nonce for `owner`. This value must be
     * included whenever a signature is generated for {permit}.
     *
     * Every successful call to {permit} increases ``owner``'s nonce by one. This
     * prevents a signature from being used multiple times.
     */
    function nonces(address owner) external view returns (uint256);

    /**
     * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.
     */
    // solhint-disable-next-line func-name-mixedcase
    function DOMAIN_SEPARATOR() external view returns (bytes32);
}

File 16 of 16 : 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);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_food","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"ETH_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"EggList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"FOOD","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"FOOD_FEED","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"FOOD_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Incubating","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"MAX_TOKENS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"POOL","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"_numberOfAction","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_numberOfPresale","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"_timeOfLastAction","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_wallet","type":"address[]"},{"internalType":"uint8","name":"_count","type":"uint8"}],"name":"addWhiteList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"eggIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flipEggState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"}],"name":"getPresaleCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"}],"name":"getTokensOfWallet","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mintWithEthToken","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mintWithFoodToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrice","type":"uint256"}],"name":"setEthPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrice","type":"uint256"}],"name":"setFoodFeed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrice","type":"uint256"}],"name":"setFoodPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newPool","type":"address"}],"name":"setPoolAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052738bdc87bf6a9625205bcbec270448f3c7bf4e00c3600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555066d529ae9e860000600f556b204fce5e3e250261100000006010556b06765c793fa10079d00000006011556000601260006101000a81548160ff0219169083151502179055506000601260016101000a81548160ff0219169083151502179055506040518060400160405280600581526020017f2e6a736f6e0000000000000000000000000000000000000000000000000000008152506013908162000100919062000576565b503480156200010e57600080fd5b5060405162005db938038062005db98339818101604052810190620001349190620006c7565b6040518060400160405280600881526020017f4f766f6d6f7270680000000000000000000000000000000000000000000000008152506040518060400160405280600381526020017f45474700000000000000000000000000000000000000000000000000000000008152508160009081620001b1919062000576565b508060019081620001c3919062000576565b505050620001e6620001da6200022e60201b60201c565b6200023660201b60201c565b80601560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050620006f9565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200037e57607f821691505b60208210810362000394576200039362000336565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620003fe7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620003bf565b6200040a8683620003bf565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b600062000457620004516200044b8462000422565b6200042c565b62000422565b9050919050565b6000819050919050565b620004738362000436565b6200048b62000482826200045e565b848454620003cc565b825550505050565b600090565b620004a262000493565b620004af81848462000468565b505050565b5b81811015620004d757620004cb60008262000498565b600181019050620004b5565b5050565b601f8211156200052657620004f0816200039a565b620004fb84620003af565b810160208510156200050b578190505b620005236200051a85620003af565b830182620004b4565b50505b505050565b600082821c905092915050565b60006200054b600019846008026200052b565b1980831691505092915050565b600062000566838362000538565b9150826002028217905092915050565b6200058182620002fc565b67ffffffffffffffff8111156200059d576200059c62000307565b5b620005a9825462000365565b620005b6828285620004db565b600060209050601f831160018114620005ee5760008415620005d9578287015190505b620005e5858262000558565b86555062000655565b601f198416620005fe866200039a565b60005b82811015620006285784890151825560018201915060208501945060208101905062000601565b8683101562000648578489015162000644601f89168262000538565b8355505b6001600288020188555050505b505050505050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200068f8262000662565b9050919050565b620006a18162000682565b8114620006ad57600080fd5b50565b600081519050620006c18162000696565b92915050565b600060208284031215620006e057620006df6200065d565b5b6000620006f084828501620006b0565b91505092915050565b6156b080620007096000396000f3fe60806040526004361061027c5760003560e01c80637535d2461161014f578063b88d4fde116100c1578063ec81912e1161007a578063ec81912e1461098a578063efafe7ab146109b3578063f2fde38b146109dc578063f47c84c514610a05578063f554842b14610a30578063f794380514610a6d5761027c565b8063b88d4fde14610868578063c668286214610891578063c87b56dd146108bc578063e985e9c5146108f9578063e9e15b4f14610936578063eb8d24441461095f5761027c565b80638d1d5366116101135780638d1d5366146107565780638da5cb5b1461079357806395d89b41146107be5780639e381a37146107e9578063a22cb46514610814578063a849114a1461083d5761027c565b80637535d2461461066d5780637d19ccc314610698578063844702f4146106c35780638832bc29146106ee5780638c474625146107195761027c565b80633ccfd60b116101f357806355f804b3116101ac57806355f804b314610573578063610c29901461059c5780636352211e146105c557806370a082311461060257806370ae8ebd1461063f578063715018a6146106565761027c565b80633ccfd60b146104795780633ff59cc6146104905780634267d2d7146104a757806342842e0e146104d05780634f6ccce7146104f9578063526998b2146105365761027c565b8063095ea7b311610245578063095ea7b31461038c57806315d24178146103b557806318160ddd146103d157806323b872dd146103fc5780632f745c591461042557806334918dfd146104625761027c565b80629f92621461028157806301ffc9a7146102aa57806302a2ccfd146102e757806306fdde0314610324578063081812fc1461034f575b600080fd5b34801561028d57600080fd5b506102a860048036038101906102a39190613762565b610a96565b005b3480156102b657600080fd5b506102d160048036038101906102cc91906137e7565b610aa8565b6040516102de919061382f565b60405180910390f35b3480156102f357600080fd5b5061030e600480360381019061030991906138a8565b610aba565b60405161031b91906138e4565b60405180910390f35b34801561033057600080fd5b50610339610ad2565b6040516103469190613998565b60405180910390f35b34801561035b57600080fd5b5061037660048036038101906103719190613762565b610b64565b60405161038391906139c9565b60405180910390f35b34801561039857600080fd5b506103b360048036038101906103ae91906139e4565b610baa565b005b6103cf60048036038101906103ca9190613762565b610cc1565b005b3480156103dd57600080fd5b506103e6610e02565b6040516103f391906138e4565b60405180910390f35b34801561040857600080fd5b50610423600480360381019061041e9190613a24565b610e0f565b005b34801561043157600080fd5b5061044c600480360381019061044791906139e4565b610e6f565b60405161045991906138e4565b60405180910390f35b34801561046e57600080fd5b50610477610f14565b005b34801561048557600080fd5b5061048e610f48565b005b34801561049c57600080fd5b506104a5610f9f565b005b3480156104b357600080fd5b506104ce60048036038101906104c99190613762565b610fd3565b005b3480156104dc57600080fd5b506104f760048036038101906104f29190613a24565b610fe5565b005b34801561050557600080fd5b50610520600480360381019061051b9190613762565b611005565b60405161052d91906138e4565b60405180910390f35b34801561054257600080fd5b5061055d60048036038101906105589190613762565b611076565b60405161056a91906138e4565b60405180910390f35b34801561057f57600080fd5b5061059a60048036038101906105959190613bac565b61108e565b005b3480156105a857600080fd5b506105c360048036038101906105be9190613762565b6110a9565b005b3480156105d157600080fd5b506105ec60048036038101906105e79190613762565b611433565b6040516105f991906139c9565b60405180910390f35b34801561060e57600080fd5b50610629600480360381019061062491906138a8565b6114e4565b60405161063691906138e4565b60405180910390f35b34801561064b57600080fd5b5061065461159b565b005b34801561066257600080fd5b5061066b61174e565b005b34801561067957600080fd5b50610682611762565b60405161068f91906139c9565b60405180910390f35b3480156106a457600080fd5b506106ad611788565b6040516106ba9190613c54565b60405180910390f35b3480156106cf57600080fd5b506106d86117ae565b6040516106e591906138e4565b60405180910390f35b3480156106fa57600080fd5b506107036117b4565b60405161071091906138e4565b60405180910390f35b34801561072557600080fd5b50610740600480360381019061073b91906138a8565b6117ba565b60405161074d91906138e4565b60405180910390f35b34801561076257600080fd5b5061077d60048036038101906107789190613762565b611803565b60405161078a91906138e4565b60405180910390f35b34801561079f57600080fd5b506107a861181b565b6040516107b591906139c9565b60405180910390f35b3480156107ca57600080fd5b506107d3611845565b6040516107e09190613998565b60405180910390f35b3480156107f557600080fd5b506107fe6118d7565b60405161080b919061382f565b60405180910390f35b34801561082057600080fd5b5061083b60048036038101906108369190613c9b565b6118ea565b005b34801561084957600080fd5b50610852611900565b60405161085f91906138e4565b60405180910390f35b34801561087457600080fd5b5061088f600480360381019061088a9190613d7c565b611906565b005b34801561089d57600080fd5b506108a6611968565b6040516108b39190613998565b60405180910390f35b3480156108c857600080fd5b506108e360048036038101906108de9190613762565b6119f6565b6040516108f09190613998565b60405180910390f35b34801561090557600080fd5b50610920600480360381019061091b9190613dff565b611c3c565b60405161092d919061382f565b60405180910390f35b34801561094257600080fd5b5061095d600480360381019061095891906138a8565b611cd0565b005b34801561096b57600080fd5b50610974611d1c565b604051610981919061382f565b60405180910390f35b34801561099657600080fd5b506109b160048036038101906109ac9190613762565b611d2f565b005b3480156109bf57600080fd5b506109da60048036038101906109d59190613ed8565b611eea565b005b3480156109e857600080fd5b50610a0360048036038101906109fe91906138a8565b611f87565b005b348015610a1157600080fd5b50610a1a61200a565b604051610a2791906138e4565b60405180910390f35b348015610a3c57600080fd5b50610a576004803603810190610a5291906138a8565b612010565b604051610a649190613ff6565b60405180910390f35b348015610a7957600080fd5b50610a946004803603810190610a8f9190613762565b6120be565b005b610a9e6120d0565b80600f8190555050565b6000610ab38261214e565b9050919050565b600b6020528060005260406000206000915090505481565b606060008054610ae190614047565b80601f0160208091040260200160405190810160405280929190818152602001828054610b0d90614047565b8015610b5a5780601f10610b2f57610100808354040283529160200191610b5a565b820191906000526020600020905b815481529060010190602001808311610b3d57829003601f168201915b5050505050905090565b6000610b6f826121c8565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610bb582611433565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610c25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c1c906140ea565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c44612213565b73ffffffffffffffffffffffffffffffffffffffff161480610c735750610c7281610c6d612213565b611c3c565b5b610cb2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ca99061417c565b60405180910390fd5b610cbc838361221b565b505050565b601260009054906101000a900460ff16610d10576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d079061420e565b60405180910390fd5b61271081610d1c610e02565b610d26919061425d565b1115610d67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5e90614325565b60405180910390fd5b3481600f54610d769190614345565b1115610db7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dae906143eb565b60405180910390fd5b60005b81811015610dfe576000610dcc610e02565b9050612710610dd9610e02565b1015610dea57610de933826122d4565b5b508080610df69061440b565b915050610dba565b5050565b6000600880549050905090565b610e20610e1a612213565b826122f2565b610e5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e56906144c5565b60405180910390fd5b610e6a838383612387565b505050565b6000610e7a836114e4565b8210610ebb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eb290614557565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610f1c6120d0565b601260009054906101000a900460ff1615601260006101000a81548160ff021916908315150217905550565b610f506120d0565b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610f9b573d6000803e3d6000fd5b5050565b610fa76120d0565b601260019054906101000a900460ff1615601260016101000a81548160ff021916908315150217905550565b610fdb6120d0565b8060108190555050565b61100083838360405180602001604052806000815250611906565b505050565b600061100f610e02565b8210611050576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611047906145e9565b60405180910390fd5b6008828154811061106457611063614609565b5b90600052602060002001549050919050565b600d6020528060005260406000206000915090505481565b6110966120d0565b80601490816110a591906147da565b5050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611117576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110e906148f8565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff1661113782611433565b73ffffffffffffffffffffffffffffffffffffffff161461118d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118490614964565b60405180910390fd5b6005600c60008381526020019081526020016000205411156111e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111db906149d0565b60405180910390fd5b62015180600d600083815260200190815260200160002054611206919061425d565b421015611248576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161123f90614a62565b60405180910390fd5b601154601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b81526004016112a691906139c9565b602060405180830381865afa1580156112c3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112e79190614a97565b1015611328576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131f90614b10565b60405180910390fd5b601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd33600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166011546040518463ffffffff1660e01b81526004016113ab93929190614b30565b6020604051808303816000875af11580156113ca573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113ee9190614b7c565b50600c600082815260200190815260200160002060008154809291906114139061440b565b919050555042600d60008381526020019081526020016000208190555050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036114db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d290614bf5565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611554576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154b90614c87565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b601260019054906101000a900460ff166115ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115e190614d19565b60405180910390fd5b612710600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611635610e02565b61163f919061425d565b1115611680576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167790614325565b60405180910390fd5b60005b600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548110156117065760006116d4610e02565b90506127106116e1610e02565b10156116f2576116f133826122d4565b5b5080806116fe9061440b565b915050611683565b506000600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550565b6117566120d0565b61176060006125ed565b565b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60115481565b600f5481565b6000600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600c6020528060005260406000206000915090505481565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461185490614047565b80601f016020809104026020016040519081016040528092919081815260200182805461188090614047565b80156118cd5780601f106118a2576101008083540402835291602001916118cd565b820191906000526020600020905b8154815290600101906020018083116118b057829003601f168201915b5050505050905090565b601260019054906101000a900460ff1681565b6118fc6118f5612213565b83836126b3565b5050565b60105481565b611917611911612213565b836122f2565b611956576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161194d906144c5565b60405180910390fd5b6119628484848461281f565b50505050565b6013805461197590614047565b80601f01602080910402602001604051908101604052809291908181526020018280546119a190614047565b80156119ee5780601f106119c3576101008083540402835291602001916119ee565b820191906000526020600020905b8154815290600101906020018083116119d157829003601f168201915b505050505081565b6060611a018261287b565b611a40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a3790614dab565b60405180910390fd5b60006040518060c001604052806040518060400160405280600881526020017f496e697469616c2f00000000000000000000000000000000000000000000000081525081526020016040518060400160405280600881526020017f5475726e696e672f00000000000000000000000000000000000000000000000081525081526020016040518060400160405280600981526020017f43616e646c696e672f000000000000000000000000000000000000000000000081525081526020016040518060400160405280600d81526020017f5072652d6861746368696e672f0000000000000000000000000000000000000081525081526020016040518060400160405280600981526020017f4f766f6d6f7270682f000000000000000000000000000000000000000000000081525081526020016040518060400160405280600681526020017f537761726d2f000000000000000000000000000000000000000000000000000081525081525090506000611bb96128e7565b90506000815111611bd95760405180602001604052806000815250611c33565b8082600c60008781526020019081526020016000205460068110611c0057611bff614609565b5b6020020151611c0e86612979565b6013604051602001611c239493929190614e8a565b6040516020818303038152906040525b92505050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611cd86120d0565b80600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b601260009054906101000a900460ff1681565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611d9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d94906148f8565b60405180910390fd5b601260009054906101000a900460ff16611dec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611de39061420e565b60405180910390fd5b61271081611df8610e02565b611e02919061425d565b1115611e43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e3a90614325565b60405180910390fd5b611e9f333060105484611e569190614345565b601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612ad9909392919063ffffffff16565b60005b81811015611ee6576000611eb4610e02565b9050612710611ec1610e02565b1015611ed257611ed133826122d4565b5b508080611ede9061440b565b915050611ea2565b5050565b611ef26120d0565b60005b83839050811015611f81578160ff16600b6000868685818110611f1b57611f1a614609565b5b9050602002016020810190611f3091906138a8565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508080611f799061440b565b915050611ef5565b50505050565b611f8f6120d0565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611ffe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ff590614f3a565b60405180910390fd5b612007816125ed565b50565b61271081565b6060600061201d836114e4565b905060008167ffffffffffffffff81111561203b5761203a613a81565b5b6040519080825280602002602001820160405280156120695781602001602082028036833780820191505090505b50905060005b828110156120b3576120818582610e6f565b82828151811061209457612093614609565b5b60200260200101818152505080806120ab9061440b565b91505061206f565b508092505050919050565b6120c66120d0565b8060118190555050565b6120d8612213565b73ffffffffffffffffffffffffffffffffffffffff166120f661181b565b73ffffffffffffffffffffffffffffffffffffffff161461214c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161214390614fa6565b60405180910390fd5b565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806121c157506121c082612b62565b5b9050919050565b6121d18161287b565b612210576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161220790614bf5565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661228e83611433565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6122ee828260405180602001604052806000815250612c44565b5050565b6000806122fe83611433565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612340575061233f8185611c3c565b5b8061237e57508373ffffffffffffffffffffffffffffffffffffffff1661236684610b64565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166123a782611433565b73ffffffffffffffffffffffffffffffffffffffff16146123fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123f490615038565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361246c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612463906150ca565b60405180910390fd5b612477838383612c9f565b61248260008261221b565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546124d291906150ea565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612529919061425d565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46125e8838383612caf565b505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612721576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127189061516a565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612812919061382f565b60405180910390a3505050565b61282a848484612387565b61283684848484612cb4565b612875576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161286c906151fc565b60405180910390fd5b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b6060601480546128f690614047565b80601f016020809104026020016040519081016040528092919081815260200182805461292290614047565b801561296f5780601f106129445761010080835404028352916020019161296f565b820191906000526020600020905b81548152906001019060200180831161295257829003601f168201915b5050505050905090565b6060600082036129c0576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612ad4565b600082905060005b600082146129f25780806129db9061440b565b915050600a826129eb919061524b565b91506129c8565b60008167ffffffffffffffff811115612a0e57612a0d613a81565b5b6040519080825280601f01601f191660200182016040528015612a405781602001600182028036833780820191505090505b5090505b60008514612acd57600182612a5991906150ea565b9150600a85612a68919061527c565b6030612a74919061425d565b60f81b818381518110612a8a57612a89614609565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612ac6919061524b565b9450612a44565b8093505050505b919050565b612b5c846323b872dd60e01b858585604051602401612afa93929190614b30565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050612e3b565b50505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612c2d57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612c3d5750612c3c82612f02565b5b9050919050565b612c4e8383612f6c565b612c5b6000848484612cb4565b612c9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c91906151fc565b60405180910390fd5b505050565b612caa838383613145565b505050565b505050565b6000612cd58473ffffffffffffffffffffffffffffffffffffffff16613257565b15612e2e578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612cfe612213565b8786866040518563ffffffff1660e01b8152600401612d209493929190615302565b6020604051808303816000875af1925050508015612d5c57506040513d601f19601f82011682018060405250810190612d599190615363565b60015b612dde573d8060008114612d8c576040519150601f19603f3d011682016040523d82523d6000602084013e612d91565b606091505b506000815103612dd6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dcd906151fc565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612e33565b600190505b949350505050565b6000612e9d826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff1661327a9092919063ffffffff16565b9050600081511115612efd5780806020019051810190612ebd9190614b7c565b612efc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ef390615402565b60405180910390fd5b5b505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612fdb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fd29061546e565b60405180910390fd5b612fe48161287b565b15613024576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161301b906154da565b60405180910390fd5b61303060008383612c9f565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613080919061425d565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461314160008383612caf565b5050565b613150838383613292565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036131925761318d81613297565b6131d1565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146131d0576131cf83826132e0565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036132135761320e8161344d565b613252565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461325157613250828261351e565b5b5b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6060613289848460008561359d565b90509392505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016132ed846114e4565b6132f791906150ea565b90506000600760008481526020019081526020016000205490508181146133dc576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905061346191906150ea565b905060006009600084815260200190815260200160002054905060006008838154811061349157613490614609565b5b9060005260206000200154905080600883815481106134b3576134b2614609565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613502576135016154fa565b5b6001900381819060005260206000200160009055905550505050565b6000613529836114e4565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b6060824710156135e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135d99061559b565b60405180910390fd5b6135eb85613257565b61362a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161362190615607565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516136539190615663565b60006040518083038185875af1925050503d8060008114613690576040519150601f19603f3d011682016040523d82523d6000602084013e613695565b606091505b50915091506136a58282866136b1565b92505050949350505050565b606083156136c157829050613711565b6000835111156136d45782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137089190613998565b60405180910390fd5b9392505050565b6000604051905090565b600080fd5b600080fd5b6000819050919050565b61373f8161372c565b811461374a57600080fd5b50565b60008135905061375c81613736565b92915050565b60006020828403121561377857613777613722565b5b60006137868482850161374d565b91505092915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6137c48161378f565b81146137cf57600080fd5b50565b6000813590506137e1816137bb565b92915050565b6000602082840312156137fd576137fc613722565b5b600061380b848285016137d2565b91505092915050565b60008115159050919050565b61382981613814565b82525050565b60006020820190506138446000830184613820565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006138758261384a565b9050919050565b6138858161386a565b811461389057600080fd5b50565b6000813590506138a28161387c565b92915050565b6000602082840312156138be576138bd613722565b5b60006138cc84828501613893565b91505092915050565b6138de8161372c565b82525050565b60006020820190506138f960008301846138d5565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561393957808201518184015260208101905061391e565b83811115613948576000848401525b50505050565b6000601f19601f8301169050919050565b600061396a826138ff565b613974818561390a565b935061398481856020860161391b565b61398d8161394e565b840191505092915050565b600060208201905081810360008301526139b2818461395f565b905092915050565b6139c38161386a565b82525050565b60006020820190506139de60008301846139ba565b92915050565b600080604083850312156139fb576139fa613722565b5b6000613a0985828601613893565b9250506020613a1a8582860161374d565b9150509250929050565b600080600060608486031215613a3d57613a3c613722565b5b6000613a4b86828701613893565b9350506020613a5c86828701613893565b9250506040613a6d8682870161374d565b9150509250925092565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613ab98261394e565b810181811067ffffffffffffffff82111715613ad857613ad7613a81565b5b80604052505050565b6000613aeb613718565b9050613af78282613ab0565b919050565b600067ffffffffffffffff821115613b1757613b16613a81565b5b613b208261394e565b9050602081019050919050565b82818337600083830152505050565b6000613b4f613b4a84613afc565b613ae1565b905082815260208101848484011115613b6b57613b6a613a7c565b5b613b76848285613b2d565b509392505050565b600082601f830112613b9357613b92613a77565b5b8135613ba3848260208601613b3c565b91505092915050565b600060208284031215613bc257613bc1613722565b5b600082013567ffffffffffffffff811115613be057613bdf613727565b5b613bec84828501613b7e565b91505092915050565b6000819050919050565b6000613c1a613c15613c108461384a565b613bf5565b61384a565b9050919050565b6000613c2c82613bff565b9050919050565b6000613c3e82613c21565b9050919050565b613c4e81613c33565b82525050565b6000602082019050613c696000830184613c45565b92915050565b613c7881613814565b8114613c8357600080fd5b50565b600081359050613c9581613c6f565b92915050565b60008060408385031215613cb257613cb1613722565b5b6000613cc085828601613893565b9250506020613cd185828601613c86565b9150509250929050565b600067ffffffffffffffff821115613cf657613cf5613a81565b5b613cff8261394e565b9050602081019050919050565b6000613d1f613d1a84613cdb565b613ae1565b905082815260208101848484011115613d3b57613d3a613a7c565b5b613d46848285613b2d565b509392505050565b600082601f830112613d6357613d62613a77565b5b8135613d73848260208601613d0c565b91505092915050565b60008060008060808587031215613d9657613d95613722565b5b6000613da487828801613893565b9450506020613db587828801613893565b9350506040613dc68782880161374d565b925050606085013567ffffffffffffffff811115613de757613de6613727565b5b613df387828801613d4e565b91505092959194509250565b60008060408385031215613e1657613e15613722565b5b6000613e2485828601613893565b9250506020613e3585828601613893565b9150509250929050565b600080fd5b600080fd5b60008083601f840112613e5f57613e5e613a77565b5b8235905067ffffffffffffffff811115613e7c57613e7b613e3f565b5b602083019150836020820283011115613e9857613e97613e44565b5b9250929050565b600060ff82169050919050565b613eb581613e9f565b8114613ec057600080fd5b50565b600081359050613ed281613eac565b92915050565b600080600060408486031215613ef157613ef0613722565b5b600084013567ffffffffffffffff811115613f0f57613f0e613727565b5b613f1b86828701613e49565b93509350506020613f2e86828701613ec3565b9150509250925092565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613f6d8161372c565b82525050565b6000613f7f8383613f64565b60208301905092915050565b6000602082019050919050565b6000613fa382613f38565b613fad8185613f43565b9350613fb883613f54565b8060005b83811015613fe9578151613fd08882613f73565b9750613fdb83613f8b565b925050600181019050613fbc565b5085935050505092915050565b600060208201905081810360008301526140108184613f98565b905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061405f57607f821691505b60208210810361407257614071614018565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006140d460218361390a565b91506140df82614078565b604082019050919050565b60006020820190508181036000830152614103816140c7565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b6000614166603e8361390a565b91506141718261410a565b604082019050919050565b6000602082019050818103600083015261419581614159565b9050919050565b7f53616c65206d7573742062652061637469766520746f206d696e7420546f6b6560008201527f6e73000000000000000000000000000000000000000000000000000000000000602082015250565b60006141f860228361390a565b91506142038261419c565b604082019050919050565b60006020820190508181036000830152614227816141eb565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006142688261372c565b91506142738361372c565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156142a8576142a761422e565b5b828201905092915050565b7f507572636861736520776f756c6420657863656564206d617820737570706c7960008201527f206f6620746f6b656e7300000000000000000000000000000000000000000000602082015250565b600061430f602a8361390a565b915061431a826142b3565b604082019050919050565b6000602082019050818103600083015261433e81614302565b9050919050565b60006143508261372c565b915061435b8361372c565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156143945761439361422e565b5b828202905092915050565b7f596f7520646f6e74206861766520656e6f756768204574686572000000000000600082015250565b60006143d5601a8361390a565b91506143e08261439f565b602082019050919050565b60006020820190508181036000830152614404816143c8565b9050919050565b60006144168261372c565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036144485761444761422e565b5b600182019050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b60006144af602e8361390a565b91506144ba82614453565b604082019050919050565b600060208201905081810360008301526144de816144a2565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000614541602b8361390a565b915061454c826144e5565b604082019050919050565b6000602082019050818103600083015261457081614534565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b60006145d3602c8361390a565b91506145de82614577565b604082019050919050565b60006020820190508181036000830152614602816145c6565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830261469a7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8261465d565b6146a4868361465d565b95508019841693508086168417925050509392505050565b60006146d76146d26146cd8461372c565b613bf5565b61372c565b9050919050565b6000819050919050565b6146f1836146bc565b6147056146fd826146de565b84845461466a565b825550505050565b600090565b61471a61470d565b6147258184846146e8565b505050565b5b818110156147495761473e600082614712565b60018101905061472b565b5050565b601f82111561478e5761475f81614638565b6147688461464d565b81016020851015614777578190505b61478b6147838561464d565b83018261472a565b50505b505050565b600082821c905092915050565b60006147b160001984600802614793565b1980831691505092915050565b60006147ca83836147a0565b9150826002028217905092915050565b6147e3826138ff565b67ffffffffffffffff8111156147fc576147fb613a81565b5b6148068254614047565b61481182828561474d565b600060209050601f8311600181146148445760008415614832578287015190505b61483c85826147be565b8655506148a4565b601f19841661485286614638565b60005b8281101561487a57848901518255600182019150602085019450602081019050614855565b868310156148975784890151614893601f8916826147a0565b8355505b6001600288020188555050505b505050505050565b7f596f7520646f6e74206f776e0000000000000000000000000000000000000000600082015250565b60006148e2600c8361390a565b91506148ed826148ac565b602082019050919050565b60006020820190508181036000830152614911816148d5565b9050919050565b7f596f7520617265206e6f7420746f6b656e2773206f776e657200000000000000600082015250565b600061494e60198361390a565b915061495982614918565b602082019050919050565b6000602082019050818103600083015261497d81614941565b9050919050565b7f5468657265206973206e6f7420616e2065676700000000000000000000000000600082015250565b60006149ba60138361390a565b91506149c582614984565b602082019050919050565b600060208201905081810360008301526149e9816149ad565b9050919050565b7f506c65617365207761697420666f7220746865206e65787420696e637562617460008201527f6500000000000000000000000000000000000000000000000000000000000000602082015250565b6000614a4c60218361390a565b9150614a57826149f0565b604082019050919050565b60006020820190508181036000830152614a7b81614a3f565b9050919050565b600081519050614a9181613736565b92915050565b600060208284031215614aad57614aac613722565b5b6000614abb84828501614a82565b91505092915050565b7f464f4f4420746f6b656e73206e6f7420656e6f75676800000000000000000000600082015250565b6000614afa60168361390a565b9150614b0582614ac4565b602082019050919050565b60006020820190508181036000830152614b2981614aed565b9050919050565b6000606082019050614b4560008301866139ba565b614b5260208301856139ba565b614b5f60408301846138d5565b949350505050565b600081519050614b7681613c6f565b92915050565b600060208284031215614b9257614b91613722565b5b6000614ba084828501614b67565b91505092915050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b6000614bdf60188361390a565b9150614bea82614ba9565b602082019050919050565b60006020820190508181036000830152614c0e81614bd2565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b6000614c7160298361390a565b9150614c7c82614c15565b604082019050919050565b60006020820190508181036000830152614ca081614c64565b9050919050565b7f4567676c697374206d7573742062652061637469766520746f206d696e74205460008201527f6f6b656e73000000000000000000000000000000000000000000000000000000602082015250565b6000614d0360258361390a565b9150614d0e82614ca7565b604082019050919050565b60006020820190508181036000830152614d3281614cf6565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000614d95602f8361390a565b9150614da082614d39565b604082019050919050565b60006020820190508181036000830152614dc481614d88565b9050919050565b600081905092915050565b6000614de1826138ff565b614deb8185614dcb565b9350614dfb81856020860161391b565b80840191505092915050565b60008154614e1481614047565b614e1e8186614dcb565b94506001821660008114614e395760018114614e4e57614e81565b60ff1983168652811515820286019350614e81565b614e5785614638565b60005b83811015614e7957815481890152600182019150602081019050614e5a565b838801955050505b50505092915050565b6000614e968287614dd6565b9150614ea28286614dd6565b9150614eae8285614dd6565b9150614eba8284614e07565b915081905095945050505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614f2460268361390a565b9150614f2f82614ec8565b604082019050919050565b60006020820190508181036000830152614f5381614f17565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614f9060208361390a565b9150614f9b82614f5a565b602082019050919050565b60006020820190508181036000830152614fbf81614f83565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b600061502260258361390a565b915061502d82614fc6565b604082019050919050565b6000602082019050818103600083015261505181615015565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006150b460248361390a565b91506150bf82615058565b604082019050919050565b600060208201905081810360008301526150e3816150a7565b9050919050565b60006150f58261372c565b91506151008361372c565b9250828210156151135761511261422e565b5b828203905092915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b600061515460198361390a565b915061515f8261511e565b602082019050919050565b6000602082019050818103600083015261518381615147565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006151e660328361390a565b91506151f18261518a565b604082019050919050565b60006020820190508181036000830152615215816151d9565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006152568261372c565b91506152618361372c565b9250826152715761527061521c565b5b828204905092915050565b60006152878261372c565b91506152928361372c565b9250826152a2576152a161521c565b5b828206905092915050565b600081519050919050565b600082825260208201905092915050565b60006152d4826152ad565b6152de81856152b8565b93506152ee81856020860161391b565b6152f78161394e565b840191505092915050565b600060808201905061531760008301876139ba565b61532460208301866139ba565b61533160408301856138d5565b818103606083015261534381846152c9565b905095945050505050565b60008151905061535d816137bb565b92915050565b60006020828403121561537957615378613722565b5b60006153878482850161534e565b91505092915050565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b60006153ec602a8361390a565b91506153f782615390565b604082019050919050565b6000602082019050818103600083015261541b816153df565b9050919050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b600061545860208361390a565b915061546382615422565b602082019050919050565b600060208201905081810360008301526154878161544b565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b60006154c4601c8361390a565b91506154cf8261548e565b602082019050919050565b600060208201905081810360008301526154f3816154b7565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b600061558560268361390a565b915061559082615529565b604082019050919050565b600060208201905081810360008301526155b481615578565b9050919050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b60006155f1601d8361390a565b91506155fc826155bb565b602082019050919050565b60006020820190508181036000830152615620816155e4565b9050919050565b600081905092915050565b600061563d826152ad565b6156478185615627565b935061565781856020860161391b565b80840191505092915050565b600061566f8284615632565b91508190509291505056fea26469706673582212207e66f4ffaa71730f1a0133dbc3b8b9174fa2a9db33dae47be6096bcf9a7ddf9264736f6c634300080f0033000000000000000000000000fd4d9e9335625d1a7b3c3908988a8bc3f70c5c87

Deployed Bytecode

0x60806040526004361061027c5760003560e01c80637535d2461161014f578063b88d4fde116100c1578063ec81912e1161007a578063ec81912e1461098a578063efafe7ab146109b3578063f2fde38b146109dc578063f47c84c514610a05578063f554842b14610a30578063f794380514610a6d5761027c565b8063b88d4fde14610868578063c668286214610891578063c87b56dd146108bc578063e985e9c5146108f9578063e9e15b4f14610936578063eb8d24441461095f5761027c565b80638d1d5366116101135780638d1d5366146107565780638da5cb5b1461079357806395d89b41146107be5780639e381a37146107e9578063a22cb46514610814578063a849114a1461083d5761027c565b80637535d2461461066d5780637d19ccc314610698578063844702f4146106c35780638832bc29146106ee5780638c474625146107195761027c565b80633ccfd60b116101f357806355f804b3116101ac57806355f804b314610573578063610c29901461059c5780636352211e146105c557806370a082311461060257806370ae8ebd1461063f578063715018a6146106565761027c565b80633ccfd60b146104795780633ff59cc6146104905780634267d2d7146104a757806342842e0e146104d05780634f6ccce7146104f9578063526998b2146105365761027c565b8063095ea7b311610245578063095ea7b31461038c57806315d24178146103b557806318160ddd146103d157806323b872dd146103fc5780632f745c591461042557806334918dfd146104625761027c565b80629f92621461028157806301ffc9a7146102aa57806302a2ccfd146102e757806306fdde0314610324578063081812fc1461034f575b600080fd5b34801561028d57600080fd5b506102a860048036038101906102a39190613762565b610a96565b005b3480156102b657600080fd5b506102d160048036038101906102cc91906137e7565b610aa8565b6040516102de919061382f565b60405180910390f35b3480156102f357600080fd5b5061030e600480360381019061030991906138a8565b610aba565b60405161031b91906138e4565b60405180910390f35b34801561033057600080fd5b50610339610ad2565b6040516103469190613998565b60405180910390f35b34801561035b57600080fd5b5061037660048036038101906103719190613762565b610b64565b60405161038391906139c9565b60405180910390f35b34801561039857600080fd5b506103b360048036038101906103ae91906139e4565b610baa565b005b6103cf60048036038101906103ca9190613762565b610cc1565b005b3480156103dd57600080fd5b506103e6610e02565b6040516103f391906138e4565b60405180910390f35b34801561040857600080fd5b50610423600480360381019061041e9190613a24565b610e0f565b005b34801561043157600080fd5b5061044c600480360381019061044791906139e4565b610e6f565b60405161045991906138e4565b60405180910390f35b34801561046e57600080fd5b50610477610f14565b005b34801561048557600080fd5b5061048e610f48565b005b34801561049c57600080fd5b506104a5610f9f565b005b3480156104b357600080fd5b506104ce60048036038101906104c99190613762565b610fd3565b005b3480156104dc57600080fd5b506104f760048036038101906104f29190613a24565b610fe5565b005b34801561050557600080fd5b50610520600480360381019061051b9190613762565b611005565b60405161052d91906138e4565b60405180910390f35b34801561054257600080fd5b5061055d60048036038101906105589190613762565b611076565b60405161056a91906138e4565b60405180910390f35b34801561057f57600080fd5b5061059a60048036038101906105959190613bac565b61108e565b005b3480156105a857600080fd5b506105c360048036038101906105be9190613762565b6110a9565b005b3480156105d157600080fd5b506105ec60048036038101906105e79190613762565b611433565b6040516105f991906139c9565b60405180910390f35b34801561060e57600080fd5b50610629600480360381019061062491906138a8565b6114e4565b60405161063691906138e4565b60405180910390f35b34801561064b57600080fd5b5061065461159b565b005b34801561066257600080fd5b5061066b61174e565b005b34801561067957600080fd5b50610682611762565b60405161068f91906139c9565b60405180910390f35b3480156106a457600080fd5b506106ad611788565b6040516106ba9190613c54565b60405180910390f35b3480156106cf57600080fd5b506106d86117ae565b6040516106e591906138e4565b60405180910390f35b3480156106fa57600080fd5b506107036117b4565b60405161071091906138e4565b60405180910390f35b34801561072557600080fd5b50610740600480360381019061073b91906138a8565b6117ba565b60405161074d91906138e4565b60405180910390f35b34801561076257600080fd5b5061077d60048036038101906107789190613762565b611803565b60405161078a91906138e4565b60405180910390f35b34801561079f57600080fd5b506107a861181b565b6040516107b591906139c9565b60405180910390f35b3480156107ca57600080fd5b506107d3611845565b6040516107e09190613998565b60405180910390f35b3480156107f557600080fd5b506107fe6118d7565b60405161080b919061382f565b60405180910390f35b34801561082057600080fd5b5061083b60048036038101906108369190613c9b565b6118ea565b005b34801561084957600080fd5b50610852611900565b60405161085f91906138e4565b60405180910390f35b34801561087457600080fd5b5061088f600480360381019061088a9190613d7c565b611906565b005b34801561089d57600080fd5b506108a6611968565b6040516108b39190613998565b60405180910390f35b3480156108c857600080fd5b506108e360048036038101906108de9190613762565b6119f6565b6040516108f09190613998565b60405180910390f35b34801561090557600080fd5b50610920600480360381019061091b9190613dff565b611c3c565b60405161092d919061382f565b60405180910390f35b34801561094257600080fd5b5061095d600480360381019061095891906138a8565b611cd0565b005b34801561096b57600080fd5b50610974611d1c565b604051610981919061382f565b60405180910390f35b34801561099657600080fd5b506109b160048036038101906109ac9190613762565b611d2f565b005b3480156109bf57600080fd5b506109da60048036038101906109d59190613ed8565b611eea565b005b3480156109e857600080fd5b50610a0360048036038101906109fe91906138a8565b611f87565b005b348015610a1157600080fd5b50610a1a61200a565b604051610a2791906138e4565b60405180910390f35b348015610a3c57600080fd5b50610a576004803603810190610a5291906138a8565b612010565b604051610a649190613ff6565b60405180910390f35b348015610a7957600080fd5b50610a946004803603810190610a8f9190613762565b6120be565b005b610a9e6120d0565b80600f8190555050565b6000610ab38261214e565b9050919050565b600b6020528060005260406000206000915090505481565b606060008054610ae190614047565b80601f0160208091040260200160405190810160405280929190818152602001828054610b0d90614047565b8015610b5a5780601f10610b2f57610100808354040283529160200191610b5a565b820191906000526020600020905b815481529060010190602001808311610b3d57829003601f168201915b5050505050905090565b6000610b6f826121c8565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610bb582611433565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610c25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c1c906140ea565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c44612213565b73ffffffffffffffffffffffffffffffffffffffff161480610c735750610c7281610c6d612213565b611c3c565b5b610cb2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ca99061417c565b60405180910390fd5b610cbc838361221b565b505050565b601260009054906101000a900460ff16610d10576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d079061420e565b60405180910390fd5b61271081610d1c610e02565b610d26919061425d565b1115610d67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5e90614325565b60405180910390fd5b3481600f54610d769190614345565b1115610db7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dae906143eb565b60405180910390fd5b60005b81811015610dfe576000610dcc610e02565b9050612710610dd9610e02565b1015610dea57610de933826122d4565b5b508080610df69061440b565b915050610dba565b5050565b6000600880549050905090565b610e20610e1a612213565b826122f2565b610e5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e56906144c5565b60405180910390fd5b610e6a838383612387565b505050565b6000610e7a836114e4565b8210610ebb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eb290614557565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610f1c6120d0565b601260009054906101000a900460ff1615601260006101000a81548160ff021916908315150217905550565b610f506120d0565b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610f9b573d6000803e3d6000fd5b5050565b610fa76120d0565b601260019054906101000a900460ff1615601260016101000a81548160ff021916908315150217905550565b610fdb6120d0565b8060108190555050565b61100083838360405180602001604052806000815250611906565b505050565b600061100f610e02565b8210611050576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611047906145e9565b60405180910390fd5b6008828154811061106457611063614609565b5b90600052602060002001549050919050565b600d6020528060005260406000206000915090505481565b6110966120d0565b80601490816110a591906147da565b5050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611117576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110e906148f8565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff1661113782611433565b73ffffffffffffffffffffffffffffffffffffffff161461118d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118490614964565b60405180910390fd5b6005600c60008381526020019081526020016000205411156111e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111db906149d0565b60405180910390fd5b62015180600d600083815260200190815260200160002054611206919061425d565b421015611248576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161123f90614a62565b60405180910390fd5b601154601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b81526004016112a691906139c9565b602060405180830381865afa1580156112c3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112e79190614a97565b1015611328576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131f90614b10565b60405180910390fd5b601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd33600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166011546040518463ffffffff1660e01b81526004016113ab93929190614b30565b6020604051808303816000875af11580156113ca573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113ee9190614b7c565b50600c600082815260200190815260200160002060008154809291906114139061440b565b919050555042600d60008381526020019081526020016000208190555050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036114db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d290614bf5565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611554576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154b90614c87565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b601260019054906101000a900460ff166115ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115e190614d19565b60405180910390fd5b612710600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611635610e02565b61163f919061425d565b1115611680576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167790614325565b60405180910390fd5b60005b600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548110156117065760006116d4610e02565b90506127106116e1610e02565b10156116f2576116f133826122d4565b5b5080806116fe9061440b565b915050611683565b506000600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550565b6117566120d0565b61176060006125ed565b565b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60115481565b600f5481565b6000600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600c6020528060005260406000206000915090505481565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461185490614047565b80601f016020809104026020016040519081016040528092919081815260200182805461188090614047565b80156118cd5780601f106118a2576101008083540402835291602001916118cd565b820191906000526020600020905b8154815290600101906020018083116118b057829003601f168201915b5050505050905090565b601260019054906101000a900460ff1681565b6118fc6118f5612213565b83836126b3565b5050565b60105481565b611917611911612213565b836122f2565b611956576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161194d906144c5565b60405180910390fd5b6119628484848461281f565b50505050565b6013805461197590614047565b80601f01602080910402602001604051908101604052809291908181526020018280546119a190614047565b80156119ee5780601f106119c3576101008083540402835291602001916119ee565b820191906000526020600020905b8154815290600101906020018083116119d157829003601f168201915b505050505081565b6060611a018261287b565b611a40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a3790614dab565b60405180910390fd5b60006040518060c001604052806040518060400160405280600881526020017f496e697469616c2f00000000000000000000000000000000000000000000000081525081526020016040518060400160405280600881526020017f5475726e696e672f00000000000000000000000000000000000000000000000081525081526020016040518060400160405280600981526020017f43616e646c696e672f000000000000000000000000000000000000000000000081525081526020016040518060400160405280600d81526020017f5072652d6861746368696e672f0000000000000000000000000000000000000081525081526020016040518060400160405280600981526020017f4f766f6d6f7270682f000000000000000000000000000000000000000000000081525081526020016040518060400160405280600681526020017f537761726d2f000000000000000000000000000000000000000000000000000081525081525090506000611bb96128e7565b90506000815111611bd95760405180602001604052806000815250611c33565b8082600c60008781526020019081526020016000205460068110611c0057611bff614609565b5b6020020151611c0e86612979565b6013604051602001611c239493929190614e8a565b6040516020818303038152906040525b92505050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611cd86120d0565b80600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b601260009054906101000a900460ff1681565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611d9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d94906148f8565b60405180910390fd5b601260009054906101000a900460ff16611dec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611de39061420e565b60405180910390fd5b61271081611df8610e02565b611e02919061425d565b1115611e43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e3a90614325565b60405180910390fd5b611e9f333060105484611e569190614345565b601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612ad9909392919063ffffffff16565b60005b81811015611ee6576000611eb4610e02565b9050612710611ec1610e02565b1015611ed257611ed133826122d4565b5b508080611ede9061440b565b915050611ea2565b5050565b611ef26120d0565b60005b83839050811015611f81578160ff16600b6000868685818110611f1b57611f1a614609565b5b9050602002016020810190611f3091906138a8565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508080611f799061440b565b915050611ef5565b50505050565b611f8f6120d0565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611ffe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ff590614f3a565b60405180910390fd5b612007816125ed565b50565b61271081565b6060600061201d836114e4565b905060008167ffffffffffffffff81111561203b5761203a613a81565b5b6040519080825280602002602001820160405280156120695781602001602082028036833780820191505090505b50905060005b828110156120b3576120818582610e6f565b82828151811061209457612093614609565b5b60200260200101818152505080806120ab9061440b565b91505061206f565b508092505050919050565b6120c66120d0565b8060118190555050565b6120d8612213565b73ffffffffffffffffffffffffffffffffffffffff166120f661181b565b73ffffffffffffffffffffffffffffffffffffffff161461214c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161214390614fa6565b60405180910390fd5b565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806121c157506121c082612b62565b5b9050919050565b6121d18161287b565b612210576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161220790614bf5565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661228e83611433565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6122ee828260405180602001604052806000815250612c44565b5050565b6000806122fe83611433565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612340575061233f8185611c3c565b5b8061237e57508373ffffffffffffffffffffffffffffffffffffffff1661236684610b64565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166123a782611433565b73ffffffffffffffffffffffffffffffffffffffff16146123fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123f490615038565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361246c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612463906150ca565b60405180910390fd5b612477838383612c9f565b61248260008261221b565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546124d291906150ea565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612529919061425d565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46125e8838383612caf565b505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612721576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127189061516a565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612812919061382f565b60405180910390a3505050565b61282a848484612387565b61283684848484612cb4565b612875576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161286c906151fc565b60405180910390fd5b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b6060601480546128f690614047565b80601f016020809104026020016040519081016040528092919081815260200182805461292290614047565b801561296f5780601f106129445761010080835404028352916020019161296f565b820191906000526020600020905b81548152906001019060200180831161295257829003601f168201915b5050505050905090565b6060600082036129c0576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612ad4565b600082905060005b600082146129f25780806129db9061440b565b915050600a826129eb919061524b565b91506129c8565b60008167ffffffffffffffff811115612a0e57612a0d613a81565b5b6040519080825280601f01601f191660200182016040528015612a405781602001600182028036833780820191505090505b5090505b60008514612acd57600182612a5991906150ea565b9150600a85612a68919061527c565b6030612a74919061425d565b60f81b818381518110612a8a57612a89614609565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612ac6919061524b565b9450612a44565b8093505050505b919050565b612b5c846323b872dd60e01b858585604051602401612afa93929190614b30565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050612e3b565b50505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612c2d57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612c3d5750612c3c82612f02565b5b9050919050565b612c4e8383612f6c565b612c5b6000848484612cb4565b612c9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c91906151fc565b60405180910390fd5b505050565b612caa838383613145565b505050565b505050565b6000612cd58473ffffffffffffffffffffffffffffffffffffffff16613257565b15612e2e578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612cfe612213565b8786866040518563ffffffff1660e01b8152600401612d209493929190615302565b6020604051808303816000875af1925050508015612d5c57506040513d601f19601f82011682018060405250810190612d599190615363565b60015b612dde573d8060008114612d8c576040519150601f19603f3d011682016040523d82523d6000602084013e612d91565b606091505b506000815103612dd6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dcd906151fc565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612e33565b600190505b949350505050565b6000612e9d826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff1661327a9092919063ffffffff16565b9050600081511115612efd5780806020019051810190612ebd9190614b7c565b612efc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ef390615402565b60405180910390fd5b5b505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612fdb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fd29061546e565b60405180910390fd5b612fe48161287b565b15613024576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161301b906154da565b60405180910390fd5b61303060008383612c9f565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613080919061425d565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461314160008383612caf565b5050565b613150838383613292565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036131925761318d81613297565b6131d1565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146131d0576131cf83826132e0565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036132135761320e8161344d565b613252565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461325157613250828261351e565b5b5b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6060613289848460008561359d565b90509392505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016132ed846114e4565b6132f791906150ea565b90506000600760008481526020019081526020016000205490508181146133dc576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905061346191906150ea565b905060006009600084815260200190815260200160002054905060006008838154811061349157613490614609565b5b9060005260206000200154905080600883815481106134b3576134b2614609565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613502576135016154fa565b5b6001900381819060005260206000200160009055905550505050565b6000613529836114e4565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b6060824710156135e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135d99061559b565b60405180910390fd5b6135eb85613257565b61362a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161362190615607565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516136539190615663565b60006040518083038185875af1925050503d8060008114613690576040519150601f19603f3d011682016040523d82523d6000602084013e613695565b606091505b50915091506136a58282866136b1565b92505050949350505050565b606083156136c157829050613711565b6000835111156136d45782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137089190613998565b60405180910390fd5b9392505050565b6000604051905090565b600080fd5b600080fd5b6000819050919050565b61373f8161372c565b811461374a57600080fd5b50565b60008135905061375c81613736565b92915050565b60006020828403121561377857613777613722565b5b60006137868482850161374d565b91505092915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6137c48161378f565b81146137cf57600080fd5b50565b6000813590506137e1816137bb565b92915050565b6000602082840312156137fd576137fc613722565b5b600061380b848285016137d2565b91505092915050565b60008115159050919050565b61382981613814565b82525050565b60006020820190506138446000830184613820565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006138758261384a565b9050919050565b6138858161386a565b811461389057600080fd5b50565b6000813590506138a28161387c565b92915050565b6000602082840312156138be576138bd613722565b5b60006138cc84828501613893565b91505092915050565b6138de8161372c565b82525050565b60006020820190506138f960008301846138d5565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561393957808201518184015260208101905061391e565b83811115613948576000848401525b50505050565b6000601f19601f8301169050919050565b600061396a826138ff565b613974818561390a565b935061398481856020860161391b565b61398d8161394e565b840191505092915050565b600060208201905081810360008301526139b2818461395f565b905092915050565b6139c38161386a565b82525050565b60006020820190506139de60008301846139ba565b92915050565b600080604083850312156139fb576139fa613722565b5b6000613a0985828601613893565b9250506020613a1a8582860161374d565b9150509250929050565b600080600060608486031215613a3d57613a3c613722565b5b6000613a4b86828701613893565b9350506020613a5c86828701613893565b9250506040613a6d8682870161374d565b9150509250925092565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613ab98261394e565b810181811067ffffffffffffffff82111715613ad857613ad7613a81565b5b80604052505050565b6000613aeb613718565b9050613af78282613ab0565b919050565b600067ffffffffffffffff821115613b1757613b16613a81565b5b613b208261394e565b9050602081019050919050565b82818337600083830152505050565b6000613b4f613b4a84613afc565b613ae1565b905082815260208101848484011115613b6b57613b6a613a7c565b5b613b76848285613b2d565b509392505050565b600082601f830112613b9357613b92613a77565b5b8135613ba3848260208601613b3c565b91505092915050565b600060208284031215613bc257613bc1613722565b5b600082013567ffffffffffffffff811115613be057613bdf613727565b5b613bec84828501613b7e565b91505092915050565b6000819050919050565b6000613c1a613c15613c108461384a565b613bf5565b61384a565b9050919050565b6000613c2c82613bff565b9050919050565b6000613c3e82613c21565b9050919050565b613c4e81613c33565b82525050565b6000602082019050613c696000830184613c45565b92915050565b613c7881613814565b8114613c8357600080fd5b50565b600081359050613c9581613c6f565b92915050565b60008060408385031215613cb257613cb1613722565b5b6000613cc085828601613893565b9250506020613cd185828601613c86565b9150509250929050565b600067ffffffffffffffff821115613cf657613cf5613a81565b5b613cff8261394e565b9050602081019050919050565b6000613d1f613d1a84613cdb565b613ae1565b905082815260208101848484011115613d3b57613d3a613a7c565b5b613d46848285613b2d565b509392505050565b600082601f830112613d6357613d62613a77565b5b8135613d73848260208601613d0c565b91505092915050565b60008060008060808587031215613d9657613d95613722565b5b6000613da487828801613893565b9450506020613db587828801613893565b9350506040613dc68782880161374d565b925050606085013567ffffffffffffffff811115613de757613de6613727565b5b613df387828801613d4e565b91505092959194509250565b60008060408385031215613e1657613e15613722565b5b6000613e2485828601613893565b9250506020613e3585828601613893565b9150509250929050565b600080fd5b600080fd5b60008083601f840112613e5f57613e5e613a77565b5b8235905067ffffffffffffffff811115613e7c57613e7b613e3f565b5b602083019150836020820283011115613e9857613e97613e44565b5b9250929050565b600060ff82169050919050565b613eb581613e9f565b8114613ec057600080fd5b50565b600081359050613ed281613eac565b92915050565b600080600060408486031215613ef157613ef0613722565b5b600084013567ffffffffffffffff811115613f0f57613f0e613727565b5b613f1b86828701613e49565b93509350506020613f2e86828701613ec3565b9150509250925092565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613f6d8161372c565b82525050565b6000613f7f8383613f64565b60208301905092915050565b6000602082019050919050565b6000613fa382613f38565b613fad8185613f43565b9350613fb883613f54565b8060005b83811015613fe9578151613fd08882613f73565b9750613fdb83613f8b565b925050600181019050613fbc565b5085935050505092915050565b600060208201905081810360008301526140108184613f98565b905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061405f57607f821691505b60208210810361407257614071614018565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006140d460218361390a565b91506140df82614078565b604082019050919050565b60006020820190508181036000830152614103816140c7565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b6000614166603e8361390a565b91506141718261410a565b604082019050919050565b6000602082019050818103600083015261419581614159565b9050919050565b7f53616c65206d7573742062652061637469766520746f206d696e7420546f6b6560008201527f6e73000000000000000000000000000000000000000000000000000000000000602082015250565b60006141f860228361390a565b91506142038261419c565b604082019050919050565b60006020820190508181036000830152614227816141eb565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006142688261372c565b91506142738361372c565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156142a8576142a761422e565b5b828201905092915050565b7f507572636861736520776f756c6420657863656564206d617820737570706c7960008201527f206f6620746f6b656e7300000000000000000000000000000000000000000000602082015250565b600061430f602a8361390a565b915061431a826142b3565b604082019050919050565b6000602082019050818103600083015261433e81614302565b9050919050565b60006143508261372c565b915061435b8361372c565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156143945761439361422e565b5b828202905092915050565b7f596f7520646f6e74206861766520656e6f756768204574686572000000000000600082015250565b60006143d5601a8361390a565b91506143e08261439f565b602082019050919050565b60006020820190508181036000830152614404816143c8565b9050919050565b60006144168261372c565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036144485761444761422e565b5b600182019050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b60006144af602e8361390a565b91506144ba82614453565b604082019050919050565b600060208201905081810360008301526144de816144a2565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000614541602b8361390a565b915061454c826144e5565b604082019050919050565b6000602082019050818103600083015261457081614534565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b60006145d3602c8361390a565b91506145de82614577565b604082019050919050565b60006020820190508181036000830152614602816145c6565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830261469a7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8261465d565b6146a4868361465d565b95508019841693508086168417925050509392505050565b60006146d76146d26146cd8461372c565b613bf5565b61372c565b9050919050565b6000819050919050565b6146f1836146bc565b6147056146fd826146de565b84845461466a565b825550505050565b600090565b61471a61470d565b6147258184846146e8565b505050565b5b818110156147495761473e600082614712565b60018101905061472b565b5050565b601f82111561478e5761475f81614638565b6147688461464d565b81016020851015614777578190505b61478b6147838561464d565b83018261472a565b50505b505050565b600082821c905092915050565b60006147b160001984600802614793565b1980831691505092915050565b60006147ca83836147a0565b9150826002028217905092915050565b6147e3826138ff565b67ffffffffffffffff8111156147fc576147fb613a81565b5b6148068254614047565b61481182828561474d565b600060209050601f8311600181146148445760008415614832578287015190505b61483c85826147be565b8655506148a4565b601f19841661485286614638565b60005b8281101561487a57848901518255600182019150602085019450602081019050614855565b868310156148975784890151614893601f8916826147a0565b8355505b6001600288020188555050505b505050505050565b7f596f7520646f6e74206f776e0000000000000000000000000000000000000000600082015250565b60006148e2600c8361390a565b91506148ed826148ac565b602082019050919050565b60006020820190508181036000830152614911816148d5565b9050919050565b7f596f7520617265206e6f7420746f6b656e2773206f776e657200000000000000600082015250565b600061494e60198361390a565b915061495982614918565b602082019050919050565b6000602082019050818103600083015261497d81614941565b9050919050565b7f5468657265206973206e6f7420616e2065676700000000000000000000000000600082015250565b60006149ba60138361390a565b91506149c582614984565b602082019050919050565b600060208201905081810360008301526149e9816149ad565b9050919050565b7f506c65617365207761697420666f7220746865206e65787420696e637562617460008201527f6500000000000000000000000000000000000000000000000000000000000000602082015250565b6000614a4c60218361390a565b9150614a57826149f0565b604082019050919050565b60006020820190508181036000830152614a7b81614a3f565b9050919050565b600081519050614a9181613736565b92915050565b600060208284031215614aad57614aac613722565b5b6000614abb84828501614a82565b91505092915050565b7f464f4f4420746f6b656e73206e6f7420656e6f75676800000000000000000000600082015250565b6000614afa60168361390a565b9150614b0582614ac4565b602082019050919050565b60006020820190508181036000830152614b2981614aed565b9050919050565b6000606082019050614b4560008301866139ba565b614b5260208301856139ba565b614b5f60408301846138d5565b949350505050565b600081519050614b7681613c6f565b92915050565b600060208284031215614b9257614b91613722565b5b6000614ba084828501614b67565b91505092915050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b6000614bdf60188361390a565b9150614bea82614ba9565b602082019050919050565b60006020820190508181036000830152614c0e81614bd2565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b6000614c7160298361390a565b9150614c7c82614c15565b604082019050919050565b60006020820190508181036000830152614ca081614c64565b9050919050565b7f4567676c697374206d7573742062652061637469766520746f206d696e74205460008201527f6f6b656e73000000000000000000000000000000000000000000000000000000602082015250565b6000614d0360258361390a565b9150614d0e82614ca7565b604082019050919050565b60006020820190508181036000830152614d3281614cf6565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000614d95602f8361390a565b9150614da082614d39565b604082019050919050565b60006020820190508181036000830152614dc481614d88565b9050919050565b600081905092915050565b6000614de1826138ff565b614deb8185614dcb565b9350614dfb81856020860161391b565b80840191505092915050565b60008154614e1481614047565b614e1e8186614dcb565b94506001821660008114614e395760018114614e4e57614e81565b60ff1983168652811515820286019350614e81565b614e5785614638565b60005b83811015614e7957815481890152600182019150602081019050614e5a565b838801955050505b50505092915050565b6000614e968287614dd6565b9150614ea28286614dd6565b9150614eae8285614dd6565b9150614eba8284614e07565b915081905095945050505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614f2460268361390a565b9150614f2f82614ec8565b604082019050919050565b60006020820190508181036000830152614f5381614f17565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614f9060208361390a565b9150614f9b82614f5a565b602082019050919050565b60006020820190508181036000830152614fbf81614f83565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b600061502260258361390a565b915061502d82614fc6565b604082019050919050565b6000602082019050818103600083015261505181615015565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006150b460248361390a565b91506150bf82615058565b604082019050919050565b600060208201905081810360008301526150e3816150a7565b9050919050565b60006150f58261372c565b91506151008361372c565b9250828210156151135761511261422e565b5b828203905092915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b600061515460198361390a565b915061515f8261511e565b602082019050919050565b6000602082019050818103600083015261518381615147565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006151e660328361390a565b91506151f18261518a565b604082019050919050565b60006020820190508181036000830152615215816151d9565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006152568261372c565b91506152618361372c565b9250826152715761527061521c565b5b828204905092915050565b60006152878261372c565b91506152928361372c565b9250826152a2576152a161521c565b5b828206905092915050565b600081519050919050565b600082825260208201905092915050565b60006152d4826152ad565b6152de81856152b8565b93506152ee81856020860161391b565b6152f78161394e565b840191505092915050565b600060808201905061531760008301876139ba565b61532460208301866139ba565b61533160408301856138d5565b818103606083015261534381846152c9565b905095945050505050565b60008151905061535d816137bb565b92915050565b60006020828403121561537957615378613722565b5b60006153878482850161534e565b91505092915050565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b60006153ec602a8361390a565b91506153f782615390565b604082019050919050565b6000602082019050818103600083015261541b816153df565b9050919050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b600061545860208361390a565b915061546382615422565b602082019050919050565b600060208201905081810360008301526154878161544b565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b60006154c4601c8361390a565b91506154cf8261548e565b602082019050919050565b600060208201905081810360008301526154f3816154b7565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b600061558560268361390a565b915061559082615529565b604082019050919050565b600060208201905081810360008301526155b481615578565b9050919050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b60006155f1601d8361390a565b91506155fc826155bb565b602082019050919050565b60006020820190508181036000830152615620816155e4565b9050919050565b600081905092915050565b600061563d826152ad565b6156478185615627565b935061565781856020860161391b565b80840191505092915050565b600061566f8284615632565b91508190509291505056fea26469706673582212207e66f4ffaa71730f1a0133dbc3b8b9174fa2a9db33dae47be6096bcf9a7ddf9264736f6c634300080f0033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000fd4d9e9335625d1a7b3c3908988a8bc3f70c5c87

-----Decoded View---------------
Arg [0] : _food (address): 0xfd4d9E9335625D1A7b3C3908988a8Bc3F70C5c87

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000fd4d9e9335625d1a7b3c3908988a8bc3f70c5c87


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

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