ETH Price: $3,293.98 (-3.67%)
Gas: 10 Gwei

Token

Never-Fungible Pasta Plates (NFPP)
 

Overview

Max Total Supply

100 NFPP

Holders

91

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
spenciefy.eth
Balance
1 NFPP
0x5b952e34c04e44faf89ca38bca83d5a92d85a7e7
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:
NFPP

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 13 : NFPP.sol
/*


███╗   ██╗███████╗██╗   ██╗███████╗██████╗       ███████╗██╗   ██╗███╗   ██╗ ██████╗ ██╗██████╗ ██╗     ███████╗
████╗  ██║██╔════╝██║   ██║██╔════╝██╔══██╗      ██╔════╝██║   ██║████╗  ██║██╔════╝ ██║██╔══██╗██║     ██╔════╝
██╔██╗ ██║█████╗  ██║   ██║█████╗  ██████╔╝█████╗█████╗  ██║   ██║██╔██╗ ██║██║  ███╗██║██████╔╝██║     █████╗  
██║╚██╗██║██╔══╝  ╚██╗ ██╔╝██╔══╝  ██╔══██╗╚════╝██╔══╝  ██║   ██║██║╚██╗██║██║   ██║██║██╔══██╗██║     ██╔══╝  
██║ ╚████║███████╗ ╚████╔╝ ███████╗██║  ██║      ██║     ╚██████╔╝██║ ╚████║╚██████╔╝██║██████╔╝███████╗███████╗
╚═╝  ╚═══╝╚══════╝  ╚═══╝  ╚══════╝╚═╝  ╚═╝      ╚═╝      ╚═════╝ ╚═╝  ╚═══╝ ╚═════╝ ╚═╝╚═════╝ ╚══════╝╚══════╝
                                                                                                                
██████╗  █████╗ ███████╗████████╗ █████╗     ██████╗ ██╗      █████╗ ████████╗███████╗███████╗                  
██╔══██╗██╔══██╗██╔════╝╚══██╔══╝██╔══██╗    ██╔══██╗██║     ██╔══██╗╚══██╔══╝██╔════╝██╔════╝                  
██████╔╝███████║███████╗   ██║   ███████║    ██████╔╝██║     ███████║   ██║   █████╗  ███████╗                  
██╔═══╝ ██╔══██║╚════██║   ██║   ██╔══██║    ██╔═══╝ ██║     ██╔══██║   ██║   ██╔══╝  ╚════██║                  
██║     ██║  ██║███████║   ██║   ██║  ██║    ██║     ███████╗██║  ██║   ██║   ███████╗███████║                  
╚═╝     ╚═╝  ╚═╝╚══════╝   ╚═╝   ╚═╝  ╚═╝    ╚═╝     ╚══════╝╚═╝  ╚═╝   ╚═╝   ╚══════╝╚══════╝                  
                                   
                                                                                                                    
by NFOG

*/


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

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import 'base64-sol/base64.sol';

contract NFOG {
    function ownerOf(uint tokenId) public view returns (address) {}

    function balanceOf(address addr) public view returns (uint) {}

    function totalSupply() public view returns (uint) {}
}

contract NFPP is ERC721, Ownable {


    using Counters for Counters.Counter;

    Counters.Counter private _tokenIdCounter;

    struct Bowl {
        bool exists;
        uint pasta;
        uint refills;
        uint parm;
    }

    struct Pasta {
        bool exists;
        string name;
        string image;
        uint numMints;
    }

    struct NewPasta {
        uint id;
        string name;
        string image;
    }

    mapping (uint => Bowl) bowls;
    mapping (uint => bool) public franchiseeMints;
    mapping (uint => Pasta) pastas;

    uint maxParm = 10;
    uint minParm = 0;

    NFOG nfog;

    string[] parmLevels = ["None", "Whiff", "Dusting", "Sprinkling", "Coating", "Layer", "Mound", "Pile", "Heap", "Hill", "Monolith"];

    

    constructor(address nfogAddress) ERC721("Never-Fungible Pasta Plates", "NFPP") {
        nfog = NFOG(nfogAddress);
    }

    function getAddressFranchises(address addr) public view returns(uint[] memory, uint[] memory){
        uint balance = nfog.balanceOf(addr);
        uint[] memory tokens = new uint[](balance);
        uint[] memory redeemed = new uint[](balance);
        if(balance == 0){
            return (tokens, redeemed);
        }
        uint numFound = 0;
        for(uint i=0; i<nfog.totalSupply(); i++){
            if(nfog.ownerOf(i) == addr){
                tokens[numFound] = i;
                if(franchiseeMints[i]){
                    redeemed[numFound] = 1;
                }else{
                    redeemed[numFound] = 0;
                }
                numFound++;
                if(numFound > balance){
                    break;
                }
            }
        }
        return (tokens, redeemed);
    }

    function getAddressPlates(address addr) public view returns(uint[] memory){
        uint balance = balanceOf(addr);
        uint[] memory tokens = new uint[](balance);
        if(balance == 0){
            return tokens;
        }
        uint numFound = 0;
        for(uint i=0; i<totalSupply(); i++){
            if(ownerOf(i) == addr){
                tokens[numFound] = i;
                numFound++;
                if(numFound > balance){
                    break;
                }
            }
        }
        return tokens;
    }

    function totalSupply() public view returns(uint256){
        return _tokenIdCounter.current();
    }

    function getNFOGOwner(uint id) public view returns (address){
        address owner = nfog.ownerOf(id);
        return owner;
    }

    function addPastas(NewPasta[] memory newPastas) public onlyOwner{
        for(uint i=0; i<newPastas.length; i++){
            Pasta storage pasta = pastas[newPastas[i].id];
            pasta.name = newPastas[i].name;
            pasta.image = newPastas[i].image;
            if(!pasta.exists){
                pasta.exists = true;
                pasta.numMints = 0;
            } 
        }
    }

    function mintToFranchisee(uint[] memory tokenIds, uint pastaId, uint parmLevel) public{
        for(uint i=0 ;i<tokenIds.length; i++){
            require(getNFOGOwner(tokenIds[i]) == msg.sender, 'NOT_FRANCHISE_OWNER');
            require(!franchiseeMints[tokenIds[i]], 'ALREADY_MINTED');
            mint(msg.sender, pastaId, parmLevel);
            franchiseeMints[tokenIds[i]] = true;
        }
    }

    function mint(address addr, uint pastaId, uint parmLevel) private {
        require(parmLevel >= minParm, 'LOW_PARM');
        require(parmLevel <= maxParm, 'HIGH_PARM');
        require(pastas[pastaId].exists, 'BAD_PASTA');
        bowls[_tokenIdCounter.current()] = Bowl({
            exists: true,
            pasta: pastaId,
            refills: 0,
            parm: parmLevel
        });
        pastas[pastaId].numMints++;
        _safeMint(addr, _tokenIdCounter.current());
        _tokenIdCounter.increment();
    }

    function refill(uint tokenId, uint pastaId, uint parmLevel) public {
        require(_exists(tokenId), 'NOT_EXIST');
        require(ownerOf(tokenId) == msg.sender, 'NOT_OWNER');
        require(parmLevel >= minParm, 'LOW_PARM');
        require(parmLevel <= maxParm, 'HIGH_PARM');
        require(pastas[pastaId].exists, 'BAD_PASTA');
        bowls[tokenId].pasta = pastaId;
        bowls[tokenId].refills ++;
        bowls[tokenId].parm = parmLevel;
        pastas[pastaId].numMints++;
    }

    function getPastaMints(uint pastaId) public view returns (uint) {
        require(pastas[pastaId].exists, 'BAD_PASTA');
        return pastas[pastaId].numMints;
    }

    function tokenURI(uint256 tokenId) override public view returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");
        string memory json = Base64.encode(bytes(string(abi.encodePacked(
            '{"name": "Plate #', uint2str(tokenId) , '", "description": "A delicious never-fungible pasta plate from NFOG.", "image": "', pastas[bowls[tokenId].pasta].image ,'/', uint2str(bowls[tokenId].parm) ,'.png", "attributes": [{"trait_type": "Pasta","value": "', pastas[bowls[tokenId].pasta].name , '"}, {"trait_type": "Refills","value": "', uint2str(bowls[tokenId].refills) , '"}, {"trait_type": "Parm Level","value": "', parmLevels[bowls[tokenId].parm] , '"}]}'))));
        return string(abi.encodePacked('data:application/json;base64,', json));
    }

    function uint2str(uint _i) internal pure returns (string memory _uintAsString) {
        if (_i == 0) {
            return "0";
        }
        uint j = _i;
        uint len;
        while (j != 0) {
            len++;
            j /= 10;
        }
        bytes memory bstr = new bytes(len);
        uint k = len;
        while (_i != 0) {
            k = k-1;
            uint8 temp = (48 + uint8(_i - _i / 10 * 10));
            bytes1 b1 = bytes1(temp);
            bstr[k] = b1;
            _i /= 10;
        }
        return string(bstr);
    }
}

/*


██╗    ██╗██╗   ██╗██╗  ██╗██╗   ██╗███████╗
██║    ██║╚██╗ ██╔╝██║  ██║╚██╗ ██╔╝██╔════╝
██║ █╗ ██║ ╚████╔╝ ███████║ ╚████╔╝ █████╗  
██║███╗██║  ╚██╔╝  ██╔══██║  ╚██╔╝  ██╔══╝  
╚███╔███╔╝   ██║   ██║  ██║   ██║   ██║     
 ╚══╝╚══╝    ╚═╝   ╚═╝  ╚═╝   ╚═╝   ╚═╝     
                                            

*/

File 2 of 13 : ERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        require(operator != _msgSender(), "ERC721: approve to caller");

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_msgSender(), operator, approved);
    }

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @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 of token that is not own");
        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);
    }

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

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

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

File 3 of 13 : Ownable.sol
// SPDX-License-Identifier: MIT

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() {
        _setOwner(_msgSender());
    }

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

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

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _setOwner(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");
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 4 of 13 : Counters.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

File 5 of 13 : base64.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0;

/// @title Base64
/// @author Brecht Devos - <[email protected]>
/// @notice Provides functions for encoding/decoding base64
library Base64 {
    string internal constant TABLE_ENCODE = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';
    bytes  internal constant TABLE_DECODE = hex"0000000000000000000000000000000000000000000000000000000000000000"
                                            hex"00000000000000000000003e0000003f3435363738393a3b3c3d000000000000"
                                            hex"00000102030405060708090a0b0c0d0e0f101112131415161718190000000000"
                                            hex"001a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132330000000000";

    function encode(bytes memory data) internal pure returns (string memory) {
        if (data.length == 0) return '';

        // load the table into memory
        string memory table = TABLE_ENCODE;

        // multiply by 4/3 rounded up
        uint256 encodedLen = 4 * ((data.length + 2) / 3);

        // add some extra buffer at the end required for the writing
        string memory result = new string(encodedLen + 32);

        assembly {
            // set the actual output length
            mstore(result, encodedLen)

            // prepare the lookup table
            let tablePtr := add(table, 1)

            // input ptr
            let dataPtr := data
            let endPtr := add(dataPtr, mload(data))

            // result ptr, jump over length
            let resultPtr := add(result, 32)

            // run over the input, 3 bytes at a time
            for {} lt(dataPtr, endPtr) {}
            {
                // read 3 bytes
                dataPtr := add(dataPtr, 3)
                let input := mload(dataPtr)

                // write 4 characters
                mstore8(resultPtr, mload(add(tablePtr, and(shr(18, input), 0x3F))))
                resultPtr := add(resultPtr, 1)
                mstore8(resultPtr, mload(add(tablePtr, and(shr(12, input), 0x3F))))
                resultPtr := add(resultPtr, 1)
                mstore8(resultPtr, mload(add(tablePtr, and(shr( 6, input), 0x3F))))
                resultPtr := add(resultPtr, 1)
                mstore8(resultPtr, mload(add(tablePtr, and(        input,  0x3F))))
                resultPtr := add(resultPtr, 1)
            }

            // padding with '='
            switch mod(mload(data), 3)
            case 1 { mstore(sub(resultPtr, 2), shl(240, 0x3d3d)) }
            case 2 { mstore(sub(resultPtr, 1), shl(248, 0x3d)) }
        }

        return result;
    }

    function decode(string memory _data) internal pure returns (bytes memory) {
        bytes memory data = bytes(_data);

        if (data.length == 0) return new bytes(0);
        require(data.length % 4 == 0, "invalid base64 decoder input");

        // load the table into memory
        bytes memory table = TABLE_DECODE;

        // every 4 characters represent 3 bytes
        uint256 decodedLen = (data.length / 4) * 3;

        // add some extra buffer at the end required for the writing
        bytes memory result = new bytes(decodedLen + 32);

        assembly {
            // padding with '='
            let lastBytes := mload(add(data, mload(data)))
            if eq(and(lastBytes, 0xFF), 0x3d) {
                decodedLen := sub(decodedLen, 1)
                if eq(and(lastBytes, 0xFFFF), 0x3d3d) {
                    decodedLen := sub(decodedLen, 1)
                }
            }

            // set the actual output length
            mstore(result, decodedLen)

            // prepare the lookup table
            let tablePtr := add(table, 1)

            // input ptr
            let dataPtr := data
            let endPtr := add(dataPtr, mload(data))

            // result ptr, jump over length
            let resultPtr := add(result, 32)

            // run over the input, 4 characters at a time
            for {} lt(dataPtr, endPtr) {}
            {
               // read 4 characters
               dataPtr := add(dataPtr, 4)
               let input := mload(dataPtr)

               // write 3 bytes
               let output := add(
                   add(
                       shl(18, and(mload(add(tablePtr, and(shr(24, input), 0xFF))), 0xFF)),
                       shl(12, and(mload(add(tablePtr, and(shr(16, input), 0xFF))), 0xFF))),
                   add(
                       shl( 6, and(mload(add(tablePtr, and(shr( 8, input), 0xFF))), 0xFF)),
                               and(mload(add(tablePtr, and(        input , 0xFF))), 0xFF)
                    )
                )
                mstore(resultPtr, shl(232, output))
                resultPtr := add(resultPtr, 3)
            }
        }

        return result;
    }
}

File 6 of 13 : IERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

File 7 of 13 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

File 8 of 13 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT

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 9 of 13 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @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
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 10 of 13 : Context.sol
// SPDX-License-Identifier: MIT

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 11 of 13 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

File 12 of 13 : ERC165.sol
// SPDX-License-Identifier: MIT

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 13 of 13 : IERC165.sol
// SPDX-License-Identifier: MIT

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"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"nfogAddress","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":[{"components":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"image","type":"string"}],"internalType":"struct NFPP.NewPasta[]","name":"newPastas","type":"tuple[]"}],"name":"addPastas","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":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"franchiseeMints","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"getAddressFranchises","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"},{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"getAddressPlates","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"getNFOGOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"pastaId","type":"uint256"}],"name":"getPastaMints","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":"tokenIds","type":"uint256[]"},{"internalType":"uint256","name":"pastaId","type":"uint256"},{"internalType":"uint256","name":"parmLevel","type":"uint256"}],"name":"mintToFranchisee","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":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"pastaId","type":"uint256"},{"internalType":"uint256","name":"parmLevel","type":"uint256"}],"name":"refill","outputs":[],"stateMutability":"nonpayable","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":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","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":"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"}]

6080604052600a600b556000600c556040518061016001604052806040518060400160405280600481526020017f4e6f6e650000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600581526020017f576869666600000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600781526020017f44757374696e670000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600a81526020017f537072696e6b6c696e670000000000000000000000000000000000000000000081525081526020016040518060400160405280600781526020017f436f6174696e670000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600581526020017f4c6179657200000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600581526020017f4d6f756e6400000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600481526020017f50696c650000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600481526020017f486561700000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600481526020017f48696c6c0000000000000000000000000000000000000000000000000000000081525081526020016040518060400160405280600881526020017f4d6f6e6f6c697468000000000000000000000000000000000000000000000000815250815250600e90600b620002b3929190620004bd565b50348015620002c157600080fd5b50604051620051df380380620051df8339818101604052810190620002e7919062000659565b6040518060400160405280601b81526020017f4e657665722d46756e6769626c6520506173746120506c6174657300000000008152506040518060400160405280600481526020017f4e4650500000000000000000000000000000000000000000000000000000000081525081600090805190602001906200036b92919062000524565b5080600190805190602001906200038492919062000524565b505050620003a76200039b620003ef60201b60201c565b620003f760201b60201c565b80600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505062000738565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b82805482825590600052602060002090810192821562000511579160200282015b8281111562000510578251829080519060200190620004ff92919062000524565b5091602001919060010190620004de565b5b509050620005209190620005b5565b5090565b8280546200053290620006b9565b90600052602060002090601f016020900481019282620005565760008555620005a2565b82601f106200057157805160ff1916838001178555620005a2565b82800160010185558215620005a2579182015b82811115620005a157825182559160200191906001019062000584565b5b509050620005b19190620005dd565b5090565b5b80821115620005d95760008181620005cf9190620005fc565b50600101620005b6565b5090565b5b80821115620005f8576000816000905550600101620005de565b5090565b5080546200060a90620006b9565b6000825580601f106200061e57506200063f565b601f0160209004906000526020600020908101906200063e9190620005dd565b5b50565b60008151905062000653816200071e565b92915050565b6000602082840312156200066c57600080fd5b60006200067c8482850162000642565b91505092915050565b6000620006928262000699565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006002820490506001821680620006d257607f821691505b60208210811415620006e957620006e8620006ef565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b620007298162000685565b81146200073557600080fd5b50565b614a9780620007486000396000f3fe608060405234801561001057600080fd5b50600436106101735760003560e01c806375a451cb116100de578063a22cb46511610097578063d619de6a11610071578063d619de6a1461045b578063e4907a671461048b578063e985e9c5146104bb578063f2fde38b146104eb57610173565b8063a22cb465146103f3578063b88d4fde1461040f578063c87b56dd1461042b57610173565b806375a451cb1461031f5780637e0ca22b1461034f57806382d70f7c1461036b5780638da5cb5b1461039b57806395d89b41146103b95780639db29d8c146103d757610173565b80634253b9b4116101305780634253b9b41461024c57806342842e0e1461027d578063458e6483146102995780636352211e146102b557806370a08231146102e5578063715018a61461031557610173565b806301ffc9a71461017857806306fdde03146101a8578063081812fc146101c6578063095ea7b3146101f657806318160ddd1461021257806323b872dd14610230575b600080fd5b610192600480360381019061018d9190613328565b610507565b60405161019f91906141bc565b60405180910390f35b6101b06105e9565b6040516101bd91906141d7565b60405180910390f35b6101e060048036038101906101db919061337a565b61067b565b6040516101ed91906140fc565b60405180910390f35b610210600480360381019061020b9190613244565b610700565b005b61021a610818565b60405161022791906144d9565b60405180910390f35b61024a6004803603810190610245919061313e565b610829565b005b610266600480360381019061026191906130b0565b610889565b604051610274929190614185565b60405180910390f35b6102976004803603810190610292919061313e565b610d01565b005b6102b360048036038101906102ae9190613280565b610d21565b005b6102cf60048036038101906102ca919061337a565b610f14565b6040516102dc91906140fc565b60405180910390f35b6102ff60048036038101906102fa91906130b0565b610fc6565b60405161030c91906144d9565b60405180910390f35b61031d61107e565b005b6103396004803603810190610334919061337a565b611106565b60405161034691906144d9565b60405180910390f35b610369600480360381019061036491906132c1565b611189565b005b6103856004803603810190610380919061337a565b61137c565b60405161039291906140fc565b60405180910390f35b6103a3611435565b6040516103b091906140fc565b60405180910390f35b6103c161145f565b6040516103ce91906141d7565b60405180910390f35b6103f160048036038101906103ec91906133cc565b6114f1565b005b61040d60048036038101906104089190613208565b61172f565b005b6104296004803603810190610424919061318d565b6118b0565b005b6104456004803603810190610440919061337a565b611912565b60405161045291906141d7565b60405180910390f35b610475600480360381019061047091906130b0565b611aad565b6040516104829190614163565b60405180910390f35b6104a560048036038101906104a0919061337a565b611c13565b6040516104b291906141bc565b60405180910390f35b6104d560048036038101906104d09190613102565b611c33565b6040516104e291906141bc565b60405180910390f35b610505600480360381019061050091906130b0565b611cc7565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806105d257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806105e257506105e182611dbf565b5b9050919050565b6060600080546105f89061487d565b80601f01602080910402602001604051908101604052809291908181526020018280546106249061487d565b80156106715780601f1061064657610100808354040283529160200191610671565b820191906000526020600020905b81548152906001019060200180831161065457829003601f168201915b5050505050905090565b600061068682611e29565b6106c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106bc90614379565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061070b82610f14565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561077c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161077390614459565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661079b611e95565b73ffffffffffffffffffffffffffffffffffffffff1614806107ca57506107c9816107c4611e95565b611c33565b5b610809576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610800906142f9565b60405180910390fd5b6108138383611e9d565b505050565b60006108246007611f56565b905090565b61083a610834611e95565b82611f64565b610879576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161087090614479565b60405180910390fd5b610884838383612042565b505050565b6060806000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231856040518263ffffffff1660e01b81526004016108e991906140fc565b60206040518083038186803b15801561090157600080fd5b505afa158015610915573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061093991906133a3565b905060008167ffffffffffffffff81111561097d577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156109ab5781602001602082028036833780820191505090505b50905060008267ffffffffffffffff8111156109f0577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015610a1e5781602001602082028036833780820191505090505b5090506000831415610a3857818194509450505050610cfc565b6000805b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015610aa457600080fd5b505afa158015610ab8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610adc91906133a3565b811015610cf0578773ffffffffffffffffffffffffffffffffffffffff16600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b8152600401610b5591906144d9565b60206040518083038186803b158015610b6d57600080fd5b505afa158015610b81573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ba591906130d9565b73ffffffffffffffffffffffffffffffffffffffff161415610cdd5780848381518110610bfb577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181815250506009600082815260200190815260200160002060009054906101000a900460ff1615610c79576001838381518110610c68577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001018181525050610cc1565b6000838381518110610cb4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181815250505b8180610ccc906148af565b92505084821115610cdc57610cf0565b5b8080610ce8906148af565b915050610a3c565b50828295509550505050505b915091565b610d1c838383604051806020016040528060008152506118b0565b505050565b610d29611e95565b73ffffffffffffffffffffffffffffffffffffffff16610d47611435565b73ffffffffffffffffffffffffffffffffffffffff1614610d9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9490614399565b60405180910390fd5b60005b8151811015610f10576000600a6000848481518110610de8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516000015181526020019081526020016000209050828281518110610e3d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015160200151816001019080519060200190610e60929190612cfd565b50828281518110610e9a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015160400151816002019080519060200190610ebd929190612cfd565b508060000160009054906101000a900460ff16610efc5760018160000160006101000a81548160ff021916908315150217905550600081600301819055505b508080610f08906148af565b915050610da0565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610fbd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb490614339565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611037576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102e90614319565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611086611e95565b73ffffffffffffffffffffffffffffffffffffffff166110a4611435565b73ffffffffffffffffffffffffffffffffffffffff16146110fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110f190614399565b60405180910390fd5b611104600061229e565b565b6000600a600083815260200190815260200160002060000160009054906101000a900460ff1661116b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611162906142b9565b60405180910390fd5b600a6000838152602001908152602001600020600301549050919050565b60005b8351811015611376573373ffffffffffffffffffffffffffffffffffffffff166111f58583815181106111e8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015161137c565b73ffffffffffffffffffffffffffffffffffffffff161461124b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611242906141f9565b60405180910390fd5b60096000858381518110611288577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151815260200190815260200160002060009054906101000a900460ff16156112ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112e3906144b9565b60405180910390fd5b6112f7338484612364565b600160096000868481518110611336577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151815260200190815260200160002060006101000a81548160ff021916908315150217905550808061136e906148af565b91505061118c565b50505050565b600080600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e846040518263ffffffff1660e01b81526004016113da91906144d9565b60206040518083038186803b1580156113f257600080fd5b505afa158015611406573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061142a91906130d9565b905080915050919050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461146e9061487d565b80601f016020809104026020016040519081016040528092919081815260200182805461149a9061487d565b80156114e75780601f106114bc576101008083540402835291602001916114e7565b820191906000526020600020905b8154815290600101906020018083116114ca57829003601f168201915b5050505050905090565b6114fa83611e29565b611539576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153090614439565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff1661155984610f14565b73ffffffffffffffffffffffffffffffffffffffff16146115af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115a690614499565b60405180910390fd5b600c548110156115f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115eb906143b9565b60405180910390fd5b600b54811115611639576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161163090614419565b60405180910390fd5b600a600083815260200190815260200160002060000160009054906101000a900460ff1661169c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611693906142b9565b60405180910390fd5b8160086000858152602001908152602001600020600101819055506008600084815260200190815260200160002060020160008154809291906116de906148af565b9190505550806008600085815260200190815260200160002060030181905550600a60008381526020019081526020016000206003016000815480929190611725906148af565b9190505550505050565b611737611e95565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156117a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161179c90614299565b60405180910390fd5b80600560006117b2611e95565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661185f611e95565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516118a491906141bc565b60405180910390a35050565b6118c16118bb611e95565b83611f64565b611900576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118f790614479565b60405180910390fd5b61190c84848484612521565b50505050565b606061191d82611e29565b61195c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611953906143f9565b60405180910390fd5b6000611a8361196a8461257d565b600a6000600860008881526020019081526020016000206001015481526020019081526020016000206002016119b5600860008881526020019081526020016000206003015461257d565b600a6000600860008a8152602001908152602001600020600101548152602001908152602001600020600101611a00600860008a81526020019081526020016000206002015461257d565b600e600860008b81526020019081526020016000206003015481548110611a50577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001604051602001611a6f96959493929190614035565b604051602081830303815290604052612752565b905080604051602001611a9691906140da565b604051602081830303815290604052915050919050565b60606000611aba83610fc6565b905060008167ffffffffffffffff811115611afe577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015611b2c5781602001602082028036833780820191505090505b5090506000821415611b42578092505050611c0e565b6000805b611b4e610818565b811015611c06578573ffffffffffffffffffffffffffffffffffffffff16611b7582610f14565b73ffffffffffffffffffffffffffffffffffffffff161415611bf35780838381518110611bcb577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181815250508180611be2906148af565b92505083821115611bf257611c06565b5b8080611bfe906148af565b915050611b46565b508193505050505b919050565b60096020528060005260406000206000915054906101000a900460ff1681565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611ccf611e95565b73ffffffffffffffffffffffffffffffffffffffff16611ced611435565b73ffffffffffffffffffffffffffffffffffffffff1614611d43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d3a90614399565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611db3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611daa90614239565b60405180910390fd5b611dbc8161229e565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611f1083610f14565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081600001549050919050565b6000611f6f82611e29565b611fae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fa5906142d9565b60405180910390fd5b6000611fb983610f14565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061202857508373ffffffffffffffffffffffffffffffffffffffff166120108461067b565b73ffffffffffffffffffffffffffffffffffffffff16145b8061203957506120388185611c33565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661206282610f14565b73ffffffffffffffffffffffffffffffffffffffff16146120b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120af906143d9565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612128576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161211f90614279565b60405180910390fd5b6121338383836128f1565b61213e600082611e9d565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461218e9190614786565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546121e5919061466e565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600c548110156123a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123a0906143b9565b60405180910390fd5b600b548111156123ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123e590614419565b60405180910390fd5b600a600083815260200190815260200160002060000160009054906101000a900460ff16612451576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612448906142b9565b60405180910390fd5b60405180608001604052806001151581526020018381526020016000815260200182815250600860006124846007611f56565b815260200190815260200160002060008201518160000160006101000a81548160ff021916908315150217905550602082015181600101556040820151816002015560608201518160030155905050600a600083815260200190815260200160002060030160008154809291906124fa906148af565b91905055506125128361250d6007611f56565b6128f6565b61251c6007612914565b505050565b61252c848484612042565b6125388484848461292a565b612577576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161256e90614219565b60405180910390fd5b50505050565b606060008214156125c5576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061274d565b600082905060005b600082146125f75780806125e0906148af565b915050600a826125f091906146fb565b91506125cd565b60008167ffffffffffffffff811115612639577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561266b5781602001600182028036833780820191505090505b50905060008290505b60008614612745576001816126899190614786565b90506000600a808861269b91906146fb565b6126a5919061472c565b876126b09190614786565b60306126bc91906146c4565b905060008160f81b905080848481518110612700577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8861273c91906146fb565b97505050612674565b819450505050505b919050565b6060600082511415612775576040518060200160405280600081525090506128ec565b6000604051806060016040528060408152602001614a2260409139905060006003600285516127a4919061466e565b6127ae91906146fb565b60046127ba919061472c565b905060006020826127cb919061466e565b67ffffffffffffffff81111561280a577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561283c5781602001600182028036833780820191505090505b509050818152600183018586518101602084015b818310156128ab576003830192508251603f8160121c168501518253600182019150603f81600c1c168501518253600182019150603f8160061c168501518253600182019150603f8116850151825360018201915050612850565b6003895106600181146128c557600281146128d5576128e0565b613d3d60f01b60028303526128e0565b603d60f81b60018303525b50505050508093505050505b919050565b505050565b612910828260405180602001604052806000815250612ac1565b5050565b6001816000016000828254019250508190555050565b600061294b8473ffffffffffffffffffffffffffffffffffffffff16612b1c565b15612ab4578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612974611e95565b8786866040518563ffffffff1660e01b81526004016129969493929190614117565b602060405180830381600087803b1580156129b057600080fd5b505af19250505080156129e157506040513d601f19601f820116820180604052508101906129de9190613351565b60015b612a64573d8060008114612a11576040519150601f19603f3d011682016040523d82523d6000602084013e612a16565b606091505b50600081511415612a5c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a5390614219565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612ab9565b600190505b949350505050565b612acb8383612b2f565b612ad8600084848461292a565b612b17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b0e90614219565b60405180910390fd5b505050565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612b9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b9690614359565b60405180910390fd5b612ba881611e29565b15612be8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bdf90614259565b60405180910390fd5b612bf4600083836128f1565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612c44919061466e565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b828054612d099061487d565b90600052602060002090601f016020900481019282612d2b5760008555612d72565b82601f10612d4457805160ff1916838001178555612d72565b82800160010185558215612d72579182015b82811115612d71578251825591602001919060010190612d56565b5b509050612d7f9190612d83565b5090565b5b80821115612d9c576000816000905550600101612d84565b5090565b6000612db3612dae84614525565b6144f4565b9050808382526020820190508260005b85811015612df35781358501612dd98882612ff6565b845260208401935060208301925050600181019050612dc3565b5050509392505050565b6000612e10612e0b84614551565b6144f4565b90508083825260208201905082856020860282011115612e2f57600080fd5b60005b85811015612e5f5781612e458882613086565b845260208401935060208301925050600181019050612e32565b5050509392505050565b6000612e7c612e778461457d565b6144f4565b905082815260208101848484011115612e9457600080fd5b612e9f84828561483b565b509392505050565b6000612eba612eb5846145ad565b6144f4565b905082815260208101848484011115612ed257600080fd5b612edd84828561483b565b509392505050565b600081359050612ef4816149c5565b92915050565b600081519050612f09816149c5565b92915050565b600082601f830112612f2057600080fd5b8135612f30848260208601612da0565b91505092915050565b600082601f830112612f4a57600080fd5b8135612f5a848260208601612dfd565b91505092915050565b600081359050612f72816149dc565b92915050565b600081359050612f87816149f3565b92915050565b600081519050612f9c816149f3565b92915050565b600082601f830112612fb357600080fd5b8135612fc3848260208601612e69565b91505092915050565b600082601f830112612fdd57600080fd5b8135612fed848260208601612ea7565b91505092915050565b60006060828403121561300857600080fd5b61301260606144f4565b9050600061302284828501613086565b600083015250602082013567ffffffffffffffff81111561304257600080fd5b61304e84828501612fcc565b602083015250604082013567ffffffffffffffff81111561306e57600080fd5b61307a84828501612fcc565b60408301525092915050565b60008135905061309581614a0a565b92915050565b6000815190506130aa81614a0a565b92915050565b6000602082840312156130c257600080fd5b60006130d084828501612ee5565b91505092915050565b6000602082840312156130eb57600080fd5b60006130f984828501612efa565b91505092915050565b6000806040838503121561311557600080fd5b600061312385828601612ee5565b925050602061313485828601612ee5565b9150509250929050565b60008060006060848603121561315357600080fd5b600061316186828701612ee5565b935050602061317286828701612ee5565b925050604061318386828701613086565b9150509250925092565b600080600080608085870312156131a357600080fd5b60006131b187828801612ee5565b94505060206131c287828801612ee5565b93505060406131d387828801613086565b925050606085013567ffffffffffffffff8111156131f057600080fd5b6131fc87828801612fa2565b91505092959194509250565b6000806040838503121561321b57600080fd5b600061322985828601612ee5565b925050602061323a85828601612f63565b9150509250929050565b6000806040838503121561325757600080fd5b600061326585828601612ee5565b925050602061327685828601613086565b9150509250929050565b60006020828403121561329257600080fd5b600082013567ffffffffffffffff8111156132ac57600080fd5b6132b884828501612f0f565b91505092915050565b6000806000606084860312156132d657600080fd5b600084013567ffffffffffffffff8111156132f057600080fd5b6132fc86828701612f39565b935050602061330d86828701613086565b925050604061331e86828701613086565b9150509250925092565b60006020828403121561333a57600080fd5b600061334884828501612f78565b91505092915050565b60006020828403121561336357600080fd5b600061337184828501612f8d565b91505092915050565b60006020828403121561338c57600080fd5b600061339a84828501613086565b91505092915050565b6000602082840312156133b557600080fd5b60006133c38482850161309b565b91505092915050565b6000806000606084860312156133e157600080fd5b60006133ef86828701613086565b935050602061340086828701613086565b925050604061341186828701613086565b9150509250925092565b60006134278383614017565b60208301905092915050565b61343c816147ba565b82525050565b600061344d82614602565b6134578185614630565b9350613462836145dd565b8060005b8381101561349357815161347a888261341b565b975061348583614623565b925050600181019050613466565b5085935050505092915050565b6134a9816147cc565b82525050565b60006134ba8261460d565b6134c48185614641565b93506134d481856020860161484a565b6134dd816149b4565b840191505092915050565b60006134f382614618565b6134fd8185614652565b935061350d81856020860161484a565b613516816149b4565b840191505092915050565b600061352c82614618565b6135368185614663565b935061354681856020860161484a565b80840191505092915050565b6000815461355f8161487d565b6135698186614663565b945060018216600081146135845760018114613595576135c8565b60ff198316865281860193506135c8565b61359e856145ed565b60005b838110156135c0578154818901526001820191506020810190506135a1565b838801955050505b50505092915050565b60006135de601383614652565b91507f4e4f545f4652414e43484953455f4f574e4552000000000000000000000000006000830152602082019050919050565b600061361e603283614652565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b6000613684602783614663565b91507f227d2c207b2274726169745f74797065223a2022526566696c6c73222c22766160008301527f6c7565223a2022000000000000000000000000000000000000000000000000006020830152602782019050919050565b60006136ea602683614652565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613750601c83614652565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b6000613790601183614663565b91507f7b226e616d65223a2022506c61746520230000000000000000000000000000006000830152601182019050919050565b60006137d0602483614652565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613836601983614652565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b6000613876600983614652565b91507f4241445f504153544100000000000000000000000000000000000000000000006000830152602082019050919050565b60006138b6603783614663565b91507f2e706e67222c202261747472696275746573223a205b7b2274726169745f747960008301527f7065223a20225061737461222c2276616c7565223a20220000000000000000006020830152603782019050919050565b600061391c602c83614652565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000613982603883614652565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b60006139e8602a83614652565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b6000613a4e602983614652565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000613ab4605183614663565b91507f222c20226465736372697074696f6e223a2022412064656c6963696f7573206e60008301527f657665722d66756e6769626c6520706173746120706c6174652066726f6d204e60208301527f464f472e222c2022696d616765223a20220000000000000000000000000000006040830152605182019050919050565b6000613b40602083614652565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b6000613b80602c83614652565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000613be6602083614652565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b6000613c26600883614652565b91507f4c4f575f5041524d0000000000000000000000000000000000000000000000006000830152602082019050919050565b6000613c66602983614652565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000613ccc602f83614652565b91507f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008301527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006020830152604082019050919050565b6000613d32600983614652565b91507f484947485f5041524d00000000000000000000000000000000000000000000006000830152602082019050919050565b6000613d72600983614652565b91507f4e4f545f455849535400000000000000000000000000000000000000000000006000830152602082019050919050565b6000613db2602183614652565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613e18601d83614663565b91507f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c0000006000830152601d82019050919050565b6000613e58602a83614663565b91507f227d2c207b2274726169745f74797065223a20225061726d204c6576656c222c60008301527f2276616c7565223a2022000000000000000000000000000000000000000000006020830152602a82019050919050565b6000613ebe603183614652565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b6000613f24600983614652565b91507f4e4f545f4f574e455200000000000000000000000000000000000000000000006000830152602082019050919050565b6000613f64600e83614652565b91507f414c52454144595f4d494e5445440000000000000000000000000000000000006000830152602082019050919050565b6000613fa4600483614663565b91507f227d5d7d000000000000000000000000000000000000000000000000000000006000830152600482019050919050565b6000613fe4600183614663565b91507f2f000000000000000000000000000000000000000000000000000000000000006000830152600182019050919050565b61402081614824565b82525050565b61402f81614824565b82525050565b600061404082613783565b915061404c8289613521565b915061405782613aa7565b91506140638288613552565b915061406e82613fd7565b915061407a8287613521565b9150614085826138a9565b91506140918286613552565b915061409c82613677565b91506140a88285613521565b91506140b382613e4b565b91506140bf8284613552565b91506140ca82613f97565b9150819050979650505050505050565b60006140e582613e0b565b91506140f18284613521565b915081905092915050565b60006020820190506141116000830184613433565b92915050565b600060808201905061412c6000830187613433565b6141396020830186613433565b6141466040830185614026565b818103606083015261415881846134af565b905095945050505050565b6000602082019050818103600083015261417d8184613442565b905092915050565b6000604082019050818103600083015261419f8185613442565b905081810360208301526141b38184613442565b90509392505050565b60006020820190506141d160008301846134a0565b92915050565b600060208201905081810360008301526141f181846134e8565b905092915050565b60006020820190508181036000830152614212816135d1565b9050919050565b6000602082019050818103600083015261423281613611565b9050919050565b60006020820190508181036000830152614252816136dd565b9050919050565b6000602082019050818103600083015261427281613743565b9050919050565b60006020820190508181036000830152614292816137c3565b9050919050565b600060208201905081810360008301526142b281613829565b9050919050565b600060208201905081810360008301526142d281613869565b9050919050565b600060208201905081810360008301526142f28161390f565b9050919050565b6000602082019050818103600083015261431281613975565b9050919050565b60006020820190508181036000830152614332816139db565b9050919050565b6000602082019050818103600083015261435281613a41565b9050919050565b6000602082019050818103600083015261437281613b33565b9050919050565b6000602082019050818103600083015261439281613b73565b9050919050565b600060208201905081810360008301526143b281613bd9565b9050919050565b600060208201905081810360008301526143d281613c19565b9050919050565b600060208201905081810360008301526143f281613c59565b9050919050565b6000602082019050818103600083015261441281613cbf565b9050919050565b6000602082019050818103600083015261443281613d25565b9050919050565b6000602082019050818103600083015261445281613d65565b9050919050565b6000602082019050818103600083015261447281613da5565b9050919050565b6000602082019050818103600083015261449281613eb1565b9050919050565b600060208201905081810360008301526144b281613f17565b9050919050565b600060208201905081810360008301526144d281613f57565b9050919050565b60006020820190506144ee6000830184614026565b92915050565b6000604051905081810181811067ffffffffffffffff8211171561451b5761451a614985565b5b8060405250919050565b600067ffffffffffffffff8211156145405761453f614985565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561456c5761456b614985565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561459857614597614985565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff8211156145c8576145c7614985565b5b601f19601f8301169050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061467982614824565b915061468483614824565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156146b9576146b86148f8565b5b828201905092915050565b60006146cf8261482e565b91506146da8361482e565b92508260ff038211156146f0576146ef6148f8565b5b828201905092915050565b600061470682614824565b915061471183614824565b92508261472157614720614927565b5b828204905092915050565b600061473782614824565b915061474283614824565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561477b5761477a6148f8565b5b828202905092915050565b600061479182614824565b915061479c83614824565b9250828210156147af576147ae6148f8565b5b828203905092915050565b60006147c582614804565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b8381101561486857808201518184015260208101905061484d565b83811115614877576000848401525b50505050565b6000600282049050600182168061489557607f821691505b602082108114156148a9576148a8614956565b5b50919050565b60006148ba82614824565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156148ed576148ec6148f8565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b6149ce816147ba565b81146149d957600080fd5b50565b6149e5816147cc565b81146149f057600080fd5b50565b6149fc816147d8565b8114614a0757600080fd5b50565b614a1381614824565b8114614a1e57600080fd5b5056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220a84daa193c6df315f876c42a28719dd9261e40363b7580797c14bca0ad83283a64736f6c63430008000033000000000000000000000000fee84e716845ec7423c863fc72881804f8bd8441

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101735760003560e01c806375a451cb116100de578063a22cb46511610097578063d619de6a11610071578063d619de6a1461045b578063e4907a671461048b578063e985e9c5146104bb578063f2fde38b146104eb57610173565b8063a22cb465146103f3578063b88d4fde1461040f578063c87b56dd1461042b57610173565b806375a451cb1461031f5780637e0ca22b1461034f57806382d70f7c1461036b5780638da5cb5b1461039b57806395d89b41146103b95780639db29d8c146103d757610173565b80634253b9b4116101305780634253b9b41461024c57806342842e0e1461027d578063458e6483146102995780636352211e146102b557806370a08231146102e5578063715018a61461031557610173565b806301ffc9a71461017857806306fdde03146101a8578063081812fc146101c6578063095ea7b3146101f657806318160ddd1461021257806323b872dd14610230575b600080fd5b610192600480360381019061018d9190613328565b610507565b60405161019f91906141bc565b60405180910390f35b6101b06105e9565b6040516101bd91906141d7565b60405180910390f35b6101e060048036038101906101db919061337a565b61067b565b6040516101ed91906140fc565b60405180910390f35b610210600480360381019061020b9190613244565b610700565b005b61021a610818565b60405161022791906144d9565b60405180910390f35b61024a6004803603810190610245919061313e565b610829565b005b610266600480360381019061026191906130b0565b610889565b604051610274929190614185565b60405180910390f35b6102976004803603810190610292919061313e565b610d01565b005b6102b360048036038101906102ae9190613280565b610d21565b005b6102cf60048036038101906102ca919061337a565b610f14565b6040516102dc91906140fc565b60405180910390f35b6102ff60048036038101906102fa91906130b0565b610fc6565b60405161030c91906144d9565b60405180910390f35b61031d61107e565b005b6103396004803603810190610334919061337a565b611106565b60405161034691906144d9565b60405180910390f35b610369600480360381019061036491906132c1565b611189565b005b6103856004803603810190610380919061337a565b61137c565b60405161039291906140fc565b60405180910390f35b6103a3611435565b6040516103b091906140fc565b60405180910390f35b6103c161145f565b6040516103ce91906141d7565b60405180910390f35b6103f160048036038101906103ec91906133cc565b6114f1565b005b61040d60048036038101906104089190613208565b61172f565b005b6104296004803603810190610424919061318d565b6118b0565b005b6104456004803603810190610440919061337a565b611912565b60405161045291906141d7565b60405180910390f35b610475600480360381019061047091906130b0565b611aad565b6040516104829190614163565b60405180910390f35b6104a560048036038101906104a0919061337a565b611c13565b6040516104b291906141bc565b60405180910390f35b6104d560048036038101906104d09190613102565b611c33565b6040516104e291906141bc565b60405180910390f35b610505600480360381019061050091906130b0565b611cc7565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806105d257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806105e257506105e182611dbf565b5b9050919050565b6060600080546105f89061487d565b80601f01602080910402602001604051908101604052809291908181526020018280546106249061487d565b80156106715780601f1061064657610100808354040283529160200191610671565b820191906000526020600020905b81548152906001019060200180831161065457829003601f168201915b5050505050905090565b600061068682611e29565b6106c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106bc90614379565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061070b82610f14565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561077c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161077390614459565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661079b611e95565b73ffffffffffffffffffffffffffffffffffffffff1614806107ca57506107c9816107c4611e95565b611c33565b5b610809576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610800906142f9565b60405180910390fd5b6108138383611e9d565b505050565b60006108246007611f56565b905090565b61083a610834611e95565b82611f64565b610879576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161087090614479565b60405180910390fd5b610884838383612042565b505050565b6060806000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231856040518263ffffffff1660e01b81526004016108e991906140fc565b60206040518083038186803b15801561090157600080fd5b505afa158015610915573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061093991906133a3565b905060008167ffffffffffffffff81111561097d577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156109ab5781602001602082028036833780820191505090505b50905060008267ffffffffffffffff8111156109f0577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015610a1e5781602001602082028036833780820191505090505b5090506000831415610a3857818194509450505050610cfc565b6000805b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015610aa457600080fd5b505afa158015610ab8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610adc91906133a3565b811015610cf0578773ffffffffffffffffffffffffffffffffffffffff16600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b8152600401610b5591906144d9565b60206040518083038186803b158015610b6d57600080fd5b505afa158015610b81573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ba591906130d9565b73ffffffffffffffffffffffffffffffffffffffff161415610cdd5780848381518110610bfb577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181815250506009600082815260200190815260200160002060009054906101000a900460ff1615610c79576001838381518110610c68577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001018181525050610cc1565b6000838381518110610cb4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181815250505b8180610ccc906148af565b92505084821115610cdc57610cf0565b5b8080610ce8906148af565b915050610a3c565b50828295509550505050505b915091565b610d1c838383604051806020016040528060008152506118b0565b505050565b610d29611e95565b73ffffffffffffffffffffffffffffffffffffffff16610d47611435565b73ffffffffffffffffffffffffffffffffffffffff1614610d9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9490614399565b60405180910390fd5b60005b8151811015610f10576000600a6000848481518110610de8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516000015181526020019081526020016000209050828281518110610e3d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015160200151816001019080519060200190610e60929190612cfd565b50828281518110610e9a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015160400151816002019080519060200190610ebd929190612cfd565b508060000160009054906101000a900460ff16610efc5760018160000160006101000a81548160ff021916908315150217905550600081600301819055505b508080610f08906148af565b915050610da0565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610fbd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb490614339565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611037576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102e90614319565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611086611e95565b73ffffffffffffffffffffffffffffffffffffffff166110a4611435565b73ffffffffffffffffffffffffffffffffffffffff16146110fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110f190614399565b60405180910390fd5b611104600061229e565b565b6000600a600083815260200190815260200160002060000160009054906101000a900460ff1661116b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611162906142b9565b60405180910390fd5b600a6000838152602001908152602001600020600301549050919050565b60005b8351811015611376573373ffffffffffffffffffffffffffffffffffffffff166111f58583815181106111e8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015161137c565b73ffffffffffffffffffffffffffffffffffffffff161461124b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611242906141f9565b60405180910390fd5b60096000858381518110611288577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151815260200190815260200160002060009054906101000a900460ff16156112ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112e3906144b9565b60405180910390fd5b6112f7338484612364565b600160096000868481518110611336577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151815260200190815260200160002060006101000a81548160ff021916908315150217905550808061136e906148af565b91505061118c565b50505050565b600080600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e846040518263ffffffff1660e01b81526004016113da91906144d9565b60206040518083038186803b1580156113f257600080fd5b505afa158015611406573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061142a91906130d9565b905080915050919050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461146e9061487d565b80601f016020809104026020016040519081016040528092919081815260200182805461149a9061487d565b80156114e75780601f106114bc576101008083540402835291602001916114e7565b820191906000526020600020905b8154815290600101906020018083116114ca57829003601f168201915b5050505050905090565b6114fa83611e29565b611539576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153090614439565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff1661155984610f14565b73ffffffffffffffffffffffffffffffffffffffff16146115af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115a690614499565b60405180910390fd5b600c548110156115f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115eb906143b9565b60405180910390fd5b600b54811115611639576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161163090614419565b60405180910390fd5b600a600083815260200190815260200160002060000160009054906101000a900460ff1661169c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611693906142b9565b60405180910390fd5b8160086000858152602001908152602001600020600101819055506008600084815260200190815260200160002060020160008154809291906116de906148af565b9190505550806008600085815260200190815260200160002060030181905550600a60008381526020019081526020016000206003016000815480929190611725906148af565b9190505550505050565b611737611e95565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156117a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161179c90614299565b60405180910390fd5b80600560006117b2611e95565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661185f611e95565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516118a491906141bc565b60405180910390a35050565b6118c16118bb611e95565b83611f64565b611900576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118f790614479565b60405180910390fd5b61190c84848484612521565b50505050565b606061191d82611e29565b61195c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611953906143f9565b60405180910390fd5b6000611a8361196a8461257d565b600a6000600860008881526020019081526020016000206001015481526020019081526020016000206002016119b5600860008881526020019081526020016000206003015461257d565b600a6000600860008a8152602001908152602001600020600101548152602001908152602001600020600101611a00600860008a81526020019081526020016000206002015461257d565b600e600860008b81526020019081526020016000206003015481548110611a50577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001604051602001611a6f96959493929190614035565b604051602081830303815290604052612752565b905080604051602001611a9691906140da565b604051602081830303815290604052915050919050565b60606000611aba83610fc6565b905060008167ffffffffffffffff811115611afe577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015611b2c5781602001602082028036833780820191505090505b5090506000821415611b42578092505050611c0e565b6000805b611b4e610818565b811015611c06578573ffffffffffffffffffffffffffffffffffffffff16611b7582610f14565b73ffffffffffffffffffffffffffffffffffffffff161415611bf35780838381518110611bcb577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181815250508180611be2906148af565b92505083821115611bf257611c06565b5b8080611bfe906148af565b915050611b46565b508193505050505b919050565b60096020528060005260406000206000915054906101000a900460ff1681565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611ccf611e95565b73ffffffffffffffffffffffffffffffffffffffff16611ced611435565b73ffffffffffffffffffffffffffffffffffffffff1614611d43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d3a90614399565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611db3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611daa90614239565b60405180910390fd5b611dbc8161229e565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611f1083610f14565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081600001549050919050565b6000611f6f82611e29565b611fae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fa5906142d9565b60405180910390fd5b6000611fb983610f14565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061202857508373ffffffffffffffffffffffffffffffffffffffff166120108461067b565b73ffffffffffffffffffffffffffffffffffffffff16145b8061203957506120388185611c33565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661206282610f14565b73ffffffffffffffffffffffffffffffffffffffff16146120b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120af906143d9565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612128576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161211f90614279565b60405180910390fd5b6121338383836128f1565b61213e600082611e9d565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461218e9190614786565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546121e5919061466e565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600c548110156123a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123a0906143b9565b60405180910390fd5b600b548111156123ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123e590614419565b60405180910390fd5b600a600083815260200190815260200160002060000160009054906101000a900460ff16612451576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612448906142b9565b60405180910390fd5b60405180608001604052806001151581526020018381526020016000815260200182815250600860006124846007611f56565b815260200190815260200160002060008201518160000160006101000a81548160ff021916908315150217905550602082015181600101556040820151816002015560608201518160030155905050600a600083815260200190815260200160002060030160008154809291906124fa906148af565b91905055506125128361250d6007611f56565b6128f6565b61251c6007612914565b505050565b61252c848484612042565b6125388484848461292a565b612577576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161256e90614219565b60405180910390fd5b50505050565b606060008214156125c5576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061274d565b600082905060005b600082146125f75780806125e0906148af565b915050600a826125f091906146fb565b91506125cd565b60008167ffffffffffffffff811115612639577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561266b5781602001600182028036833780820191505090505b50905060008290505b60008614612745576001816126899190614786565b90506000600a808861269b91906146fb565b6126a5919061472c565b876126b09190614786565b60306126bc91906146c4565b905060008160f81b905080848481518110612700577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8861273c91906146fb565b97505050612674565b819450505050505b919050565b6060600082511415612775576040518060200160405280600081525090506128ec565b6000604051806060016040528060408152602001614a2260409139905060006003600285516127a4919061466e565b6127ae91906146fb565b60046127ba919061472c565b905060006020826127cb919061466e565b67ffffffffffffffff81111561280a577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561283c5781602001600182028036833780820191505090505b509050818152600183018586518101602084015b818310156128ab576003830192508251603f8160121c168501518253600182019150603f81600c1c168501518253600182019150603f8160061c168501518253600182019150603f8116850151825360018201915050612850565b6003895106600181146128c557600281146128d5576128e0565b613d3d60f01b60028303526128e0565b603d60f81b60018303525b50505050508093505050505b919050565b505050565b612910828260405180602001604052806000815250612ac1565b5050565b6001816000016000828254019250508190555050565b600061294b8473ffffffffffffffffffffffffffffffffffffffff16612b1c565b15612ab4578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612974611e95565b8786866040518563ffffffff1660e01b81526004016129969493929190614117565b602060405180830381600087803b1580156129b057600080fd5b505af19250505080156129e157506040513d601f19601f820116820180604052508101906129de9190613351565b60015b612a64573d8060008114612a11576040519150601f19603f3d011682016040523d82523d6000602084013e612a16565b606091505b50600081511415612a5c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a5390614219565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612ab9565b600190505b949350505050565b612acb8383612b2f565b612ad8600084848461292a565b612b17576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b0e90614219565b60405180910390fd5b505050565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612b9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b9690614359565b60405180910390fd5b612ba881611e29565b15612be8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bdf90614259565b60405180910390fd5b612bf4600083836128f1565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612c44919061466e565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b828054612d099061487d565b90600052602060002090601f016020900481019282612d2b5760008555612d72565b82601f10612d4457805160ff1916838001178555612d72565b82800160010185558215612d72579182015b82811115612d71578251825591602001919060010190612d56565b5b509050612d7f9190612d83565b5090565b5b80821115612d9c576000816000905550600101612d84565b5090565b6000612db3612dae84614525565b6144f4565b9050808382526020820190508260005b85811015612df35781358501612dd98882612ff6565b845260208401935060208301925050600181019050612dc3565b5050509392505050565b6000612e10612e0b84614551565b6144f4565b90508083825260208201905082856020860282011115612e2f57600080fd5b60005b85811015612e5f5781612e458882613086565b845260208401935060208301925050600181019050612e32565b5050509392505050565b6000612e7c612e778461457d565b6144f4565b905082815260208101848484011115612e9457600080fd5b612e9f84828561483b565b509392505050565b6000612eba612eb5846145ad565b6144f4565b905082815260208101848484011115612ed257600080fd5b612edd84828561483b565b509392505050565b600081359050612ef4816149c5565b92915050565b600081519050612f09816149c5565b92915050565b600082601f830112612f2057600080fd5b8135612f30848260208601612da0565b91505092915050565b600082601f830112612f4a57600080fd5b8135612f5a848260208601612dfd565b91505092915050565b600081359050612f72816149dc565b92915050565b600081359050612f87816149f3565b92915050565b600081519050612f9c816149f3565b92915050565b600082601f830112612fb357600080fd5b8135612fc3848260208601612e69565b91505092915050565b600082601f830112612fdd57600080fd5b8135612fed848260208601612ea7565b91505092915050565b60006060828403121561300857600080fd5b61301260606144f4565b9050600061302284828501613086565b600083015250602082013567ffffffffffffffff81111561304257600080fd5b61304e84828501612fcc565b602083015250604082013567ffffffffffffffff81111561306e57600080fd5b61307a84828501612fcc565b60408301525092915050565b60008135905061309581614a0a565b92915050565b6000815190506130aa81614a0a565b92915050565b6000602082840312156130c257600080fd5b60006130d084828501612ee5565b91505092915050565b6000602082840312156130eb57600080fd5b60006130f984828501612efa565b91505092915050565b6000806040838503121561311557600080fd5b600061312385828601612ee5565b925050602061313485828601612ee5565b9150509250929050565b60008060006060848603121561315357600080fd5b600061316186828701612ee5565b935050602061317286828701612ee5565b925050604061318386828701613086565b9150509250925092565b600080600080608085870312156131a357600080fd5b60006131b187828801612ee5565b94505060206131c287828801612ee5565b93505060406131d387828801613086565b925050606085013567ffffffffffffffff8111156131f057600080fd5b6131fc87828801612fa2565b91505092959194509250565b6000806040838503121561321b57600080fd5b600061322985828601612ee5565b925050602061323a85828601612f63565b9150509250929050565b6000806040838503121561325757600080fd5b600061326585828601612ee5565b925050602061327685828601613086565b9150509250929050565b60006020828403121561329257600080fd5b600082013567ffffffffffffffff8111156132ac57600080fd5b6132b884828501612f0f565b91505092915050565b6000806000606084860312156132d657600080fd5b600084013567ffffffffffffffff8111156132f057600080fd5b6132fc86828701612f39565b935050602061330d86828701613086565b925050604061331e86828701613086565b9150509250925092565b60006020828403121561333a57600080fd5b600061334884828501612f78565b91505092915050565b60006020828403121561336357600080fd5b600061337184828501612f8d565b91505092915050565b60006020828403121561338c57600080fd5b600061339a84828501613086565b91505092915050565b6000602082840312156133b557600080fd5b60006133c38482850161309b565b91505092915050565b6000806000606084860312156133e157600080fd5b60006133ef86828701613086565b935050602061340086828701613086565b925050604061341186828701613086565b9150509250925092565b60006134278383614017565b60208301905092915050565b61343c816147ba565b82525050565b600061344d82614602565b6134578185614630565b9350613462836145dd565b8060005b8381101561349357815161347a888261341b565b975061348583614623565b925050600181019050613466565b5085935050505092915050565b6134a9816147cc565b82525050565b60006134ba8261460d565b6134c48185614641565b93506134d481856020860161484a565b6134dd816149b4565b840191505092915050565b60006134f382614618565b6134fd8185614652565b935061350d81856020860161484a565b613516816149b4565b840191505092915050565b600061352c82614618565b6135368185614663565b935061354681856020860161484a565b80840191505092915050565b6000815461355f8161487d565b6135698186614663565b945060018216600081146135845760018114613595576135c8565b60ff198316865281860193506135c8565b61359e856145ed565b60005b838110156135c0578154818901526001820191506020810190506135a1565b838801955050505b50505092915050565b60006135de601383614652565b91507f4e4f545f4652414e43484953455f4f574e4552000000000000000000000000006000830152602082019050919050565b600061361e603283614652565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b6000613684602783614663565b91507f227d2c207b2274726169745f74797065223a2022526566696c6c73222c22766160008301527f6c7565223a2022000000000000000000000000000000000000000000000000006020830152602782019050919050565b60006136ea602683614652565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613750601c83614652565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b6000613790601183614663565b91507f7b226e616d65223a2022506c61746520230000000000000000000000000000006000830152601182019050919050565b60006137d0602483614652565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613836601983614652565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b6000613876600983614652565b91507f4241445f504153544100000000000000000000000000000000000000000000006000830152602082019050919050565b60006138b6603783614663565b91507f2e706e67222c202261747472696275746573223a205b7b2274726169745f747960008301527f7065223a20225061737461222c2276616c7565223a20220000000000000000006020830152603782019050919050565b600061391c602c83614652565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000613982603883614652565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b60006139e8602a83614652565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b6000613a4e602983614652565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000613ab4605183614663565b91507f222c20226465736372697074696f6e223a2022412064656c6963696f7573206e60008301527f657665722d66756e6769626c6520706173746120706c6174652066726f6d204e60208301527f464f472e222c2022696d616765223a20220000000000000000000000000000006040830152605182019050919050565b6000613b40602083614652565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b6000613b80602c83614652565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000613be6602083614652565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b6000613c26600883614652565b91507f4c4f575f5041524d0000000000000000000000000000000000000000000000006000830152602082019050919050565b6000613c66602983614652565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000613ccc602f83614652565b91507f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008301527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006020830152604082019050919050565b6000613d32600983614652565b91507f484947485f5041524d00000000000000000000000000000000000000000000006000830152602082019050919050565b6000613d72600983614652565b91507f4e4f545f455849535400000000000000000000000000000000000000000000006000830152602082019050919050565b6000613db2602183614652565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613e18601d83614663565b91507f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c0000006000830152601d82019050919050565b6000613e58602a83614663565b91507f227d2c207b2274726169745f74797065223a20225061726d204c6576656c222c60008301527f2276616c7565223a2022000000000000000000000000000000000000000000006020830152602a82019050919050565b6000613ebe603183614652565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b6000613f24600983614652565b91507f4e4f545f4f574e455200000000000000000000000000000000000000000000006000830152602082019050919050565b6000613f64600e83614652565b91507f414c52454144595f4d494e5445440000000000000000000000000000000000006000830152602082019050919050565b6000613fa4600483614663565b91507f227d5d7d000000000000000000000000000000000000000000000000000000006000830152600482019050919050565b6000613fe4600183614663565b91507f2f000000000000000000000000000000000000000000000000000000000000006000830152600182019050919050565b61402081614824565b82525050565b61402f81614824565b82525050565b600061404082613783565b915061404c8289613521565b915061405782613aa7565b91506140638288613552565b915061406e82613fd7565b915061407a8287613521565b9150614085826138a9565b91506140918286613552565b915061409c82613677565b91506140a88285613521565b91506140b382613e4b565b91506140bf8284613552565b91506140ca82613f97565b9150819050979650505050505050565b60006140e582613e0b565b91506140f18284613521565b915081905092915050565b60006020820190506141116000830184613433565b92915050565b600060808201905061412c6000830187613433565b6141396020830186613433565b6141466040830185614026565b818103606083015261415881846134af565b905095945050505050565b6000602082019050818103600083015261417d8184613442565b905092915050565b6000604082019050818103600083015261419f8185613442565b905081810360208301526141b38184613442565b90509392505050565b60006020820190506141d160008301846134a0565b92915050565b600060208201905081810360008301526141f181846134e8565b905092915050565b60006020820190508181036000830152614212816135d1565b9050919050565b6000602082019050818103600083015261423281613611565b9050919050565b60006020820190508181036000830152614252816136dd565b9050919050565b6000602082019050818103600083015261427281613743565b9050919050565b60006020820190508181036000830152614292816137c3565b9050919050565b600060208201905081810360008301526142b281613829565b9050919050565b600060208201905081810360008301526142d281613869565b9050919050565b600060208201905081810360008301526142f28161390f565b9050919050565b6000602082019050818103600083015261431281613975565b9050919050565b60006020820190508181036000830152614332816139db565b9050919050565b6000602082019050818103600083015261435281613a41565b9050919050565b6000602082019050818103600083015261437281613b33565b9050919050565b6000602082019050818103600083015261439281613b73565b9050919050565b600060208201905081810360008301526143b281613bd9565b9050919050565b600060208201905081810360008301526143d281613c19565b9050919050565b600060208201905081810360008301526143f281613c59565b9050919050565b6000602082019050818103600083015261441281613cbf565b9050919050565b6000602082019050818103600083015261443281613d25565b9050919050565b6000602082019050818103600083015261445281613d65565b9050919050565b6000602082019050818103600083015261447281613da5565b9050919050565b6000602082019050818103600083015261449281613eb1565b9050919050565b600060208201905081810360008301526144b281613f17565b9050919050565b600060208201905081810360008301526144d281613f57565b9050919050565b60006020820190506144ee6000830184614026565b92915050565b6000604051905081810181811067ffffffffffffffff8211171561451b5761451a614985565b5b8060405250919050565b600067ffffffffffffffff8211156145405761453f614985565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561456c5761456b614985565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561459857614597614985565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff8211156145c8576145c7614985565b5b601f19601f8301169050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061467982614824565b915061468483614824565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156146b9576146b86148f8565b5b828201905092915050565b60006146cf8261482e565b91506146da8361482e565b92508260ff038211156146f0576146ef6148f8565b5b828201905092915050565b600061470682614824565b915061471183614824565b92508261472157614720614927565b5b828204905092915050565b600061473782614824565b915061474283614824565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561477b5761477a6148f8565b5b828202905092915050565b600061479182614824565b915061479c83614824565b9250828210156147af576147ae6148f8565b5b828203905092915050565b60006147c582614804565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b8381101561486857808201518184015260208101905061484d565b83811115614877576000848401525b50505050565b6000600282049050600182168061489557607f821691505b602082108114156148a9576148a8614956565b5b50919050565b60006148ba82614824565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156148ed576148ec6148f8565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b6149ce816147ba565b81146149d957600080fd5b50565b6149e5816147cc565b81146149f057600080fd5b50565b6149fc816147d8565b8114614a0757600080fd5b50565b614a1381614824565b8114614a1e57600080fd5b5056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220a84daa193c6df315f876c42a28719dd9261e40363b7580797c14bca0ad83283a64736f6c63430008000033

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

000000000000000000000000fee84e716845ec7423c863fc72881804f8bd8441

-----Decoded View---------------
Arg [0] : nfogAddress (address): 0xfEe84e716845ec7423c863fc72881804F8BD8441

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


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.