ETH Price: $2,470.96 (+0.89%)
 

Overview

Max Total Supply

4,096 MND

Holders

1,842

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 MND
0xe14d8853cC2095F26CF0b517FBE7160B301d0dfA
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

MondrianNFT is a Collection of 4096 Provably-Rare Generative Mondrian-Inspired Vector NFT Abstracts. Spanning the entirety of Piet's multiple styles, phases, and formats, with rarity that reflects his real-world collection. Art101.io's MondrianNFT accurately reflects each phase of Mondrian's collection as generative infinitely scalable vector graphics. (PNG included) Created by Carty Sewill (CartySewill.com) of Art101 (https://art101.io), it's much more than computer-generated blocks. With an added crypto-spin, Mondrian NFT is a fun high-fidelity homage. MondrianNFT.io is a humanist take on generative art. Each one has small imperfections like cracked paint and jagged lines. You can easily edit and inspect your MondrianNFT with FOSS software like Inkscape.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Mondrian

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
No with 200 runs

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

import "openzeppelin-solidity/contracts/token/ERC721/ERC721.sol";
import "openzeppelin-solidity/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "openzeppelin-solidity/contracts/token/ERC721/extensions/ERC721URIStorage.sol";
import "openzeppelin-solidity/contracts/access/Ownable.sol";
import "openzeppelin-solidity/contracts/utils/math/SafeMath.sol";

import "./NonFungibleSoup.sol";


// Mondrian
contract Mondrian is ERC721, ERC721Enumerable, ERC721URIStorage, Ownable {
    using SafeMath for uint256;
    NonFungibleSoup private _nfs;

    // Keep track of minted NFT indexes and respective token Ids (and vice-versa)
    mapping (uint256 => uint256) tokenIdsByIndex;
    mapping (uint256 => uint256) tokenIndexesById;

    // Keep track of wallet mints to limit wallets loading up
    mapping (address => uint256) phaseOneMondrianBalanceByAddress;
    mapping (address => uint256) phaseTwoMondrianBalanceByAddress;

    // Keep track of senders and soup balances
    mapping (address => uint256) soupBalanceByAddress;
    mapping (uint256 => address) soupAddressByTokenId;

    // Define starting values for contract
    bool public salesActive = false;
    bool public soupHodlersMode = true;
    bool public maxItemsEnforced = true;
    string public baseURI = "ipfs://QmezMRKpwQvYMaBoJBCmjD58f7RkYQvirKUccsCN7U7Ksg/";
    uint256 public RAND_PRIME;
    uint256 public TIMESTAMP;
    uint256 public constant maxItemPurchase = 3;
    uint256 public constant MAX_ITEMS = 4096;

    // Instantiate NFS so we can check for soup hodlers
    constructor(NonFungibleSoup nfs) ERC721("Mondrian", "MND") {
        _nfs = nfs;
    }

    // Get balances from the tally and not necessarily balanceOf
    function getMondrianBalance(bool phaseTwo, address _a) public view returns(uint256) {
        if (phaseTwo) {
            return phaseTwoMondrianBalanceByAddress[_a];
        } else {
            return phaseOneMondrianBalanceByAddress[_a];
        }
    }

    // Return tokenId based upon provided index
    function getTokenId(uint256 index) public view returns(uint256) {
        require(index > 0 && index <= MAX_ITEMS, "Provided token index is not allowed");
        return tokenIdsByIndex[index];
    }

    // Return token index based upon provided tokenId
    function getTokenIndex(uint256 tokenId) public view returns(uint256) {
        require(tokenId > 0 && tokenId <= MAX_ITEMS, "Provided tokenId is not allowed");
        return tokenIndexesById[tokenId];
    }

    // Check if a given index has been minted already
    function checkIndexIsMinted(uint256 index) public view returns(bool) {
        require(index > 0 && index <= MAX_ITEMS, "Provided token index is not allowed");
        return tokenIdsByIndex[index] > 0;
    }

    // Check if a given tokenId has been minted already
    function checkTokenIsMinted(uint256 tokenId) public view returns(bool) {
        require(tokenId > 0 && tokenId <= MAX_ITEMS, "Provided tokenId is not allowed");
        return tokenIndexesById[tokenId] > 0;
    }

    // Check if a given Non-Fungible Soup tokenId has been minted already
    function checkSoupTokenIsClaimed(uint256 tokenId) public view returns(bool) {
        require(tokenId > 0 && tokenId <= 2048, "Provided tokenId is not allowed");
        if (soupAddressByTokenId[tokenId] == address(0x0)) {
            return false;
        } else {
            return true;
        }
    }

    // bool toggles

    function toggleSale() external onlyOwner {
        if (salesActive) {
            salesActive = false;
        } else {
            salesActive = true;
        }
    }

    function toggleMaxEnforced() external onlyOwner {
        if (maxItemsEnforced) {
            maxItemsEnforced = false;
        } else {
            maxItemsEnforced = true;
        }
    }

    function toggleSHM() external onlyOwner {
        if (soupHodlersMode) {
            soupHodlersMode = false;
        } else {
            soupHodlersMode = true;
        }
    }

    // Specify a randomly generated prime number (off-chain), only once
    function setRandPrime(uint256 randPrime) public onlyOwner {
        if (RAND_PRIME == 0) {
            RAND_PRIME = randPrime;
        }
    }

    // Set a new base metadata URI to be used for all NFTs
    function setBaseURI(string memory URI) public onlyOwner {
        baseURI = URI;
    }

    // Mint N number of items when invoked
    // include tokenIds for soup hodlers as well
    function mintItem(
      uint256 numberOfTokens,
      uint256[] memory tokenIds
    ) public payable {
        // First do "soup hodler" mode check
        // Ensure sender is a soup hodler and save tokens to prevent reuse
        if (soupHodlersMode) {
            require(tokenIds.length > 0, "Must provide at least 1 token id");
            require(tokenIds.length == numberOfTokens, "Number of tokens requested must be equal to number of soup token Ids provided");
            // Loop through the provided tokens to ensure the sender owns them
            for(uint256 i = 0; i < tokenIds.length; i++) {
                uint256 tokenId = tokenIds[i];
                require(_nfs.ownerOf(tokenId) == msg.sender, "Sender is not the owner of provided soup");
                // Lock in token Id to sender's address and update soup balance
                if (soupAddressByTokenId[tokenId] == address(0x0)) {
                    soupAddressByTokenId[tokenId] = msg.sender;
                    soupBalanceByAddress[msg.sender] = soupBalanceByAddress[msg.sender].add(1);
                } else {
                    require(soupAddressByTokenId[tokenId] == msg.sender, "Token already associated with another sender");
                }
                require(totalSupply().add(numberOfTokens) <= _nfs.totalSupply(), "Cannot mint more Mondrians than Soups that exist");
            }

            uint256 allottedMints = soupBalanceByAddress[msg.sender] - phaseOneMondrianBalanceByAddress[msg.sender];
            require(numberOfTokens <= allottedMints, "Minting would exceed allowance set in contract based upon your balance of Soups (NFS)");
        } else {
            if (maxItemsEnforced) {
                require(phaseTwoMondrianBalanceByAddress[msg.sender].add(numberOfTokens) <= maxItemPurchase, "Minting would exceed allowance set in contract since the max is being enforced");
            }
        }

        // Ensure other conditions are met before proceeding
        require(RAND_PRIME > 0, "Random prime number has not been defined");
        require(salesActive, "Sale must be active");
        require(numberOfTokens <= maxItemPurchase, "Can only mint 3 items at a time");
        require(totalSupply().add(numberOfTokens) <= MAX_ITEMS, "Minting would exceed max supply");

        // Specify the block timestamp of the first mint to define NFT distribution
        if (TIMESTAMP == 0) {
            TIMESTAMP = block.timestamp;
        }

        // Mint i tokens where i is specified by function invoker
        for(uint256 i = 0; i < numberOfTokens; i++) {
            uint256 index = totalSupply() + 1; // Start at 1
            uint256 seq = RAND_PRIME * index;
            uint256 seqOffset = seq + TIMESTAMP;
            uint256 tokenId = (seqOffset % MAX_ITEMS) + 1; // Prevent tokenId 0
            if (totalSupply() < MAX_ITEMS) {
                // Add some "just in case" checks to prevent collisions
                require(!checkIndexIsMinted(index), "Index has already been used to mint");
                require(!checkTokenIsMinted(tokenId), "TokenId has already been minted and transferred");

                // Mint and transfer to buyer
                _safeMint(msg.sender, tokenId);

                // Save the respective index and token Id for future reference
                tokenIdsByIndex[index] = tokenId;
                tokenIndexesById[tokenId] = index;

                // Tally mints per address - SHM toggle allows for reset to 0 for hodlers
                if (soupHodlersMode) {
                    phaseOneMondrianBalanceByAddress[msg.sender] = phaseOneMondrianBalanceByAddress[msg.sender].add(1);
                } else {
                    phaseTwoMondrianBalanceByAddress[msg.sender] = phaseTwoMondrianBalanceByAddress[msg.sender].add(1);
                }

            }
        }
    }



    // Override the below functions from parent contracts

    function tokenURI(uint256 tokenId)
        public
        view
        override(ERC721, ERC721URIStorage)
        returns (string memory)
    {
        return string(abi.encodePacked(baseURI, Strings.toString(tokenId)));
    }

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

    function _burn(uint256 tokenId)
        internal
        override(ERC721, ERC721URIStorage)
    {
        super._burn(tokenId);
    }

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

File 2 of 16 : NonFungibleSoup.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "openzeppelin-solidity/contracts/token/ERC721/ERC721.sol";
import "openzeppelin-solidity/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "openzeppelin-solidity/contracts/token/ERC721/extensions/ERC721URIStorage.sol";
import "openzeppelin-solidity/contracts/access/Ownable.sol";
import "openzeppelin-solidity/contracts/utils/math/SafeMath.sol";


contract NonFungibleSoup is ERC721, ERC721Enumerable, ERC721URIStorage, Ownable {
    using SafeMath for uint256;

    // Keep track of minted NFT indexes and respective token Ids (and vice-versa)
    mapping (uint256 => uint256) tokenIdsByIndex;
    mapping (uint256 => uint256) tokenIndexesById;

    // Define starting values for contract
    bool public saleIsActive = true;
    string public baseURI = "ipfs://QmazqxBLBEFTRFTC8CPPAN8bKnGXBFP887StS3kdN9YzU2/";
    uint256 public RAND_PRIME;
    uint256 public TIMESTAMP;
    uint256 public constant maxItemPurchase = 3;
    uint256 public constant MAX_ITEMS = 2048;

    constructor() ERC721("Non-Fungible Soup", "NFS") {}

    // Withdraw contract balance to creator (mnemonic seed address 0)
    function withdraw() public onlyOwner {
        uint256 balance = address(this).balance;
        payable(msg.sender).transfer(balance);
    }

    // Return tokenId based upon provided index
    function getTokenId(uint256 index) public view returns(uint256) {
        require(index > 0 && index <= MAX_ITEMS, "Provided token index is not allowed");
        return tokenIdsByIndex[index];
    }

    // Return token index based upon provided tokenId
    function getTokenIndex(uint256 tokenId) public view returns(uint256) {
        require(tokenId > 0 && tokenId <= MAX_ITEMS, "Provided tokenId is not allowed");
        return tokenIndexesById[tokenId];
    }

    // Check if a given index has been minted already
    function checkIndexIsMinted(uint256 index) public view returns(bool) {
        require(index > 0 && index <= MAX_ITEMS, "Provided token index is not allowed");
        return tokenIdsByIndex[index] > 0;
    }

    // Check if a given tokenId has been minted already
    function checkTokenIsMinted(uint256 tokenId) public view returns(bool) {
        require(tokenId > 0 && tokenId <= MAX_ITEMS, "Provided tokenId is not allowed");
        return tokenIndexesById[tokenId] > 0;
    }

    // Explicit functions to pause or resume the sale of Good Boi NFTs
    function pauseSale() external onlyOwner {
        if (saleIsActive) {
            saleIsActive = false;
        }
    }

    function resumeSale() external onlyOwner {
        if (!saleIsActive) {
            saleIsActive = true;
        }
    }

    // Specify a randomly generated prime number (off-chain), only once
    function setRandPrime(uint256 randPrime) public onlyOwner {
        if (RAND_PRIME == 0) {
            RAND_PRIME = randPrime;
        }
    }

    // Set a new base metadata URI to be used for all NFTs in case of emergency
    function setBaseURI(string memory URI) public onlyOwner {
        baseURI = URI;
    }

    // Mint N number of items when invoked along with specified ETH
    function mintItem(uint256 numberOfTokens) public payable {
        // Ensure conditions are met before proceeding
        require(RAND_PRIME > 0, "Random prime number has not been defined in the contract");
        require(saleIsActive, "Sale must be active to mint items");
        require(numberOfTokens <= maxItemPurchase, "Can only mint 3 items at a time");
        require(totalSupply().add(numberOfTokens) <= MAX_ITEMS, "Purchase would exceed max supply");

        // Specify the block timestamp of the first mint to define NFT distribution
        if (TIMESTAMP == 0) {
            TIMESTAMP = block.timestamp;
        }

        // Mint i tokens where i is specified by function invoker
        for(uint256 i = 0; i < numberOfTokens; i++) {
            uint256 index = totalSupply() + 1; // Start at 1
            uint256 seq = RAND_PRIME * index;
            uint256 seqOffset = seq + TIMESTAMP;
            uint256 tokenId = (seqOffset % MAX_ITEMS) + 1; // Prevent tokenId 0
            if (totalSupply() < MAX_ITEMS) {
                // Add some "just in case" checks to prevent collisions
                require(!checkIndexIsMinted(index), "Index has already been used to mint");
                require(!checkTokenIsMinted(tokenId), "TokenId has already been minted and transferred");

                // Mint and transfer to buyer
                _safeMint(msg.sender, tokenId);

                // Save the respective index and token Id for future reference
                tokenIdsByIndex[index] = tokenId;
                tokenIndexesById[tokenId] = index;
            }
        }
    }



    // Override the below functions from parent contracts

    function tokenURI(uint256 tokenId)
        public
        view
        override(ERC721, ERC721URIStorage)
        returns (string memory)
    {
        return string(abi.encodePacked(baseURI, Strings.toString(tokenId)));
    }

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

    function _burn(uint256 tokenId)
        internal
        override(ERC721, ERC721URIStorage)
    {
        super._burn(tokenId);
    }

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

File 3 of 16 : SafeMath.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

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

File 5 of 16 : 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 6 of 16 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant alphabet = "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] = alphabet[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }

}

File 7 of 16 : 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) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

File 8 of 16 : 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;
        // solhint-disable-next-line no-inline-assembly
        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");

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private 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

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 9 of 16 : 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 10 of 16 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {

    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

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

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

File 11 of 16 : ERC721URIStorage.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../ERC721.sol";

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

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

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

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

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

        return super.tokenURI(tokenId);
    }

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

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

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

File 12 of 16 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 13 of 16 : 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 14 of 16 : 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 15 of 16 : 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}. 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(to).onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    // solhint-disable-next-line no-inline-assembly
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

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

File 16 of 16 : 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 () {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), 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 {
        emit OwnershipTransferred(_owner, address(0));
        _owner = 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");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

Settings
{
  "remappings": [],
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "evmVersion": "london",
  "libraries": {},
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract NonFungibleSoup","name":"nfs","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_ITEMS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RAND_PRIME","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TIMESTAMP","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"checkIndexIsMinted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"checkSoupTokenIsClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"checkTokenIsMinted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"bool","name":"phaseTwo","type":"bool"},{"internalType":"address","name":"_a","type":"address"}],"name":"getMondrianBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getTokenIndex","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":[],"name":"maxItemPurchase","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxItemsEnforced","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"mintItem","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"salesActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"URI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"randPrime","type":"uint256"}],"name":"setRandPrime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"soupHodlersMode","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":[],"name":"toggleMaxEnforced","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleSHM","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526000601360006101000a81548160ff0219169083151502179055506001601360016101000a81548160ff0219169083151502179055506001601360026101000a81548160ff02191690831515021790555060405180606001604052806036815260200162005a7b6036913960149080519060200190620000869291906200025b565b503480156200009457600080fd5b5060405162005ab138038062005ab18339818101604052810190620000ba919062000322565b6040518060400160405280600881526020017f4d6f6e647269616e0000000000000000000000000000000000000000000000008152506040518060400160405280600381526020017f4d4e44000000000000000000000000000000000000000000000000000000000081525081600090805190602001906200013e9291906200025b565b508060019080519060200190620001579291906200025b565b50505060006200016c6200025360201b60201c565b905080600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35080600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505062000420565b600033905090565b82805462000269906200039c565b90600052602060002090601f0160209004810192826200028d5760008555620002d9565b82601f10620002a857805160ff1916838001178555620002d9565b82800160010185558215620002d9579182015b82811115620002d8578251825591602001919060010190620002bb565b5b509050620002e89190620002ec565b5090565b5b8082111562000307576000816000905550600101620002ed565b5090565b6000815190506200031c8162000406565b92915050565b6000602082840312156200033b576200033a62000401565b5b60006200034b848285016200030b565b91505092915050565b600062000361826200037c565b9050919050565b6000620003758262000354565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006002820490506001821680620003b557607f821691505b60208210811415620003cc57620003cb620003d2565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600080fd5b620004118162000368565b81146200041d57600080fd5b50565b61564b80620004306000396000f3fe6080604052600436106102305760003560e01c80636352211e1161012e57806395d89b41116100ab578063d95b01531161006f578063d95b015314610844578063e093c0e31461086f578063e985e9c5146108ac578063f2fde38b146108e9578063f5a409ec1461091257610230565b806395d89b411461075f578063a22cb4651461078a578063ae1322d3146107b3578063b88d4fde146107de578063c87b56dd1461080757610230565b8063749e480d116100f2578063749e480d146106995780637d8966e4146106c45780637dbf6a36146106db5780638509e790146106f75780638da5cb5b1461073457610230565b80636352211e146105c65780636c0360eb1461060357806370a082311461062e578063715018a61461066b57806373df23101461068257610230565b806333c9de00116101bc5780634a6bfa2d116101805780634a6bfa2d146104df5780634f6ccce71461050a57806355f804b31461054757806357d4c4ee146105705780635ed52cbe1461059b57610230565b806333c9de00146103fa5780633a663c801461043757806341b716e61461047457806342842e0e1461048b578063466b7639146104b457610230565b806314ff5ea31161020357806314ff5ea31461030357806318160ddd146103405780631aca3e151461036b57806323b872dd146103945780632f745c59146103bd57610230565b806301ffc9a71461023557806306fdde0314610272578063081812fc1461029d578063095ea7b3146102da575b600080fd5b34801561024157600080fd5b5061025c60048036038101906102579190613bdb565b61094f565b604051610269919061436e565b60405180910390f35b34801561027e57600080fd5b50610287610961565b6040516102949190614389565b60405180910390f35b3480156102a957600080fd5b506102c460048036038101906102bf9190613c7e565b6109f3565b6040516102d19190614307565b60405180910390f35b3480156102e657600080fd5b5061030160048036038101906102fc9190613b5b565b610a78565b005b34801561030f57600080fd5b5061032a60048036038101906103259190613c7e565b610b90565b60405161033791906147ab565b60405180910390f35b34801561034c57600080fd5b50610355610bfd565b60405161036291906147ab565b60405180910390f35b34801561037757600080fd5b50610392600480360381019061038d9190613c7e565b610c0a565b005b3480156103a057600080fd5b506103bb60048036038101906103b69190613a45565b610c9c565b005b3480156103c957600080fd5b506103e460048036038101906103df9190613b5b565b610cfc565b6040516103f191906147ab565b60405180910390f35b34801561040657600080fd5b50610421600480360381019061041c9190613c7e565b610da1565b60405161042e919061436e565b60405180910390f35b34801561044357600080fd5b5061045e60048036038101906104599190613c7e565b610e11565b60405161046b91906147ab565b60405180910390f35b34801561048057600080fd5b50610489610e7e565b005b34801561049757600080fd5b506104b260048036038101906104ad9190613a45565b610f4d565b005b3480156104c057600080fd5b506104c9610f6d565b6040516104d691906147ab565b60405180910390f35b3480156104eb57600080fd5b506104f4610f73565b604051610501919061436e565b60405180910390f35b34801561051657600080fd5b50610531600480360381019061052c9190613c7e565b610f86565b60405161053e91906147ab565b60405180910390f35b34801561055357600080fd5b5061056e60048036038101906105699190613c35565b610ff7565b005b34801561057c57600080fd5b5061058561108d565b60405161059291906147ab565b60405180910390f35b3480156105a757600080fd5b506105b0611093565b6040516105bd919061436e565b60405180910390f35b3480156105d257600080fd5b506105ed60048036038101906105e89190613c7e565b6110a6565b6040516105fa9190614307565b60405180910390f35b34801561060f57600080fd5b50610618611158565b6040516106259190614389565b60405180910390f35b34801561063a57600080fd5b50610655600480360381019061065091906139ab565b6111e6565b60405161066291906147ab565b60405180910390f35b34801561067757600080fd5b5061068061129e565b005b34801561068e57600080fd5b506106976113db565b005b3480156106a557600080fd5b506106ae6114aa565b6040516106bb91906147ab565b60405180910390f35b3480156106d057600080fd5b506106d96114b0565b005b6106f560048036038101906106f09190613cd8565b61157f565b005b34801561070357600080fd5b5061071e60048036038101906107199190613c7e565b611fd7565b60405161072b919061436e565b60405180910390f35b34801561074057600080fd5b506107496120a4565b6040516107569190614307565b60405180910390f35b34801561076b57600080fd5b506107746120ce565b6040516107819190614389565b60405180910390f35b34801561079657600080fd5b506107b160048036038101906107ac9190613b1b565b612160565b005b3480156107bf57600080fd5b506107c86122e1565b6040516107d591906147ab565b60405180910390f35b3480156107ea57600080fd5b5061080560048036038101906108009190613a98565b6122e6565b005b34801561081357600080fd5b5061082e60048036038101906108299190613c7e565b612348565b60405161083b9190614389565b60405180910390f35b34801561085057600080fd5b5061085961237c565b604051610866919061436e565b60405180910390f35b34801561087b57600080fd5b5061089660048036038101906108919190613c7e565b61238f565b6040516108a3919061436e565b60405180910390f35b3480156108b857600080fd5b506108d360048036038101906108ce9190613a05565b6123ff565b6040516108e0919061436e565b60405180910390f35b3480156108f557600080fd5b50610910600480360381019061090b91906139ab565b612493565b005b34801561091e57600080fd5b5061093960048036038101906109349190613b9b565b61263f565b60405161094691906147ab565b60405180910390f35b600061095a826126d7565b9050919050565b60606000805461097090614a9c565b80601f016020809104026020016040519081016040528092919081815260200182805461099c90614a9c565b80156109e95780601f106109be576101008083540402835291602001916109e9565b820191906000526020600020905b8154815290600101906020018083116109cc57829003601f168201915b5050505050905090565b60006109fe82612751565b610a3d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a349061462b565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a83826110a6565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610af4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aeb906146ab565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b136127bd565b73ffffffffffffffffffffffffffffffffffffffff161480610b425750610b4181610b3c6127bd565b6123ff565b5b610b81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b789061454b565b60405180910390fd5b610b8b83836127c5565b505050565b60008082118015610ba357506110008211155b610be2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd9906144ab565b60405180910390fd5b600d6000838152602001908152602001600020549050919050565b6000600880549050905090565b610c126127bd565b73ffffffffffffffffffffffffffffffffffffffff16610c306120a4565b73ffffffffffffffffffffffffffffffffffffffff1614610c86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7d9061464b565b60405180910390fd5b60006015541415610c9957806015819055505b50565b610cad610ca76127bd565b8261287e565b610cec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ce39061470b565b60405180910390fd5b610cf783838361295c565b505050565b6000610d07836111e6565b8210610d48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3f906143cb565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b60008082118015610db457506110008211155b610df3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dea906144ab565b60405180910390fd5b6000600d600084815260200190815260200160002054119050919050565b60008082118015610e2457506110008211155b610e63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5a906146cb565b60405180910390fd5b600e6000838152602001908152602001600020549050919050565b610e866127bd565b73ffffffffffffffffffffffffffffffffffffffff16610ea46120a4565b73ffffffffffffffffffffffffffffffffffffffff1614610efa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ef19061464b565b60405180910390fd5b601360029054906101000a900460ff1615610f2f576000601360026101000a81548160ff021916908315150217905550610f4b565b6001601360026101000a81548160ff0219169083151502179055505b565b610f68838383604051806020016040528060008152506122e6565b505050565b60155481565b601360009054906101000a900460ff1681565b6000610f90610bfd565b8210610fd1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fc89061472b565b60405180910390fd5b60088281548110610fe557610fe4614c35565b5b90600052602060002001549050919050565b610fff6127bd565b73ffffffffffffffffffffffffffffffffffffffff1661101d6120a4565b73ffffffffffffffffffffffffffffffffffffffff1614611073576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161106a9061464b565b60405180910390fd5b80601490805190602001906110899291906136f7565b5050565b61100081565b601360019054906101000a900460ff1681565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561114f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611146906145ab565b60405180910390fd5b80915050919050565b6014805461116590614a9c565b80601f016020809104026020016040519081016040528092919081815260200182805461119190614a9c565b80156111de5780601f106111b3576101008083540402835291602001916111de565b820191906000526020600020905b8154815290600101906020018083116111c157829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611257576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124e9061456b565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6112a66127bd565b73ffffffffffffffffffffffffffffffffffffffff166112c46120a4565b73ffffffffffffffffffffffffffffffffffffffff161461131a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113119061464b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b6113e36127bd565b73ffffffffffffffffffffffffffffffffffffffff166114016120a4565b73ffffffffffffffffffffffffffffffffffffffff1614611457576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144e9061464b565b60405180910390fd5b601360019054906101000a900460ff161561148c576000601360016101000a81548160ff0219169083151502179055506114a8565b6001601360016101000a81548160ff0219169083151502179055505b565b60165481565b6114b86127bd565b73ffffffffffffffffffffffffffffffffffffffff166114d66120a4565b73ffffffffffffffffffffffffffffffffffffffff161461152c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115239061464b565b60405180910390fd5b601360009054906101000a900460ff1615611561576000601360006101000a81548160ff02191690831515021790555061157d565b6001601360006101000a81548160ff0219169083151502179055505b565b601360019054906101000a900460ff1615611b3c5760008151116115d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115cf9061452b565b60405180910390fd5b8181511461161b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116129061458b565b60405180910390fd5b60005b8151811015611a6457600082828151811061163c5761163b614c35565b5b602002602001015190503373ffffffffffffffffffffffffffffffffffffffff16600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b81526004016116b891906147ab565b60206040518083038186803b1580156116d057600080fd5b505afa1580156116e4573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061170891906139d8565b73ffffffffffffffffffffffffffffffffffffffff161461175e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117559061468b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff166012600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156118b357336012600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555061186b6001601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612bb890919063ffffffff16565b601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611955565b3373ffffffffffffffffffffffffffffffffffffffff166012600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611954576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161194b9061478b565b60405180910390fd5b5b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b1580156119bd57600080fd5b505afa1580156119d1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119f59190613cab565b611a0f85611a01610bfd565b612bb890919063ffffffff16565b1115611a50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a479061450b565b60405180910390fd5b508080611a5c90614aff565b91505061161e565b506000600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611af191906149b2565b905080831115611b36576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b2d9061474b565b60405180910390fd5b50611be8565b601360029054906101000a900460ff1615611be7576003611ba583601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612bb890919063ffffffff16565b1115611be6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bdd906146eb565b60405180910390fd5b5b5b600060155411611c2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c249061444b565b60405180910390fd5b601360009054906101000a900460ff16611c7c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c73906143ab565b60405180910390fd5b6003821115611cc0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cb79061476b565b60405180910390fd5b611000611cdd83611ccf610bfd565b612bb890919063ffffffff16565b1115611d1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d15906145cb565b60405180910390fd5b60006016541415611d3157426016819055505b60005b82811015611fd25760006001611d48610bfd565b611d5291906148d1565b9050600081601554611d649190614958565b9050600060165482611d7691906148d1565b90506000600161100083611d8a9190614b48565b611d9491906148d1565b9050611000611da1610bfd565b1015611fbb57611db084610da1565b15611df0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611de7906144cb565b60405180910390fd5b611df98161238f565b15611e39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e30906145eb565b60405180910390fd5b611e433382612bce565b80600d60008681526020019081526020016000208190555083600e600083815260200190815260200160002081905550601360019054906101000a900460ff1615611f2357611edb6001600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612bb890919063ffffffff16565b600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611fba565b611f766001601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612bb890919063ffffffff16565b601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b5b505050508080611fca90614aff565b915050611d34565b505050565b60008082118015611fea57506108008211155b612029576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612020906146cb565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff166012600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561209a576000905061209f565b600190505b919050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546120dd90614a9c565b80601f016020809104026020016040519081016040528092919081815260200182805461210990614a9c565b80156121565780601f1061212b57610100808354040283529160200191612156565b820191906000526020600020905b81548152906001019060200180831161213957829003601f168201915b5050505050905090565b6121686127bd565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156121d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121cd9061448b565b60405180910390fd5b80600560006121e36127bd565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166122906127bd565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516122d5919061436e565b60405180910390a35050565b600381565b6122f76122f16127bd565b8361287e565b612336576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161232d9061470b565b60405180910390fd5b61234284848484612bec565b50505050565b6060601461235583612c48565b6040516020016123669291906142e3565b6040516020818303038152906040529050919050565b601360029054906101000a900460ff1681565b600080821180156123a257506110008211155b6123e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123d8906146cb565b60405180910390fd5b6000600e600084815260200190815260200160002054119050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61249b6127bd565b73ffffffffffffffffffffffffffffffffffffffff166124b96120a4565b73ffffffffffffffffffffffffffffffffffffffff161461250f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125069061464b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561257f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125769061440b565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000821561268e57601060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506126d1565b600f60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490505b92915050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061274a575061274982612da9565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612838836110a6565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061288982612751565b6128c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128bf906144eb565b60405180910390fd5b60006128d3836110a6565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061294257508373ffffffffffffffffffffffffffffffffffffffff1661292a846109f3565b73ffffffffffffffffffffffffffffffffffffffff16145b80612953575061295281856123ff565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661297c826110a6565b73ffffffffffffffffffffffffffffffffffffffff16146129d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129c99061466b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612a42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a399061446b565b60405180910390fd5b612a4d838383612e8b565b612a586000826127c5565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612aa891906149b2565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612aff91906148d1565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60008183612bc691906148d1565b905092915050565b612be8828260405180602001604052806000815250612e9b565b5050565b612bf784848461295c565b612c0384848484612ef6565b612c42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c39906143eb565b60405180910390fd5b50505050565b60606000821415612c90576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612da4565b600082905060005b60008214612cc2578080612cab90614aff565b915050600a82612cbb9190614927565b9150612c98565b60008167ffffffffffffffff811115612cde57612cdd614c64565b5b6040519080825280601f01601f191660200182016040528015612d105781602001600182028036833780820191505090505b5090505b60008514612d9d57600182612d2991906149b2565b9150600a85612d389190614b48565b6030612d4491906148d1565b60f81b818381518110612d5a57612d59614c35565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612d969190614927565b9450612d14565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612e7457507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612e845750612e838261308d565b5b9050919050565b612e968383836130f7565b505050565b612ea5838361320b565b612eb26000848484612ef6565b612ef1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ee8906143eb565b60405180910390fd5b505050565b6000612f178473ffffffffffffffffffffffffffffffffffffffff166133d9565b15613080578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612f406127bd565b8786866040518563ffffffff1660e01b8152600401612f629493929190614322565b602060405180830381600087803b158015612f7c57600080fd5b505af1925050508015612fad57506040513d601f19601f82011682018060405250810190612faa9190613c08565b60015b613030573d8060008114612fdd576040519150601f19603f3d011682016040523d82523d6000602084013e612fe2565b606091505b50600081511415613028576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161301f906143eb565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613085565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6131028383836133ec565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561314557613140816133f1565b613184565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461318357613182838261343a565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156131c7576131c2816135a7565b613206565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614613205576132048282613678565b5b5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561327b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132729061460b565b60405180910390fd5b61328481612751565b156132c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132bb9061442b565b60405180910390fd5b6132d060008383612e8b565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461332091906148d1565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613447846111e6565b61345191906149b2565b9050600060076000848152602001908152602001600020549050818114613536576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506135bb91906149b2565b90506000600960008481526020019081526020016000205490506000600883815481106135eb576135ea614c35565b5b90600052602060002001549050806008838154811061360d5761360c614c35565b5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548061365c5761365b614c06565b5b6001900381819060005260206000200160009055905550505050565b6000613683836111e6565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b82805461370390614a9c565b90600052602060002090601f016020900481019282613725576000855561376c565b82601f1061373e57805160ff191683800117855561376c565b8280016001018555821561376c579182015b8281111561376b578251825591602001919060010190613750565b5b509050613779919061377d565b5090565b5b8082111561379657600081600090555060010161377e565b5090565b60006137ad6137a8846147eb565b6147c6565b905080838252602082019050828560208602820111156137d0576137cf614c98565b5b60005b8581101561380057816137e68882613981565b8452602084019350602083019250506001810190506137d3565b5050509392505050565b600061381d61381884614817565b6147c6565b90508281526020810184848401111561383957613838614c9d565b5b613844848285614a5a565b509392505050565b600061385f61385a84614848565b6147c6565b90508281526020810184848401111561387b5761387a614c9d565b5b613886848285614a5a565b509392505050565b60008135905061389d816155b9565b92915050565b6000815190506138b2816155b9565b92915050565b600082601f8301126138cd576138cc614c93565b5b81356138dd84826020860161379a565b91505092915050565b6000813590506138f5816155d0565b92915050565b60008135905061390a816155e7565b92915050565b60008151905061391f816155e7565b92915050565b600082601f83011261393a57613939614c93565b5b813561394a84826020860161380a565b91505092915050565b600082601f83011261396857613967614c93565b5b813561397884826020860161384c565b91505092915050565b600081359050613990816155fe565b92915050565b6000815190506139a5816155fe565b92915050565b6000602082840312156139c1576139c0614ca7565b5b60006139cf8482850161388e565b91505092915050565b6000602082840312156139ee576139ed614ca7565b5b60006139fc848285016138a3565b91505092915050565b60008060408385031215613a1c57613a1b614ca7565b5b6000613a2a8582860161388e565b9250506020613a3b8582860161388e565b9150509250929050565b600080600060608486031215613a5e57613a5d614ca7565b5b6000613a6c8682870161388e565b9350506020613a7d8682870161388e565b9250506040613a8e86828701613981565b9150509250925092565b60008060008060808587031215613ab257613ab1614ca7565b5b6000613ac08782880161388e565b9450506020613ad18782880161388e565b9350506040613ae287828801613981565b925050606085013567ffffffffffffffff811115613b0357613b02614ca2565b5b613b0f87828801613925565b91505092959194509250565b60008060408385031215613b3257613b31614ca7565b5b6000613b408582860161388e565b9250506020613b51858286016138e6565b9150509250929050565b60008060408385031215613b7257613b71614ca7565b5b6000613b808582860161388e565b9250506020613b9185828601613981565b9150509250929050565b60008060408385031215613bb257613bb1614ca7565b5b6000613bc0858286016138e6565b9250506020613bd18582860161388e565b9150509250929050565b600060208284031215613bf157613bf0614ca7565b5b6000613bff848285016138fb565b91505092915050565b600060208284031215613c1e57613c1d614ca7565b5b6000613c2c84828501613910565b91505092915050565b600060208284031215613c4b57613c4a614ca7565b5b600082013567ffffffffffffffff811115613c6957613c68614ca2565b5b613c7584828501613953565b91505092915050565b600060208284031215613c9457613c93614ca7565b5b6000613ca284828501613981565b91505092915050565b600060208284031215613cc157613cc0614ca7565b5b6000613ccf84828501613996565b91505092915050565b60008060408385031215613cef57613cee614ca7565b5b6000613cfd85828601613981565b925050602083013567ffffffffffffffff811115613d1e57613d1d614ca2565b5b613d2a858286016138b8565b9150509250929050565b613d3d816149e6565b82525050565b613d4c816149f8565b82525050565b6000613d5d8261488e565b613d6781856148a4565b9350613d77818560208601614a69565b613d8081614cac565b840191505092915050565b6000613d9682614899565b613da081856148b5565b9350613db0818560208601614a69565b613db981614cac565b840191505092915050565b6000613dcf82614899565b613dd981856148c6565b9350613de9818560208601614a69565b80840191505092915050565b60008154613e0281614a9c565b613e0c81866148c6565b94506001821660008114613e275760018114613e3857613e6b565b60ff19831686528186019350613e6b565b613e4185614879565b60005b83811015613e6357815481890152600182019150602081019050613e44565b838801955050505b50505092915050565b6000613e816013836148b5565b9150613e8c82614cbd565b602082019050919050565b6000613ea4602b836148b5565b9150613eaf82614ce6565b604082019050919050565b6000613ec76032836148b5565b9150613ed282614d35565b604082019050919050565b6000613eea6026836148b5565b9150613ef582614d84565b604082019050919050565b6000613f0d601c836148b5565b9150613f1882614dd3565b602082019050919050565b6000613f306028836148b5565b9150613f3b82614dfc565b604082019050919050565b6000613f536024836148b5565b9150613f5e82614e4b565b604082019050919050565b6000613f766019836148b5565b9150613f8182614e9a565b602082019050919050565b6000613f996023836148b5565b9150613fa482614ec3565b604082019050919050565b6000613fbc6023836148b5565b9150613fc782614f12565b604082019050919050565b6000613fdf602c836148b5565b9150613fea82614f61565b604082019050919050565b60006140026030836148b5565b915061400d82614fb0565b604082019050919050565b60006140256020836148b5565b915061403082614fff565b602082019050919050565b60006140486038836148b5565b915061405382615028565b604082019050919050565b600061406b602a836148b5565b915061407682615077565b604082019050919050565b600061408e604d836148b5565b9150614099826150c6565b606082019050919050565b60006140b16029836148b5565b91506140bc8261513b565b604082019050919050565b60006140d4601f836148b5565b91506140df8261518a565b602082019050919050565b60006140f7602f836148b5565b9150614102826151b3565b604082019050919050565b600061411a6020836148b5565b915061412582615202565b602082019050919050565b600061413d602c836148b5565b91506141488261522b565b604082019050919050565b60006141606020836148b5565b915061416b8261527a565b602082019050919050565b60006141836029836148b5565b915061418e826152a3565b604082019050919050565b60006141a66028836148b5565b91506141b1826152f2565b604082019050919050565b60006141c96021836148b5565b91506141d482615341565b604082019050919050565b60006141ec601f836148b5565b91506141f782615390565b602082019050919050565b600061420f604e836148b5565b915061421a826153b9565b606082019050919050565b60006142326031836148b5565b915061423d8261542e565b604082019050919050565b6000614255602c836148b5565b91506142608261547d565b604082019050919050565b60006142786055836148b5565b9150614283826154cc565b606082019050919050565b600061429b601f836148b5565b91506142a682615541565b602082019050919050565b60006142be602c836148b5565b91506142c98261556a565b604082019050919050565b6142dd81614a50565b82525050565b60006142ef8285613df5565b91506142fb8284613dc4565b91508190509392505050565b600060208201905061431c6000830184613d34565b92915050565b60006080820190506143376000830187613d34565b6143446020830186613d34565b61435160408301856142d4565b81810360608301526143638184613d52565b905095945050505050565b60006020820190506143836000830184613d43565b92915050565b600060208201905081810360008301526143a38184613d8b565b905092915050565b600060208201905081810360008301526143c481613e74565b9050919050565b600060208201905081810360008301526143e481613e97565b9050919050565b6000602082019050818103600083015261440481613eba565b9050919050565b6000602082019050818103600083015261442481613edd565b9050919050565b6000602082019050818103600083015261444481613f00565b9050919050565b6000602082019050818103600083015261446481613f23565b9050919050565b6000602082019050818103600083015261448481613f46565b9050919050565b600060208201905081810360008301526144a481613f69565b9050919050565b600060208201905081810360008301526144c481613f8c565b9050919050565b600060208201905081810360008301526144e481613faf565b9050919050565b6000602082019050818103600083015261450481613fd2565b9050919050565b6000602082019050818103600083015261452481613ff5565b9050919050565b6000602082019050818103600083015261454481614018565b9050919050565b600060208201905081810360008301526145648161403b565b9050919050565b600060208201905081810360008301526145848161405e565b9050919050565b600060208201905081810360008301526145a481614081565b9050919050565b600060208201905081810360008301526145c4816140a4565b9050919050565b600060208201905081810360008301526145e4816140c7565b9050919050565b60006020820190508181036000830152614604816140ea565b9050919050565b600060208201905081810360008301526146248161410d565b9050919050565b6000602082019050818103600083015261464481614130565b9050919050565b6000602082019050818103600083015261466481614153565b9050919050565b6000602082019050818103600083015261468481614176565b9050919050565b600060208201905081810360008301526146a481614199565b9050919050565b600060208201905081810360008301526146c4816141bc565b9050919050565b600060208201905081810360008301526146e4816141df565b9050919050565b6000602082019050818103600083015261470481614202565b9050919050565b6000602082019050818103600083015261472481614225565b9050919050565b6000602082019050818103600083015261474481614248565b9050919050565b600060208201905081810360008301526147648161426b565b9050919050565b600060208201905081810360008301526147848161428e565b9050919050565b600060208201905081810360008301526147a4816142b1565b9050919050565b60006020820190506147c060008301846142d4565b92915050565b60006147d06147e1565b90506147dc8282614ace565b919050565b6000604051905090565b600067ffffffffffffffff82111561480657614805614c64565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561483257614831614c64565b5b61483b82614cac565b9050602081019050919050565b600067ffffffffffffffff82111561486357614862614c64565b5b61486c82614cac565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006148dc82614a50565b91506148e783614a50565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561491c5761491b614b79565b5b828201905092915050565b600061493282614a50565b915061493d83614a50565b92508261494d5761494c614ba8565b5b828204905092915050565b600061496382614a50565b915061496e83614a50565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156149a7576149a6614b79565b5b828202905092915050565b60006149bd82614a50565b91506149c883614a50565b9250828210156149db576149da614b79565b5b828203905092915050565b60006149f182614a30565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015614a87578082015181840152602081019050614a6c565b83811115614a96576000848401525b50505050565b60006002820490506001821680614ab457607f821691505b60208210811415614ac857614ac7614bd7565b5b50919050565b614ad782614cac565b810181811067ffffffffffffffff82111715614af657614af5614c64565b5b80604052505050565b6000614b0a82614a50565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614b3d57614b3c614b79565b5b600182019050919050565b6000614b5382614a50565b9150614b5e83614a50565b925082614b6e57614b6d614ba8565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f53616c65206d7573742062652061637469766500000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f52616e646f6d207072696d65206e756d62657220686173206e6f74206265656e60008201527f20646566696e6564000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f50726f766964656420746f6b656e20696e646578206973206e6f7420616c6c6f60008201527f7765640000000000000000000000000000000000000000000000000000000000602082015250565b7f496e6465782068617320616c7265616479206265656e207573656420746f206d60008201527f696e740000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f43616e6e6f74206d696e74206d6f7265204d6f6e647269616e73207468616e2060008201527f536f757073207468617420657869737400000000000000000000000000000000602082015250565b7f4d7573742070726f76696465206174206c65617374203120746f6b656e206964600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4e756d626572206f6620746f6b656e7320726571756573746564206d7573742060008201527f626520657175616c20746f206e756d626572206f6620736f757020746f6b656e60208201527f204964732070726f766964656400000000000000000000000000000000000000604082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4d696e74696e6720776f756c6420657863656564206d617820737570706c7900600082015250565b7f546f6b656e49642068617320616c7265616479206265656e206d696e7465642060008201527f616e64207472616e736665727265640000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f53656e646572206973206e6f7420746865206f776e6572206f662070726f766960008201527f64656420736f7570000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f50726f766964656420746f6b656e4964206973206e6f7420616c6c6f77656400600082015250565b7f4d696e74696e6720776f756c642065786365656420616c6c6f77616e6365207360008201527f657420696e20636f6e74726163742073696e636520746865206d61782069732060208201527f6265696e6720656e666f72636564000000000000000000000000000000000000604082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f4d696e74696e6720776f756c642065786365656420616c6c6f77616e6365207360008201527f657420696e20636f6e74726163742062617365642075706f6e20796f7572206260208201527f616c616e6365206f6620536f75707320284e4653290000000000000000000000604082015250565b7f43616e206f6e6c79206d696e742033206974656d7320617420612074696d6500600082015250565b7f546f6b656e20616c7265616479206173736f636961746564207769746820616e60008201527f6f746865722073656e6465720000000000000000000000000000000000000000602082015250565b6155c2816149e6565b81146155cd57600080fd5b50565b6155d9816149f8565b81146155e457600080fd5b50565b6155f081614a04565b81146155fb57600080fd5b50565b61560781614a50565b811461561257600080fd5b5056fea2646970667358221220566e20ca9f20a0d7963b7383c0d68cdcf913b306620b8619c55a7abc6262a38164736f6c63430008070033697066733a2f2f516d657a4d524b70775176594d61426f4a42436d6a4435386637526b59517669724b55636373434e3755374b73672f000000000000000000000000dc8bed466ee117ebff8ee84896d6acd42170d4bb

Deployed Bytecode

0x6080604052600436106102305760003560e01c80636352211e1161012e57806395d89b41116100ab578063d95b01531161006f578063d95b015314610844578063e093c0e31461086f578063e985e9c5146108ac578063f2fde38b146108e9578063f5a409ec1461091257610230565b806395d89b411461075f578063a22cb4651461078a578063ae1322d3146107b3578063b88d4fde146107de578063c87b56dd1461080757610230565b8063749e480d116100f2578063749e480d146106995780637d8966e4146106c45780637dbf6a36146106db5780638509e790146106f75780638da5cb5b1461073457610230565b80636352211e146105c65780636c0360eb1461060357806370a082311461062e578063715018a61461066b57806373df23101461068257610230565b806333c9de00116101bc5780634a6bfa2d116101805780634a6bfa2d146104df5780634f6ccce71461050a57806355f804b31461054757806357d4c4ee146105705780635ed52cbe1461059b57610230565b806333c9de00146103fa5780633a663c801461043757806341b716e61461047457806342842e0e1461048b578063466b7639146104b457610230565b806314ff5ea31161020357806314ff5ea31461030357806318160ddd146103405780631aca3e151461036b57806323b872dd146103945780632f745c59146103bd57610230565b806301ffc9a71461023557806306fdde0314610272578063081812fc1461029d578063095ea7b3146102da575b600080fd5b34801561024157600080fd5b5061025c60048036038101906102579190613bdb565b61094f565b604051610269919061436e565b60405180910390f35b34801561027e57600080fd5b50610287610961565b6040516102949190614389565b60405180910390f35b3480156102a957600080fd5b506102c460048036038101906102bf9190613c7e565b6109f3565b6040516102d19190614307565b60405180910390f35b3480156102e657600080fd5b5061030160048036038101906102fc9190613b5b565b610a78565b005b34801561030f57600080fd5b5061032a60048036038101906103259190613c7e565b610b90565b60405161033791906147ab565b60405180910390f35b34801561034c57600080fd5b50610355610bfd565b60405161036291906147ab565b60405180910390f35b34801561037757600080fd5b50610392600480360381019061038d9190613c7e565b610c0a565b005b3480156103a057600080fd5b506103bb60048036038101906103b69190613a45565b610c9c565b005b3480156103c957600080fd5b506103e460048036038101906103df9190613b5b565b610cfc565b6040516103f191906147ab565b60405180910390f35b34801561040657600080fd5b50610421600480360381019061041c9190613c7e565b610da1565b60405161042e919061436e565b60405180910390f35b34801561044357600080fd5b5061045e60048036038101906104599190613c7e565b610e11565b60405161046b91906147ab565b60405180910390f35b34801561048057600080fd5b50610489610e7e565b005b34801561049757600080fd5b506104b260048036038101906104ad9190613a45565b610f4d565b005b3480156104c057600080fd5b506104c9610f6d565b6040516104d691906147ab565b60405180910390f35b3480156104eb57600080fd5b506104f4610f73565b604051610501919061436e565b60405180910390f35b34801561051657600080fd5b50610531600480360381019061052c9190613c7e565b610f86565b60405161053e91906147ab565b60405180910390f35b34801561055357600080fd5b5061056e60048036038101906105699190613c35565b610ff7565b005b34801561057c57600080fd5b5061058561108d565b60405161059291906147ab565b60405180910390f35b3480156105a757600080fd5b506105b0611093565b6040516105bd919061436e565b60405180910390f35b3480156105d257600080fd5b506105ed60048036038101906105e89190613c7e565b6110a6565b6040516105fa9190614307565b60405180910390f35b34801561060f57600080fd5b50610618611158565b6040516106259190614389565b60405180910390f35b34801561063a57600080fd5b50610655600480360381019061065091906139ab565b6111e6565b60405161066291906147ab565b60405180910390f35b34801561067757600080fd5b5061068061129e565b005b34801561068e57600080fd5b506106976113db565b005b3480156106a557600080fd5b506106ae6114aa565b6040516106bb91906147ab565b60405180910390f35b3480156106d057600080fd5b506106d96114b0565b005b6106f560048036038101906106f09190613cd8565b61157f565b005b34801561070357600080fd5b5061071e60048036038101906107199190613c7e565b611fd7565b60405161072b919061436e565b60405180910390f35b34801561074057600080fd5b506107496120a4565b6040516107569190614307565b60405180910390f35b34801561076b57600080fd5b506107746120ce565b6040516107819190614389565b60405180910390f35b34801561079657600080fd5b506107b160048036038101906107ac9190613b1b565b612160565b005b3480156107bf57600080fd5b506107c86122e1565b6040516107d591906147ab565b60405180910390f35b3480156107ea57600080fd5b5061080560048036038101906108009190613a98565b6122e6565b005b34801561081357600080fd5b5061082e60048036038101906108299190613c7e565b612348565b60405161083b9190614389565b60405180910390f35b34801561085057600080fd5b5061085961237c565b604051610866919061436e565b60405180910390f35b34801561087b57600080fd5b5061089660048036038101906108919190613c7e565b61238f565b6040516108a3919061436e565b60405180910390f35b3480156108b857600080fd5b506108d360048036038101906108ce9190613a05565b6123ff565b6040516108e0919061436e565b60405180910390f35b3480156108f557600080fd5b50610910600480360381019061090b91906139ab565b612493565b005b34801561091e57600080fd5b5061093960048036038101906109349190613b9b565b61263f565b60405161094691906147ab565b60405180910390f35b600061095a826126d7565b9050919050565b60606000805461097090614a9c565b80601f016020809104026020016040519081016040528092919081815260200182805461099c90614a9c565b80156109e95780601f106109be576101008083540402835291602001916109e9565b820191906000526020600020905b8154815290600101906020018083116109cc57829003601f168201915b5050505050905090565b60006109fe82612751565b610a3d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a349061462b565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a83826110a6565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610af4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aeb906146ab565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b136127bd565b73ffffffffffffffffffffffffffffffffffffffff161480610b425750610b4181610b3c6127bd565b6123ff565b5b610b81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b789061454b565b60405180910390fd5b610b8b83836127c5565b505050565b60008082118015610ba357506110008211155b610be2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd9906144ab565b60405180910390fd5b600d6000838152602001908152602001600020549050919050565b6000600880549050905090565b610c126127bd565b73ffffffffffffffffffffffffffffffffffffffff16610c306120a4565b73ffffffffffffffffffffffffffffffffffffffff1614610c86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7d9061464b565b60405180910390fd5b60006015541415610c9957806015819055505b50565b610cad610ca76127bd565b8261287e565b610cec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ce39061470b565b60405180910390fd5b610cf783838361295c565b505050565b6000610d07836111e6565b8210610d48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3f906143cb565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b60008082118015610db457506110008211155b610df3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dea906144ab565b60405180910390fd5b6000600d600084815260200190815260200160002054119050919050565b60008082118015610e2457506110008211155b610e63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5a906146cb565b60405180910390fd5b600e6000838152602001908152602001600020549050919050565b610e866127bd565b73ffffffffffffffffffffffffffffffffffffffff16610ea46120a4565b73ffffffffffffffffffffffffffffffffffffffff1614610efa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ef19061464b565b60405180910390fd5b601360029054906101000a900460ff1615610f2f576000601360026101000a81548160ff021916908315150217905550610f4b565b6001601360026101000a81548160ff0219169083151502179055505b565b610f68838383604051806020016040528060008152506122e6565b505050565b60155481565b601360009054906101000a900460ff1681565b6000610f90610bfd565b8210610fd1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fc89061472b565b60405180910390fd5b60088281548110610fe557610fe4614c35565b5b90600052602060002001549050919050565b610fff6127bd565b73ffffffffffffffffffffffffffffffffffffffff1661101d6120a4565b73ffffffffffffffffffffffffffffffffffffffff1614611073576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161106a9061464b565b60405180910390fd5b80601490805190602001906110899291906136f7565b5050565b61100081565b601360019054906101000a900460ff1681565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561114f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611146906145ab565b60405180910390fd5b80915050919050565b6014805461116590614a9c565b80601f016020809104026020016040519081016040528092919081815260200182805461119190614a9c565b80156111de5780601f106111b3576101008083540402835291602001916111de565b820191906000526020600020905b8154815290600101906020018083116111c157829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611257576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124e9061456b565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6112a66127bd565b73ffffffffffffffffffffffffffffffffffffffff166112c46120a4565b73ffffffffffffffffffffffffffffffffffffffff161461131a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113119061464b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b6113e36127bd565b73ffffffffffffffffffffffffffffffffffffffff166114016120a4565b73ffffffffffffffffffffffffffffffffffffffff1614611457576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144e9061464b565b60405180910390fd5b601360019054906101000a900460ff161561148c576000601360016101000a81548160ff0219169083151502179055506114a8565b6001601360016101000a81548160ff0219169083151502179055505b565b60165481565b6114b86127bd565b73ffffffffffffffffffffffffffffffffffffffff166114d66120a4565b73ffffffffffffffffffffffffffffffffffffffff161461152c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115239061464b565b60405180910390fd5b601360009054906101000a900460ff1615611561576000601360006101000a81548160ff02191690831515021790555061157d565b6001601360006101000a81548160ff0219169083151502179055505b565b601360019054906101000a900460ff1615611b3c5760008151116115d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115cf9061452b565b60405180910390fd5b8181511461161b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116129061458b565b60405180910390fd5b60005b8151811015611a6457600082828151811061163c5761163b614c35565b5b602002602001015190503373ffffffffffffffffffffffffffffffffffffffff16600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b81526004016116b891906147ab565b60206040518083038186803b1580156116d057600080fd5b505afa1580156116e4573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061170891906139d8565b73ffffffffffffffffffffffffffffffffffffffff161461175e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117559061468b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff166012600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156118b357336012600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555061186b6001601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612bb890919063ffffffff16565b601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611955565b3373ffffffffffffffffffffffffffffffffffffffff166012600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611954576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161194b9061478b565b60405180910390fd5b5b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b1580156119bd57600080fd5b505afa1580156119d1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119f59190613cab565b611a0f85611a01610bfd565b612bb890919063ffffffff16565b1115611a50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a479061450b565b60405180910390fd5b508080611a5c90614aff565b91505061161e565b506000600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611af191906149b2565b905080831115611b36576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b2d9061474b565b60405180910390fd5b50611be8565b601360029054906101000a900460ff1615611be7576003611ba583601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612bb890919063ffffffff16565b1115611be6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bdd906146eb565b60405180910390fd5b5b5b600060155411611c2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c249061444b565b60405180910390fd5b601360009054906101000a900460ff16611c7c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c73906143ab565b60405180910390fd5b6003821115611cc0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cb79061476b565b60405180910390fd5b611000611cdd83611ccf610bfd565b612bb890919063ffffffff16565b1115611d1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d15906145cb565b60405180910390fd5b60006016541415611d3157426016819055505b60005b82811015611fd25760006001611d48610bfd565b611d5291906148d1565b9050600081601554611d649190614958565b9050600060165482611d7691906148d1565b90506000600161100083611d8a9190614b48565b611d9491906148d1565b9050611000611da1610bfd565b1015611fbb57611db084610da1565b15611df0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611de7906144cb565b60405180910390fd5b611df98161238f565b15611e39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e30906145eb565b60405180910390fd5b611e433382612bce565b80600d60008681526020019081526020016000208190555083600e600083815260200190815260200160002081905550601360019054906101000a900460ff1615611f2357611edb6001600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612bb890919063ffffffff16565b600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611fba565b611f766001601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612bb890919063ffffffff16565b601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b5b505050508080611fca90614aff565b915050611d34565b505050565b60008082118015611fea57506108008211155b612029576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612020906146cb565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff166012600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561209a576000905061209f565b600190505b919050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546120dd90614a9c565b80601f016020809104026020016040519081016040528092919081815260200182805461210990614a9c565b80156121565780601f1061212b57610100808354040283529160200191612156565b820191906000526020600020905b81548152906001019060200180831161213957829003601f168201915b5050505050905090565b6121686127bd565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156121d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121cd9061448b565b60405180910390fd5b80600560006121e36127bd565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166122906127bd565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516122d5919061436e565b60405180910390a35050565b600381565b6122f76122f16127bd565b8361287e565b612336576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161232d9061470b565b60405180910390fd5b61234284848484612bec565b50505050565b6060601461235583612c48565b6040516020016123669291906142e3565b6040516020818303038152906040529050919050565b601360029054906101000a900460ff1681565b600080821180156123a257506110008211155b6123e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123d8906146cb565b60405180910390fd5b6000600e600084815260200190815260200160002054119050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61249b6127bd565b73ffffffffffffffffffffffffffffffffffffffff166124b96120a4565b73ffffffffffffffffffffffffffffffffffffffff161461250f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125069061464b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561257f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125769061440b565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000821561268e57601060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506126d1565b600f60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490505b92915050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061274a575061274982612da9565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612838836110a6565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061288982612751565b6128c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128bf906144eb565b60405180910390fd5b60006128d3836110a6565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061294257508373ffffffffffffffffffffffffffffffffffffffff1661292a846109f3565b73ffffffffffffffffffffffffffffffffffffffff16145b80612953575061295281856123ff565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661297c826110a6565b73ffffffffffffffffffffffffffffffffffffffff16146129d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129c99061466b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612a42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a399061446b565b60405180910390fd5b612a4d838383612e8b565b612a586000826127c5565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612aa891906149b2565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612aff91906148d1565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60008183612bc691906148d1565b905092915050565b612be8828260405180602001604052806000815250612e9b565b5050565b612bf784848461295c565b612c0384848484612ef6565b612c42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c39906143eb565b60405180910390fd5b50505050565b60606000821415612c90576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612da4565b600082905060005b60008214612cc2578080612cab90614aff565b915050600a82612cbb9190614927565b9150612c98565b60008167ffffffffffffffff811115612cde57612cdd614c64565b5b6040519080825280601f01601f191660200182016040528015612d105781602001600182028036833780820191505090505b5090505b60008514612d9d57600182612d2991906149b2565b9150600a85612d389190614b48565b6030612d4491906148d1565b60f81b818381518110612d5a57612d59614c35565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612d969190614927565b9450612d14565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612e7457507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612e845750612e838261308d565b5b9050919050565b612e968383836130f7565b505050565b612ea5838361320b565b612eb26000848484612ef6565b612ef1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ee8906143eb565b60405180910390fd5b505050565b6000612f178473ffffffffffffffffffffffffffffffffffffffff166133d9565b15613080578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612f406127bd565b8786866040518563ffffffff1660e01b8152600401612f629493929190614322565b602060405180830381600087803b158015612f7c57600080fd5b505af1925050508015612fad57506040513d601f19601f82011682018060405250810190612faa9190613c08565b60015b613030573d8060008114612fdd576040519150601f19603f3d011682016040523d82523d6000602084013e612fe2565b606091505b50600081511415613028576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161301f906143eb565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613085565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6131028383836133ec565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561314557613140816133f1565b613184565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461318357613182838261343a565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156131c7576131c2816135a7565b613206565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614613205576132048282613678565b5b5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561327b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132729061460b565b60405180910390fd5b61328481612751565b156132c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132bb9061442b565b60405180910390fd5b6132d060008383612e8b565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461332091906148d1565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613447846111e6565b61345191906149b2565b9050600060076000848152602001908152602001600020549050818114613536576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506135bb91906149b2565b90506000600960008481526020019081526020016000205490506000600883815481106135eb576135ea614c35565b5b90600052602060002001549050806008838154811061360d5761360c614c35565b5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548061365c5761365b614c06565b5b6001900381819060005260206000200160009055905550505050565b6000613683836111e6565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b82805461370390614a9c565b90600052602060002090601f016020900481019282613725576000855561376c565b82601f1061373e57805160ff191683800117855561376c565b8280016001018555821561376c579182015b8281111561376b578251825591602001919060010190613750565b5b509050613779919061377d565b5090565b5b8082111561379657600081600090555060010161377e565b5090565b60006137ad6137a8846147eb565b6147c6565b905080838252602082019050828560208602820111156137d0576137cf614c98565b5b60005b8581101561380057816137e68882613981565b8452602084019350602083019250506001810190506137d3565b5050509392505050565b600061381d61381884614817565b6147c6565b90508281526020810184848401111561383957613838614c9d565b5b613844848285614a5a565b509392505050565b600061385f61385a84614848565b6147c6565b90508281526020810184848401111561387b5761387a614c9d565b5b613886848285614a5a565b509392505050565b60008135905061389d816155b9565b92915050565b6000815190506138b2816155b9565b92915050565b600082601f8301126138cd576138cc614c93565b5b81356138dd84826020860161379a565b91505092915050565b6000813590506138f5816155d0565b92915050565b60008135905061390a816155e7565b92915050565b60008151905061391f816155e7565b92915050565b600082601f83011261393a57613939614c93565b5b813561394a84826020860161380a565b91505092915050565b600082601f83011261396857613967614c93565b5b813561397884826020860161384c565b91505092915050565b600081359050613990816155fe565b92915050565b6000815190506139a5816155fe565b92915050565b6000602082840312156139c1576139c0614ca7565b5b60006139cf8482850161388e565b91505092915050565b6000602082840312156139ee576139ed614ca7565b5b60006139fc848285016138a3565b91505092915050565b60008060408385031215613a1c57613a1b614ca7565b5b6000613a2a8582860161388e565b9250506020613a3b8582860161388e565b9150509250929050565b600080600060608486031215613a5e57613a5d614ca7565b5b6000613a6c8682870161388e565b9350506020613a7d8682870161388e565b9250506040613a8e86828701613981565b9150509250925092565b60008060008060808587031215613ab257613ab1614ca7565b5b6000613ac08782880161388e565b9450506020613ad18782880161388e565b9350506040613ae287828801613981565b925050606085013567ffffffffffffffff811115613b0357613b02614ca2565b5b613b0f87828801613925565b91505092959194509250565b60008060408385031215613b3257613b31614ca7565b5b6000613b408582860161388e565b9250506020613b51858286016138e6565b9150509250929050565b60008060408385031215613b7257613b71614ca7565b5b6000613b808582860161388e565b9250506020613b9185828601613981565b9150509250929050565b60008060408385031215613bb257613bb1614ca7565b5b6000613bc0858286016138e6565b9250506020613bd18582860161388e565b9150509250929050565b600060208284031215613bf157613bf0614ca7565b5b6000613bff848285016138fb565b91505092915050565b600060208284031215613c1e57613c1d614ca7565b5b6000613c2c84828501613910565b91505092915050565b600060208284031215613c4b57613c4a614ca7565b5b600082013567ffffffffffffffff811115613c6957613c68614ca2565b5b613c7584828501613953565b91505092915050565b600060208284031215613c9457613c93614ca7565b5b6000613ca284828501613981565b91505092915050565b600060208284031215613cc157613cc0614ca7565b5b6000613ccf84828501613996565b91505092915050565b60008060408385031215613cef57613cee614ca7565b5b6000613cfd85828601613981565b925050602083013567ffffffffffffffff811115613d1e57613d1d614ca2565b5b613d2a858286016138b8565b9150509250929050565b613d3d816149e6565b82525050565b613d4c816149f8565b82525050565b6000613d5d8261488e565b613d6781856148a4565b9350613d77818560208601614a69565b613d8081614cac565b840191505092915050565b6000613d9682614899565b613da081856148b5565b9350613db0818560208601614a69565b613db981614cac565b840191505092915050565b6000613dcf82614899565b613dd981856148c6565b9350613de9818560208601614a69565b80840191505092915050565b60008154613e0281614a9c565b613e0c81866148c6565b94506001821660008114613e275760018114613e3857613e6b565b60ff19831686528186019350613e6b565b613e4185614879565b60005b83811015613e6357815481890152600182019150602081019050613e44565b838801955050505b50505092915050565b6000613e816013836148b5565b9150613e8c82614cbd565b602082019050919050565b6000613ea4602b836148b5565b9150613eaf82614ce6565b604082019050919050565b6000613ec76032836148b5565b9150613ed282614d35565b604082019050919050565b6000613eea6026836148b5565b9150613ef582614d84565b604082019050919050565b6000613f0d601c836148b5565b9150613f1882614dd3565b602082019050919050565b6000613f306028836148b5565b9150613f3b82614dfc565b604082019050919050565b6000613f536024836148b5565b9150613f5e82614e4b565b604082019050919050565b6000613f766019836148b5565b9150613f8182614e9a565b602082019050919050565b6000613f996023836148b5565b9150613fa482614ec3565b604082019050919050565b6000613fbc6023836148b5565b9150613fc782614f12565b604082019050919050565b6000613fdf602c836148b5565b9150613fea82614f61565b604082019050919050565b60006140026030836148b5565b915061400d82614fb0565b604082019050919050565b60006140256020836148b5565b915061403082614fff565b602082019050919050565b60006140486038836148b5565b915061405382615028565b604082019050919050565b600061406b602a836148b5565b915061407682615077565b604082019050919050565b600061408e604d836148b5565b9150614099826150c6565b606082019050919050565b60006140b16029836148b5565b91506140bc8261513b565b604082019050919050565b60006140d4601f836148b5565b91506140df8261518a565b602082019050919050565b60006140f7602f836148b5565b9150614102826151b3565b604082019050919050565b600061411a6020836148b5565b915061412582615202565b602082019050919050565b600061413d602c836148b5565b91506141488261522b565b604082019050919050565b60006141606020836148b5565b915061416b8261527a565b602082019050919050565b60006141836029836148b5565b915061418e826152a3565b604082019050919050565b60006141a66028836148b5565b91506141b1826152f2565b604082019050919050565b60006141c96021836148b5565b91506141d482615341565b604082019050919050565b60006141ec601f836148b5565b91506141f782615390565b602082019050919050565b600061420f604e836148b5565b915061421a826153b9565b606082019050919050565b60006142326031836148b5565b915061423d8261542e565b604082019050919050565b6000614255602c836148b5565b91506142608261547d565b604082019050919050565b60006142786055836148b5565b9150614283826154cc565b606082019050919050565b600061429b601f836148b5565b91506142a682615541565b602082019050919050565b60006142be602c836148b5565b91506142c98261556a565b604082019050919050565b6142dd81614a50565b82525050565b60006142ef8285613df5565b91506142fb8284613dc4565b91508190509392505050565b600060208201905061431c6000830184613d34565b92915050565b60006080820190506143376000830187613d34565b6143446020830186613d34565b61435160408301856142d4565b81810360608301526143638184613d52565b905095945050505050565b60006020820190506143836000830184613d43565b92915050565b600060208201905081810360008301526143a38184613d8b565b905092915050565b600060208201905081810360008301526143c481613e74565b9050919050565b600060208201905081810360008301526143e481613e97565b9050919050565b6000602082019050818103600083015261440481613eba565b9050919050565b6000602082019050818103600083015261442481613edd565b9050919050565b6000602082019050818103600083015261444481613f00565b9050919050565b6000602082019050818103600083015261446481613f23565b9050919050565b6000602082019050818103600083015261448481613f46565b9050919050565b600060208201905081810360008301526144a481613f69565b9050919050565b600060208201905081810360008301526144c481613f8c565b9050919050565b600060208201905081810360008301526144e481613faf565b9050919050565b6000602082019050818103600083015261450481613fd2565b9050919050565b6000602082019050818103600083015261452481613ff5565b9050919050565b6000602082019050818103600083015261454481614018565b9050919050565b600060208201905081810360008301526145648161403b565b9050919050565b600060208201905081810360008301526145848161405e565b9050919050565b600060208201905081810360008301526145a481614081565b9050919050565b600060208201905081810360008301526145c4816140a4565b9050919050565b600060208201905081810360008301526145e4816140c7565b9050919050565b60006020820190508181036000830152614604816140ea565b9050919050565b600060208201905081810360008301526146248161410d565b9050919050565b6000602082019050818103600083015261464481614130565b9050919050565b6000602082019050818103600083015261466481614153565b9050919050565b6000602082019050818103600083015261468481614176565b9050919050565b600060208201905081810360008301526146a481614199565b9050919050565b600060208201905081810360008301526146c4816141bc565b9050919050565b600060208201905081810360008301526146e4816141df565b9050919050565b6000602082019050818103600083015261470481614202565b9050919050565b6000602082019050818103600083015261472481614225565b9050919050565b6000602082019050818103600083015261474481614248565b9050919050565b600060208201905081810360008301526147648161426b565b9050919050565b600060208201905081810360008301526147848161428e565b9050919050565b600060208201905081810360008301526147a4816142b1565b9050919050565b60006020820190506147c060008301846142d4565b92915050565b60006147d06147e1565b90506147dc8282614ace565b919050565b6000604051905090565b600067ffffffffffffffff82111561480657614805614c64565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561483257614831614c64565b5b61483b82614cac565b9050602081019050919050565b600067ffffffffffffffff82111561486357614862614c64565b5b61486c82614cac565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006148dc82614a50565b91506148e783614a50565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561491c5761491b614b79565b5b828201905092915050565b600061493282614a50565b915061493d83614a50565b92508261494d5761494c614ba8565b5b828204905092915050565b600061496382614a50565b915061496e83614a50565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156149a7576149a6614b79565b5b828202905092915050565b60006149bd82614a50565b91506149c883614a50565b9250828210156149db576149da614b79565b5b828203905092915050565b60006149f182614a30565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015614a87578082015181840152602081019050614a6c565b83811115614a96576000848401525b50505050565b60006002820490506001821680614ab457607f821691505b60208210811415614ac857614ac7614bd7565b5b50919050565b614ad782614cac565b810181811067ffffffffffffffff82111715614af657614af5614c64565b5b80604052505050565b6000614b0a82614a50565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614b3d57614b3c614b79565b5b600182019050919050565b6000614b5382614a50565b9150614b5e83614a50565b925082614b6e57614b6d614ba8565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f53616c65206d7573742062652061637469766500000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f52616e646f6d207072696d65206e756d62657220686173206e6f74206265656e60008201527f20646566696e6564000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f50726f766964656420746f6b656e20696e646578206973206e6f7420616c6c6f60008201527f7765640000000000000000000000000000000000000000000000000000000000602082015250565b7f496e6465782068617320616c7265616479206265656e207573656420746f206d60008201527f696e740000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f43616e6e6f74206d696e74206d6f7265204d6f6e647269616e73207468616e2060008201527f536f757073207468617420657869737400000000000000000000000000000000602082015250565b7f4d7573742070726f76696465206174206c65617374203120746f6b656e206964600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4e756d626572206f6620746f6b656e7320726571756573746564206d7573742060008201527f626520657175616c20746f206e756d626572206f6620736f757020746f6b656e60208201527f204964732070726f766964656400000000000000000000000000000000000000604082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4d696e74696e6720776f756c6420657863656564206d617820737570706c7900600082015250565b7f546f6b656e49642068617320616c7265616479206265656e206d696e7465642060008201527f616e64207472616e736665727265640000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f53656e646572206973206e6f7420746865206f776e6572206f662070726f766960008201527f64656420736f7570000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f50726f766964656420746f6b656e4964206973206e6f7420616c6c6f77656400600082015250565b7f4d696e74696e6720776f756c642065786365656420616c6c6f77616e6365207360008201527f657420696e20636f6e74726163742073696e636520746865206d61782069732060208201527f6265696e6720656e666f72636564000000000000000000000000000000000000604082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f4d696e74696e6720776f756c642065786365656420616c6c6f77616e6365207360008201527f657420696e20636f6e74726163742062617365642075706f6e20796f7572206260208201527f616c616e6365206f6620536f75707320284e4653290000000000000000000000604082015250565b7f43616e206f6e6c79206d696e742033206974656d7320617420612074696d6500600082015250565b7f546f6b656e20616c7265616479206173736f636961746564207769746820616e60008201527f6f746865722073656e6465720000000000000000000000000000000000000000602082015250565b6155c2816149e6565b81146155cd57600080fd5b50565b6155d9816149f8565b81146155e457600080fd5b50565b6155f081614a04565b81146155fb57600080fd5b50565b61560781614a50565b811461561257600080fd5b5056fea2646970667358221220566e20ca9f20a0d7963b7383c0d68cdcf913b306620b8619c55a7abc6262a38164736f6c63430008070033

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

000000000000000000000000dc8bed466ee117ebff8ee84896d6acd42170d4bb

-----Decoded View---------------
Arg [0] : nfs (address): 0xdc8bEd466ee117Ebff8Ee84896d6aCd42170d4bB

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


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.