ETH Price: $2,307.57 (-4.66%)

Token

FortuneCookyNFT (COOKY)
 

Overview

Max Total Supply

1,111 COOKY

Holders

427

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 COOKY
0x350a06546a70b407a97cec1068da2332de4c33ef
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
FortuneCooky

Compiler Version
v0.8.2+commit.661d1103

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 16 : FortuneCooky.sol
// SPDX-License-Identifier: GPL-3.0

pragma solidity ^0.8.2;

/*********************************  
                 %%#%                                    %(#%                  
               %%(((%#((%(                            @%(((#(((%%%              
            %##((((((%%((((%%              @@@@@@@@@@@@@@@@%(((((%#%%           
         %%%%(((((((((%%@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%(((((((((%%%%        
      %%%%%((((((((((((%@@@@@ FORTUNE COOKY NFT @@@@@@@@@%(((((((((((((%%#%     
    %%%(((((((((((((((((%@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%(((((((((((((((((((((& 
 (((((########((((((((((##@@@@@@#                  #(((%((((((((##############((
 ((((((((((((#####(((((((%%(%                      %#(%((((((####(((((((((((#   
           ((((((########(%%                         %(((((((((((((  
*********************************/

import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "./interfaces/ICookyDescriptor.sol";
import "./libraries/Base64.sol";


/// @title Fortune Cooky ERC721
contract FortuneCooky is ERC721URIStorage, Ownable {

    using SafeMath for uint256;
    using Counters for Counters.Counter;

    Counters.Counter private _tokenIdCounter;

    // Total Supply of NFTs
    uint256 public constant MAX_TOKENS = 1111;

    // The day the contract is launched, 7 days are calculated from this date
    uint256 private launchDate;

    // Wallet address where ETH is sent during withdraw function
    address private transferWallet;

    // Calculated the total paid for the first 200 NFTs and this is used to make final price from average
    uint256 public TOTAL_PAID;

    // Contract that compiles SVG Image 
    ICookyDescriptor iCookyContract;

    // Token Seed - a number between 100 and 999 that is used for background image and random fortune generation
    mapping(uint256 => uint) public tSeeds;

    // Emits New Fortune tokenId
    event NewFortuneCooky(uint256 indexed id);

    constructor(
        address _transferWallet, 
        address _buildCooky
    ) ERC721("FortuneCookyNFT", "COOKY") {
        setTransferWallet(_transferWallet);
        launchDate = block.timestamp;
        iCookyContract = ICookyDescriptor(_buildCooky);
    }

    /**
     * @notice Total Number of Minted Fortune Cooky NFTs
     * @return Number of NFTs
     */
    function totalSupply() external view returns (uint256) {
        return _tokenIdCounter.current();
    }

     /**
     * @notice Sets Transfer Wallet - OnlyOwner
     */
    function setTransferWallet(address _transferWallet) public onlyOwner {
        transferWallet = _transferWallet;
    }

    /**
     * @notice Contract Seed that changes ever 7 days. This is calculated by subtracting current time from launch time then dividing the difference by 7 days. We add 1 to ensure number is not 0.
     * @return Contract Seed Number
     */
    function getContractSeed() public view returns (uint256) {
        uint256 difference = block.timestamp - launchDate;
        return (difference/604800) + 1;
    }

    /**
     * @notice Calculates the data of next fortune generation
     * @return Timestamp of next Fortune Generation
     */
    function getNextGenDate() public view returns (uint256) {
        uint256 time_add = 604800 * getContractSeed();
        return launchDate + time_add;
    }

    /**
     * @notice Gets Token Seed from mapping
     * @return Token Seed for a specific tokenId
     */
    function getTokenSeed(uint256 tokenId) public view returns(uint256) {
        return tSeeds[tokenId];
    }

    /**
     * @notice Assigns Token Seed to a tokenId
     */
    function generateSeed(address _to, uint256 tokenId) internal {

        uint256 seed = uint256(keccak256(abi.encodePacked('NANUPANDA_LABS', _to, block.difficulty, blockhash(block.number - 1), block.timestamp, Strings.toString(tokenId))));
        uint scaled = seed % 899;
        tSeeds[tokenId] = scaled + 100; 

    }

    /**
     * @notice Get average of first 200 NFTs sold which becomes price from rest of Collection
     * @return Price of NFT
     */
    function getPrice() public view returns (uint256) {
        return TOTAL_PAID/200;
    }

    /**
     * @notice Shows current rolling average of price of NFT
     * @return rolling average price of NFT
     */
    function getCurrentPriceAvg() external view returns (uint256) {
        return TOTAL_PAID/_tokenIdCounter.current();
    }

    /**
     * @notice Payable Mint Function 
     */    
    function mint(address _to) external payable  {
        require(_tokenIdCounter.current() + 1 <= MAX_TOKENS, "Max limit");
        if (_tokenIdCounter.current() < 201) {
           TOTAL_PAID += msg.value;
        } else {
            require(msg.value >= getPrice(), "Insufficient funds");
        }

        _mintOneItem(_to);

    }

    /**
     * @notice Free Mint function for Only Owner
     */  
    function ownerMintTransfer(address _to, uint256 _count) public  onlyOwner {
        require(_count > 0, "Mint count should be greater than zero");
        require(_tokenIdCounter.current() + _count <= MAX_TOKENS, "Max limit");
 
        for (uint256 i = 0; i < _count; i++) {
            _mintOneItem(_to);
        }
    }

    /**
     * @notice Mints one NFT and is interally called from owner mint or mint
     */  
    function _mintOneItem(address _to) private {
        _tokenIdCounter.increment();
        uint256 tokenId = _tokenIdCounter.current();
        generateSeed(_to, tokenId);
        _mint(_to, tokenId);
        emit NewFortuneCooky(tokenId);
    }

    /**
     * @notice pulls in all components to calculate SVG image including token seed (tseed), contract seed (cseed), and next generation timestamp 
     * @return Returns Based Encoded json data
     */  
    function tokenURI(uint256 tokenId) public view override returns (string memory) {
        require(_exists(tokenId), 'Cooky: URI query for nonexistent token');
        return iCookyContract._buildFortuneCooky(tokenId, getTokenSeed(tokenId), getContractSeed(), getNextGenDate());
    }

    /**
     * @notice seperate function that pulls current fortune text for specific tokenId
     * @return Returns array of two strings that create the OFrtune Text
     */  
    function getFortuneLines(uint256 tokenId) public view returns (string[2] memory) {
        require(_exists(tokenId), 'Cooky: Fortune query for nonexistent token');
        return iCookyContract._getFortune(tokenId, getTokenSeed(tokenId), getContractSeed());
    }

    function withdrawAll() public payable onlyOwner {
        uint256 balance = address(this).balance;
        require(balance > 0);
        _withdraw(transferWallet, balance);
    }

    function _withdraw(address _address, uint256 _amount) private {
        (bool success, ) = _address.call{ value: _amount }("");
        require(success, "Transfer failed.");
    }



}

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

pragma solidity ^0.8.0;

import "../ERC721.sol";

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

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

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

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

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

        return super.tokenURI(tokenId);
    }

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

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

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

File 3 of 16 : SafeMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/math/SafeMath.sol)

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 generally not needed starting with Solidity 0.8, since 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. 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 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma abicoder v2;


/// @title Describes Onii via URI
interface ICookyDescriptor {

    function _buildFortuneCooky(uint256 tokenId, uint256 tseed, uint256 cseed, uint256 launchDate) external view returns (string memory);
    function _getFortune(uint256 tokenId, uint256 tseed, uint256 cseed) external view returns(string[2] memory); 

}

File 9 of 16 : Base64.sol
/**
 *Submitted for verification at Etherscan.io on 2021-09-05
 */

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.2;

/// [MIT License]
/// @title Base64
/// @notice Provides a function for encoding some bytes in base64
/// @author Brecht Devos <[email protected]>
library Base64 {
    bytes internal constant TABLE =
        "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";

    /// @notice Encodes some bytes to the base64 representation
    function encode(bytes memory data) internal pure returns (string memory) {
        uint256 len = data.length;
        if (len == 0) return "";

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

        // Add some extra buffer at the end
        bytes memory result = new bytes(encodedLen + 32);

        bytes memory table = TABLE;

        assembly {
            let tablePtr := add(table, 1)
            let resultPtr := add(result, 32)

            for {
                let i := 0
            } lt(i, len) {

            } {
                i := add(i, 3)
                let input := and(mload(add(data, i)), 0xffffff)

                let out := mload(add(tablePtr, and(shr(18, input), 0x3F)))
                out := shl(8, out)
                out := add(
                    out,
                    and(mload(add(tablePtr, and(shr(12, input), 0x3F))), 0xFF)
                )
                out := shl(8, out)
                out := add(
                    out,
                    and(mload(add(tablePtr, and(shr(6, input), 0x3F))), 0xFF)
                )
                out := shl(8, out)
                out := add(
                    out,
                    and(mload(add(tablePtr, and(input, 0x3F))), 0xFF)
                )
                out := shl(224, out)

                mstore(resultPtr, out)

                resultPtr := add(resultPtr, 4)
            }

            switch mod(len, 3)
            case 1 {
                mstore(sub(resultPtr, 2), shl(240, 0x3d3d))
            }
            case 2 {
                mstore(sub(resultPtr, 1), shl(248, 0x3d))
            }

            mstore(result, encodedLen)
        }

        return string(result);
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_transferWallet","type":"address"},{"internalType":"address","name":"_buildCooky","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":"uint256","name":"id","type":"uint256"}],"name":"NewFortuneCooky","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_TOKENS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOTAL_PAID","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":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getContractSeed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getCurrentPriceAvg","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getFortuneLines","outputs":[{"internalType":"string[2]","name":"","type":"string[2]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getNextGenDate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getTokenSeed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"}],"name":"mint","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":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_count","type":"uint256"}],"name":"ownerMintTransfer","outputs":[],"stateMutability":"nonpayable","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":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_transferWallet","type":"address"}],"name":"setTransferWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tSeeds","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"payable","type":"function"}]

60806040523480156200001157600080fd5b5060405162004302380380620043028339818101604052810190620000379190620003ea565b6040518060400160405280600f81526020017f466f7274756e65436f6f6b794e465400000000000000000000000000000000008152506040518060400160405280600581526020017f434f4f4b590000000000000000000000000000000000000000000000000000008152508160009080519060200190620000bb92919062000323565b508060019080519060200190620000d492919062000323565b505050620000f7620000eb6200015860201b60201c565b6200016060201b60201c565b62000108826200022660201b60201c565b4260098190555080600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505062000561565b600033905090565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620002366200015860201b60201c565b73ffffffffffffffffffffffffffffffffffffffff166200025c620002f960201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1614620002b5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002ac9062000452565b60405180910390fd5b80600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b8280546200033190620004b9565b90600052602060002090601f016020900481019282620003555760008555620003a1565b82601f106200037057805160ff1916838001178555620003a1565b82800160010185558215620003a1579182015b82811115620003a057825182559160200191906001019062000383565b5b509050620003b09190620003b4565b5090565b5b80821115620003cf576000816000905550600101620003b5565b5090565b600081519050620003e48162000547565b92915050565b60008060408385031215620003fe57600080fd5b60006200040e85828601620003d3565b92505060206200042185828601620003d3565b9150509250929050565b60006200043a60208362000474565b915062000447826200051e565b602082019050919050565b600060208201905081810360008301526200046d816200042b565b9050919050565b600082825260208201905092915050565b6000620004928262000499565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006002820490506001821680620004d257607f821691505b60208210811415620004e957620004e8620004ef565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b620005528162000485565b81146200055e57600080fd5b50565b613d9180620005716000396000f3fe6080604052600436106101cd5760003560e01c806370a08231116100f7578063995a882111610095578063c87b56dd11610064578063c87b56dd1461065c578063e985e9c514610699578063f2fde38b146106d6578063f47c84c5146106ff576101cd565b8063995a8821146105a25780639d88dfff146105df578063a22cb4651461060a578063b88d4fde14610633576101cd565b80638da5cb5b116100d15780638da5cb5b146104e457806392d539831461050f57806395d89b411461054c57806398d5fdca14610577576101cd565b806370a0823114610486578063715018a6146104c3578063853828b6146104da576101cd565b806323b872dd1161016f5780635ffa7c3e1161013e5780635ffa7c3e146103d95780636352211e1461040457806368f14f55146104415780636a6278421461046a576101cd565b806323b872dd1461032157806342842e0e1461034a5780635792887c146103735780635a4c16241461039c576101cd565b8063081812fc116101ab578063081812fc14610265578063095ea7b3146102a257806318160ddd146102cb5780631cc8ef53146102f6576101cd565b806301ffc9a7146101d257806306fdde031461020f57806307cfe2e51461023a575b600080fd5b3480156101de57600080fd5b506101f960048036038101906101f49190612835565b61072a565b6040516102069190612ef1565b60405180910390f35b34801561021b57600080fd5b5061022461080c565b6040516102319190612f0c565b60405180910390f35b34801561024657600080fd5b5061024f61089e565b60405161025c91906131ce565b60405180910390f35b34801561027157600080fd5b5061028c600480360381019061028791906128c8565b6108bc565b6040516102999190612e68565b60405180910390f35b3480156102ae57600080fd5b506102c960048036038101906102c491906127b8565b610941565b005b3480156102d757600080fd5b506102e0610a59565b6040516102ed91906131ce565b60405180910390f35b34801561030257600080fd5b5061030b610a6a565b60405161031891906131ce565b60405180910390f35b34801561032d57600080fd5b50610348600480360381019061034391906126b2565b610a99565b005b34801561035657600080fd5b50610371600480360381019061036c91906126b2565b610af9565b005b34801561037f57600080fd5b5061039a600480360381019061039591906127b8565b610b19565b005b3480156103a857600080fd5b506103c360048036038101906103be91906128c8565b610c5d565b6040516103d091906131ce565b60405180910390f35b3480156103e557600080fd5b506103ee610c7a565b6040516103fb91906131ce565b60405180910390f35b34801561041057600080fd5b5061042b600480360381019061042691906128c8565b610c80565b6040516104389190612e68565b60405180910390f35b34801561044d57600080fd5b506104686004803603810190610463919061264d565b610d32565b005b610484600480360381019061047f919061264d565b610df2565b005b34801561049257600080fd5b506104ad60048036038101906104a8919061264d565b610ed3565b6040516104ba91906131ce565b60405180910390f35b3480156104cf57600080fd5b506104d8610f8b565b005b6104e2611013565b005b3480156104f057600080fd5b506104f96110d0565b6040516105069190612e68565b60405180910390f35b34801561051b57600080fd5b50610536600480360381019061053191906128c8565b6110fa565b6040516105439190612ecf565b60405180910390f35b34801561055857600080fd5b50610561611214565b60405161056e9190612f0c565b60405180910390f35b34801561058357600080fd5b5061058c6112a6565b60405161059991906131ce565b60405180910390f35b3480156105ae57600080fd5b506105c960048036038101906105c491906128c8565b6112bc565b6040516105d691906131ce565b60405180910390f35b3480156105eb57600080fd5b506105f46112d4565b60405161060191906131ce565b60405180910390f35b34801561061657600080fd5b50610631600480360381019061062c919061277c565b611308565b005b34801561063f57600080fd5b5061065a60048036038101906106559190612701565b61131e565b005b34801561066857600080fd5b50610683600480360381019061067e91906128c8565b611380565b6040516106909190612f0c565b60405180910390f35b3480156106a557600080fd5b506106c060048036038101906106bb9190612676565b61149d565b6040516106cd9190612ef1565b60405180910390f35b3480156106e257600080fd5b506106fd60048036038101906106f8919061264d565b611531565b005b34801561070b57600080fd5b50610714611629565b60405161072191906131ce565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806107f557507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061080557506108048261162f565b5b9050919050565b60606000805461081b90613573565b80601f016020809104026020016040519081016040528092919081815260200182805461084790613573565b80156108945780601f1061086957610100808354040283529160200191610894565b820191906000526020600020905b81548152906001019060200180831161087757829003601f168201915b5050505050905090565b60006108aa6008611699565b600b546108b791906133f4565b905090565b60006108c7826116a7565b610906576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108fd906130ce565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061094c82610c80565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156109bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109b49061312e565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166109dc611713565b73ffffffffffffffffffffffffffffffffffffffff161480610a0b5750610a0a81610a05611713565b61149d565b5b610a4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a419061304e565b60405180910390fd5b610a54838361171b565b505050565b6000610a656008611699565b905090565b600080610a756112d4565b62093a80610a839190613425565b905080600954610a93919061339e565b91505090565b610aaa610aa4611713565b826117d4565b610ae9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ae0906131ae565b60405180910390fd5b610af48383836118b2565b505050565b610b148383836040518060200160405280600081525061131e565b505050565b610b21611713565b73ffffffffffffffffffffffffffffffffffffffff16610b3f6110d0565b73ffffffffffffffffffffffffffffffffffffffff1614610b95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b8c906130ee565b60405180910390fd5b60008111610bd8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bcf9061314e565b60405180910390fd5b61045781610be66008611699565b610bf0919061339e565b1115610c31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c2890612fee565b60405180910390fd5b60005b81811015610c5857610c4583611b0e565b8080610c50906135d6565b915050610c34565b505050565b6000600d6000838152602001908152602001600020549050919050565b600b5481565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610d29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d209061308e565b60405180910390fd5b80915050919050565b610d3a611713565b73ffffffffffffffffffffffffffffffffffffffff16610d586110d0565b73ffffffffffffffffffffffffffffffffffffffff1614610dae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da5906130ee565b60405180910390fd5b80600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6104576001610e016008611699565b610e0b919061339e565b1115610e4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4390612fee565b60405180910390fd5b60c9610e586008611699565b1015610e7c5734600b6000828254610e70919061339e565b92505081905550610ec7565b610e846112a6565b341015610ec6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ebd9061302e565b60405180910390fd5b5b610ed081611b0e565b50565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610f44576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f3b9061306e565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610f93611713565b73ffffffffffffffffffffffffffffffffffffffff16610fb16110d0565b73ffffffffffffffffffffffffffffffffffffffff1614611007576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ffe906130ee565b60405180910390fd5b6110116000611b6b565b565b61101b611713565b73ffffffffffffffffffffffffffffffffffffffff166110396110d0565b73ffffffffffffffffffffffffffffffffffffffff161461108f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611086906130ee565b60405180910390fd5b6000479050600081116110a157600080fd5b6110cd600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682611c31565b50565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611102612472565b61110b826116a7565b61114a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111419061316e565b60405180910390fd5b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166379dccf8c8361119285610c5d565b61119a6112d4565b6040518463ffffffff1660e01b81526004016111b8939291906131e9565b60006040518083038186803b1580156111d057600080fd5b505afa1580156111e4573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f8201168201806040525081019061120d91906127f4565b9050919050565b60606001805461122390613573565b80601f016020809104026020016040519081016040528092919081815260200182805461124f90613573565b801561129c5780601f106112715761010080835404028352916020019161129c565b820191906000526020600020905b81548152906001019060200180831161127f57829003601f168201915b5050505050905090565b600060c8600b546112b791906133f4565b905090565b600d6020528060005260406000206000915090505481565b600080600954426112e5919061347f565b9050600162093a80826112f891906133f4565b611302919061339e565b91505090565b61131a611313611713565b8383611ce2565b5050565b61132f611329611713565b836117d4565b61136e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611365906131ae565b60405180910390fd5b61137a84848484611e4f565b50505050565b606061138b826116a7565b6113ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113c190612fce565b60405180910390fd5b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166378db7eec8361141285610c5d565b61141a6112d4565b611422610a6a565b6040518563ffffffff1660e01b81526004016114419493929190613220565b60006040518083038186803b15801561145957600080fd5b505afa15801561146d573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906114969190612887565b9050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611539611713565b73ffffffffffffffffffffffffffffffffffffffff166115576110d0565b73ffffffffffffffffffffffffffffffffffffffff16146115ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115a4906130ee565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561161d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161490612f4e565b60405180910390fd5b61162681611b6b565b50565b61045781565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600081600001549050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661178e83610c80565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006117df826116a7565b61181e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118159061300e565b60405180910390fd5b600061182983610c80565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061189857508373ffffffffffffffffffffffffffffffffffffffff16611880846108bc565b73ffffffffffffffffffffffffffffffffffffffff16145b806118a957506118a8818561149d565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166118d282610c80565b73ffffffffffffffffffffffffffffffffffffffff1614611928576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191f9061310e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611998576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161198f90612f8e565b60405180910390fd5b6119a3838383611eab565b6119ae60008261171b565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546119fe919061347f565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611a55919061339e565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b611b186008611eb0565b6000611b246008611699565b9050611b308282611ec6565b611b3a8282611f4d565b807f94a605b759fb37dbf162a875f01f0a26001c4e9e716e4fc15f5b3d017bdba0a460405160405180910390a25050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008273ffffffffffffffffffffffffffffffffffffffff1682604051611c5790612ded565b60006040518083038185875af1925050503d8060008114611c94576040519150601f19603f3d011682016040523d82523d6000602084013e611c99565b606091505b5050905080611cdd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cd49061318e565b60405180910390fd5b505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611d51576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d4890612fae565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611e429190612ef1565b60405180910390a3505050565b611e5a8484846118b2565b611e668484848461211b565b611ea5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e9c90612f2e565b60405180910390fd5b50505050565b505050565b6001816000016000828254019250508190555050565b60008244600143611ed7919061347f565b4042611ee2866122b2565b604051602001611ef6959493929190612e02565b6040516020818303038152906040528051906020012060001c9050600061038382611f219190613657565b9050606481611f30919061339e565b600d60008581526020019081526020016000208190555050505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611fbd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fb4906130ae565b60405180910390fd5b611fc6816116a7565b15612006576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ffd90612f6e565b60405180910390fd5b61201260008383611eab565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612062919061339e565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600061213c8473ffffffffffffffffffffffffffffffffffffffff1661245f565b156122a5578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612165611713565b8786866040518563ffffffff1660e01b81526004016121879493929190612e83565b602060405180830381600087803b1580156121a157600080fd5b505af19250505080156121d257506040513d601f19601f820116820180604052508101906121cf919061285e565b60015b612255573d8060008114612202576040519150601f19603f3d011682016040523d82523d6000602084013e612207565b606091505b5060008151141561224d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161224490612f2e565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506122aa565b600190505b949350505050565b606060008214156122fa576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061245a565b600082905060005b6000821461232c578080612315906135d6565b915050600a8261232591906133f4565b9150612302565b60008167ffffffffffffffff81111561236e577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156123a05781602001600182028036833780820191505090505b5090505b60008514612453576001826123b9919061347f565b9150600a856123c89190613657565b60306123d4919061339e565b60f81b818381518110612410577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561244c91906133f4565b94506123a4565b8093505050505b919050565b600080823b905060008111915050919050565b60405180604001604052806002905b60608152602001906001900390816124815790505090565b60006124ac6124a78461328a565b613265565b9050808260005b858110156124e357815185016124c9888261260e565b8452602084019350602083019250506001810190506124b3565b5050509392505050565b60006125006124fb846132b0565b613265565b90508281526020810184848401111561251857600080fd5b612523848285613531565b509392505050565b600061253e612539846132e1565b613265565b90508281526020810184848401111561255657600080fd5b612561848285613540565b509392505050565b60008135905061257881613cff565b92915050565b600082601f83011261258f57600080fd5b600261259c848285612499565b91505092915050565b6000813590506125b481613d16565b92915050565b6000813590506125c981613d2d565b92915050565b6000815190506125de81613d2d565b92915050565b600082601f8301126125f557600080fd5b81356126058482602086016124ed565b91505092915050565b600082601f83011261261f57600080fd5b815161262f84826020860161252b565b91505092915050565b60008135905061264781613d44565b92915050565b60006020828403121561265f57600080fd5b600061266d84828501612569565b91505092915050565b6000806040838503121561268957600080fd5b600061269785828601612569565b92505060206126a885828601612569565b9150509250929050565b6000806000606084860312156126c757600080fd5b60006126d586828701612569565b93505060206126e686828701612569565b92505060406126f786828701612638565b9150509250925092565b6000806000806080858703121561271757600080fd5b600061272587828801612569565b945050602061273687828801612569565b935050604061274787828801612638565b925050606085013567ffffffffffffffff81111561276457600080fd5b612770878288016125e4565b91505092959194509250565b6000806040838503121561278f57600080fd5b600061279d85828601612569565b92505060206127ae858286016125a5565b9150509250929050565b600080604083850312156127cb57600080fd5b60006127d985828601612569565b92505060206127ea85828601612638565b9150509250929050565b60006020828403121561280657600080fd5b600082015167ffffffffffffffff81111561282057600080fd5b61282c8482850161257e565b91505092915050565b60006020828403121561284757600080fd5b6000612855848285016125ba565b91505092915050565b60006020828403121561287057600080fd5b600061287e848285016125cf565b91505092915050565b60006020828403121561289957600080fd5b600082015167ffffffffffffffff8111156128b357600080fd5b6128bf8482850161260e565b91505092915050565b6000602082840312156128da57600080fd5b60006128e884828501612638565b91505092915050565b60006128fd83836129ff565b905092915050565b61290e816134b3565b82525050565b612925612920826134b3565b61361f565b82525050565b60006129368261331c565b612940818561334a565b93508360208202850161295285613312565b8060005b8581101561298e578484038952815161296f85826128f1565b945061297a8361333d565b925060208a01995050600181019050612956565b50829750879550505050505092915050565b6129a9816134c5565b82525050565b6129c06129bb826134d1565b613631565b82525050565b60006129d182613327565b6129db8185613355565b93506129eb818560208601613540565b6129f481613744565b840191505092915050565b6000612a0a82613332565b612a148185613371565b9350612a24818560208601613540565b612a2d81613744565b840191505092915050565b6000612a4382613332565b612a4d8185613382565b9350612a5d818560208601613540565b612a6681613744565b840191505092915050565b6000612a7c82613332565b612a868185613393565b9350612a96818560208601613540565b80840191505092915050565b6000612aaf603283613382565b9150612aba82613762565b604082019050919050565b6000612ad2602683613382565b9150612add826137b1565b604082019050919050565b6000612af5601c83613382565b9150612b0082613800565b602082019050919050565b6000612b18602483613382565b9150612b2382613829565b604082019050919050565b6000612b3b601983613382565b9150612b4682613878565b602082019050919050565b6000612b5e602683613382565b9150612b69826138a1565b604082019050919050565b6000612b81600983613382565b9150612b8c826138f0565b602082019050919050565b6000612ba4602c83613382565b9150612baf82613919565b604082019050919050565b6000612bc7601283613382565b9150612bd282613968565b602082019050919050565b6000612bea603883613382565b9150612bf582613991565b604082019050919050565b6000612c0d602a83613382565b9150612c18826139e0565b604082019050919050565b6000612c30602983613382565b9150612c3b82613a2f565b604082019050919050565b6000612c53602083613382565b9150612c5e82613a7e565b602082019050919050565b6000612c76602c83613382565b9150612c8182613aa7565b604082019050919050565b6000612c99602083613382565b9150612ca482613af6565b602082019050919050565b6000612cbc602983613382565b9150612cc782613b1f565b604082019050919050565b6000612cdf602183613382565b9150612cea82613b6e565b604082019050919050565b6000612d02602683613382565b9150612d0d82613bbd565b604082019050919050565b6000612d25602a83613382565b9150612d3082613c0c565b604082019050919050565b6000612d48600083613366565b9150612d5382613c5b565b600082019050919050565b6000612d6b601083613382565b9150612d7682613c5e565b602082019050919050565b6000612d8e603183613382565b9150612d9982613c87565b604082019050919050565b6000612db1600e83613393565b9150612dbc82613cd6565b600e82019050919050565b612dd081613527565b82525050565b612de7612de282613527565b61364d565b82525050565b6000612df882612d3b565b9150819050919050565b6000612e0d82612da4565b9150612e198288612914565b601482019150612e298287612dd6565b602082019150612e3982866129af565b602082019150612e498285612dd6565b602082019150612e598284612a71565b91508190509695505050505050565b6000602082019050612e7d6000830184612905565b92915050565b6000608082019050612e986000830187612905565b612ea56020830186612905565b612eb26040830185612dc7565b8181036060830152612ec481846129c6565b905095945050505050565b60006020820190508181036000830152612ee9818461292b565b905092915050565b6000602082019050612f0660008301846129a0565b92915050565b60006020820190508181036000830152612f268184612a38565b905092915050565b60006020820190508181036000830152612f4781612aa2565b9050919050565b60006020820190508181036000830152612f6781612ac5565b9050919050565b60006020820190508181036000830152612f8781612ae8565b9050919050565b60006020820190508181036000830152612fa781612b0b565b9050919050565b60006020820190508181036000830152612fc781612b2e565b9050919050565b60006020820190508181036000830152612fe781612b51565b9050919050565b6000602082019050818103600083015261300781612b74565b9050919050565b6000602082019050818103600083015261302781612b97565b9050919050565b6000602082019050818103600083015261304781612bba565b9050919050565b6000602082019050818103600083015261306781612bdd565b9050919050565b6000602082019050818103600083015261308781612c00565b9050919050565b600060208201905081810360008301526130a781612c23565b9050919050565b600060208201905081810360008301526130c781612c46565b9050919050565b600060208201905081810360008301526130e781612c69565b9050919050565b6000602082019050818103600083015261310781612c8c565b9050919050565b6000602082019050818103600083015261312781612caf565b9050919050565b6000602082019050818103600083015261314781612cd2565b9050919050565b6000602082019050818103600083015261316781612cf5565b9050919050565b6000602082019050818103600083015261318781612d18565b9050919050565b600060208201905081810360008301526131a781612d5e565b9050919050565b600060208201905081810360008301526131c781612d81565b9050919050565b60006020820190506131e36000830184612dc7565b92915050565b60006060820190506131fe6000830186612dc7565b61320b6020830185612dc7565b6132186040830184612dc7565b949350505050565b60006080820190506132356000830187612dc7565b6132426020830186612dc7565b61324f6040830185612dc7565b61325c6060830184612dc7565b95945050505050565b600061326f613280565b905061327b82826135a5565b919050565b6000604051905090565b600067ffffffffffffffff8211156132a5576132a4613715565b5b602082029050919050565b600067ffffffffffffffff8211156132cb576132ca613715565b5b6132d482613744565b9050602081019050919050565b600067ffffffffffffffff8211156132fc576132fb613715565b5b61330582613744565b9050602081019050919050565b6000819050919050565b600060029050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006133a982613527565b91506133b483613527565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156133e9576133e8613688565b5b828201905092915050565b60006133ff82613527565b915061340a83613527565b92508261341a576134196136b7565b5b828204905092915050565b600061343082613527565b915061343b83613527565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561347457613473613688565b5b828202905092915050565b600061348a82613527565b915061349583613527565b9250828210156134a8576134a7613688565b5b828203905092915050565b60006134be82613507565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b8381101561355e578082015181840152602081019050613543565b8381111561356d576000848401525b50505050565b6000600282049050600182168061358b57607f821691505b6020821081141561359f5761359e6136e6565b5b50919050565b6135ae82613744565b810181811067ffffffffffffffff821117156135cd576135cc613715565b5b80604052505050565b60006135e182613527565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561361457613613613688565b5b600182019050919050565b600061362a8261363b565b9050919050565b6000819050919050565b600061364682613755565b9050919050565b6000819050919050565b600061366282613527565b915061366d83613527565b92508261367d5761367c6136b7565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f436f6f6b793a2055524920717565727920666f72206e6f6e6578697374656e7460008201527f20746f6b656e0000000000000000000000000000000000000000000000000000602082015250565b7f4d6178206c696d69740000000000000000000000000000000000000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f496e73756666696369656e742066756e64730000000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4d696e7420636f756e742073686f756c6420626520677265617465722074686160008201527f6e207a65726f0000000000000000000000000000000000000000000000000000602082015250565b7f436f6f6b793a20466f7274756e6520717565727920666f72206e6f6e6578697360008201527f74656e7420746f6b656e00000000000000000000000000000000000000000000602082015250565b50565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f4e414e5550414e44415f4c414253000000000000000000000000000000000000600082015250565b613d08816134b3565b8114613d1357600080fd5b50565b613d1f816134c5565b8114613d2a57600080fd5b50565b613d36816134db565b8114613d4157600080fd5b50565b613d4d81613527565b8114613d5857600080fd5b5056fea26469706673582212200b196cc34173ce9f8c5150ed0d78d60cf0f0d952b68fdd16110a4d47915cb91c64736f6c63430008020033000000000000000000000000e2d51a830e857400a3b43b3689f0871681d932a3000000000000000000000000555a2bc042bfd0d8a98b5adedbd794c6c4e60432

Deployed Bytecode

0x6080604052600436106101cd5760003560e01c806370a08231116100f7578063995a882111610095578063c87b56dd11610064578063c87b56dd1461065c578063e985e9c514610699578063f2fde38b146106d6578063f47c84c5146106ff576101cd565b8063995a8821146105a25780639d88dfff146105df578063a22cb4651461060a578063b88d4fde14610633576101cd565b80638da5cb5b116100d15780638da5cb5b146104e457806392d539831461050f57806395d89b411461054c57806398d5fdca14610577576101cd565b806370a0823114610486578063715018a6146104c3578063853828b6146104da576101cd565b806323b872dd1161016f5780635ffa7c3e1161013e5780635ffa7c3e146103d95780636352211e1461040457806368f14f55146104415780636a6278421461046a576101cd565b806323b872dd1461032157806342842e0e1461034a5780635792887c146103735780635a4c16241461039c576101cd565b8063081812fc116101ab578063081812fc14610265578063095ea7b3146102a257806318160ddd146102cb5780631cc8ef53146102f6576101cd565b806301ffc9a7146101d257806306fdde031461020f57806307cfe2e51461023a575b600080fd5b3480156101de57600080fd5b506101f960048036038101906101f49190612835565b61072a565b6040516102069190612ef1565b60405180910390f35b34801561021b57600080fd5b5061022461080c565b6040516102319190612f0c565b60405180910390f35b34801561024657600080fd5b5061024f61089e565b60405161025c91906131ce565b60405180910390f35b34801561027157600080fd5b5061028c600480360381019061028791906128c8565b6108bc565b6040516102999190612e68565b60405180910390f35b3480156102ae57600080fd5b506102c960048036038101906102c491906127b8565b610941565b005b3480156102d757600080fd5b506102e0610a59565b6040516102ed91906131ce565b60405180910390f35b34801561030257600080fd5b5061030b610a6a565b60405161031891906131ce565b60405180910390f35b34801561032d57600080fd5b50610348600480360381019061034391906126b2565b610a99565b005b34801561035657600080fd5b50610371600480360381019061036c91906126b2565b610af9565b005b34801561037f57600080fd5b5061039a600480360381019061039591906127b8565b610b19565b005b3480156103a857600080fd5b506103c360048036038101906103be91906128c8565b610c5d565b6040516103d091906131ce565b60405180910390f35b3480156103e557600080fd5b506103ee610c7a565b6040516103fb91906131ce565b60405180910390f35b34801561041057600080fd5b5061042b600480360381019061042691906128c8565b610c80565b6040516104389190612e68565b60405180910390f35b34801561044d57600080fd5b506104686004803603810190610463919061264d565b610d32565b005b610484600480360381019061047f919061264d565b610df2565b005b34801561049257600080fd5b506104ad60048036038101906104a8919061264d565b610ed3565b6040516104ba91906131ce565b60405180910390f35b3480156104cf57600080fd5b506104d8610f8b565b005b6104e2611013565b005b3480156104f057600080fd5b506104f96110d0565b6040516105069190612e68565b60405180910390f35b34801561051b57600080fd5b50610536600480360381019061053191906128c8565b6110fa565b6040516105439190612ecf565b60405180910390f35b34801561055857600080fd5b50610561611214565b60405161056e9190612f0c565b60405180910390f35b34801561058357600080fd5b5061058c6112a6565b60405161059991906131ce565b60405180910390f35b3480156105ae57600080fd5b506105c960048036038101906105c491906128c8565b6112bc565b6040516105d691906131ce565b60405180910390f35b3480156105eb57600080fd5b506105f46112d4565b60405161060191906131ce565b60405180910390f35b34801561061657600080fd5b50610631600480360381019061062c919061277c565b611308565b005b34801561063f57600080fd5b5061065a60048036038101906106559190612701565b61131e565b005b34801561066857600080fd5b50610683600480360381019061067e91906128c8565b611380565b6040516106909190612f0c565b60405180910390f35b3480156106a557600080fd5b506106c060048036038101906106bb9190612676565b61149d565b6040516106cd9190612ef1565b60405180910390f35b3480156106e257600080fd5b506106fd60048036038101906106f8919061264d565b611531565b005b34801561070b57600080fd5b50610714611629565b60405161072191906131ce565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806107f557507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061080557506108048261162f565b5b9050919050565b60606000805461081b90613573565b80601f016020809104026020016040519081016040528092919081815260200182805461084790613573565b80156108945780601f1061086957610100808354040283529160200191610894565b820191906000526020600020905b81548152906001019060200180831161087757829003601f168201915b5050505050905090565b60006108aa6008611699565b600b546108b791906133f4565b905090565b60006108c7826116a7565b610906576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108fd906130ce565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061094c82610c80565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156109bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109b49061312e565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166109dc611713565b73ffffffffffffffffffffffffffffffffffffffff161480610a0b5750610a0a81610a05611713565b61149d565b5b610a4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a419061304e565b60405180910390fd5b610a54838361171b565b505050565b6000610a656008611699565b905090565b600080610a756112d4565b62093a80610a839190613425565b905080600954610a93919061339e565b91505090565b610aaa610aa4611713565b826117d4565b610ae9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ae0906131ae565b60405180910390fd5b610af48383836118b2565b505050565b610b148383836040518060200160405280600081525061131e565b505050565b610b21611713565b73ffffffffffffffffffffffffffffffffffffffff16610b3f6110d0565b73ffffffffffffffffffffffffffffffffffffffff1614610b95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b8c906130ee565b60405180910390fd5b60008111610bd8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bcf9061314e565b60405180910390fd5b61045781610be66008611699565b610bf0919061339e565b1115610c31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c2890612fee565b60405180910390fd5b60005b81811015610c5857610c4583611b0e565b8080610c50906135d6565b915050610c34565b505050565b6000600d6000838152602001908152602001600020549050919050565b600b5481565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610d29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d209061308e565b60405180910390fd5b80915050919050565b610d3a611713565b73ffffffffffffffffffffffffffffffffffffffff16610d586110d0565b73ffffffffffffffffffffffffffffffffffffffff1614610dae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da5906130ee565b60405180910390fd5b80600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6104576001610e016008611699565b610e0b919061339e565b1115610e4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4390612fee565b60405180910390fd5b60c9610e586008611699565b1015610e7c5734600b6000828254610e70919061339e565b92505081905550610ec7565b610e846112a6565b341015610ec6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ebd9061302e565b60405180910390fd5b5b610ed081611b0e565b50565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610f44576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f3b9061306e565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610f93611713565b73ffffffffffffffffffffffffffffffffffffffff16610fb16110d0565b73ffffffffffffffffffffffffffffffffffffffff1614611007576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ffe906130ee565b60405180910390fd5b6110116000611b6b565b565b61101b611713565b73ffffffffffffffffffffffffffffffffffffffff166110396110d0565b73ffffffffffffffffffffffffffffffffffffffff161461108f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611086906130ee565b60405180910390fd5b6000479050600081116110a157600080fd5b6110cd600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682611c31565b50565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611102612472565b61110b826116a7565b61114a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111419061316e565b60405180910390fd5b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166379dccf8c8361119285610c5d565b61119a6112d4565b6040518463ffffffff1660e01b81526004016111b8939291906131e9565b60006040518083038186803b1580156111d057600080fd5b505afa1580156111e4573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f8201168201806040525081019061120d91906127f4565b9050919050565b60606001805461122390613573565b80601f016020809104026020016040519081016040528092919081815260200182805461124f90613573565b801561129c5780601f106112715761010080835404028352916020019161129c565b820191906000526020600020905b81548152906001019060200180831161127f57829003601f168201915b5050505050905090565b600060c8600b546112b791906133f4565b905090565b600d6020528060005260406000206000915090505481565b600080600954426112e5919061347f565b9050600162093a80826112f891906133f4565b611302919061339e565b91505090565b61131a611313611713565b8383611ce2565b5050565b61132f611329611713565b836117d4565b61136e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611365906131ae565b60405180910390fd5b61137a84848484611e4f565b50505050565b606061138b826116a7565b6113ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113c190612fce565b60405180910390fd5b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166378db7eec8361141285610c5d565b61141a6112d4565b611422610a6a565b6040518563ffffffff1660e01b81526004016114419493929190613220565b60006040518083038186803b15801561145957600080fd5b505afa15801561146d573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906114969190612887565b9050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611539611713565b73ffffffffffffffffffffffffffffffffffffffff166115576110d0565b73ffffffffffffffffffffffffffffffffffffffff16146115ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115a4906130ee565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561161d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161490612f4e565b60405180910390fd5b61162681611b6b565b50565b61045781565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600081600001549050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661178e83610c80565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006117df826116a7565b61181e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118159061300e565b60405180910390fd5b600061182983610c80565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061189857508373ffffffffffffffffffffffffffffffffffffffff16611880846108bc565b73ffffffffffffffffffffffffffffffffffffffff16145b806118a957506118a8818561149d565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166118d282610c80565b73ffffffffffffffffffffffffffffffffffffffff1614611928576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191f9061310e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611998576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161198f90612f8e565b60405180910390fd5b6119a3838383611eab565b6119ae60008261171b565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546119fe919061347f565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611a55919061339e565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b611b186008611eb0565b6000611b246008611699565b9050611b308282611ec6565b611b3a8282611f4d565b807f94a605b759fb37dbf162a875f01f0a26001c4e9e716e4fc15f5b3d017bdba0a460405160405180910390a25050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008273ffffffffffffffffffffffffffffffffffffffff1682604051611c5790612ded565b60006040518083038185875af1925050503d8060008114611c94576040519150601f19603f3d011682016040523d82523d6000602084013e611c99565b606091505b5050905080611cdd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cd49061318e565b60405180910390fd5b505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611d51576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d4890612fae565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611e429190612ef1565b60405180910390a3505050565b611e5a8484846118b2565b611e668484848461211b565b611ea5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e9c90612f2e565b60405180910390fd5b50505050565b505050565b6001816000016000828254019250508190555050565b60008244600143611ed7919061347f565b4042611ee2866122b2565b604051602001611ef6959493929190612e02565b6040516020818303038152906040528051906020012060001c9050600061038382611f219190613657565b9050606481611f30919061339e565b600d60008581526020019081526020016000208190555050505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611fbd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fb4906130ae565b60405180910390fd5b611fc6816116a7565b15612006576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ffd90612f6e565b60405180910390fd5b61201260008383611eab565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612062919061339e565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600061213c8473ffffffffffffffffffffffffffffffffffffffff1661245f565b156122a5578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612165611713565b8786866040518563ffffffff1660e01b81526004016121879493929190612e83565b602060405180830381600087803b1580156121a157600080fd5b505af19250505080156121d257506040513d601f19601f820116820180604052508101906121cf919061285e565b60015b612255573d8060008114612202576040519150601f19603f3d011682016040523d82523d6000602084013e612207565b606091505b5060008151141561224d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161224490612f2e565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506122aa565b600190505b949350505050565b606060008214156122fa576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061245a565b600082905060005b6000821461232c578080612315906135d6565b915050600a8261232591906133f4565b9150612302565b60008167ffffffffffffffff81111561236e577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156123a05781602001600182028036833780820191505090505b5090505b60008514612453576001826123b9919061347f565b9150600a856123c89190613657565b60306123d4919061339e565b60f81b818381518110612410577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561244c91906133f4565b94506123a4565b8093505050505b919050565b600080823b905060008111915050919050565b60405180604001604052806002905b60608152602001906001900390816124815790505090565b60006124ac6124a78461328a565b613265565b9050808260005b858110156124e357815185016124c9888261260e565b8452602084019350602083019250506001810190506124b3565b5050509392505050565b60006125006124fb846132b0565b613265565b90508281526020810184848401111561251857600080fd5b612523848285613531565b509392505050565b600061253e612539846132e1565b613265565b90508281526020810184848401111561255657600080fd5b612561848285613540565b509392505050565b60008135905061257881613cff565b92915050565b600082601f83011261258f57600080fd5b600261259c848285612499565b91505092915050565b6000813590506125b481613d16565b92915050565b6000813590506125c981613d2d565b92915050565b6000815190506125de81613d2d565b92915050565b600082601f8301126125f557600080fd5b81356126058482602086016124ed565b91505092915050565b600082601f83011261261f57600080fd5b815161262f84826020860161252b565b91505092915050565b60008135905061264781613d44565b92915050565b60006020828403121561265f57600080fd5b600061266d84828501612569565b91505092915050565b6000806040838503121561268957600080fd5b600061269785828601612569565b92505060206126a885828601612569565b9150509250929050565b6000806000606084860312156126c757600080fd5b60006126d586828701612569565b93505060206126e686828701612569565b92505060406126f786828701612638565b9150509250925092565b6000806000806080858703121561271757600080fd5b600061272587828801612569565b945050602061273687828801612569565b935050604061274787828801612638565b925050606085013567ffffffffffffffff81111561276457600080fd5b612770878288016125e4565b91505092959194509250565b6000806040838503121561278f57600080fd5b600061279d85828601612569565b92505060206127ae858286016125a5565b9150509250929050565b600080604083850312156127cb57600080fd5b60006127d985828601612569565b92505060206127ea85828601612638565b9150509250929050565b60006020828403121561280657600080fd5b600082015167ffffffffffffffff81111561282057600080fd5b61282c8482850161257e565b91505092915050565b60006020828403121561284757600080fd5b6000612855848285016125ba565b91505092915050565b60006020828403121561287057600080fd5b600061287e848285016125cf565b91505092915050565b60006020828403121561289957600080fd5b600082015167ffffffffffffffff8111156128b357600080fd5b6128bf8482850161260e565b91505092915050565b6000602082840312156128da57600080fd5b60006128e884828501612638565b91505092915050565b60006128fd83836129ff565b905092915050565b61290e816134b3565b82525050565b612925612920826134b3565b61361f565b82525050565b60006129368261331c565b612940818561334a565b93508360208202850161295285613312565b8060005b8581101561298e578484038952815161296f85826128f1565b945061297a8361333d565b925060208a01995050600181019050612956565b50829750879550505050505092915050565b6129a9816134c5565b82525050565b6129c06129bb826134d1565b613631565b82525050565b60006129d182613327565b6129db8185613355565b93506129eb818560208601613540565b6129f481613744565b840191505092915050565b6000612a0a82613332565b612a148185613371565b9350612a24818560208601613540565b612a2d81613744565b840191505092915050565b6000612a4382613332565b612a4d8185613382565b9350612a5d818560208601613540565b612a6681613744565b840191505092915050565b6000612a7c82613332565b612a868185613393565b9350612a96818560208601613540565b80840191505092915050565b6000612aaf603283613382565b9150612aba82613762565b604082019050919050565b6000612ad2602683613382565b9150612add826137b1565b604082019050919050565b6000612af5601c83613382565b9150612b0082613800565b602082019050919050565b6000612b18602483613382565b9150612b2382613829565b604082019050919050565b6000612b3b601983613382565b9150612b4682613878565b602082019050919050565b6000612b5e602683613382565b9150612b69826138a1565b604082019050919050565b6000612b81600983613382565b9150612b8c826138f0565b602082019050919050565b6000612ba4602c83613382565b9150612baf82613919565b604082019050919050565b6000612bc7601283613382565b9150612bd282613968565b602082019050919050565b6000612bea603883613382565b9150612bf582613991565b604082019050919050565b6000612c0d602a83613382565b9150612c18826139e0565b604082019050919050565b6000612c30602983613382565b9150612c3b82613a2f565b604082019050919050565b6000612c53602083613382565b9150612c5e82613a7e565b602082019050919050565b6000612c76602c83613382565b9150612c8182613aa7565b604082019050919050565b6000612c99602083613382565b9150612ca482613af6565b602082019050919050565b6000612cbc602983613382565b9150612cc782613b1f565b604082019050919050565b6000612cdf602183613382565b9150612cea82613b6e565b604082019050919050565b6000612d02602683613382565b9150612d0d82613bbd565b604082019050919050565b6000612d25602a83613382565b9150612d3082613c0c565b604082019050919050565b6000612d48600083613366565b9150612d5382613c5b565b600082019050919050565b6000612d6b601083613382565b9150612d7682613c5e565b602082019050919050565b6000612d8e603183613382565b9150612d9982613c87565b604082019050919050565b6000612db1600e83613393565b9150612dbc82613cd6565b600e82019050919050565b612dd081613527565b82525050565b612de7612de282613527565b61364d565b82525050565b6000612df882612d3b565b9150819050919050565b6000612e0d82612da4565b9150612e198288612914565b601482019150612e298287612dd6565b602082019150612e3982866129af565b602082019150612e498285612dd6565b602082019150612e598284612a71565b91508190509695505050505050565b6000602082019050612e7d6000830184612905565b92915050565b6000608082019050612e986000830187612905565b612ea56020830186612905565b612eb26040830185612dc7565b8181036060830152612ec481846129c6565b905095945050505050565b60006020820190508181036000830152612ee9818461292b565b905092915050565b6000602082019050612f0660008301846129a0565b92915050565b60006020820190508181036000830152612f268184612a38565b905092915050565b60006020820190508181036000830152612f4781612aa2565b9050919050565b60006020820190508181036000830152612f6781612ac5565b9050919050565b60006020820190508181036000830152612f8781612ae8565b9050919050565b60006020820190508181036000830152612fa781612b0b565b9050919050565b60006020820190508181036000830152612fc781612b2e565b9050919050565b60006020820190508181036000830152612fe781612b51565b9050919050565b6000602082019050818103600083015261300781612b74565b9050919050565b6000602082019050818103600083015261302781612b97565b9050919050565b6000602082019050818103600083015261304781612bba565b9050919050565b6000602082019050818103600083015261306781612bdd565b9050919050565b6000602082019050818103600083015261308781612c00565b9050919050565b600060208201905081810360008301526130a781612c23565b9050919050565b600060208201905081810360008301526130c781612c46565b9050919050565b600060208201905081810360008301526130e781612c69565b9050919050565b6000602082019050818103600083015261310781612c8c565b9050919050565b6000602082019050818103600083015261312781612caf565b9050919050565b6000602082019050818103600083015261314781612cd2565b9050919050565b6000602082019050818103600083015261316781612cf5565b9050919050565b6000602082019050818103600083015261318781612d18565b9050919050565b600060208201905081810360008301526131a781612d5e565b9050919050565b600060208201905081810360008301526131c781612d81565b9050919050565b60006020820190506131e36000830184612dc7565b92915050565b60006060820190506131fe6000830186612dc7565b61320b6020830185612dc7565b6132186040830184612dc7565b949350505050565b60006080820190506132356000830187612dc7565b6132426020830186612dc7565b61324f6040830185612dc7565b61325c6060830184612dc7565b95945050505050565b600061326f613280565b905061327b82826135a5565b919050565b6000604051905090565b600067ffffffffffffffff8211156132a5576132a4613715565b5b602082029050919050565b600067ffffffffffffffff8211156132cb576132ca613715565b5b6132d482613744565b9050602081019050919050565b600067ffffffffffffffff8211156132fc576132fb613715565b5b61330582613744565b9050602081019050919050565b6000819050919050565b600060029050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006133a982613527565b91506133b483613527565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156133e9576133e8613688565b5b828201905092915050565b60006133ff82613527565b915061340a83613527565b92508261341a576134196136b7565b5b828204905092915050565b600061343082613527565b915061343b83613527565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561347457613473613688565b5b828202905092915050565b600061348a82613527565b915061349583613527565b9250828210156134a8576134a7613688565b5b828203905092915050565b60006134be82613507565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b8381101561355e578082015181840152602081019050613543565b8381111561356d576000848401525b50505050565b6000600282049050600182168061358b57607f821691505b6020821081141561359f5761359e6136e6565b5b50919050565b6135ae82613744565b810181811067ffffffffffffffff821117156135cd576135cc613715565b5b80604052505050565b60006135e182613527565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561361457613613613688565b5b600182019050919050565b600061362a8261363b565b9050919050565b6000819050919050565b600061364682613755565b9050919050565b6000819050919050565b600061366282613527565b915061366d83613527565b92508261367d5761367c6136b7565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f436f6f6b793a2055524920717565727920666f72206e6f6e6578697374656e7460008201527f20746f6b656e0000000000000000000000000000000000000000000000000000602082015250565b7f4d6178206c696d69740000000000000000000000000000000000000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f496e73756666696369656e742066756e64730000000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4d696e7420636f756e742073686f756c6420626520677265617465722074686160008201527f6e207a65726f0000000000000000000000000000000000000000000000000000602082015250565b7f436f6f6b793a20466f7274756e6520717565727920666f72206e6f6e6578697360008201527f74656e7420746f6b656e00000000000000000000000000000000000000000000602082015250565b50565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f4e414e5550414e44415f4c414253000000000000000000000000000000000000600082015250565b613d08816134b3565b8114613d1357600080fd5b50565b613d1f816134c5565b8114613d2a57600080fd5b50565b613d36816134db565b8114613d4157600080fd5b50565b613d4d81613527565b8114613d5857600080fd5b5056fea26469706673582212200b196cc34173ce9f8c5150ed0d78d60cf0f0d952b68fdd16110a4d47915cb91c64736f6c63430008020033

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

000000000000000000000000e2d51a830e857400a3b43b3689f0871681d932a3000000000000000000000000555a2bc042bfd0d8a98b5adedbd794c6c4e60432

-----Decoded View---------------
Arg [0] : _transferWallet (address): 0xe2D51a830e857400A3b43b3689f0871681d932a3
Arg [1] : _buildCooky (address): 0x555A2Bc042BfD0D8A98b5ADEDbD794c6C4E60432

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000e2d51a830e857400a3b43b3689f0871681d932a3
Arg [1] : 000000000000000000000000555a2bc042bfd0d8a98b5adedbd794c6c4e60432


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.