ETH Price: $3,479.69 (+4.38%)

Token

Alien Punk Mfers (AlienPunkMfers)
 

Overview

Max Total Supply

2,245 AlienPunkMfers

Holders

474

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
midmod.eth
Balance
9 AlienPunkMfers
0xa43711f5dcc3559a1e07ec124fd167e26c9bad43
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:
AlienPunkMfers

Compiler Version
v0.8.12+commit.f00d7308

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 13 : AlienPunkMfers.sol
// SPDX-License-Identifier: MIT

/*******************************************************************************
       _ _                                _                 __              
      | (_)                              | |               / _|             
  __ _| |_  ___ _ __    _ __  _   _ _ __ | | __  _ __ ___ | |_ ___ _ __ ___ 
 / _` | | |/ _ \ '_ \  | '_ \| | | | '_ \| |/ / | '_ ` _ \|  _/ _ \ '__/ __|
| (_| | | |  __/ | | | | |_) | |_| | | | |   <  | | | | | | ||  __/ |  \__ \
 \__,_|_|_|\___|_| |_| | .__/ \__,_|_| |_|_|\_\ |_| |_| |_|_| \___|_|  |___/
                       | |                                                  
                       |_|    

 "we all mfers. there is no king, ruler, or defined roadmap -- and mfers can 
        build whatever they can think of with these mfers." -a mfer   
                            alienpunkmfers.com                                           
*******************************************************************************/

pragma solidity ^0.8.0;

import "erc721a/contracts/extensions/ERC721ABurnable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";

abstract contract ERC721 {
  function ownerOf(uint256 tokenId) public virtual view returns (address);
}

abstract contract DROOL {
  function burnFrom(address _from, uint256 _amount) external virtual;
}

contract AlienPunkMfers is Ownable, ERC721ABurnable {
    
    struct TokenData {
        uint gene;
        uint generation;
        uint parentGene;
        uint parentHead;
        uint lastEvoTime;
        uint shedCount;
    }

    // Public properties
    string public baseURI = "";
    uint public txnLimit = 100;
    uint public mintPrice = 0.0069 ether;
    uint public max = 10000;
    uint public pluckPrice = 0 ether;
    uint public shedPrice = 0 ether;
    bool public pluckingEnabled = false;
    bool public shedingEnabled = false;
    bool public saleIsActive = false;
    uint public pluckCooldown = 0;
    mapping(uint => bool) public mferClaimed;
    mapping(uint => bool) public aptClaimed;
    DROOL public drool;
    
    // Private properties
    uint private lastRandomForGene;
    mapping(uint => TokenData) private tokenData;
    ERC721 private alienPunkThings;
    ERC721 private mfers;

    // Events
    event Evolved(uint indexed _tokenId, bool plucked);
    
    constructor() 
        ERC721A("Alien Punk Mfers", "AlienPunkMfers")
         {
        alienPunkThings = ERC721(0x5B98Ab35514C1C91F33ba12E0778D53E1eBDb106);
        mfers = ERC721(0x79FCDEF22feeD20eDDacbB2587640e45491b757f);
    }

    // Mint functions
    function mint(uint total) external payable {
        require(total > 0, "No 0 txns");
        require(total <= txnLimit, "Over txn limit");
        require(saleIsActive, "Paused");
        require(mintPrice * total <= msg.value, "Not enough eth");  
        require(max >= totalSupply() + total, "Exceeds max supply");

        _safeMint(msg.sender, total);
    }

    function aptClaim(uint[] calldata aptTokenIds) external {
        uint total = aptTokenIds.length;
        require(max >= totalSupply() + total, "Exceeds max supply");
        for(uint i=0; i < total; i++) {
            uint tokenId = aptTokenIds[i];
            require(!aptClaimed[tokenId], "Already claimed");
            require(alienPunkThings.ownerOf(tokenId) == msg.sender, "Not yours");
            aptClaimed[tokenId] = true;
        }
        _safeMint(msg.sender, total);
    }

    function mferClaim(uint[] calldata mferTokenIds) external {
        uint total = mferTokenIds.length;
        require(max >= totalSupply() + total, "Exceeds max supply");
        for(uint i=0; i < total; i++) {
            uint tokenId = mferTokenIds[i];
            require(!mferClaimed[tokenId], "Already claimed");
            require(mfers.ownerOf(tokenId) == msg.sender, "Not yours");
            mferClaimed[tokenId] = true;
        }
        _safeMint(msg.sender, total);
    }

    // Evolution functions
    function shedHeads(uint tokenId) external {
        require(shedingEnabled, "Paused");
        require(hasHead(tokenId, 1) || hasHead(tokenId,2), "No head");
        require(ownerOf(tokenId) == msg.sender, "Not your token"); 

        // Make sure cooldown has passed
        uint time = block.timestamp;
        uint lastEvoTime = tokenData[tokenId].lastEvoTime;
        require(lastEvoTime == 0 || time - lastEvoTime >= pluckCooldown, "Head is not ripe");

        if(shedPrice > 0) {
            // Sacrifices must be made
            drool.burnFrom(msg.sender, shedPrice);
        }
        tokenData[tokenId].shedCount += 1;
        tokenData[tokenId].lastEvoTime = time;
        emit Evolved(tokenId, false);
    }
    
    function pluckHead(uint tokenId, uint head) external {
        require(pluckingEnabled, "Paused");
        require(hasHead(tokenId, 1) && head == 1 || hasHead(tokenId,2) && head == 2 , "No head");
        require(ownerOf(tokenId) == msg.sender, "Not your token");
        
        // Make sure cooldown has passed
        uint time = block.timestamp;
        uint lastEvoTime = tokenData[tokenId].lastEvoTime;
        require(lastEvoTime == 0 || time - lastEvoTime >= pluckCooldown, "Head is not ripe");

        // Create ancestry data for new token
        TokenData storage data = tokenData[tokenId];
        uint parentGene = geneOf(tokenId);
        data.generation += 1;
        data.parentGene = parentGene;
        data.parentHead = head;
        data.gene = randomGene();
        data.lastEvoTime = time;
        
        if(pluckPrice > 0) {
            // Sacrifices must be made
            drool.burnFrom(msg.sender, pluckPrice);
        }

        emit Evolved(tokenId, true);
    }
    
    // Public ancestry and gene functions
    function geneOf(uint tokenId) public view virtual returns (uint gene) {
        require(_exists(tokenId), "Token does not exist.");
        TokenData memory data = tokenData[tokenId];
        return data.generation > 0 ? data.gene : uint256(keccak256(abi.encodePacked(string(toString(tokenId)))));
    }

    function parentGeneOf(uint tokenId) external view virtual returns (uint parentTokenId) {
        require(_exists(tokenId), "Token does not exist.");
        require(tokenData[tokenId].generation > 0, "Has no parent");
        return tokenData[tokenId].parentGene;
    }

    function parentHeadOf(uint tokenId) external view virtual returns (uint parentHead) {
        require(_exists(tokenId), "Token does not exist.");
        require(tokenData[tokenId].generation > 0, "Has no parent");
        return tokenData[tokenId].parentHead;
    }
    
    function generationOf(uint tokenId) external view virtual returns (uint generation) {
        require(_exists(tokenId), "Token does not exist.");
        return tokenData[tokenId].generation;
    }

    function shedCountOf(uint tokenId) external view virtual returns (uint shedCount) {
        require(_exists(tokenId), "Token does not exist.");
        return tokenData[tokenId].shedCount;
    }

    function hasHead(uint tokenId, uint head) public view virtual returns (bool) {
        require(_exists(tokenId), "Token does not exist.");
        require(head == 1 || head == 2, "Invalid head");
        bool result = false;
        uint rnd  = random(string(abi.encodePacked(tokenData[tokenId].shedCount, toString(geneOf(tokenId))))) % 500;
        if(rnd >= 75 && rnd < 375) {
            // This mfer only has the left growth
            result = head == 1;
        }
        if(rnd >= 375 && rnd < 475) {
            // This mfer only has the right growth
            result = head == 2;
        }
        if(rnd >= 475 && rnd < 500) {
            // This mfer has both growths
            result = true;
        }
        // This mfer has no growths
        return result;
    }

    function lastEvoTimeOf(uint tokenId) external view virtual returns(uint birthBlockTime) {
        require(_exists(tokenId), "Token does not exist.");
        return tokenData[tokenId].lastEvoTime;
    }

    // Public admin functions
    function flipSaleState() external {
        checkOwner();
        saleIsActive = !saleIsActive;
    }

    function setPluckData(address droolAddr, bool enablePlucking, uint pluckCost, bool enableShedding, uint shedCost, uint cooldown) external {
        checkOwner();
        drool = DROOL(droolAddr);
        pluckPrice = pluckCost;
        pluckCooldown = cooldown;
        pluckingEnabled = enablePlucking;
        shedPrice = shedCost;
        shedingEnabled = enableShedding;
    }

    function setBaseURI(string memory baseURI_) external {
        checkOwner();
        baseURI = baseURI_;
    }

    function releaseAll() external {
        uint balance = address(this).balance;
        uint charity = balance / 100 * 10;
        uint artist = balance / 100 * 45;
        uint dev = balance / 100 * 45;
        Address.sendValue(payable(0x750EF1D7a0b4Ab1c97B7A623D7917CcEb5ea779C), charity);
        Address.sendValue(payable(0x0beAF25a1De14FAF9DB5BA0bad13B70267e3D01e), artist);
        Address.sendValue(payable(0xBc3B2d37c5B32686b0804a7d6A317E15173d10A7), dev);
    }

    // Utility functions
    function checkOwner() internal view {
        require(owner() == _msgSender(), "Not owner");
    }
    
    function toString(uint256 value) internal pure returns (string memory) {
        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);
    }

    function randomGene() internal returns (uint256) {
        unchecked {
            lastRandomForGene = uint256(keccak256(abi.encode(keccak256(abi.encodePacked(msg.sender, tx.origin, gasleft(), lastRandomForGene, block.timestamp, block.number, blockhash(block.number), blockhash(block.number-100))))));
        }
        return lastRandomForGene;
    }

    function random(string memory input) internal pure returns (uint256) {
        return uint256(keccak256(abi.encodePacked(input)));
    }

    // overrides
    function tokenURI(uint256 _tokenId) public view override returns (string memory) {
        require(_exists(_tokenId), "Token does not exist.");
        return bytes(baseURI).length > 0 ? string(
            abi.encodePacked(
              baseURI,
              Strings.toString(_tokenId),
              ".json"
            )
        ) : "";
    }
}

File 2 of 13 : ERC721ABurnable.sol
// SPDX-License-Identifier: MIT
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import '../ERC721A.sol';
import '@openzeppelin/contracts/utils/Context.sol';

/**
 * @title ERC721A Burnable Token
 * @dev ERC721A Token that can be irreversibly burned (destroyed).
 */
abstract contract ERC721ABurnable is Context, ERC721A {

    /**
     * @dev Burns `tokenId`. See {ERC721A-_burn}.
     *
     * Requirements:
     *
     * - The caller must own `tokenId` or be an approved operator.
     */
    function burn(uint256 tokenId) public virtual {
        TokenOwnership memory prevOwnership = ownershipOf(tokenId);

        bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr ||
            isApprovedForAll(prevOwnership.addr, _msgSender()) ||
            getApproved(tokenId) == _msgSender());

        if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();

        _burn(tokenId);
    }
}

File 3 of 13 : 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 4 of 13 : ERC721A.sol
// SPDX-License-Identifier: MIT
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import '@openzeppelin/contracts/token/ERC721/IERC721.sol';
import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol';
import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol';
import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol';
import '@openzeppelin/contracts/utils/Address.sol';
import '@openzeppelin/contracts/utils/Context.sol';
import '@openzeppelin/contracts/utils/Strings.sol';
import '@openzeppelin/contracts/utils/introspection/ERC165.sol';

error ApprovalCallerNotOwnerNorApproved();
error ApprovalQueryForNonexistentToken();
error ApproveToCaller();
error ApprovalToCurrentOwner();
error BalanceQueryForZeroAddress();
error MintedQueryForZeroAddress();
error BurnedQueryForZeroAddress();
error AuxQueryForZeroAddress();
error MintToZeroAddress();
error MintZeroQuantity();
error OwnerIndexOutOfBounds();
error OwnerQueryForNonexistentToken();
error TokenIndexOutOfBounds();
error TransferCallerNotOwnerNorApproved();
error TransferFromIncorrectOwner();
error TransferToNonERC721ReceiverImplementer();
error TransferToZeroAddress();
error URIQueryForNonexistentToken();

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension. Built to optimize for lower gas during batch mints.
 *
 * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..).
 *
 * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
 *
 * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256).
 */
contract ERC721A is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Compiler will pack this into a single 256bit word.
    struct TokenOwnership {
        // The address of the owner.
        address addr;
        // Keeps track of the start time of ownership with minimal overhead for tokenomics.
        uint64 startTimestamp;
        // Whether the token has been burned.
        bool burned;
    }

    // Compiler will pack this into a single 256bit word.
    struct AddressData {
        // Realistically, 2**64-1 is more than enough.
        uint64 balance;
        // Keeps track of mint count with minimal overhead for tokenomics.
        uint64 numberMinted;
        // Keeps track of burn count with minimal overhead for tokenomics.
        uint64 numberBurned;
        // For miscellaneous variable(s) pertaining to the address
        // (e.g. number of whitelist mint slots used).
        // If there are multiple variables, please pack them into a uint64.
        uint64 aux;
    }

    // The tokenId of the next token to be minted.
    uint256 internal _currentIndex;

    // The number of tokens burned.
    uint256 internal _burnCounter;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to ownership details
    // An empty struct value does not necessarily mean the token is unowned. See ownershipOf implementation for details.
    mapping(uint256 => TokenOwnership) internal _ownerships;

    // Mapping owner address to address data
    mapping(address => AddressData) private _addressData;

    // 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;

    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
        _currentIndex = _startTokenId();
    }

    /**
     * To change the starting tokenId, please override this function.
     */
    function _startTokenId() internal view virtual returns (uint256) {
        return 0;
    }

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     * @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens.
     */
    function totalSupply() public view returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than _currentIndex - _startTokenId() times
        unchecked {
            return _currentIndex - _burnCounter - _startTokenId();
        }
    }

    /**
     * Returns the total amount of tokens minted in the contract.
     */
    function _totalMinted() internal view returns (uint256) {
        // Counter underflow is impossible as _currentIndex does not decrement,
        // and it is initialized to _startTokenId()
        unchecked {
            return _currentIndex - _startTokenId();
        }
    }

    /**
     * @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 override returns (uint256) {
        if (owner == address(0)) revert BalanceQueryForZeroAddress();
        return uint256(_addressData[owner].balance);
    }

    /**
     * Returns the number of tokens minted by `owner`.
     */
    function _numberMinted(address owner) internal view returns (uint256) {
        if (owner == address(0)) revert MintedQueryForZeroAddress();
        return uint256(_addressData[owner].numberMinted);
    }

    /**
     * Returns the number of tokens burned by or on behalf of `owner`.
     */
    function _numberBurned(address owner) internal view returns (uint256) {
        if (owner == address(0)) revert BurnedQueryForZeroAddress();
        return uint256(_addressData[owner].numberBurned);
    }

    /**
     * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
     */
    function _getAux(address owner) internal view returns (uint64) {
        if (owner == address(0)) revert AuxQueryForZeroAddress();
        return _addressData[owner].aux;
    }

    /**
     * Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
     * If there are multiple variables, please pack them into a uint64.
     */
    function _setAux(address owner, uint64 aux) internal {
        if (owner == address(0)) revert AuxQueryForZeroAddress();
        _addressData[owner].aux = aux;
    }

    /**
     * Gas spent here starts off proportional to the maximum mint batch size.
     * It gradually moves to O(1) as tokens get transferred around in the collection over time.
     */
    function ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) {
        uint256 curr = tokenId;

        unchecked {
            if (_startTokenId() <= curr && curr < _currentIndex) {
                TokenOwnership memory ownership = _ownerships[curr];
                if (!ownership.burned) {
                    if (ownership.addr != address(0)) {
                        return ownership;
                    }
                    // Invariant:
                    // There will always be an ownership that has an address and is not burned
                    // before an ownership that does not have an address and is not burned.
                    // Hence, curr will not underflow.
                    while (true) {
                        curr--;
                        ownership = _ownerships[curr];
                        if (ownership.addr != address(0)) {
                            return ownership;
                        }
                    }
                }
            }
        }
        revert OwnerQueryForNonexistentToken();
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view override returns (address) {
        return ownershipOf(tokenId).addr;
    }

    /**
     * @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) {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

        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 override {
        address owner = ERC721A.ownerOf(tokenId);
        if (to == owner) revert ApprovalToCurrentOwner();

        if (_msgSender() != owner && !isApprovedForAll(owner, _msgSender())) {
            revert ApprovalCallerNotOwnerNorApproved();
        }

        _approve(to, tokenId, owner);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view override returns (address) {
        if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public override {
        if (operator == _msgSender()) revert ApproveToCaller();

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

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

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        _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 {
        _transfer(from, to, tokenId);
        if (to.isContract() && !_checkContractOnERC721Received(from, to, tokenId, _data)) {
            revert TransferToNonERC721ReceiverImplementer();
        }
    }

    /**
     * @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`),
     */
    function _exists(uint256 tokenId) internal view returns (bool) {
        return _startTokenId() <= tokenId && tokenId < _currentIndex &&
            !_ownerships[tokenId].burned;
    }

    function _safeMint(address to, uint256 quantity) internal {
        _safeMint(to, quantity, '');
    }

    /**
     * @dev Safely mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called for each safe transfer.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(
        address to,
        uint256 quantity,
        bytes memory _data
    ) internal {
        _mint(to, quantity, _data, true);
    }

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event.
     */
    function _mint(
        address to,
        uint256 quantity,
        bytes memory _data,
        bool safe
    ) internal {
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();

        _beforeTokenTransfers(address(0), to, startTokenId, quantity);

        // Overflows are incredibly unrealistic.
        // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1
        // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1
        unchecked {
            _addressData[to].balance += uint64(quantity);
            _addressData[to].numberMinted += uint64(quantity);

            _ownerships[startTokenId].addr = to;
            _ownerships[startTokenId].startTimestamp = uint64(block.timestamp);

            uint256 updatedIndex = startTokenId;
            uint256 end = updatedIndex + quantity;

            if (safe && to.isContract()) {
                do {
                    emit Transfer(address(0), to, updatedIndex);
                    if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) {
                        revert TransferToNonERC721ReceiverImplementer();
                    }
                } while (updatedIndex != end);
                // Reentrancy protection
                if (_currentIndex != startTokenId) revert();
            } else {
                do {
                    emit Transfer(address(0), to, updatedIndex++);
                } while (updatedIndex != end);
            }
            _currentIndex = updatedIndex;
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * 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
    ) private {
        TokenOwnership memory prevOwnership = ownershipOf(tokenId);

        bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr ||
            isApprovedForAll(prevOwnership.addr, _msgSender()) ||
            getApproved(tokenId) == _msgSender());

        if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        if (prevOwnership.addr != from) revert TransferFromIncorrectOwner();
        if (to == address(0)) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

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

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256.
        unchecked {
            _addressData[from].balance -= 1;
            _addressData[to].balance += 1;

            _ownerships[tokenId].addr = to;
            _ownerships[tokenId].startTimestamp = uint64(block.timestamp);

            // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it.
            // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
            uint256 nextTokenId = tokenId + 1;
            if (_ownerships[nextTokenId].addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId < _currentIndex) {
                    _ownerships[nextTokenId].addr = prevOwnership.addr;
                    _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

        emit Transfer(from, to, tokenId);
        _afterTokenTransfers(from, to, tokenId, 1);
    }

    /**
     * @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 {
        TokenOwnership memory prevOwnership = ownershipOf(tokenId);

        _beforeTokenTransfers(prevOwnership.addr, address(0), tokenId, 1);

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

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256.
        unchecked {
            _addressData[prevOwnership.addr].balance -= 1;
            _addressData[prevOwnership.addr].numberBurned += 1;

            // Keep track of who burned the token, and the timestamp of burning.
            _ownerships[tokenId].addr = prevOwnership.addr;
            _ownerships[tokenId].startTimestamp = uint64(block.timestamp);
            _ownerships[tokenId].burned = true;

            // If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it.
            // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
            uint256 nextTokenId = tokenId + 1;
            if (_ownerships[nextTokenId].addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId < _currentIndex) {
                    _ownerships[nextTokenId].addr = prevOwnership.addr;
                    _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

        emit Transfer(prevOwnership.addr, address(0), tokenId);
        _afterTokenTransfers(prevOwnership.addr, address(0), tokenId, 1);

        // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times.
        unchecked {
            _burnCounter++;
        }
    }

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

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target 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 _checkContractOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
            return retval == IERC721Receiver(to).onERC721Received.selector;
        } catch (bytes memory reason) {
            if (reason.length == 0) {
                revert TransferToNonERC721ReceiverImplementer();
            } else {
                assembly {
                    revert(add(32, reason), mload(reason))
                }
            }
        }
    }

    /**
     * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting.
     * And also called before burning one token.
     *
     * startTokenId - the first token id to be transferred
     * quantity - the amount to be transferred
     *
     * 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, `tokenId` will be burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _beforeTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}

    /**
     * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes
     * minting.
     * And also called after one token has been burned.
     *
     * startTokenId - the first token id to be transferred
     * quantity - the amount to be transferred
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been
     * transferred to `to`.
     * - When `from` is zero, `tokenId` has been minted for `to`.
     * - When `to` is zero, `tokenId` has been burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _afterTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}
}

File 5 of 13 : 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 6 of 13 : 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 7 of 13 : 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 8 of 13 : 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 9 of 13 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 10 of 13 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 11 of 13 : 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 12 of 13 : 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 13 of 13 : 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":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"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":"_tokenId","type":"uint256"},{"indexed":false,"internalType":"bool","name":"plucked","type":"bool"}],"name":"Evolved","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":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"aptTokenIds","type":"uint256[]"}],"name":"aptClaim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"aptClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"drool","outputs":[{"internalType":"contract DROOL","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flipSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"geneOf","outputs":[{"internalType":"uint256","name":"gene","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"generationOf","outputs":[{"internalType":"uint256","name":"generation","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"head","type":"uint256"}],"name":"hasHead","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"lastEvoTimeOf","outputs":[{"internalType":"uint256","name":"birthBlockTime","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"max","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"mferTokenIds","type":"uint256[]"}],"name":"mferClaim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"mferClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"total","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"parentGeneOf","outputs":[{"internalType":"uint256","name":"parentTokenId","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"parentHeadOf","outputs":[{"internalType":"uint256","name":"parentHead","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pluckCooldown","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"head","type":"uint256"}],"name":"pluckHead","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"pluckPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pluckingEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"releaseAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"droolAddr","type":"address"},{"internalType":"bool","name":"enablePlucking","type":"bool"},{"internalType":"uint256","name":"pluckCost","type":"uint256"},{"internalType":"bool","name":"enableShedding","type":"bool"},{"internalType":"uint256","name":"shedCost","type":"uint256"},{"internalType":"uint256","name":"cooldown","type":"uint256"}],"name":"setPluckData","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"shedCountOf","outputs":[{"internalType":"uint256","name":"shedCount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"shedHeads","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"shedPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"shedingEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":"txnLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

608060405260405180602001604052806000815250600990805190602001906200002b92919062000307565b506064600a556618838370f34000600b55612710600c556000600d556000600e556000600f60006101000a81548160ff0219169083151502179055506000600f60016101000a81548160ff0219169083151502179055506000600f60026101000a81548160ff0219169083151502179055506000601055348015620000af57600080fd5b506040518060400160405280601081526020017f416c69656e2050756e6b204d66657273000000000000000000000000000000008152506040518060400160405280600e81526020017f416c69656e50756e6b4d666572730000000000000000000000000000000000008152506200013c620001306200023660201b60201c565b6200023e60201b60201c565b81600390805190602001906200015492919062000307565b5080600490805190602001906200016d92919062000307565b506200017e6200030260201b60201c565b6001819055505050735b98ab35514c1c91f33ba12e0778d53e1ebdb106601660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507379fcdef22feed20eddacbb2587640e45491b757f601760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506200041c565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600090565b8280546200031590620003e6565b90600052602060002090601f01602090048101928262000339576000855562000385565b82601f106200035457805160ff191683800117855562000385565b8280016001018555821562000385579182015b828111156200038457825182559160200191906001019062000367565b5b50905062000394919062000398565b5090565b5b80821115620003b357600081600090555060010162000399565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620003ff57607f821691505b60208210811415620004165762000415620003b7565b5b50919050565b6159c0806200042c6000396000f3fe6080604052600436106102885760003560e01c80636ac5db191161015a578063a0712d68116100c1578063cfe865861161007a578063cfe86586146109d3578063d1297fc814610a10578063e0bb12da14610a4d578063e985e9c514610a8a578063eb8d244414610ac7578063f2fde38b14610af257610288565b8063a0712d68146108ae578063a22cb465146108ca578063b88d4fde146108f3578063c5fab7281461091c578063c87b56dd14610959578063cb7ee77e1461099657610288565b80638209ac9f116101135780638209ac9f146107b45780638a32fdb0146107dd5780638da5cb5b146108065780638e842d951461083157806395d89b411461085a5780639dddf1671461088557610288565b80636ac5db19146106a25780636c0360eb146106cd57806370a08231146106f8578063714c3aac14610735578063715018a61461076057806378d670481461077757610288565b806334918dfd116101fe5780635be7fde8116101b75780635be7fde8146105905780635c0a869d146105a75780635fc87d8d146105d25780636352211e146105fd5780636817c76c1461063a5780636a5be6861461066557610288565b806334918dfd146104a85780633b1d04aa146104bf5780633feb6a6f146104ea57806342842e0e1461051557806342966c681461053e57806355f804b31461056757610288565b80631460f955116102505780631460f9551461038657806314725ff6146103af57806318160ddd146103ec5780631ea616dc1461041757806320b4d9021461044257806323b872dd1461047f57610288565b806301ffc9a71461028d57806306fdde03146102ca578063081812fc146102f5578063095ea7b31461033257806310494ba61461035b575b600080fd5b34801561029957600080fd5b506102b460048036038101906102af9190614286565b610b1b565b6040516102c191906142ce565b60405180910390f35b3480156102d657600080fd5b506102df610bfd565b6040516102ec9190614382565b60405180910390f35b34801561030157600080fd5b5061031c600480360381019061031791906143da565b610c8f565b6040516103299190614448565b60405180910390f35b34801561033e57600080fd5b506103596004803603810190610354919061448f565b610d0b565b005b34801561036757600080fd5b50610370610e16565b60405161037d91906144de565b60405180910390f35b34801561039257600080fd5b506103ad60048036038101906103a891906144f9565b610e1c565b005b3480156103bb57600080fd5b506103d660048036038101906103d191906143da565b611119565b6040516103e391906142ce565b60405180910390f35b3480156103f857600080fd5b50610401611139565b60405161040e91906144de565b60405180910390f35b34801561042357600080fd5b5061042c611150565b60405161043991906144de565b60405180910390f35b34801561044e57600080fd5b50610469600480360381019061046491906143da565b611156565b60405161047691906144de565b60405180910390f35b34801561048b57600080fd5b506104a660048036038101906104a19190614539565b6111be565b005b3480156104b457600080fd5b506104bd6111ce565b005b3480156104cb57600080fd5b506104d4611202565b6040516104e191906144de565b60405180910390f35b3480156104f657600080fd5b506104ff611208565b60405161050c91906144de565b60405180910390f35b34801561052157600080fd5b5061053c60048036038101906105379190614539565b61120e565b005b34801561054a57600080fd5b50610565600480360381019061056091906143da565b61122e565b005b34801561057357600080fd5b5061058e600480360381019061058991906146c1565b61131f565b005b34801561059c57600080fd5b506105a5611341565b005b3480156105b357600080fd5b506105bc6113fd565b6040516105c99190614769565b60405180910390f35b3480156105de57600080fd5b506105e7611423565b6040516105f491906142ce565b60405180910390f35b34801561060957600080fd5b50610624600480360381019061061f91906143da565b611436565b6040516106319190614448565b60405180910390f35b34801561064657600080fd5b5061064f61144c565b60405161065c91906144de565b60405180910390f35b34801561067157600080fd5b5061068c600480360381019061068791906143da565b611452565b60405161069991906144de565b60405180910390f35b3480156106ae57600080fd5b506106b761154b565b6040516106c491906144de565b60405180910390f35b3480156106d957600080fd5b506106e2611551565b6040516106ef9190614382565b60405180910390f35b34801561070457600080fd5b5061071f600480360381019061071a9190614784565b6115df565b60405161072c91906144de565b60405180910390f35b34801561074157600080fd5b5061074a6116af565b60405161075791906142ce565b60405180910390f35b34801561076c57600080fd5b506107756116c2565b005b34801561078357600080fd5b5061079e600480360381019061079991906143da565b61174a565b6040516107ab91906144de565b60405180910390f35b3480156107c057600080fd5b506107db60048036038101906107d69190614811565b61180b565b005b3480156107e957600080fd5b5061080460048036038101906107ff91906143da565b611a4d565b005b34801561081257600080fd5b5061081b611d0d565b6040516108289190614448565b60405180910390f35b34801561083d57600080fd5b506108586004803603810190610853919061488a565b611d36565b005b34801561086657600080fd5b5061086f611dd0565b60405161087c9190614382565b60405180910390f35b34801561089157600080fd5b506108ac60048036038101906108a79190614811565b611e62565b005b6108c860048036038101906108c391906143da565b6120a4565b005b3480156108d657600080fd5b506108f160048036038101906108ec9190614917565b61222f565b005b3480156108ff57600080fd5b5061091a600480360381019061091591906149f8565b6123a7565b005b34801561092857600080fd5b50610943600480360381019061093e91906143da565b612423565b60405161095091906144de565b60405180910390f35b34801561096557600080fd5b50610980600480360381019061097b91906143da565b61248b565b60405161098d9190614382565b60405180910390f35b3480156109a257600080fd5b506109bd60048036038101906109b891906143da565b612533565b6040516109ca91906144de565b60405180910390f35b3480156109df57600080fd5b506109fa60048036038101906109f591906143da565b6125f4565b604051610a0791906142ce565b60405180910390f35b348015610a1c57600080fd5b50610a376004803603810190610a3291906144f9565b612614565b604051610a4491906142ce565b60405180910390f35b348015610a5957600080fd5b50610a746004803603810190610a6f91906143da565b612773565b604051610a8191906144de565b60405180910390f35b348015610a9657600080fd5b50610ab16004803603810190610aac9190614a7b565b6127db565b604051610abe91906142ce565b60405180910390f35b348015610ad357600080fd5b50610adc61286f565b604051610ae991906142ce565b60405180910390f35b348015610afe57600080fd5b50610b196004803603810190610b149190614784565b612882565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610be657507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610bf65750610bf58261297a565b5b9050919050565b606060038054610c0c90614aea565b80601f0160208091040260200160405190810160405280929190818152602001828054610c3890614aea565b8015610c855780601f10610c5a57610100808354040283529160200191610c85565b820191906000526020600020905b815481529060010190602001808311610c6857829003601f168201915b5050505050905090565b6000610c9a826129e4565b610cd0576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6007600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610d1682611436565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610d7e576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610d9d612a32565b73ffffffffffffffffffffffffffffffffffffffff1614158015610dcf5750610dcd81610dc8612a32565b6127db565b155b15610e06576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610e11838383612a3a565b505050565b600e5481565b600f60009054906101000a900460ff16610e6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6290614b68565b60405180910390fd5b610e76826001612614565b8015610e825750600181145b80610ea05750610e93826002612614565b8015610e9f5750600281145b5b610edf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed690614bd4565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff16610eff83611436565b73ffffffffffffffffffffffffffffffffffffffff1614610f55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f4c90614c40565b60405180910390fd5b60004290506000601560008581526020019081526020016000206004015490506000811480610f9157506010548183610f8e9190614c8f565b10155b610fd0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fc790614d0f565b60405180910390fd5b60006015600086815260200190815260200160002090506000610ff286611452565b905060018260010160008282546110099190614d2f565b9250508190555080826002018190555084826003018190555061102a612aec565b82600001819055508382600401819055506000600d5411156110d857601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166379cc679033600d546040518363ffffffff1660e01b81526004016110a5929190614d85565b600060405180830381600087803b1580156110bf57600080fd5b505af11580156110d3573d6000803e3d6000fd5b505050505b857fbdd839915ed0b66f9bb780a5faf1723e47763cce068a67d27d64af3eb355fecf600160405161110991906142ce565b60405180910390a2505050505050565b60126020528060005260406000206000915054906101000a900460ff1681565b6000611143612b61565b6002546001540303905090565b600d5481565b6000611161826129e4565b6111a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119790614dfa565b60405180910390fd5b60156000838152602001908152602001600020600501549050919050565b6111c9838383612b66565b505050565b6111d6613057565b600f60029054906101000a900460ff1615600f60026101000a81548160ff021916908315150217905550565b60105481565b600a5481565b611229838383604051806020016040528060008152506123a7565b505050565b6000611239826130d5565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff16611260612a32565b73ffffffffffffffffffffffffffffffffffffffff1614806112935750611292826000015161128d612a32565b6127db565b5b806112d857506112a1612a32565b73ffffffffffffffffffffffffffffffffffffffff166112c084610c8f565b73ffffffffffffffffffffffffffffffffffffffff16145b905080611311576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61131a83613364565b505050565b611327613057565b806009908051906020019061133d929190614134565b5050565b60004790506000600a6064836113579190614e49565b6113619190614e7a565b90506000602d6064846113749190614e49565b61137e9190614e7a565b90506000602d6064856113919190614e49565b61139b9190614e7a565b90506113bb73750ef1d7a0b4ab1c97b7a623d7917cceb5ea779c84613708565b6113d9730beaf25a1de14faf9db5ba0bad13b70267e3d01e83613708565b6113f773bc3b2d37c5b32686b0804a7d6a317e15173d10a782613708565b50505050565b601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600f60019054906101000a900460ff1681565b6000611441826130d5565b600001519050919050565b600b5481565b600061145d826129e4565b61149c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149390614dfa565b60405180910390fd5b6000601560008481526020019081526020016000206040518060c001604052908160008201548152602001600182015481526020016002820154815260200160038201548152602001600482015481526020016005820154815250509050600081602001511161153d5761150f836137fc565b60405160200161151f9190614f10565b6040516020818303038152906040528051906020012060001c611543565b80600001515b915050919050565b600c5481565b6009805461155e90614aea565b80601f016020809104026020016040519081016040528092919081815260200182805461158a90614aea565b80156115d75780601f106115ac576101008083540402835291602001916115d7565b820191906000526020600020905b8154815290600101906020018083116115ba57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611647576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b600f60009054906101000a900460ff1681565b6116ca612a32565b73ffffffffffffffffffffffffffffffffffffffff166116e8611d0d565b73ffffffffffffffffffffffffffffffffffffffff161461173e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173590614f73565b60405180910390fd5b611748600061395d565b565b6000611755826129e4565b611794576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178b90614dfa565b60405180910390fd5b60006015600084815260200190815260200160002060010154116117ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117e490614fdf565b60405180910390fd5b60156000838152602001908152602001600020600201549050919050565b60008282905090508061181c611139565b6118269190614d2f565b600c54101561186a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118619061504b565b60405180910390fd5b60005b81811015611a3d57600084848381811061188a5761188961506b565b5b9050602002013590506012600082815260200190815260200160002060009054906101000a900460ff16156118f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118eb906150e6565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff16601660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b815260040161196691906144de565b602060405180830381865afa158015611983573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119a7919061511b565b73ffffffffffffffffffffffffffffffffffffffff16146119fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119f490615194565b60405180910390fd5b60016012600083815260200190815260200160002060006101000a81548160ff021916908315150217905550508080611a35906151b4565b91505061186d565b50611a483382613a21565b505050565b600f60019054906101000a900460ff16611a9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a9390614b68565b60405180910390fd5b611aa7816001612614565b80611ab95750611ab8816002612614565b5b611af8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aef90614bd4565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff16611b1882611436565b73ffffffffffffffffffffffffffffffffffffffff1614611b6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b6590614c40565b60405180910390fd5b60004290506000601560008481526020019081526020016000206004015490506000811480611baa57506010548183611ba79190614c8f565b10155b611be9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611be090614d0f565b60405180910390fd5b6000600e541115611c8657601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166379cc679033600e546040518363ffffffff1660e01b8152600401611c53929190614d85565b600060405180830381600087803b158015611c6d57600080fd5b505af1158015611c81573d6000803e3d6000fd5b505050505b6001601560008581526020019081526020016000206005016000828254611cad9190614d2f565b92505081905550816015600085815260200190815260200160002060040181905550827fbdd839915ed0b66f9bb780a5faf1723e47763cce068a67d27d64af3eb355fecf6000604051611d0091906142ce565b60405180910390a2505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611d3e613057565b85601360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555083600d819055508060108190555084600f60006101000a81548160ff02191690831515021790555081600e8190555082600f60016101000a81548160ff021916908315150217905550505050505050565b606060048054611ddf90614aea565b80601f0160208091040260200160405190810160405280929190818152602001828054611e0b90614aea565b8015611e585780601f10611e2d57610100808354040283529160200191611e58565b820191906000526020600020905b815481529060010190602001808311611e3b57829003601f168201915b5050505050905090565b600082829050905080611e73611139565b611e7d9190614d2f565b600c541015611ec1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eb89061504b565b60405180910390fd5b60005b81811015612094576000848483818110611ee157611ee061506b565b5b9050602002013590506011600082815260200190815260200160002060009054906101000a900460ff1615611f4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f42906150e6565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff16601760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b8152600401611fbd91906144de565b602060405180830381865afa158015611fda573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ffe919061511b565b73ffffffffffffffffffffffffffffffffffffffff1614612054576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161204b90615194565b60405180910390fd5b60016011600083815260200190815260200160002060006101000a81548160ff02191690831515021790555050808061208c906151b4565b915050611ec4565b5061209f3382613a21565b505050565b600081116120e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120de90615249565b60405180910390fd5b600a5481111561212c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612123906152b5565b60405180910390fd5b600f60029054906101000a900460ff1661217b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161217290614b68565b60405180910390fd5b3481600b5461218a9190614e7a565b11156121cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121c290615321565b60405180910390fd5b806121d4611139565b6121de9190614d2f565b600c541015612222576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122199061504b565b60405180910390fd5b61222c3382613a21565b50565b612237612a32565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561229c576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600860006122a9612a32565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16612356612a32565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161239b91906142ce565b60405180910390a35050565b6123b2848484612b66565b6123d18373ffffffffffffffffffffffffffffffffffffffff16613a3f565b80156123e657506123e484848484613a62565b155b1561241d576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b600061242e826129e4565b61246d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161246490614dfa565b60405180910390fd5b60156000838152602001908152602001600020600401549050919050565b6060612496826129e4565b6124d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124cc90614dfa565b60405180910390fd5b6000600980546124e490614aea565b905011612500576040518060200160405280600081525061252c565b600961250b83613bb3565b60405160200161251c929190615421565b6040516020818303038152906040525b9050919050565b600061253e826129e4565b61257d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161257490614dfa565b60405180910390fd5b60006015600084815260200190815260200160002060010154116125d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125cd90614fdf565b60405180910390fd5b60156000838152602001908152602001600020600301549050919050565b60116020528060005260406000206000915054906101000a900460ff1681565b600061261f836129e4565b61265e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161265590614dfa565b60405180910390fd5b600182148061266d5750600282145b6126ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126a39061549c565b60405180910390fd5b6000806101f461270260156000888152602001908152602001600020600501546126dd6126d889611452565b6137fc565b6040516020016126ee9291906154dd565b604051602081830303815290604052613d14565b61270c9190615505565b9050604b8110158015612720575061017781105b1561272c576001841491505b610177811015801561273f57506101db81105b1561274b576002841491505b6101db811015801561275e57506101f481105b1561276857600191505b819250505092915050565b600061277e826129e4565b6127bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127b490614dfa565b60405180910390fd5b60156000838152602001908152602001600020600101549050919050565b6000600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600f60029054906101000a900460ff1681565b61288a612a32565b73ffffffffffffffffffffffffffffffffffffffff166128a8611d0d565b73ffffffffffffffffffffffffffffffffffffffff16146128fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128f590614f73565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561296e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612965906155a8565b60405180910390fd5b6129778161395d565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000816129ef612b61565b111580156129fe575060015482105b8015612a2b575060056000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826007600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600033325a601454424343406064430340604051602001612b1498979695949392919061563b565b60405160208183030381529060405280519060200120604051602001612b3a91906156dc565b6040516020818303038152906040528051906020012060001c601481905550601454905090565b600090565b6000612b71826130d5565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff16612b98612a32565b73ffffffffffffffffffffffffffffffffffffffff161480612bcb5750612bca8260000151612bc5612a32565b6127db565b5b80612c105750612bd9612a32565b73ffffffffffffffffffffffffffffffffffffffff16612bf884610c8f565b73ffffffffffffffffffffffffffffffffffffffff16145b905080612c49576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614612cb2576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612d19576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612d268585856001613d47565b612d366000848460000151612a3a565b6001600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836005600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426005600085815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600184019050600073ffffffffffffffffffffffffffffffffffffffff166005600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612fe757600154811015612fe65782600001516005600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001516005600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b50828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46130508585856001613d4d565b5050505050565b61305f612a32565b73ffffffffffffffffffffffffffffffffffffffff1661307d611d0d565b73ffffffffffffffffffffffffffffffffffffffff16146130d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130ca90615743565b60405180910390fd5b565b6130dd6141ba565b6000829050806130eb612b61565b111580156130fa575060015481105b1561332d576000600560008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050806040015161332b57600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461320f57809250505061335f565b5b60011561332a57818060019003925050600560008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461332557809250505061335f565b613210565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b600061336f826130d5565b905061338381600001516000846001613d47565b6133936000838360000151612a3a565b600160066000836000015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600160066000836000015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160108282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555080600001516005600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426005600084815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600160056000848152602001908152602001600020600001601c6101000a81548160ff0219169083151502179055506000600183019050600073ffffffffffffffffffffffffffffffffffffffff166005600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561367f5760015481101561367e5781600001516005600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081602001516005600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b5081600073ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46136f281600001516000846001613d4d565b6002600081548092919060010191905055505050565b8047101561374b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613742906157af565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff168260405161377190615800565b60006040518083038185875af1925050503d80600081146137ae576040519150601f19603f3d011682016040523d82523d6000602084013e6137b3565b606091505b50509050806137f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137ee90615887565b60405180910390fd5b505050565b60606000821415613844576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613958565b600082905060005b6000821461387657808061385f906151b4565b915050600a8261386f9190614e49565b915061384c565b60008167ffffffffffffffff81111561389257613891614596565b5b6040519080825280601f01601f1916602001820160405280156138c45781602001600182028036833780820191505090505b5090505b60008514613951576001826138dd9190614c8f565b9150600a856138ec9190615505565b60306138f89190614d2f565b60f81b81838151811061390e5761390d61506b565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561394a9190614e49565b94506138c8565b8093505050505b919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b613a3b828260405180602001604052806000815250613d53565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613a88612a32565b8786866040518563ffffffff1660e01b8152600401613aaa94939291906158fc565b6020604051808303816000875af1925050508015613ae657506040513d601f19601f82011682018060405250810190613ae3919061595d565b60015b613b60573d8060008114613b16576040519150601f19603f3d011682016040523d82523d6000602084013e613b1b565b606091505b50600081511415613b58576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60606000821415613bfb576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613d0f565b600082905060005b60008214613c2d578080613c16906151b4565b915050600a82613c269190614e49565b9150613c03565b60008167ffffffffffffffff811115613c4957613c48614596565b5b6040519080825280601f01601f191660200182016040528015613c7b5781602001600182028036833780820191505090505b5090505b60008514613d0857600182613c949190614c8f565b9150600a85613ca39190615505565b6030613caf9190614d2f565b60f81b818381518110613cc557613cc461506b565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85613d019190614e49565b9450613c7f565b8093505050505b919050565b600081604051602001613d279190614f10565b6040516020818303038152906040528051906020012060001c9050919050565b50505050565b50505050565b613d608383836001613d65565b505050565b60006001549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415613dd3576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000841415613e0e576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b613e1b6000868387613d47565b83600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846005600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426005600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060008582019050838015613fe55750613fe48773ffffffffffffffffffffffffffffffffffffffff16613a3f565b5b156140ab575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461405a6000888480600101955088613a62565b614090576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80821415613feb5782600154146140a657600080fd5b614117565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808214156140ac575b81600181905550505061412d6000868387613d4d565b5050505050565b82805461414090614aea565b90600052602060002090601f01602090048101928261416257600085556141a9565b82601f1061417b57805160ff19168380011785556141a9565b828001600101855582156141a9579182015b828111156141a857825182559160200191906001019061418d565b5b5090506141b691906141fd565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b808211156142165760008160009055506001016141fe565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6142638161422e565b811461426e57600080fd5b50565b6000813590506142808161425a565b92915050565b60006020828403121561429c5761429b614224565b5b60006142aa84828501614271565b91505092915050565b60008115159050919050565b6142c8816142b3565b82525050565b60006020820190506142e360008301846142bf565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015614323578082015181840152602081019050614308565b83811115614332576000848401525b50505050565b6000601f19601f8301169050919050565b6000614354826142e9565b61435e81856142f4565b935061436e818560208601614305565b61437781614338565b840191505092915050565b6000602082019050818103600083015261439c8184614349565b905092915050565b6000819050919050565b6143b7816143a4565b81146143c257600080fd5b50565b6000813590506143d4816143ae565b92915050565b6000602082840312156143f0576143ef614224565b5b60006143fe848285016143c5565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061443282614407565b9050919050565b61444281614427565b82525050565b600060208201905061445d6000830184614439565b92915050565b61446c81614427565b811461447757600080fd5b50565b60008135905061448981614463565b92915050565b600080604083850312156144a6576144a5614224565b5b60006144b48582860161447a565b92505060206144c5858286016143c5565b9150509250929050565b6144d8816143a4565b82525050565b60006020820190506144f360008301846144cf565b92915050565b600080604083850312156145105761450f614224565b5b600061451e858286016143c5565b925050602061452f858286016143c5565b9150509250929050565b60008060006060848603121561455257614551614224565b5b60006145608682870161447a565b93505060206145718682870161447a565b9250506040614582868287016143c5565b9150509250925092565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6145ce82614338565b810181811067ffffffffffffffff821117156145ed576145ec614596565b5b80604052505050565b600061460061421a565b905061460c82826145c5565b919050565b600067ffffffffffffffff82111561462c5761462b614596565b5b61463582614338565b9050602081019050919050565b82818337600083830152505050565b600061466461465f84614611565b6145f6565b9050828152602081018484840111156146805761467f614591565b5b61468b848285614642565b509392505050565b600082601f8301126146a8576146a761458c565b5b81356146b8848260208601614651565b91505092915050565b6000602082840312156146d7576146d6614224565b5b600082013567ffffffffffffffff8111156146f5576146f4614229565b5b61470184828501614693565b91505092915050565b6000819050919050565b600061472f61472a61472584614407565b61470a565b614407565b9050919050565b600061474182614714565b9050919050565b600061475382614736565b9050919050565b61476381614748565b82525050565b600060208201905061477e600083018461475a565b92915050565b60006020828403121561479a57614799614224565b5b60006147a88482850161447a565b91505092915050565b600080fd5b600080fd5b60008083601f8401126147d1576147d061458c565b5b8235905067ffffffffffffffff8111156147ee576147ed6147b1565b5b60208301915083602082028301111561480a576148096147b6565b5b9250929050565b6000806020838503121561482857614827614224565b5b600083013567ffffffffffffffff81111561484657614845614229565b5b614852858286016147bb565b92509250509250929050565b614867816142b3565b811461487257600080fd5b50565b6000813590506148848161485e565b92915050565b60008060008060008060c087890312156148a7576148a6614224565b5b60006148b589828a0161447a565b96505060206148c689828a01614875565b95505060406148d789828a016143c5565b94505060606148e889828a01614875565b93505060806148f989828a016143c5565b92505060a061490a89828a016143c5565b9150509295509295509295565b6000806040838503121561492e5761492d614224565b5b600061493c8582860161447a565b925050602061494d85828601614875565b9150509250929050565b600067ffffffffffffffff82111561497257614971614596565b5b61497b82614338565b9050602081019050919050565b600061499b61499684614957565b6145f6565b9050828152602081018484840111156149b7576149b6614591565b5b6149c2848285614642565b509392505050565b600082601f8301126149df576149de61458c565b5b81356149ef848260208601614988565b91505092915050565b60008060008060808587031215614a1257614a11614224565b5b6000614a208782880161447a565b9450506020614a318782880161447a565b9350506040614a42878288016143c5565b925050606085013567ffffffffffffffff811115614a6357614a62614229565b5b614a6f878288016149ca565b91505092959194509250565b60008060408385031215614a9257614a91614224565b5b6000614aa08582860161447a565b9250506020614ab18582860161447a565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680614b0257607f821691505b60208210811415614b1657614b15614abb565b5b50919050565b7f5061757365640000000000000000000000000000000000000000000000000000600082015250565b6000614b526006836142f4565b9150614b5d82614b1c565b602082019050919050565b60006020820190508181036000830152614b8181614b45565b9050919050565b7f4e6f206865616400000000000000000000000000000000000000000000000000600082015250565b6000614bbe6007836142f4565b9150614bc982614b88565b602082019050919050565b60006020820190508181036000830152614bed81614bb1565b9050919050565b7f4e6f7420796f757220746f6b656e000000000000000000000000000000000000600082015250565b6000614c2a600e836142f4565b9150614c3582614bf4565b602082019050919050565b60006020820190508181036000830152614c5981614c1d565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614c9a826143a4565b9150614ca5836143a4565b925082821015614cb857614cb7614c60565b5b828203905092915050565b7f48656164206973206e6f74207269706500000000000000000000000000000000600082015250565b6000614cf96010836142f4565b9150614d0482614cc3565b602082019050919050565b60006020820190508181036000830152614d2881614cec565b9050919050565b6000614d3a826143a4565b9150614d45836143a4565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614d7a57614d79614c60565b5b828201905092915050565b6000604082019050614d9a6000830185614439565b614da760208301846144cf565b9392505050565b7f546f6b656e20646f6573206e6f742065786973742e0000000000000000000000600082015250565b6000614de46015836142f4565b9150614def82614dae565b602082019050919050565b60006020820190508181036000830152614e1381614dd7565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614e54826143a4565b9150614e5f836143a4565b925082614e6f57614e6e614e1a565b5b828204905092915050565b6000614e85826143a4565b9150614e90836143a4565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614ec957614ec8614c60565b5b828202905092915050565b600081905092915050565b6000614eea826142e9565b614ef48185614ed4565b9350614f04818560208601614305565b80840191505092915050565b6000614f1c8284614edf565b915081905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614f5d6020836142f4565b9150614f6882614f27565b602082019050919050565b60006020820190508181036000830152614f8c81614f50565b9050919050565b7f486173206e6f20706172656e7400000000000000000000000000000000000000600082015250565b6000614fc9600d836142f4565b9150614fd482614f93565b602082019050919050565b60006020820190508181036000830152614ff881614fbc565b9050919050565b7f45786365656473206d617820737570706c790000000000000000000000000000600082015250565b60006150356012836142f4565b915061504082614fff565b602082019050919050565b6000602082019050818103600083015261506481615028565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f416c726561647920636c61696d65640000000000000000000000000000000000600082015250565b60006150d0600f836142f4565b91506150db8261509a565b602082019050919050565b600060208201905081810360008301526150ff816150c3565b9050919050565b60008151905061511581614463565b92915050565b60006020828403121561513157615130614224565b5b600061513f84828501615106565b91505092915050565b7f4e6f7420796f7572730000000000000000000000000000000000000000000000600082015250565b600061517e6009836142f4565b915061518982615148565b602082019050919050565b600060208201905081810360008301526151ad81615171565b9050919050565b60006151bf826143a4565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156151f2576151f1614c60565b5b600182019050919050565b7f4e6f20302074786e730000000000000000000000000000000000000000000000600082015250565b60006152336009836142f4565b915061523e826151fd565b602082019050919050565b6000602082019050818103600083015261526281615226565b9050919050565b7f4f7665722074786e206c696d6974000000000000000000000000000000000000600082015250565b600061529f600e836142f4565b91506152aa82615269565b602082019050919050565b600060208201905081810360008301526152ce81615292565b9050919050565b7f4e6f7420656e6f75676820657468000000000000000000000000000000000000600082015250565b600061530b600e836142f4565b9150615316826152d5565b602082019050919050565b6000602082019050818103600083015261533a816152fe565b9050919050565b60008190508160005260206000209050919050565b6000815461536381614aea565b61536d8186614ed4565b945060018216600081146153885760018114615399576153cc565b60ff198316865281860193506153cc565b6153a285615341565b60005b838110156153c4578154818901526001820191506020810190506153a5565b838801955050505b50505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b600061540b600583614ed4565b9150615416826153d5565b600582019050919050565b600061542d8285615356565b91506154398284614edf565b9150615444826153fe565b91508190509392505050565b7f496e76616c696420686561640000000000000000000000000000000000000000600082015250565b6000615486600c836142f4565b915061549182615450565b602082019050919050565b600060208201905081810360008301526154b581615479565b9050919050565b6000819050919050565b6154d76154d2826143a4565b6154bc565b82525050565b60006154e982856154c6565b6020820191506154f98284614edf565b91508190509392505050565b6000615510826143a4565b915061551b836143a4565b92508261552b5761552a614e1a565b5b828206905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006155926026836142f4565b915061559d82615536565b604082019050919050565b600060208201905081810360008301526155c181615585565b9050919050565b60008160601b9050919050565b60006155e0826155c8565b9050919050565b60006155f2826155d5565b9050919050565b61560a61560582614427565b6155e7565b82525050565b6000819050919050565b6000819050919050565b61563561563082615610565b61561a565b82525050565b6000615647828b6155f9565b601482019150615657828a6155f9565b60148201915061566782896154c6565b60208201915061567782886154c6565b60208201915061568782876154c6565b60208201915061569782866154c6565b6020820191506156a78285615624565b6020820191506156b78284615624565b6020820191508190509998505050505050505050565b6156d681615610565b82525050565b60006020820190506156f160008301846156cd565b92915050565b7f4e6f74206f776e65720000000000000000000000000000000000000000000000600082015250565b600061572d6009836142f4565b9150615738826156f7565b602082019050919050565b6000602082019050818103600083015261575c81615720565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b6000615799601d836142f4565b91506157a482615763565b602082019050919050565b600060208201905081810360008301526157c88161578c565b9050919050565b600081905092915050565b50565b60006157ea6000836157cf565b91506157f5826157da565b600082019050919050565b600061580b826157dd565b9150819050919050565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b6000615871603a836142f4565b915061587c82615815565b604082019050919050565b600060208201905081810360008301526158a081615864565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006158ce826158a7565b6158d881856158b2565b93506158e8818560208601614305565b6158f181614338565b840191505092915050565b60006080820190506159116000830187614439565b61591e6020830186614439565b61592b60408301856144cf565b818103606083015261593d81846158c3565b905095945050505050565b6000815190506159578161425a565b92915050565b60006020828403121561597357615972614224565b5b600061598184828501615948565b9150509291505056fea26469706673582212207aa1cab99c2c6e11c4adaa8bd50719a3f6bdcddd16dfd524989f4114fe20561364736f6c634300080c0033

Deployed Bytecode

0x6080604052600436106102885760003560e01c80636ac5db191161015a578063a0712d68116100c1578063cfe865861161007a578063cfe86586146109d3578063d1297fc814610a10578063e0bb12da14610a4d578063e985e9c514610a8a578063eb8d244414610ac7578063f2fde38b14610af257610288565b8063a0712d68146108ae578063a22cb465146108ca578063b88d4fde146108f3578063c5fab7281461091c578063c87b56dd14610959578063cb7ee77e1461099657610288565b80638209ac9f116101135780638209ac9f146107b45780638a32fdb0146107dd5780638da5cb5b146108065780638e842d951461083157806395d89b411461085a5780639dddf1671461088557610288565b80636ac5db19146106a25780636c0360eb146106cd57806370a08231146106f8578063714c3aac14610735578063715018a61461076057806378d670481461077757610288565b806334918dfd116101fe5780635be7fde8116101b75780635be7fde8146105905780635c0a869d146105a75780635fc87d8d146105d25780636352211e146105fd5780636817c76c1461063a5780636a5be6861461066557610288565b806334918dfd146104a85780633b1d04aa146104bf5780633feb6a6f146104ea57806342842e0e1461051557806342966c681461053e57806355f804b31461056757610288565b80631460f955116102505780631460f9551461038657806314725ff6146103af57806318160ddd146103ec5780631ea616dc1461041757806320b4d9021461044257806323b872dd1461047f57610288565b806301ffc9a71461028d57806306fdde03146102ca578063081812fc146102f5578063095ea7b31461033257806310494ba61461035b575b600080fd5b34801561029957600080fd5b506102b460048036038101906102af9190614286565b610b1b565b6040516102c191906142ce565b60405180910390f35b3480156102d657600080fd5b506102df610bfd565b6040516102ec9190614382565b60405180910390f35b34801561030157600080fd5b5061031c600480360381019061031791906143da565b610c8f565b6040516103299190614448565b60405180910390f35b34801561033e57600080fd5b506103596004803603810190610354919061448f565b610d0b565b005b34801561036757600080fd5b50610370610e16565b60405161037d91906144de565b60405180910390f35b34801561039257600080fd5b506103ad60048036038101906103a891906144f9565b610e1c565b005b3480156103bb57600080fd5b506103d660048036038101906103d191906143da565b611119565b6040516103e391906142ce565b60405180910390f35b3480156103f857600080fd5b50610401611139565b60405161040e91906144de565b60405180910390f35b34801561042357600080fd5b5061042c611150565b60405161043991906144de565b60405180910390f35b34801561044e57600080fd5b50610469600480360381019061046491906143da565b611156565b60405161047691906144de565b60405180910390f35b34801561048b57600080fd5b506104a660048036038101906104a19190614539565b6111be565b005b3480156104b457600080fd5b506104bd6111ce565b005b3480156104cb57600080fd5b506104d4611202565b6040516104e191906144de565b60405180910390f35b3480156104f657600080fd5b506104ff611208565b60405161050c91906144de565b60405180910390f35b34801561052157600080fd5b5061053c60048036038101906105379190614539565b61120e565b005b34801561054a57600080fd5b50610565600480360381019061056091906143da565b61122e565b005b34801561057357600080fd5b5061058e600480360381019061058991906146c1565b61131f565b005b34801561059c57600080fd5b506105a5611341565b005b3480156105b357600080fd5b506105bc6113fd565b6040516105c99190614769565b60405180910390f35b3480156105de57600080fd5b506105e7611423565b6040516105f491906142ce565b60405180910390f35b34801561060957600080fd5b50610624600480360381019061061f91906143da565b611436565b6040516106319190614448565b60405180910390f35b34801561064657600080fd5b5061064f61144c565b60405161065c91906144de565b60405180910390f35b34801561067157600080fd5b5061068c600480360381019061068791906143da565b611452565b60405161069991906144de565b60405180910390f35b3480156106ae57600080fd5b506106b761154b565b6040516106c491906144de565b60405180910390f35b3480156106d957600080fd5b506106e2611551565b6040516106ef9190614382565b60405180910390f35b34801561070457600080fd5b5061071f600480360381019061071a9190614784565b6115df565b60405161072c91906144de565b60405180910390f35b34801561074157600080fd5b5061074a6116af565b60405161075791906142ce565b60405180910390f35b34801561076c57600080fd5b506107756116c2565b005b34801561078357600080fd5b5061079e600480360381019061079991906143da565b61174a565b6040516107ab91906144de565b60405180910390f35b3480156107c057600080fd5b506107db60048036038101906107d69190614811565b61180b565b005b3480156107e957600080fd5b5061080460048036038101906107ff91906143da565b611a4d565b005b34801561081257600080fd5b5061081b611d0d565b6040516108289190614448565b60405180910390f35b34801561083d57600080fd5b506108586004803603810190610853919061488a565b611d36565b005b34801561086657600080fd5b5061086f611dd0565b60405161087c9190614382565b60405180910390f35b34801561089157600080fd5b506108ac60048036038101906108a79190614811565b611e62565b005b6108c860048036038101906108c391906143da565b6120a4565b005b3480156108d657600080fd5b506108f160048036038101906108ec9190614917565b61222f565b005b3480156108ff57600080fd5b5061091a600480360381019061091591906149f8565b6123a7565b005b34801561092857600080fd5b50610943600480360381019061093e91906143da565b612423565b60405161095091906144de565b60405180910390f35b34801561096557600080fd5b50610980600480360381019061097b91906143da565b61248b565b60405161098d9190614382565b60405180910390f35b3480156109a257600080fd5b506109bd60048036038101906109b891906143da565b612533565b6040516109ca91906144de565b60405180910390f35b3480156109df57600080fd5b506109fa60048036038101906109f591906143da565b6125f4565b604051610a0791906142ce565b60405180910390f35b348015610a1c57600080fd5b50610a376004803603810190610a3291906144f9565b612614565b604051610a4491906142ce565b60405180910390f35b348015610a5957600080fd5b50610a746004803603810190610a6f91906143da565b612773565b604051610a8191906144de565b60405180910390f35b348015610a9657600080fd5b50610ab16004803603810190610aac9190614a7b565b6127db565b604051610abe91906142ce565b60405180910390f35b348015610ad357600080fd5b50610adc61286f565b604051610ae991906142ce565b60405180910390f35b348015610afe57600080fd5b50610b196004803603810190610b149190614784565b612882565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610be657507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610bf65750610bf58261297a565b5b9050919050565b606060038054610c0c90614aea565b80601f0160208091040260200160405190810160405280929190818152602001828054610c3890614aea565b8015610c855780601f10610c5a57610100808354040283529160200191610c85565b820191906000526020600020905b815481529060010190602001808311610c6857829003601f168201915b5050505050905090565b6000610c9a826129e4565b610cd0576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6007600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610d1682611436565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610d7e576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610d9d612a32565b73ffffffffffffffffffffffffffffffffffffffff1614158015610dcf5750610dcd81610dc8612a32565b6127db565b155b15610e06576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610e11838383612a3a565b505050565b600e5481565b600f60009054906101000a900460ff16610e6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6290614b68565b60405180910390fd5b610e76826001612614565b8015610e825750600181145b80610ea05750610e93826002612614565b8015610e9f5750600281145b5b610edf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed690614bd4565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff16610eff83611436565b73ffffffffffffffffffffffffffffffffffffffff1614610f55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f4c90614c40565b60405180910390fd5b60004290506000601560008581526020019081526020016000206004015490506000811480610f9157506010548183610f8e9190614c8f565b10155b610fd0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fc790614d0f565b60405180910390fd5b60006015600086815260200190815260200160002090506000610ff286611452565b905060018260010160008282546110099190614d2f565b9250508190555080826002018190555084826003018190555061102a612aec565b82600001819055508382600401819055506000600d5411156110d857601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166379cc679033600d546040518363ffffffff1660e01b81526004016110a5929190614d85565b600060405180830381600087803b1580156110bf57600080fd5b505af11580156110d3573d6000803e3d6000fd5b505050505b857fbdd839915ed0b66f9bb780a5faf1723e47763cce068a67d27d64af3eb355fecf600160405161110991906142ce565b60405180910390a2505050505050565b60126020528060005260406000206000915054906101000a900460ff1681565b6000611143612b61565b6002546001540303905090565b600d5481565b6000611161826129e4565b6111a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119790614dfa565b60405180910390fd5b60156000838152602001908152602001600020600501549050919050565b6111c9838383612b66565b505050565b6111d6613057565b600f60029054906101000a900460ff1615600f60026101000a81548160ff021916908315150217905550565b60105481565b600a5481565b611229838383604051806020016040528060008152506123a7565b505050565b6000611239826130d5565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff16611260612a32565b73ffffffffffffffffffffffffffffffffffffffff1614806112935750611292826000015161128d612a32565b6127db565b5b806112d857506112a1612a32565b73ffffffffffffffffffffffffffffffffffffffff166112c084610c8f565b73ffffffffffffffffffffffffffffffffffffffff16145b905080611311576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61131a83613364565b505050565b611327613057565b806009908051906020019061133d929190614134565b5050565b60004790506000600a6064836113579190614e49565b6113619190614e7a565b90506000602d6064846113749190614e49565b61137e9190614e7a565b90506000602d6064856113919190614e49565b61139b9190614e7a565b90506113bb73750ef1d7a0b4ab1c97b7a623d7917cceb5ea779c84613708565b6113d9730beaf25a1de14faf9db5ba0bad13b70267e3d01e83613708565b6113f773bc3b2d37c5b32686b0804a7d6a317e15173d10a782613708565b50505050565b601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600f60019054906101000a900460ff1681565b6000611441826130d5565b600001519050919050565b600b5481565b600061145d826129e4565b61149c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149390614dfa565b60405180910390fd5b6000601560008481526020019081526020016000206040518060c001604052908160008201548152602001600182015481526020016002820154815260200160038201548152602001600482015481526020016005820154815250509050600081602001511161153d5761150f836137fc565b60405160200161151f9190614f10565b6040516020818303038152906040528051906020012060001c611543565b80600001515b915050919050565b600c5481565b6009805461155e90614aea565b80601f016020809104026020016040519081016040528092919081815260200182805461158a90614aea565b80156115d75780601f106115ac576101008083540402835291602001916115d7565b820191906000526020600020905b8154815290600101906020018083116115ba57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611647576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b600f60009054906101000a900460ff1681565b6116ca612a32565b73ffffffffffffffffffffffffffffffffffffffff166116e8611d0d565b73ffffffffffffffffffffffffffffffffffffffff161461173e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173590614f73565b60405180910390fd5b611748600061395d565b565b6000611755826129e4565b611794576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178b90614dfa565b60405180910390fd5b60006015600084815260200190815260200160002060010154116117ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117e490614fdf565b60405180910390fd5b60156000838152602001908152602001600020600201549050919050565b60008282905090508061181c611139565b6118269190614d2f565b600c54101561186a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118619061504b565b60405180910390fd5b60005b81811015611a3d57600084848381811061188a5761188961506b565b5b9050602002013590506012600082815260200190815260200160002060009054906101000a900460ff16156118f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118eb906150e6565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff16601660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b815260040161196691906144de565b602060405180830381865afa158015611983573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119a7919061511b565b73ffffffffffffffffffffffffffffffffffffffff16146119fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119f490615194565b60405180910390fd5b60016012600083815260200190815260200160002060006101000a81548160ff021916908315150217905550508080611a35906151b4565b91505061186d565b50611a483382613a21565b505050565b600f60019054906101000a900460ff16611a9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a9390614b68565b60405180910390fd5b611aa7816001612614565b80611ab95750611ab8816002612614565b5b611af8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aef90614bd4565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff16611b1882611436565b73ffffffffffffffffffffffffffffffffffffffff1614611b6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b6590614c40565b60405180910390fd5b60004290506000601560008481526020019081526020016000206004015490506000811480611baa57506010548183611ba79190614c8f565b10155b611be9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611be090614d0f565b60405180910390fd5b6000600e541115611c8657601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166379cc679033600e546040518363ffffffff1660e01b8152600401611c53929190614d85565b600060405180830381600087803b158015611c6d57600080fd5b505af1158015611c81573d6000803e3d6000fd5b505050505b6001601560008581526020019081526020016000206005016000828254611cad9190614d2f565b92505081905550816015600085815260200190815260200160002060040181905550827fbdd839915ed0b66f9bb780a5faf1723e47763cce068a67d27d64af3eb355fecf6000604051611d0091906142ce565b60405180910390a2505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611d3e613057565b85601360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555083600d819055508060108190555084600f60006101000a81548160ff02191690831515021790555081600e8190555082600f60016101000a81548160ff021916908315150217905550505050505050565b606060048054611ddf90614aea565b80601f0160208091040260200160405190810160405280929190818152602001828054611e0b90614aea565b8015611e585780601f10611e2d57610100808354040283529160200191611e58565b820191906000526020600020905b815481529060010190602001808311611e3b57829003601f168201915b5050505050905090565b600082829050905080611e73611139565b611e7d9190614d2f565b600c541015611ec1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eb89061504b565b60405180910390fd5b60005b81811015612094576000848483818110611ee157611ee061506b565b5b9050602002013590506011600082815260200190815260200160002060009054906101000a900460ff1615611f4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f42906150e6565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff16601760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b8152600401611fbd91906144de565b602060405180830381865afa158015611fda573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ffe919061511b565b73ffffffffffffffffffffffffffffffffffffffff1614612054576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161204b90615194565b60405180910390fd5b60016011600083815260200190815260200160002060006101000a81548160ff02191690831515021790555050808061208c906151b4565b915050611ec4565b5061209f3382613a21565b505050565b600081116120e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120de90615249565b60405180910390fd5b600a5481111561212c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612123906152b5565b60405180910390fd5b600f60029054906101000a900460ff1661217b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161217290614b68565b60405180910390fd5b3481600b5461218a9190614e7a565b11156121cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121c290615321565b60405180910390fd5b806121d4611139565b6121de9190614d2f565b600c541015612222576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122199061504b565b60405180910390fd5b61222c3382613a21565b50565b612237612a32565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561229c576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600860006122a9612a32565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16612356612a32565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161239b91906142ce565b60405180910390a35050565b6123b2848484612b66565b6123d18373ffffffffffffffffffffffffffffffffffffffff16613a3f565b80156123e657506123e484848484613a62565b155b1561241d576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b600061242e826129e4565b61246d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161246490614dfa565b60405180910390fd5b60156000838152602001908152602001600020600401549050919050565b6060612496826129e4565b6124d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124cc90614dfa565b60405180910390fd5b6000600980546124e490614aea565b905011612500576040518060200160405280600081525061252c565b600961250b83613bb3565b60405160200161251c929190615421565b6040516020818303038152906040525b9050919050565b600061253e826129e4565b61257d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161257490614dfa565b60405180910390fd5b60006015600084815260200190815260200160002060010154116125d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125cd90614fdf565b60405180910390fd5b60156000838152602001908152602001600020600301549050919050565b60116020528060005260406000206000915054906101000a900460ff1681565b600061261f836129e4565b61265e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161265590614dfa565b60405180910390fd5b600182148061266d5750600282145b6126ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126a39061549c565b60405180910390fd5b6000806101f461270260156000888152602001908152602001600020600501546126dd6126d889611452565b6137fc565b6040516020016126ee9291906154dd565b604051602081830303815290604052613d14565b61270c9190615505565b9050604b8110158015612720575061017781105b1561272c576001841491505b610177811015801561273f57506101db81105b1561274b576002841491505b6101db811015801561275e57506101f481105b1561276857600191505b819250505092915050565b600061277e826129e4565b6127bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127b490614dfa565b60405180910390fd5b60156000838152602001908152602001600020600101549050919050565b6000600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600f60029054906101000a900460ff1681565b61288a612a32565b73ffffffffffffffffffffffffffffffffffffffff166128a8611d0d565b73ffffffffffffffffffffffffffffffffffffffff16146128fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128f590614f73565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561296e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612965906155a8565b60405180910390fd5b6129778161395d565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000816129ef612b61565b111580156129fe575060015482105b8015612a2b575060056000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826007600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600033325a601454424343406064430340604051602001612b1498979695949392919061563b565b60405160208183030381529060405280519060200120604051602001612b3a91906156dc565b6040516020818303038152906040528051906020012060001c601481905550601454905090565b600090565b6000612b71826130d5565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff16612b98612a32565b73ffffffffffffffffffffffffffffffffffffffff161480612bcb5750612bca8260000151612bc5612a32565b6127db565b5b80612c105750612bd9612a32565b73ffffffffffffffffffffffffffffffffffffffff16612bf884610c8f565b73ffffffffffffffffffffffffffffffffffffffff16145b905080612c49576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614612cb2576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612d19576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612d268585856001613d47565b612d366000848460000151612a3a565b6001600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836005600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426005600085815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600184019050600073ffffffffffffffffffffffffffffffffffffffff166005600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612fe757600154811015612fe65782600001516005600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001516005600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b50828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46130508585856001613d4d565b5050505050565b61305f612a32565b73ffffffffffffffffffffffffffffffffffffffff1661307d611d0d565b73ffffffffffffffffffffffffffffffffffffffff16146130d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130ca90615743565b60405180910390fd5b565b6130dd6141ba565b6000829050806130eb612b61565b111580156130fa575060015481105b1561332d576000600560008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050806040015161332b57600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461320f57809250505061335f565b5b60011561332a57818060019003925050600560008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461332557809250505061335f565b613210565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b600061336f826130d5565b905061338381600001516000846001613d47565b6133936000838360000151612a3a565b600160066000836000015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600160066000836000015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160108282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555080600001516005600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426005600084815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600160056000848152602001908152602001600020600001601c6101000a81548160ff0219169083151502179055506000600183019050600073ffffffffffffffffffffffffffffffffffffffff166005600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561367f5760015481101561367e5781600001516005600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081602001516005600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b5081600073ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46136f281600001516000846001613d4d565b6002600081548092919060010191905055505050565b8047101561374b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613742906157af565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff168260405161377190615800565b60006040518083038185875af1925050503d80600081146137ae576040519150601f19603f3d011682016040523d82523d6000602084013e6137b3565b606091505b50509050806137f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137ee90615887565b60405180910390fd5b505050565b60606000821415613844576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613958565b600082905060005b6000821461387657808061385f906151b4565b915050600a8261386f9190614e49565b915061384c565b60008167ffffffffffffffff81111561389257613891614596565b5b6040519080825280601f01601f1916602001820160405280156138c45781602001600182028036833780820191505090505b5090505b60008514613951576001826138dd9190614c8f565b9150600a856138ec9190615505565b60306138f89190614d2f565b60f81b81838151811061390e5761390d61506b565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561394a9190614e49565b94506138c8565b8093505050505b919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b613a3b828260405180602001604052806000815250613d53565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613a88612a32565b8786866040518563ffffffff1660e01b8152600401613aaa94939291906158fc565b6020604051808303816000875af1925050508015613ae657506040513d601f19601f82011682018060405250810190613ae3919061595d565b60015b613b60573d8060008114613b16576040519150601f19603f3d011682016040523d82523d6000602084013e613b1b565b606091505b50600081511415613b58576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60606000821415613bfb576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613d0f565b600082905060005b60008214613c2d578080613c16906151b4565b915050600a82613c269190614e49565b9150613c03565b60008167ffffffffffffffff811115613c4957613c48614596565b5b6040519080825280601f01601f191660200182016040528015613c7b5781602001600182028036833780820191505090505b5090505b60008514613d0857600182613c949190614c8f565b9150600a85613ca39190615505565b6030613caf9190614d2f565b60f81b818381518110613cc557613cc461506b565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85613d019190614e49565b9450613c7f565b8093505050505b919050565b600081604051602001613d279190614f10565b6040516020818303038152906040528051906020012060001c9050919050565b50505050565b50505050565b613d608383836001613d65565b505050565b60006001549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415613dd3576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000841415613e0e576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b613e1b6000868387613d47565b83600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846005600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426005600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060008582019050838015613fe55750613fe48773ffffffffffffffffffffffffffffffffffffffff16613a3f565b5b156140ab575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461405a6000888480600101955088613a62565b614090576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80821415613feb5782600154146140a657600080fd5b614117565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808214156140ac575b81600181905550505061412d6000868387613d4d565b5050505050565b82805461414090614aea565b90600052602060002090601f01602090048101928261416257600085556141a9565b82601f1061417b57805160ff19168380011785556141a9565b828001600101855582156141a9579182015b828111156141a857825182559160200191906001019061418d565b5b5090506141b691906141fd565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b808211156142165760008160009055506001016141fe565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6142638161422e565b811461426e57600080fd5b50565b6000813590506142808161425a565b92915050565b60006020828403121561429c5761429b614224565b5b60006142aa84828501614271565b91505092915050565b60008115159050919050565b6142c8816142b3565b82525050565b60006020820190506142e360008301846142bf565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015614323578082015181840152602081019050614308565b83811115614332576000848401525b50505050565b6000601f19601f8301169050919050565b6000614354826142e9565b61435e81856142f4565b935061436e818560208601614305565b61437781614338565b840191505092915050565b6000602082019050818103600083015261439c8184614349565b905092915050565b6000819050919050565b6143b7816143a4565b81146143c257600080fd5b50565b6000813590506143d4816143ae565b92915050565b6000602082840312156143f0576143ef614224565b5b60006143fe848285016143c5565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061443282614407565b9050919050565b61444281614427565b82525050565b600060208201905061445d6000830184614439565b92915050565b61446c81614427565b811461447757600080fd5b50565b60008135905061448981614463565b92915050565b600080604083850312156144a6576144a5614224565b5b60006144b48582860161447a565b92505060206144c5858286016143c5565b9150509250929050565b6144d8816143a4565b82525050565b60006020820190506144f360008301846144cf565b92915050565b600080604083850312156145105761450f614224565b5b600061451e858286016143c5565b925050602061452f858286016143c5565b9150509250929050565b60008060006060848603121561455257614551614224565b5b60006145608682870161447a565b93505060206145718682870161447a565b9250506040614582868287016143c5565b9150509250925092565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6145ce82614338565b810181811067ffffffffffffffff821117156145ed576145ec614596565b5b80604052505050565b600061460061421a565b905061460c82826145c5565b919050565b600067ffffffffffffffff82111561462c5761462b614596565b5b61463582614338565b9050602081019050919050565b82818337600083830152505050565b600061466461465f84614611565b6145f6565b9050828152602081018484840111156146805761467f614591565b5b61468b848285614642565b509392505050565b600082601f8301126146a8576146a761458c565b5b81356146b8848260208601614651565b91505092915050565b6000602082840312156146d7576146d6614224565b5b600082013567ffffffffffffffff8111156146f5576146f4614229565b5b61470184828501614693565b91505092915050565b6000819050919050565b600061472f61472a61472584614407565b61470a565b614407565b9050919050565b600061474182614714565b9050919050565b600061475382614736565b9050919050565b61476381614748565b82525050565b600060208201905061477e600083018461475a565b92915050565b60006020828403121561479a57614799614224565b5b60006147a88482850161447a565b91505092915050565b600080fd5b600080fd5b60008083601f8401126147d1576147d061458c565b5b8235905067ffffffffffffffff8111156147ee576147ed6147b1565b5b60208301915083602082028301111561480a576148096147b6565b5b9250929050565b6000806020838503121561482857614827614224565b5b600083013567ffffffffffffffff81111561484657614845614229565b5b614852858286016147bb565b92509250509250929050565b614867816142b3565b811461487257600080fd5b50565b6000813590506148848161485e565b92915050565b60008060008060008060c087890312156148a7576148a6614224565b5b60006148b589828a0161447a565b96505060206148c689828a01614875565b95505060406148d789828a016143c5565b94505060606148e889828a01614875565b93505060806148f989828a016143c5565b92505060a061490a89828a016143c5565b9150509295509295509295565b6000806040838503121561492e5761492d614224565b5b600061493c8582860161447a565b925050602061494d85828601614875565b9150509250929050565b600067ffffffffffffffff82111561497257614971614596565b5b61497b82614338565b9050602081019050919050565b600061499b61499684614957565b6145f6565b9050828152602081018484840111156149b7576149b6614591565b5b6149c2848285614642565b509392505050565b600082601f8301126149df576149de61458c565b5b81356149ef848260208601614988565b91505092915050565b60008060008060808587031215614a1257614a11614224565b5b6000614a208782880161447a565b9450506020614a318782880161447a565b9350506040614a42878288016143c5565b925050606085013567ffffffffffffffff811115614a6357614a62614229565b5b614a6f878288016149ca565b91505092959194509250565b60008060408385031215614a9257614a91614224565b5b6000614aa08582860161447a565b9250506020614ab18582860161447a565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680614b0257607f821691505b60208210811415614b1657614b15614abb565b5b50919050565b7f5061757365640000000000000000000000000000000000000000000000000000600082015250565b6000614b526006836142f4565b9150614b5d82614b1c565b602082019050919050565b60006020820190508181036000830152614b8181614b45565b9050919050565b7f4e6f206865616400000000000000000000000000000000000000000000000000600082015250565b6000614bbe6007836142f4565b9150614bc982614b88565b602082019050919050565b60006020820190508181036000830152614bed81614bb1565b9050919050565b7f4e6f7420796f757220746f6b656e000000000000000000000000000000000000600082015250565b6000614c2a600e836142f4565b9150614c3582614bf4565b602082019050919050565b60006020820190508181036000830152614c5981614c1d565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614c9a826143a4565b9150614ca5836143a4565b925082821015614cb857614cb7614c60565b5b828203905092915050565b7f48656164206973206e6f74207269706500000000000000000000000000000000600082015250565b6000614cf96010836142f4565b9150614d0482614cc3565b602082019050919050565b60006020820190508181036000830152614d2881614cec565b9050919050565b6000614d3a826143a4565b9150614d45836143a4565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614d7a57614d79614c60565b5b828201905092915050565b6000604082019050614d9a6000830185614439565b614da760208301846144cf565b9392505050565b7f546f6b656e20646f6573206e6f742065786973742e0000000000000000000000600082015250565b6000614de46015836142f4565b9150614def82614dae565b602082019050919050565b60006020820190508181036000830152614e1381614dd7565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614e54826143a4565b9150614e5f836143a4565b925082614e6f57614e6e614e1a565b5b828204905092915050565b6000614e85826143a4565b9150614e90836143a4565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614ec957614ec8614c60565b5b828202905092915050565b600081905092915050565b6000614eea826142e9565b614ef48185614ed4565b9350614f04818560208601614305565b80840191505092915050565b6000614f1c8284614edf565b915081905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614f5d6020836142f4565b9150614f6882614f27565b602082019050919050565b60006020820190508181036000830152614f8c81614f50565b9050919050565b7f486173206e6f20706172656e7400000000000000000000000000000000000000600082015250565b6000614fc9600d836142f4565b9150614fd482614f93565b602082019050919050565b60006020820190508181036000830152614ff881614fbc565b9050919050565b7f45786365656473206d617820737570706c790000000000000000000000000000600082015250565b60006150356012836142f4565b915061504082614fff565b602082019050919050565b6000602082019050818103600083015261506481615028565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f416c726561647920636c61696d65640000000000000000000000000000000000600082015250565b60006150d0600f836142f4565b91506150db8261509a565b602082019050919050565b600060208201905081810360008301526150ff816150c3565b9050919050565b60008151905061511581614463565b92915050565b60006020828403121561513157615130614224565b5b600061513f84828501615106565b91505092915050565b7f4e6f7420796f7572730000000000000000000000000000000000000000000000600082015250565b600061517e6009836142f4565b915061518982615148565b602082019050919050565b600060208201905081810360008301526151ad81615171565b9050919050565b60006151bf826143a4565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156151f2576151f1614c60565b5b600182019050919050565b7f4e6f20302074786e730000000000000000000000000000000000000000000000600082015250565b60006152336009836142f4565b915061523e826151fd565b602082019050919050565b6000602082019050818103600083015261526281615226565b9050919050565b7f4f7665722074786e206c696d6974000000000000000000000000000000000000600082015250565b600061529f600e836142f4565b91506152aa82615269565b602082019050919050565b600060208201905081810360008301526152ce81615292565b9050919050565b7f4e6f7420656e6f75676820657468000000000000000000000000000000000000600082015250565b600061530b600e836142f4565b9150615316826152d5565b602082019050919050565b6000602082019050818103600083015261533a816152fe565b9050919050565b60008190508160005260206000209050919050565b6000815461536381614aea565b61536d8186614ed4565b945060018216600081146153885760018114615399576153cc565b60ff198316865281860193506153cc565b6153a285615341565b60005b838110156153c4578154818901526001820191506020810190506153a5565b838801955050505b50505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b600061540b600583614ed4565b9150615416826153d5565b600582019050919050565b600061542d8285615356565b91506154398284614edf565b9150615444826153fe565b91508190509392505050565b7f496e76616c696420686561640000000000000000000000000000000000000000600082015250565b6000615486600c836142f4565b915061549182615450565b602082019050919050565b600060208201905081810360008301526154b581615479565b9050919050565b6000819050919050565b6154d76154d2826143a4565b6154bc565b82525050565b60006154e982856154c6565b6020820191506154f98284614edf565b91508190509392505050565b6000615510826143a4565b915061551b836143a4565b92508261552b5761552a614e1a565b5b828206905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006155926026836142f4565b915061559d82615536565b604082019050919050565b600060208201905081810360008301526155c181615585565b9050919050565b60008160601b9050919050565b60006155e0826155c8565b9050919050565b60006155f2826155d5565b9050919050565b61560a61560582614427565b6155e7565b82525050565b6000819050919050565b6000819050919050565b61563561563082615610565b61561a565b82525050565b6000615647828b6155f9565b601482019150615657828a6155f9565b60148201915061566782896154c6565b60208201915061567782886154c6565b60208201915061568782876154c6565b60208201915061569782866154c6565b6020820191506156a78285615624565b6020820191506156b78284615624565b6020820191508190509998505050505050505050565b6156d681615610565b82525050565b60006020820190506156f160008301846156cd565b92915050565b7f4e6f74206f776e65720000000000000000000000000000000000000000000000600082015250565b600061572d6009836142f4565b9150615738826156f7565b602082019050919050565b6000602082019050818103600083015261575c81615720565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b6000615799601d836142f4565b91506157a482615763565b602082019050919050565b600060208201905081810360008301526157c88161578c565b9050919050565b600081905092915050565b50565b60006157ea6000836157cf565b91506157f5826157da565b600082019050919050565b600061580b826157dd565b9150819050919050565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b6000615871603a836142f4565b915061587c82615815565b604082019050919050565b600060208201905081810360008301526158a081615864565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006158ce826158a7565b6158d881856158b2565b93506158e8818560208601614305565b6158f181614338565b840191505092915050565b60006080820190506159116000830187614439565b61591e6020830186614439565b61592b60408301856144cf565b818103606083015261593d81846158c3565b905095945050505050565b6000815190506159578161425a565b92915050565b60006020828403121561597357615972614224565b5b600061598184828501615948565b9150509291505056fea26469706673582212207aa1cab99c2c6e11c4adaa8bd50719a3f6bdcddd16dfd524989f4114fe20561364736f6c634300080c0033

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.