ETH Price: $3,338.31 (-1.08%)

Token

Machinie (MACH)
 

Overview

Max Total Supply

621 MACH

Holders

213

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Filtered by Token Holder
chiapudding.eth
Balance
2 MACH
0xd7efae6e8e0556ebb5e77a499a34fce6a4d8c722
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

These are the migrated Genesis Machinies. Highly advanced, ancient technological artifacts from a long forgotten age. They produce an infinite supply of energy to those that can unlock their true power. Only Humach posses the ancient knowledge required to utilize the full pote...

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Machinie

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
Yes with 200 runs

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

import "./Owner.sol";
import "./token/ERC721Enumerable.sol";
import "./Interface/IFloppy.sol";
import "./Interface/IHumach.sol";
import "./Interface/IMachinieLevel.sol";
contract Machinie is ERC721Enumerable, Ownable
{
    mapping(uint256 => uint256) private level;
    mapping(uint256 => uint256) private stakeTime;
    mapping(uint256 => uint256) private humachId;
    mapping(uint256 => uint256) private stakeRate;
    mapping(uint256 => string) private idName;
    mapping(uint256 => string) private idDescription; 
    uint256 private changeNameFee = 35 ether;
    uint256 private changeDescFee = 35 ether;
    uint256 public constant maxSupply = 888;
    string private uri = "https://api.machinienft.com/api/machinie/";
    address private floppy = 0x9F3dDF3309D501FfBDC4587ab11e9D61ADD3126a; 
    address private humach;
    address private machinieLevel = 0xb96E968b177D0A31b7aaDf9B39093ea217EFEB23; 
    address public constant blackHole = 0x000000000000000000000000000000000000dEaD;
    uint16 private maximumNameLength = 20;
    uint16 private maximumDescLength = 300;
    bool private enableStake;
    constructor() ERC721("Machinie", "MACH")
    {
        stakeRate[1] = 8 * 11574 * (10**9);  
        stakeRate[2] = 9 * 11574 * (10**9);
        stakeRate[3] = 10 * 11574 * (10**9);
        stakeRate[4] = 11 * 11574 * (10**9);
        stakeRate[5] = 12 * 11574 * (10**9);
        _admin[0x714FdF665698837f2F31c57A3dB2Dd23a4Efe84c] = true;

    }

    function mintMachinie( address to_,uint256 tokenId_) external onlyWorker {
        require(tokenId_ < maxSupply, "Machinie : Over Supply");
        level[tokenId_] = IMachinieLevel(machinieLevel).getLevel(tokenId_);    
        _safeMint(to_ ,tokenId_);
    }


    function stakeMachinie(uint256[] memory machinieIds_,uint256[] memory hamachIds_) external {
        require(enableStake, "Machinie : Stake function is disable");
        for(uint8 _i=0; _i< machinieIds_.length; _i++){
            require(ownerOf(machinieIds_[_i]) == _msgSender() , "Machinie : owner query for nonexistent machinie token");
            require(IHumach(humach).ownerOf(hamachIds_[_i]) == _msgSender() , "Machinie : owner query for nonexistent humach token");
            require(!staking[machinieIds_[_i]]  , "Machinie : MachinieID is staking");
            require(!IHumach(humach).isStaking(hamachIds_[_i]) , "Machinie : HumachID is staking");
            staking[machinieIds_[_i]] = true;
            stakeTime[machinieIds_[_i]] = block.timestamp;
            humachId[machinieIds_[_i]] = hamachIds_[_i];
            IHumach(humach).updateStakStatus( hamachIds_[_i] , true);
        }
    }

    function unStakeMachinie(uint256[] memory machinieIds_) external returns(uint256) {
        uint256 _totalReward = 0;
        for(uint8 _i=0; _i< machinieIds_.length; _i++){
            require(ownerOf(machinieIds_[_i]) == _msgSender() , "Machinie : owner query for nonexistent machinie token");
            require(staking[machinieIds_[_i]] , "Machinie : MachinieID is not staking");
            uint256 _reward = getStakeReward(machinieIds_[_i]);
            _totalReward = _totalReward + _reward;
            IHumach(humach).updateStakStatus(humachId[machinieIds_[_i]], false);
            staking[machinieIds_[_i]] = false;
            stakeTime[machinieIds_[_i]] = 0;
            humachId[machinieIds_[_i]] = 0;
        }
        if(_totalReward > 0){
            IFloppy(floppy).mint(_msgSender(), _totalReward);
        }
        return(_totalReward);
    }

    function claimFloppy(uint256[] memory machinieIds_) external returns(uint256){
        uint256 _totalReward = 0;
        for(uint8 _i=0; _i< machinieIds_.length; _i++){
            require(ownerOf(machinieIds_[_i]) == _msgSender() , "Machinie : owner query for nonexistent machinie token");
            require(staking[machinieIds_[_i]] , "Machinie : MachinieID is not staking");
            uint256 _reward = getStakeReward(machinieIds_[_i]);
            _totalReward = _totalReward + _reward;
            stakeTime[machinieIds_[_i]] = block.timestamp;
        }
        if(_totalReward > 0){
            IFloppy(floppy).mint(_msgSender(), _totalReward);
        }
        return(_totalReward);
    }
    function getStakeReward(uint256 machinieId_) public view returns(uint256){
        if(!staking[machinieId_] )
            return 0;
        if(stakeTime[machinieId_] == 0)
            return 0;
        uint256 _rate = stakeRate[level[machinieId_]];
        uint256 _reward = (block.timestamp - stakeTime[machinieId_] ) * _rate;
        return _reward;
    }

    function updateTokenName (uint256 tokenId_ ,string memory name_ ) external  {
        require(ownerOf(tokenId_) == _msgSender() , "Machinie : owner query for nonexistent machinie token");
        require(IERC20(floppy).balanceOf(_msgSender()) >= changeNameFee, "Machinie : BalanceOf Floppy is not enought");
        require(IERC20(floppy).allowance(_msgSender(), address(this)) >= changeNameFee, "Machinie : allowance Floppy isnot enought");
        require(bytes(name_).length <= maximumNameLength, "Machinie : Name length is over Limit");

        IERC20(floppy).transferFrom(_msgSender(), blackHole, changeNameFee);
        idName[tokenId_] = name_;
        emit changeName(tokenId_ , name_, idDescription[tokenId_]);
    }

    function updateTokenDescription (uint256 tokenId_  ,string memory description_ ) external  {
        require(ownerOf(tokenId_) == _msgSender() , "Machinie : owner query for nonexistent machinie token");
        require(IERC20(floppy).balanceOf(_msgSender()) >= changeDescFee, "Machinie : BalanceOf Floppy is not enought");
        require(IERC20(floppy).allowance(_msgSender(), address(this)) >= changeDescFee, "Machinie : allowance Floppy isnot enought");
        require(bytes(description_).length <= maximumDescLength, "Machinie : Description length is over Limit");

        IERC20(floppy).transferFrom(_msgSender(), blackHole, changeDescFee);
        idDescription[tokenId_] = description_;
        emit changeName(tokenId_ , idName[tokenId_], description_);
    }

    function burnMachinie(uint256 tokenId_) external {
        require(ownerOf(tokenId_) == _msgSender() , "Machinie : owner query for nonexistent machinie token");
        _burn(tokenId_);
    }

    function updateEnableStake(bool status_) external onlyAdmin{
        enableStake = status_;
    }
    
    function updateLevel(uint256 [] memory tokenId_, uint8 level_) external onlyAdmin{
        for(uint _i =0; _i<tokenId_.length; _i++)
        {
            level[tokenId_[_i]] = level_;
        }
    }

    function updateStakStatus(uint256 tokenId_,bool status_) external onlyWorker {
        staking[tokenId_] = status_;
    }

    function updateStakeTime (uint256 tokenId_ ,uint256 stakeTime_) external onlyWorker {
        stakeTime[tokenId_] = stakeTime_;
    }

    function updateStakeRate(uint256 level_,uint256 rate_) external onlyAdmin  {
        stakeRate[level_] = rate_;  
    }

    function updateChangeNameFee(uint256 changeName_,uint256 changeDesc_) external onlyAdmin {
        changeNameFee = changeName_;
        changeDescFee = changeDesc_;
    }

    function updateNameLength (uint16 nameLength_, uint16 descLength_) external onlyAdmin {
        maximumNameLength = nameLength_;
        maximumDescLength = descLength_;
    }

    function updateContractFloppy (address newContract) external onlyOwner {
        floppy = newContract;
    }
    
    function updateContractHumach (address newAddress_)external onlyOwner  {
        humach = newAddress_;
    }

    function updateBaseURI(string memory baseURI_)external onlyAdmin{
        uri = baseURI_;
    }

    function withdraw() external payable onlyOwner {
        require(payable(msg.sender).send(address(this).balance));
    }

    function withdraw(uint256 amount_) external payable onlyOwner {
        require(payable(msg.sender).send(amount_));
    }


    function walletOfOwner(address _owner) external view returns(uint256[] memory) {
        uint256 tokenCount = balanceOf(_owner);
        uint256[] memory tokensId = new uint256[](tokenCount);
        for(uint256 _i; _i < tokenCount; _i++){
            tokensId[_i] = tokenOfOwnerByIndex(_owner, _i);
        }
        return tokensId;
    }

    function isLevel (uint256 tokenId_) external view returns(uint256){
        return level[tokenId_];
    }
    
    function isStaking (uint256 tokenId_) external view returns(bool){
        return staking[tokenId_];
    }
    
    function getStakeTime (uint256 tokenId_) external view returns (uint256){
        return stakeTime[tokenId_];
    }
    
    function getTokenIdName(uint256 tokenId_) external view returns(string memory, string memory){
        return(idName[tokenId_],idDescription[tokenId_]);
    }

    function  getChangeDataFee() external view returns (uint256,uint256){
        return (changeNameFee,changeDescFee);       
    }
    
    function getStakeRate(uint256 level_) external view returns(uint256){
        return stakeRate[level_];
    }

    function getHumachTokenId(uint256 machinieId_) external view returns(uint256){
        return humachId[machinieId_];
    }

    function getEnableStake() external view returns (bool){
        return enableStake;
    }

    function getNameLength () external view returns(uint16,uint16) {
        return (maximumNameLength,maximumDescLength);
    }

    function getContractFloppy() external view returns(address){
        return floppy;
    }

    function getContractHumach() external view returns(address){
        return humach;
    }
    function _baseURI() internal view virtual override returns (string memory) {
        return uri;
    }
    

    event changeName(uint256 tokenId_ , string  name_, string  description_);
    
    receive() external payable{
        
    }

}

File 2 of 17 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.3.2 (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 3 of 17 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.3.2 (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 4 of 17 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.3.2 (utils/Address.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 5 of 17 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.3.2 (token/ERC721/extensions/ERC721Enumerable.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

    mapping(uint256 => bool) staking;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 6 of 17 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.3.2 (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

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

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

    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

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

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

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

File 7 of 17 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.3.2 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "../Interface/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 8 of 17 : Owner.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.3.2 (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;
    mapping (address => bool) _admin;
    mapping (address => bool) _worker;

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
        _admin[_msgSender()] = true;
        _worker[_msgSender()] = true;
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }
    function isAdmin(address account_) public view virtual returns (bool) {
        return _admin[account_];
    }
    function isWorker(address account_) public view virtual returns (bool) {
        return _worker[account_];
    }

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

    modifier onlyAdmin() {
        require(isAdmin(_msgSender()), "Ownable: caller is not the Admin");
        _;
    }
    modifier onlyWorker() {
        require(isWorker(_msgSender()), "Ownable: caller is not the Worker");
        _;
    }
    /**
     * @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);
    }

    function updateAdmin(address account_, bool status_) public  onlyOwner{
        require(account_ != address(0), "Ownable: new Admin is the zero address");
        _admin[account_] = status_;
    }

    function updateWorker(address account_, bool status_) public  onlyOwner{
        require(account_ != address(0), "Ownable: new Worker is the zero address");
        _worker[account_] = status_;
    }

}

File 9 of 17 : IMachinieLevel.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

interface IMachinieLevel{
    function getLevel (uint256 tokenId_) external view returns(uint256);
}

File 10 of 17 : IHumach.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "./IERC721Enumerable.sol";

interface IHumach  is IERC721Enumerable{

    function machinieUpgrade(uint256 tokenId_ ) external returns (uint256) ;

    function machiniesUpgrade(uint256[] memory tokenIds_ ) external  ;

    function whiteListsMintHumach(uint8 amount_ ) external payable returns (uint256 [] memory) ;

    function publicMintHumach(uint8 amount_) external payable returns (uint256 [] memory) ;
    
    function breedHumach(uint256 tokenId_) external returns (uint256) ;

    function stakeHumach (uint256 [] memory tokenIds_) external ;

    function unStakeHumach (uint256 [] memory tokenIds_) external ;

    function calculateLevel(uint256 tokenId_) external view returns(uint256,uint256) ;

    function updateTokenName (uint256 tokenId_ ,string memory name_ ) external  ;

    function updateTokenDescription (uint256 tokenId_  ,string memory description_ ) external  ;
   
    function burnHumach(uint256 tokenId_) external ;

    function updateStakStatus(uint256 tokenId_,bool status_) external ;

    function isStaking (uint256 tokenId_) external view returns(bool);

    function getStakeTime (uint256 tokenId_) external view returns (uint256);

    function getMintFee(uint256 amount_) external view returns(uint256);
  
    function getTokenIdName(uint256 tokenId_) external view returns(string memory, string memory);

    function walletOfOwner(address _owner) external view returns(uint256[] memory) ;

}

File 11 of 17 : IFloppy.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "./IERC20.sol";

interface IFloppy  is IERC20{
       
    function mint(address acount_ ,uint256 amount_ ) external ;

    function burn(uint256 amount_ ) external ;


}

File 12 of 17 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.3.2 (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 13 of 17 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.3.2 (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 14 of 17 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.3.2 (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 tokenId);

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

File 15 of 17 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.3.2 (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

import "./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 16 of 17 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.3.2 (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

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

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

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

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

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

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

File 17 of 17 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.3.2 (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
{
  "remappings": [],
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "evmVersion": "istanbul",
  "libraries": {},
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokenId_","type":"uint256"},{"indexed":false,"internalType":"string","name":"name_","type":"string"},{"indexed":false,"internalType":"string","name":"description_","type":"string"}],"name":"changeName","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"blackHole","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId_","type":"uint256"}],"name":"burnMachinie","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"machinieIds_","type":"uint256[]"}],"name":"claimFloppy","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getChangeDataFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getContractFloppy","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getContractHumach","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getEnableStake","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"machinieId_","type":"uint256"}],"name":"getHumachTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getNameLength","outputs":[{"internalType":"uint16","name":"","type":"uint16"},{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"level_","type":"uint256"}],"name":"getStakeRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"machinieId_","type":"uint256"}],"name":"getStakeReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId_","type":"uint256"}],"name":"getStakeTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId_","type":"uint256"}],"name":"getTokenIdName","outputs":[{"internalType":"string","name":"","type":"string"},{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account_","type":"address"}],"name":"isAdmin","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":"isLevel","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId_","type":"uint256"}],"name":"isStaking","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account_","type":"address"}],"name":"isWorker","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to_","type":"address"},{"internalType":"uint256","name":"tokenId_","type":"uint256"}],"name":"mintMachinie","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"machinieIds_","type":"uint256[]"},{"internalType":"uint256[]","name":"hamachIds_","type":"uint256[]"}],"name":"stakeMachinie","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"machinieIds_","type":"uint256[]"}],"name":"unStakeMachinie","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account_","type":"address"},{"internalType":"bool","name":"status_","type":"bool"}],"name":"updateAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"}],"name":"updateBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"changeName_","type":"uint256"},{"internalType":"uint256","name":"changeDesc_","type":"uint256"}],"name":"updateChangeNameFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newContract","type":"address"}],"name":"updateContractFloppy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress_","type":"address"}],"name":"updateContractHumach","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"status_","type":"bool"}],"name":"updateEnableStake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenId_","type":"uint256[]"},{"internalType":"uint8","name":"level_","type":"uint8"}],"name":"updateLevel","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"nameLength_","type":"uint16"},{"internalType":"uint16","name":"descLength_","type":"uint16"}],"name":"updateNameLength","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId_","type":"uint256"},{"internalType":"bool","name":"status_","type":"bool"}],"name":"updateStakStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"level_","type":"uint256"},{"internalType":"uint256","name":"rate_","type":"uint256"}],"name":"updateStakeRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId_","type":"uint256"},{"internalType":"uint256","name":"stakeTime_","type":"uint256"}],"name":"updateStakeTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId_","type":"uint256"},{"internalType":"string","name":"description_","type":"string"}],"name":"updateTokenDescription","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId_","type":"uint256"},{"internalType":"string","name":"name_","type":"string"}],"name":"updateTokenName","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account_","type":"address"},{"internalType":"bool","name":"status_","type":"bool"}],"name":"updateWorker","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount_","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"},{"stateMutability":"payable","type":"receive"}]

6801e5b8fa8fe2ac0000601481905560155560e060405260296080818152906200498160a03980516200003b9160169160209091019062000313565b5060178054739f3ddf3309d501ffbdc4587ab11e9d61add3126a6001600160a01b0319918216179091556019805473b96e968b177d0a31b7aadf9b39093ea217efeb2392169190911761ffff60a01b1916600560a21b1761ffff60b01b1916604b60b21b179055348015620000af57600080fd5b5060408051808201825260088152674d616368696e696560c01b60208083019182528351808501909452600484526309a8286960e31b908401528151919291620000fc9160009162000313565b5080516200011290600190602084019062000313565b5050506200012f62000129620002bd60201b60201c565b620002c1565b6001600c60006200013f620002bd565b6001600160a01b0316815260208101919091526040016000908120805460ff191692151592909217909155600190600d906200017a620002bd565b6001600160a01b031681526020808201929092526040016000908120805493151560ff199485161790556554364144e0007f17bc176d2408558f6e4111feebc3cab4e16b63e967be91cde721f4c8a488b55255655ebd096d7c007f08037d7b151cc412d25674a4e66b334d9ae9d2e5517a7feaae5cdb828bf1c62855656943d19618007f9bfbaa59f8e10e7868f8b402de9d605a390c45ddaebd8c9de3c6f31e733c87ff556573ca99beb4007f251164fe1d8864fe5e86082eae9c288bc2b58695a4d28538dfe86e9e4f17558555657e5161e750007fc550213cee30afd5e67ccba7be3d381bbc169034ae08eb3ec9168caca9fe55e75573714fdf665698837f2f31c57a3db2dd23a4efe84c9052600c90527f0a52fd60f97c2385bf7095153c1affc355d563afdf687364244812b52ce21f2e80549091166001179055620003f6565b3390565b600b80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200032190620003b9565b90600052602060002090601f01602090048101928262000345576000855562000390565b82601f106200036057805160ff191683800117855562000390565b8280016001018555821562000390579182015b828111156200039057825182559160200191906001019062000373565b506200039e929150620003a2565b5090565b5b808211156200039e5760008155600101620003a3565b600281046001821680620003ce57607f821691505b60208210811415620003f057634e487b7160e01b600052602260045260246000fd5b50919050565b61457b80620004066000396000f3fe60806040526004361061037a5760003560e01c80637d5acf22116101d1578063a22cb46511610102578063e0027974116100a0578063eeede7d21161006f578063eeede7d2146109fe578063f21bdd2714610a13578063f2fde38b14610a33578063f559df6714610a5357610381565b8063e00279741461097e578063e8fb41751461099e578063e985e9c5146109be578063ea440500146109de57610381565b8063b2d792ee116100dc578063b2d792ee14610909578063b88d4fde14610929578063c87b56dd14610949578063d5abeb011461096957610381565b8063a22cb465146108a9578063aa156645146108c9578063b2d2907c146108e957610381565b8063938af1f21161016f57806399a4af141161014957806399a4af141461083f5780639da314f1146108545780639db60cfe146108745780639e90f9aa1461089457610381565b8063938af1f2146107e757806395d89b411461080a5780639722e07f1461081f57610381565b80638d780809116101ab5780638d780809146107645780638da5cb5b146107925780639016e5fe146107a7578063931688cb146107c757610381565b80637d5acf221461070457806381c8d14914610724578063896b4be91461074457610381565b80633ccfd60b116102ab5780635a5efec511610249578063670a6fd911610223578063670a6fd91461068f57806367ca2298146106af57806370a08231146106cf578063715018a6146106ef57610381565b80635a5efec51461062f5780635f7830b31461064f5780636352211e1461066f57610381565b8063438b630011610285578063438b6300146105a257806343c34f8d146105cf578063451ea563146105ef5780634f6ccce71461060f57610381565b80633ccfd60b1461055a5780633ff6045d1461056257806342842e0e1461058257610381565b8063200c148f116103185780632a115c81116102f25780632a115c81146104e45780632d70a71b146105075780632e1a7d4d146105275780632f745c591461053a57610381565b8063200c148f1461048f57806323b872dd146104a457806324d7806c146104c457610381565b8063081812fc11610354578063081812fc1461040b578063095ea7b31461043857806311ab63e11461045a57806318160ddd1461047a57610381565b806301ffc9a7146103865780630592c1c1146103bc57806306fdde03146103e957610381565b3661038157005b600080fd5b34801561039257600080fd5b506103a66103a1366004613639565b610a73565b6040516103b3919061396e565b60405180910390f35b3480156103c857600080fd5b506103dc6103d73660046136d6565b610aa0565b6040516103b391906142ff565b3480156103f557600080fd5b506103fe610ab2565b6040516103b39190613979565b34801561041757600080fd5b5061042b6104263660046136d6565b610b44565b6040516103b39190613882565b34801561044457600080fd5b506104586104533660046134f8565b610b90565b005b34801561046657600080fd5b5061045861047536600461372a565b610c28565b34801561048657600080fd5b506103dc610ee3565b34801561049b57600080fd5b5061042b610ee9565b3480156104b057600080fd5b506104586104bf36600461340e565b610ef8565b3480156104d057600080fd5b506103a66104df36600461339e565b610f30565b3480156104f057600080fd5b506104f9610f4e565b6040516103b39291906142ea565b34801561051357600080fd5b50610458610522366004613765565b610f6a565b6104586105353660046136d6565b610fa3565b34801561054657600080fd5b506103dc6105553660046134f8565b61100a565b61045861105c565b34801561056e57600080fd5b506103dc61057d3660046136d6565b6110c1565b34801561058e57600080fd5b5061045861059d36600461340e565b6110d3565b3480156105ae57600080fd5b506105c26105bd36600461339e565b6110ee565b6040516103b3919061392a565b3480156105db57600080fd5b506104586105ea3660046134f8565b6111ac565b3480156105fb57600080fd5b506103a661060a3660046136d6565b611291565b34801561061b57600080fd5b506103dc61062a3660046136d6565b6112a6565b34801561063b57600080fd5b506103dc61064a3660046136d6565b611301565b34801561065b57600080fd5b5061045861066a3660046136d6565b611313565b34801561067b57600080fd5b5061042b61068a3660046136d6565b61135c565b34801561069b57600080fd5b506104586106aa3660046134cb565b611391565b3480156106bb57600080fd5b506104586106ca36600461372a565b611421565b3480156106db57600080fd5b506103dc6106ea36600461339e565b6116cf565b3480156106fb57600080fd5b50610458611713565b34801561071057600080fd5b5061045861071f3660046135b7565b61175c565b34801561073057600080fd5b506103dc61073f3660046136d6565b6117e4565b34801561075057600080fd5b5061045861075f3660046134cb565b6117f6565b34801561077057600080fd5b5061078461077f3660046136d6565b611886565b6040516103b392919061398c565b34801561079e57600080fd5b5061042b6119c8565b3480156107b357600080fd5b506103dc6107c2366004613523565b6119d7565b3480156107d357600080fd5b506104586107e2366004613671565b611bc3565b3480156107f357600080fd5b506107fc611bfd565b6040516103b392919061436e565b34801561081657600080fd5b506103fe611c07565b34801561082b57600080fd5b5061045861083a3660046136a4565b611c16565b34801561084b57600080fd5b506103a6611c72565b34801561086057600080fd5b5061045861086f36600461339e565b611c82565b34801561088057600080fd5b506103dc61088f366004613523565b611ce3565b3480156108a057600080fd5b5061042b611f7f565b3480156108b557600080fd5b506104586108c43660046134cb565b611f85565b3480156108d557600080fd5b506103a66108e436600461339e565b611f97565b3480156108f557600080fd5b50610458610904366004613556565b611fb5565b34801561091557600080fd5b50610458610924366004613601565b612420565b34801561093557600080fd5b5061045861094436600461344e565b612465565b34801561095557600080fd5b506103fe6109643660046136d6565b6124a4565b34801561097557600080fd5b506103dc612527565b34801561098a57600080fd5b50610458610999366004613706565b61252d565b3480156109aa57600080fd5b506104586109b936600461339e565b612574565b3480156109ca57600080fd5b506103a66109d93660046133d6565b6125d5565b3480156109ea57600080fd5b506103dc6109f93660046136d6565b612603565b348015610a0a57600080fd5b5061042b612684565b348015610a1f57600080fd5b50610458610a2e366004613765565b612693565b348015610a3f57600080fd5b50610458610a4e36600461339e565b6126c5565b348015610a5f57600080fd5b50610458610a6e366004613765565b612733565b60006001600160e01b0319821663780e9d6360e01b1480610a985750610a988261276c565b90505b919050565b60009081526011602052604090205490565b606060008054610ac190614440565b80601f0160208091040260200160405190810160405280929190818152602001828054610aed90614440565b8015610b3a5780601f10610b0f57610100808354040283529160200191610b3a565b820191906000526020600020905b815481529060010190602001808311610b1d57829003601f168201915b5050505050905090565b6000610b4f826127ac565b610b745760405162461bcd60e51b8152600401610b6b90613f10565b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6000610b9b8261135c565b9050806001600160a01b0316836001600160a01b03161415610bcf5760405162461bcd60e51b8152600401610b6b906140b4565b806001600160a01b0316610be16127c9565b6001600160a01b03161480610bfd5750610bfd816109d96127c9565b610c195760405162461bcd60e51b8152600401610b6b90613d65565b610c2383836127cd565b505050565b610c306127c9565b6001600160a01b0316610c428361135c565b6001600160a01b031614610c685760405162461bcd60e51b8152600401610b6b90613bdd565b6015546017546001600160a01b03166370a08231610c846127c9565b6040518263ffffffff1660e01b8152600401610ca09190613882565b60206040518083038186803b158015610cb857600080fd5b505afa158015610ccc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cf091906136ee565b1015610d0e5760405162461bcd60e51b8152600401610b6b90613b27565b6015546017546001600160a01b031663dd62ed3e610d2a6127c9565b306040518363ffffffff1660e01b8152600401610d48929190613896565b60206040518083038186803b158015610d6057600080fd5b505afa158015610d74573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d9891906136ee565b1015610db65760405162461bcd60e51b8152600401610b6b90614191565b6019548151600160b01b90910461ffff161015610de55760405162461bcd60e51b8152600401610b6b906140f5565b6017546001600160a01b03166323b872dd610dfe6127c9565b61dead6015546040518463ffffffff1660e01b8152600401610e22939291906138b0565b602060405180830381600087803b158015610e3c57600080fd5b505af1158015610e50573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e74919061361d565b5060008281526013602090815260409091208251610e94928401906131fa565b506000828152601260205260409081902090517f3ba66b9d90431749ebd6249394ba368113066c111b97c835bb85577ce91bce4f91610ed7918591908590614343565b60405180910390a15050565b60085490565b6017546001600160a01b031690565b610f09610f036127c9565b8261283b565b610f255760405162461bcd60e51b8152600401610b6b90614140565b610c238383836128b8565b6001600160a01b03166000908152600c602052604090205460ff1690565b60195461ffff600160a01b8204811691600160b01b9004169091565b610f756104df6127c9565b610f915760405162461bcd60e51b8152600401610b6b90613ba8565b60009182526011602052604090912055565b610fab6127c9565b6001600160a01b0316610fbc6119c8565b6001600160a01b031614610fe25760405162461bcd60e51b8152600401610b6b90613f5c565b604051339082156108fc029083906000818181858888f1935050505061100757600080fd5b50565b6000611015836116cf565b82106110335760405162461bcd60e51b8152600401610b6b90613a00565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b6110646127c9565b6001600160a01b03166110756119c8565b6001600160a01b03161461109b5760405162461bcd60e51b8152600401610b6b90613f5c565b60405133904780156108fc02916000818181858888f193505050506110bf57600080fd5b565b6000908152600e602052604090205490565b610c2383838360405180602001604052806000815250612465565b606060006110fb836116cf565b905060008167ffffffffffffffff81111561112657634e487b7160e01b600052604160045260246000fd5b60405190808252806020026020018201604052801561114f578160200160208202803683370190505b50905060005b828110156111a457611167858261100a565b82828151811061118757634e487b7160e01b600052603260045260246000fd5b60209081029190910101528061119c8161447b565b915050611155565b509392505050565b6111b76108e46127c9565b6111d35760405162461bcd60e51b8152600401610b6b90614256565b61037881106111f45760405162461bcd60e51b8152600401610b6b90614226565b601954604051630219207560e61b81526001600160a01b03909116906386481d40906112249084906004016142ff565b60206040518083038186803b15801561123c57600080fd5b505afa158015611250573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061127491906136ee565b6000828152600e602052604090205561128d82826129e5565b5050565b6000908152600a602052604090205460ff1690565b60006112b0610ee3565b82106112ce5760405162461bcd60e51b8152600401610b6b906141da565b600882815481106112ef57634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b60009081526010602052604090205490565b61131b6127c9565b6001600160a01b031661132d8261135c565b6001600160a01b0316146113535760405162461bcd60e51b8152600401610b6b90613bdd565b611007816129ff565b6000818152600260205260408120546001600160a01b031680610a985760405162461bcd60e51b8152600401610b6b90613e50565b6113996127c9565b6001600160a01b03166113aa6119c8565b6001600160a01b0316146113d05760405162461bcd60e51b8152600401610b6b90613f5c565b6001600160a01b0382166113f65760405162461bcd60e51b8152600401610b6b906139ba565b6001600160a01b03919091166000908152600c60205260409020805460ff1916911515919091179055565b6114296127c9565b6001600160a01b031661143b8361135c565b6001600160a01b0316146114615760405162461bcd60e51b8152600401610b6b90613bdd565b6014546017546001600160a01b03166370a0823161147d6127c9565b6040518263ffffffff1660e01b81526004016114999190613882565b60206040518083038186803b1580156114b157600080fd5b505afa1580156114c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114e991906136ee565b10156115075760405162461bcd60e51b8152600401610b6b90613b27565b6014546017546001600160a01b031663dd62ed3e6115236127c9565b306040518363ffffffff1660e01b8152600401611541929190613896565b60206040518083038186803b15801561155957600080fd5b505afa15801561156d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061159191906136ee565b10156115af5760405162461bcd60e51b8152600401610b6b90614191565b6019548151600160a01b90910461ffff1610156115de5760405162461bcd60e51b8152600401610b6b90613dc2565b6017546001600160a01b03166323b872dd6115f76127c9565b61dead6014546040518463ffffffff1660e01b815260040161161b939291906138b0565b602060405180830381600087803b15801561163557600080fd5b505af1158015611649573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061166d919061361d565b506000828152601260209081526040909120825161168d928401906131fa565b506000828152601360205260409081902090517f3ba66b9d90431749ebd6249394ba368113066c111b97c835bb85577ce91bce4f91610ed79185918591614318565b60006001600160a01b0382166116f75760405162461bcd60e51b8152600401610b6b90613e06565b506001600160a01b031660009081526003602052604090205490565b61171b6127c9565b6001600160a01b031661172c6119c8565b6001600160a01b0316146117525760405162461bcd60e51b8152600401610b6b90613f5c565b6110bf6000612aa6565b6117676104df6127c9565b6117835760405162461bcd60e51b8152600401610b6b90613ba8565b60005b8251811015610c23578160ff16600e60008584815181106117b757634e487b7160e01b600052603260045260246000fd5b602002602001015181526020019081526020016000208190555080806117dc9061447b565b915050611786565b6000908152600f602052604090205490565b6117fe6127c9565b6001600160a01b031661180f6119c8565b6001600160a01b0316146118355760405162461bcd60e51b8152600401610b6b90613f5c565b6001600160a01b03821661185b5760405162461bcd60e51b8152600401610b6b9061406d565b6001600160a01b03919091166000908152600d60205260409020805460ff1916911515919091179055565b6000818152601260209081526040808320601390925290912081546060928392909182906118b390614440565b80601f01602080910402602001604051908101604052809291908181526020018280546118df90614440565b801561192c5780601f106119015761010080835404028352916020019161192c565b820191906000526020600020905b81548152906001019060200180831161190f57829003601f168201915b5050505050915080805461193f90614440565b80601f016020809104026020016040519081016040528092919081815260200182805461196b90614440565b80156119b85780601f1061198d576101008083540402835291602001916119b8565b820191906000526020600020905b81548152906001019060200180831161199b57829003601f168201915b5050505050905091509150915091565b600b546001600160a01b031690565b600080805b83518160ff161015611b4c576119f06127c9565b6001600160a01b0316611a2c858360ff1681518110611a1f57634e487b7160e01b600052603260045260246000fd5b602002602001015161135c565b6001600160a01b031614611a525760405162461bcd60e51b8152600401610b6b90613bdd565b600a6000858360ff1681518110611a7957634e487b7160e01b600052603260045260246000fd5b60209081029190910181015182528101919091526040016000205460ff16611ab35760405162461bcd60e51b8152600401610b6b90613fda565b6000611ae8858360ff1681518110611adb57634e487b7160e01b600052603260045260246000fd5b6020026020010151612603565b9050611af481846143b2565b925042600f6000878560ff1681518110611b1e57634e487b7160e01b600052603260045260246000fd5b6020026020010151815260200190815260200160002081905550508080611b4490614496565b9150506119dc565b508015610a98576017546001600160a01b03166340c10f19611b6c6127c9565b836040518363ffffffff1660e01b8152600401611b8a929190613911565b600060405180830381600087803b158015611ba457600080fd5b505af1158015611bb8573d6000803e3d6000fd5b505050509050919050565b611bce6104df6127c9565b611bea5760405162461bcd60e51b8152600401610b6b90613ba8565b805161128d9060169060208401906131fa565b6014546015549091565b606060018054610ac190614440565b611c216104df6127c9565b611c3d5760405162461bcd60e51b8152600401610b6b90613ba8565b6019805461ffff928316600160b01b0261ffff60b01b1994909316600160a01b0261ffff60a01b199091161792909216179055565b601954600160c01b900460ff1690565b611c8a6127c9565b6001600160a01b0316611c9b6119c8565b6001600160a01b031614611cc15760405162461bcd60e51b8152600401610b6b90613f5c565b601880546001600160a01b0319166001600160a01b0392909216919091179055565b600080805b83518160ff161015611b4c57611cfc6127c9565b6001600160a01b0316611d2b858360ff1681518110611a1f57634e487b7160e01b600052603260045260246000fd5b6001600160a01b031614611d515760405162461bcd60e51b8152600401610b6b90613bdd565b600a6000858360ff1681518110611d7857634e487b7160e01b600052603260045260246000fd5b60209081029190910181015182528101919091526040016000205460ff16611db25760405162461bcd60e51b8152600401610b6b90613fda565b6000611dda858360ff1681518110611adb57634e487b7160e01b600052603260045260246000fd5b9050611de681846143b2565b60185486519194506001600160a01b03169063e002797490601090600090899060ff8816908110611e2757634e487b7160e01b600052603260045260246000fd5b602002602001015181526020019081526020016000205460006040518363ffffffff1660e01b8152600401611e5d929190614308565b600060405180830381600087803b158015611e7757600080fd5b505af1158015611e8b573d6000803e3d6000fd5b505050506000600a6000878560ff1681518110611eb857634e487b7160e01b600052603260045260246000fd5b6020026020010151815260200190815260200160002060006101000a81548160ff0219169083151502179055506000600f6000878560ff1681518110611f0e57634e487b7160e01b600052603260045260246000fd5b6020026020010151815260200190815260200160002081905550600060106000878560ff1681518110611f5157634e487b7160e01b600052603260045260246000fd5b6020026020010151815260200190815260200160002081905550508080611f7790614496565b915050611ce8565b61dead81565b61128d611f906127c9565b8383612af8565b6001600160a01b03166000908152600d602052604090205460ff1690565b601954600160c01b900460ff16611fde5760405162461bcd60e51b8152600401610b6b90613a9d565b60005b82518160ff161015610c2357611ff56127c9565b6001600160a01b0316612024848360ff1681518110611a1f57634e487b7160e01b600052603260045260246000fd5b6001600160a01b03161461204a5760405162461bcd60e51b8152600401610b6b90613bdd565b6120526127c9565b6001600160a01b0316601860009054906101000a90046001600160a01b03166001600160a01b0316636352211e848460ff16815181106120a257634e487b7160e01b600052603260045260246000fd5b60200260200101516040518263ffffffff1660e01b81526004016120c691906142ff565b60206040518083038186803b1580156120de57600080fd5b505afa1580156120f2573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061211691906133ba565b6001600160a01b03161461213c5760405162461bcd60e51b8152600401610b6b90614297565b600a6000848360ff168151811061216357634e487b7160e01b600052603260045260246000fd5b60209081029190910181015182528101919091526040016000205460ff161561219e5760405162461bcd60e51b8152600401610b6b90613cad565b60185482516001600160a01b039091169063451ea56390849060ff85169081106121d857634e487b7160e01b600052603260045260246000fd5b60200260200101516040518263ffffffff1660e01b81526004016121fc91906142ff565b60206040518083038186803b15801561221457600080fd5b505afa158015612228573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061224c919061361d565b156122695760405162461bcd60e51b8152600401610b6b90613d2e565b6001600a6000858460ff168151811061229257634e487b7160e01b600052603260045260246000fd5b6020026020010151815260200190815260200160002060006101000a81548160ff02191690831515021790555042600f6000858460ff16815181106122e757634e487b7160e01b600052603260045260246000fd5b6020026020010151815260200190815260200160002081905550818160ff168151811061232457634e487b7160e01b600052603260045260246000fd5b602002602001015160106000858460ff168151811061235357634e487b7160e01b600052603260045260246000fd5b6020026020010151815260200190815260200160002081905550601860009054906101000a90046001600160a01b03166001600160a01b031663e0027974838360ff16815181106123b457634e487b7160e01b600052603260045260246000fd5b602002602001015160016040518363ffffffff1660e01b81526004016123db929190614308565b600060405180830381600087803b1580156123f557600080fd5b505af1158015612409573d6000803e3d6000fd5b50505050808061241890614496565b915050611fe1565b61242b6104df6127c9565b6124475760405162461bcd60e51b8152600401610b6b90613ba8565b60198054911515600160c01b0260ff60c01b19909216919091179055565b6124766124706127c9565b8361283b565b6124925760405162461bcd60e51b8152600401610b6b90614140565b61249e84848484612b9b565b50505050565b60606124af826127ac565b6124cb5760405162461bcd60e51b8152600401610b6b9061401e565b60006124d5612bce565b905060008151116124f55760405180602001604052806000815250612520565b806124ff84612bdd565b604051602001612510929190613853565b6040516020818303038152906040525b9392505050565b61037881565b6125386108e46127c9565b6125545760405162461bcd60e51b8152600401610b6b90614256565b6000918252600a6020526040909120805460ff1916911515919091179055565b61257c6127c9565b6001600160a01b031661258d6119c8565b6001600160a01b0316146125b35760405162461bcd60e51b8152600401610b6b90613f5c565b601780546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6000818152600a602052604081205460ff1661262157506000610a9b565b6000828152600f602052604090205461263c57506000610a9b565b6000828152600e602090815260408083205483526011825280832054858452600f909252822054909190829061267290426143fd565b61267c91906143de565b949350505050565b6018546001600160a01b031690565b61269e6104df6127c9565b6126ba5760405162461bcd60e51b8152600401610b6b90613ba8565b601491909155601555565b6126cd6127c9565b6001600160a01b03166126de6119c8565b6001600160a01b0316146127045760405162461bcd60e51b8152600401610b6b90613f5c565b6001600160a01b03811661272a5760405162461bcd60e51b8152600401610b6b90613ae1565b61100781612aa6565b61273e6108e46127c9565b61275a5760405162461bcd60e51b8152600401610b6b90614256565b6000918252600f602052604090912055565b60006001600160e01b031982166380ac58cd60e01b148061279d57506001600160e01b03198216635b5e139f60e01b145b80610a985750610a9882612cf8565b6000908152600260205260409020546001600160a01b0316151590565b3390565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906128028261135c565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000612846826127ac565b6128625760405162461bcd60e51b8152600401610b6b90613ce2565b600061286d8361135c565b9050806001600160a01b0316846001600160a01b031614806128a85750836001600160a01b031661289d84610b44565b6001600160a01b0316145b8061267c575061267c81856125d5565b826001600160a01b03166128cb8261135c565b6001600160a01b0316146128f15760405162461bcd60e51b8152600401610b6b90613f91565b6001600160a01b0382166129175760405162461bcd60e51b8152600401610b6b90613c32565b612922838383612d11565b61292d6000826127cd565b6001600160a01b03831660009081526003602052604081208054600192906129569084906143fd565b90915550506001600160a01b03821660009081526003602052604081208054600192906129849084906143b2565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b61128d828260405180602001604052806000815250612dc9565b6000612a0a8261135c565b9050612a1881600084612d11565b612a236000836127cd565b6001600160a01b0381166000908152600360205260408120805460019290612a4c9084906143fd565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b600b80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b03161415612b2a5760405162461bcd60e51b8152600401610b6b90613c76565b6001600160a01b0383811660008181526005602090815260408083209487168084529490915290819020805460ff1916851515179055517f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3190612b8e90859061396e565b60405180910390a3505050565b612ba68484846128b8565b612bb284848484612dfc565b61249e5760405162461bcd60e51b8152600401610b6b90613a4b565b606060168054610ac190614440565b606081612c0257506040805180820190915260018152600360fc1b6020820152610a9b565b8160005b8115612c2c5780612c168161447b565b9150612c259050600a836143ca565b9150612c06565b60008167ffffffffffffffff811115612c5557634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612c7f576020820181803683370190505b5090505b841561267c57612c946001836143fd565b9150612ca1600a866144b6565b612cac9060306143b2565b60f81b818381518110612ccf57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350612cf1600a866143ca565b9450612c83565b6001600160e01b031981166301ffc9a760e01b14919050565b6000818152600a602052604090205460ff1615612d405760405162461bcd60e51b8152600401610b6b90613ece565b612d4b838383610c23565b6001600160a01b038316612d6757612d6281612f17565b612d8a565b816001600160a01b0316836001600160a01b031614612d8a57612d8a8382612f5b565b6001600160a01b038216612da657612da181612ff8565b610c23565b826001600160a01b0316826001600160a01b031614610c2357610c2382826130d1565b612dd38383613115565b612de06000848484612dfc565b610c235760405162461bcd60e51b8152600401610b6b90613a4b565b6000612e10846001600160a01b03166131f4565b15612f0c57836001600160a01b031663150b7a02612e2c6127c9565b8786866040518563ffffffff1660e01b8152600401612e4e94939291906138d4565b602060405180830381600087803b158015612e6857600080fd5b505af1925050508015612e98575060408051601f3d908101601f19168201909252612e9591810190613655565b60015b612ef2573d808015612ec6576040519150601f19603f3d011682016040523d82523d6000602084013e612ecb565b606091505b508051612eea5760405162461bcd60e51b8152600401610b6b90613a4b565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061267c565b506001949350505050565b600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b60006001612f68846116cf565b612f7291906143fd565b600083815260076020526040902054909150808214612fc5576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061300a906001906143fd565b6000838152600960205260408120546008805493945090928490811061304057634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050806008838154811061306f57634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806130b557634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b60006130dc836116cf565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b03821661313b5760405162461bcd60e51b8152600401610b6b90613e99565b613144816127ac565b156131615760405162461bcd60e51b8152600401610b6b90613b71565b61316d60008383612d11565b6001600160a01b03821660009081526003602052604081208054600192906131969084906143b2565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b3b151590565b82805461320690614440565b90600052602060002090601f016020900481019282613228576000855561326e565b82601f1061324157805160ff191683800117855561326e565b8280016001018555821561326e579182015b8281111561326e578251825591602001919060010190613253565b5061327a92915061327e565b5090565b5b8082111561327a576000815560010161327f565b600067ffffffffffffffff8311156132ad576132ad6144f6565b6132c0601f8401601f191660200161437c565b90508281528383830111156132d457600080fd5b828260208301376000602084830101529392505050565b600082601f8301126132fb578081fd5b8135602067ffffffffffffffff821115613317576133176144f6565b80820261332582820161437c565b83815282810190868401838801850189101561333f578687fd5b8693505b85841015613361578035835260019390930192918401918401613343565b50979650505050505050565b600082601f83011261337d578081fd5b61252083833560208501613293565b803561ffff81168114610a9b57600080fd5b6000602082840312156133af578081fd5b81356125208161450c565b6000602082840312156133cb578081fd5b81516125208161450c565b600080604083850312156133e8578081fd5b82356133f38161450c565b915060208301356134038161450c565b809150509250929050565b600080600060608486031215613422578081fd5b833561342d8161450c565b9250602084013561343d8161450c565b929592945050506040919091013590565b60008060008060808587031215613463578081fd5b843561346e8161450c565b9350602085013561347e8161450c565b925060408501359150606085013567ffffffffffffffff8111156134a0578182fd5b8501601f810187136134b0578182fd5b6134bf87823560208401613293565b91505092959194509250565b600080604083850312156134dd578182fd5b82356134e88161450c565b9150602083013561340381614521565b6000806040838503121561350a578182fd5b82356135158161450c565b946020939093013593505050565b600060208284031215613534578081fd5b813567ffffffffffffffff81111561354a578182fd5b61267c848285016132eb565b60008060408385031215613568578182fd5b823567ffffffffffffffff8082111561357f578384fd5b61358b868387016132eb565b935060208501359150808211156135a0578283fd5b506135ad858286016132eb565b9150509250929050565b600080604083850312156135c9578182fd5b823567ffffffffffffffff8111156135df578283fd5b6135eb858286016132eb565b925050602083013560ff81168114613403578182fd5b600060208284031215613612578081fd5b813561252081614521565b60006020828403121561362e578081fd5b815161252081614521565b60006020828403121561364a578081fd5b81356125208161452f565b600060208284031215613666578081fd5b81516125208161452f565b600060208284031215613682578081fd5b813567ffffffffffffffff811115613698578182fd5b61267c8482850161336d565b600080604083850312156136b6578182fd5b6136bf8361338c565b91506136cd6020840161338c565b90509250929050565b6000602082840312156136e7578081fd5b5035919050565b6000602082840312156136ff578081fd5b5051919050565b60008060408385031215613718578182fd5b82359150602083013561340381614521565b6000806040838503121561373c578182fd5b82359150602083013567ffffffffffffffff811115613759578182fd5b6135ad8582860161336d565b60008060408385031215613777578182fd5b50508035926020909101359150565b6000815180845261379e816020860160208601614414565b601f01601f19169290920160200192915050565b8054600090600281046001808316806137cc57607f831692505b60208084108214156137ec57634e487b7160e01b86526022600452602486fd5b6137f684896142ff565b82801561380a576001811461381b57613846565b60ff19871682528282019750613846565b613824896143a6565b60005b8781101561384057815484820152908601908401613827565b83019850505b5050505050505092915050565b60008351613865818460208801614414565b835190830190613879818360208801614414565b01949350505050565b6001600160a01b0391909116815260200190565b6001600160a01b0392831681529116602082015260400190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061390790830184613786565b9695505050505050565b6001600160a01b03929092168252602082015260400190565b6020808252825182820181905260009190848201906040850190845b8181101561396257835183529284019291840191600101613946565b50909695505050505050565b901515815260200190565b6000602082526125206020830184613786565b60006040825261399f6040830185613786565b82810360208401526139b18185613786565b95945050505050565b60208082526026908201527f4f776e61626c653a206e65772041646d696e20697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252602b908201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560408201526a74206f6620626f756e647360a81b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526024908201527f4d616368696e6965203a205374616b652066756e6374696f6e2069732064697360408201526361626c6560e01b606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252602a908201527f4d616368696e6965203a2042616c616e63654f6620466c6f707079206973206e6040820152691bdd08195b9bdd59da1d60b21b606082015260800190565b6020808252601c908201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f74207468652041646d696e604082015260600190565b60208082526035908201527f4d616368696e6965203a206f776e657220717565727920666f72206e6f6e657860408201527434b9ba32b73a1036b0b1b434b734b2903a37b5b2b760591b606082015260800190565b60208082526024908201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526019908201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604082015260600190565b6020808252818101527f4d616368696e6965203a204d616368696e69654944206973207374616b696e67604082015260600190565b6020808252602c908201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b6020808252601e908201527f4d616368696e6965203a2048756d6163684944206973207374616b696e670000604082015260600190565b60208082526038908201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760408201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606082015260800190565b60208082526024908201527f4d616368696e6965203a204e616d65206c656e677468206973206f766572204c6040820152631a5b5a5d60e21b606082015260800190565b6020808252602a908201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604082015269726f206164647265737360b01b606082015260800190565b60208082526029908201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460408201526832b73a103a37b5b2b760b91b606082015260800190565b6020808252818101527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604082015260600190565b60208082526022908201527f455243373231456e756d657261626c653a20746f6b656e206973207374616b696040820152616e6760f01b606082015260800190565b6020808252602c908201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526029908201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960408201526839903737ba1037bbb760b91b606082015260800190565b60208082526024908201527f4d616368696e6965203a204d616368696e69654944206973206e6f74207374616040820152636b696e6760e01b606082015260800190565b6020808252602f908201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60408201526e3732bc34b9ba32b73a103a37b5b2b760891b606082015260800190565b60208082526027908201527f4f776e61626c653a206e657720576f726b657220697320746865207a65726f206040820152666164647265737360c81b606082015260800190565b60208082526021908201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656040820152603960f91b606082015260800190565b6020808252602b908201527f4d616368696e6965203a204465736372697074696f6e206c656e67746820697360408201526a081bdd995c88131a5b5a5d60aa1b606082015260800190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60208082526029908201527f4d616368696e6965203a20616c6c6f77616e636520466c6f7070792069736e6f6040820152681d08195b9bdd59da1d60ba1b606082015260800190565b6020808252602c908201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60408201526b7574206f6620626f756e647360a01b606082015260800190565b6020808252601690820152754d616368696e6965203a204f76657220537570706c7960501b604082015260600190565b60208082526021908201527f4f776e61626c653a2063616c6c6572206973206e6f742074686520576f726b656040820152603960f91b606082015260800190565b60208082526033908201527f4d616368696e6965203a206f776e657220717565727920666f72206e6f6e657860408201527234b9ba32b73a10343ab6b0b1b4103a37b5b2b760691b606082015260800190565b61ffff92831681529116602082015260400190565b90815260200190565b9182521515602082015260400190565b6000848252606060208301526143316060830185613786565b828103604084015261390781856137b2565b60008482526060602083015261435c60608301856137b2565b82810360408401526139078185613786565b918252602082015260400190565b60405181810167ffffffffffffffff8111828210171561439e5761439e6144f6565b604052919050565b60009081526020902090565b600082198211156143c5576143c56144ca565b500190565b6000826143d9576143d96144e0565b500490565b60008160001904831182151516156143f8576143f86144ca565b500290565b60008282101561440f5761440f6144ca565b500390565b60005b8381101561442f578181015183820152602001614417565b8381111561249e5750506000910152565b60028104600182168061445457607f821691505b6020821081141561447557634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561448f5761448f6144ca565b5060010190565b600060ff821660ff8114156144ad576144ad6144ca565b60010192915050565b6000826144c5576144c56144e0565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461100757600080fd5b801515811461100757600080fd5b6001600160e01b03198116811461100757600080fdfea2646970667358221220206df3c64969b17703345df8d1da6c19b4d8c17cb83628c0dd3e4317faa92a9764736f6c6343000800003368747470733a2f2f6170692e6d616368696e69656e66742e636f6d2f6170692f6d616368696e69652f

Deployed Bytecode

0x60806040526004361061037a5760003560e01c80637d5acf22116101d1578063a22cb46511610102578063e0027974116100a0578063eeede7d21161006f578063eeede7d2146109fe578063f21bdd2714610a13578063f2fde38b14610a33578063f559df6714610a5357610381565b8063e00279741461097e578063e8fb41751461099e578063e985e9c5146109be578063ea440500146109de57610381565b8063b2d792ee116100dc578063b2d792ee14610909578063b88d4fde14610929578063c87b56dd14610949578063d5abeb011461096957610381565b8063a22cb465146108a9578063aa156645146108c9578063b2d2907c146108e957610381565b8063938af1f21161016f57806399a4af141161014957806399a4af141461083f5780639da314f1146108545780639db60cfe146108745780639e90f9aa1461089457610381565b8063938af1f2146107e757806395d89b411461080a5780639722e07f1461081f57610381565b80638d780809116101ab5780638d780809146107645780638da5cb5b146107925780639016e5fe146107a7578063931688cb146107c757610381565b80637d5acf221461070457806381c8d14914610724578063896b4be91461074457610381565b80633ccfd60b116102ab5780635a5efec511610249578063670a6fd911610223578063670a6fd91461068f57806367ca2298146106af57806370a08231146106cf578063715018a6146106ef57610381565b80635a5efec51461062f5780635f7830b31461064f5780636352211e1461066f57610381565b8063438b630011610285578063438b6300146105a257806343c34f8d146105cf578063451ea563146105ef5780634f6ccce71461060f57610381565b80633ccfd60b1461055a5780633ff6045d1461056257806342842e0e1461058257610381565b8063200c148f116103185780632a115c81116102f25780632a115c81146104e45780632d70a71b146105075780632e1a7d4d146105275780632f745c591461053a57610381565b8063200c148f1461048f57806323b872dd146104a457806324d7806c146104c457610381565b8063081812fc11610354578063081812fc1461040b578063095ea7b31461043857806311ab63e11461045a57806318160ddd1461047a57610381565b806301ffc9a7146103865780630592c1c1146103bc57806306fdde03146103e957610381565b3661038157005b600080fd5b34801561039257600080fd5b506103a66103a1366004613639565b610a73565b6040516103b3919061396e565b60405180910390f35b3480156103c857600080fd5b506103dc6103d73660046136d6565b610aa0565b6040516103b391906142ff565b3480156103f557600080fd5b506103fe610ab2565b6040516103b39190613979565b34801561041757600080fd5b5061042b6104263660046136d6565b610b44565b6040516103b39190613882565b34801561044457600080fd5b506104586104533660046134f8565b610b90565b005b34801561046657600080fd5b5061045861047536600461372a565b610c28565b34801561048657600080fd5b506103dc610ee3565b34801561049b57600080fd5b5061042b610ee9565b3480156104b057600080fd5b506104586104bf36600461340e565b610ef8565b3480156104d057600080fd5b506103a66104df36600461339e565b610f30565b3480156104f057600080fd5b506104f9610f4e565b6040516103b39291906142ea565b34801561051357600080fd5b50610458610522366004613765565b610f6a565b6104586105353660046136d6565b610fa3565b34801561054657600080fd5b506103dc6105553660046134f8565b61100a565b61045861105c565b34801561056e57600080fd5b506103dc61057d3660046136d6565b6110c1565b34801561058e57600080fd5b5061045861059d36600461340e565b6110d3565b3480156105ae57600080fd5b506105c26105bd36600461339e565b6110ee565b6040516103b3919061392a565b3480156105db57600080fd5b506104586105ea3660046134f8565b6111ac565b3480156105fb57600080fd5b506103a661060a3660046136d6565b611291565b34801561061b57600080fd5b506103dc61062a3660046136d6565b6112a6565b34801561063b57600080fd5b506103dc61064a3660046136d6565b611301565b34801561065b57600080fd5b5061045861066a3660046136d6565b611313565b34801561067b57600080fd5b5061042b61068a3660046136d6565b61135c565b34801561069b57600080fd5b506104586106aa3660046134cb565b611391565b3480156106bb57600080fd5b506104586106ca36600461372a565b611421565b3480156106db57600080fd5b506103dc6106ea36600461339e565b6116cf565b3480156106fb57600080fd5b50610458611713565b34801561071057600080fd5b5061045861071f3660046135b7565b61175c565b34801561073057600080fd5b506103dc61073f3660046136d6565b6117e4565b34801561075057600080fd5b5061045861075f3660046134cb565b6117f6565b34801561077057600080fd5b5061078461077f3660046136d6565b611886565b6040516103b392919061398c565b34801561079e57600080fd5b5061042b6119c8565b3480156107b357600080fd5b506103dc6107c2366004613523565b6119d7565b3480156107d357600080fd5b506104586107e2366004613671565b611bc3565b3480156107f357600080fd5b506107fc611bfd565b6040516103b392919061436e565b34801561081657600080fd5b506103fe611c07565b34801561082b57600080fd5b5061045861083a3660046136a4565b611c16565b34801561084b57600080fd5b506103a6611c72565b34801561086057600080fd5b5061045861086f36600461339e565b611c82565b34801561088057600080fd5b506103dc61088f366004613523565b611ce3565b3480156108a057600080fd5b5061042b611f7f565b3480156108b557600080fd5b506104586108c43660046134cb565b611f85565b3480156108d557600080fd5b506103a66108e436600461339e565b611f97565b3480156108f557600080fd5b50610458610904366004613556565b611fb5565b34801561091557600080fd5b50610458610924366004613601565b612420565b34801561093557600080fd5b5061045861094436600461344e565b612465565b34801561095557600080fd5b506103fe6109643660046136d6565b6124a4565b34801561097557600080fd5b506103dc612527565b34801561098a57600080fd5b50610458610999366004613706565b61252d565b3480156109aa57600080fd5b506104586109b936600461339e565b612574565b3480156109ca57600080fd5b506103a66109d93660046133d6565b6125d5565b3480156109ea57600080fd5b506103dc6109f93660046136d6565b612603565b348015610a0a57600080fd5b5061042b612684565b348015610a1f57600080fd5b50610458610a2e366004613765565b612693565b348015610a3f57600080fd5b50610458610a4e36600461339e565b6126c5565b348015610a5f57600080fd5b50610458610a6e366004613765565b612733565b60006001600160e01b0319821663780e9d6360e01b1480610a985750610a988261276c565b90505b919050565b60009081526011602052604090205490565b606060008054610ac190614440565b80601f0160208091040260200160405190810160405280929190818152602001828054610aed90614440565b8015610b3a5780601f10610b0f57610100808354040283529160200191610b3a565b820191906000526020600020905b815481529060010190602001808311610b1d57829003601f168201915b5050505050905090565b6000610b4f826127ac565b610b745760405162461bcd60e51b8152600401610b6b90613f10565b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6000610b9b8261135c565b9050806001600160a01b0316836001600160a01b03161415610bcf5760405162461bcd60e51b8152600401610b6b906140b4565b806001600160a01b0316610be16127c9565b6001600160a01b03161480610bfd5750610bfd816109d96127c9565b610c195760405162461bcd60e51b8152600401610b6b90613d65565b610c2383836127cd565b505050565b610c306127c9565b6001600160a01b0316610c428361135c565b6001600160a01b031614610c685760405162461bcd60e51b8152600401610b6b90613bdd565b6015546017546001600160a01b03166370a08231610c846127c9565b6040518263ffffffff1660e01b8152600401610ca09190613882565b60206040518083038186803b158015610cb857600080fd5b505afa158015610ccc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cf091906136ee565b1015610d0e5760405162461bcd60e51b8152600401610b6b90613b27565b6015546017546001600160a01b031663dd62ed3e610d2a6127c9565b306040518363ffffffff1660e01b8152600401610d48929190613896565b60206040518083038186803b158015610d6057600080fd5b505afa158015610d74573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d9891906136ee565b1015610db65760405162461bcd60e51b8152600401610b6b90614191565b6019548151600160b01b90910461ffff161015610de55760405162461bcd60e51b8152600401610b6b906140f5565b6017546001600160a01b03166323b872dd610dfe6127c9565b61dead6015546040518463ffffffff1660e01b8152600401610e22939291906138b0565b602060405180830381600087803b158015610e3c57600080fd5b505af1158015610e50573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e74919061361d565b5060008281526013602090815260409091208251610e94928401906131fa565b506000828152601260205260409081902090517f3ba66b9d90431749ebd6249394ba368113066c111b97c835bb85577ce91bce4f91610ed7918591908590614343565b60405180910390a15050565b60085490565b6017546001600160a01b031690565b610f09610f036127c9565b8261283b565b610f255760405162461bcd60e51b8152600401610b6b90614140565b610c238383836128b8565b6001600160a01b03166000908152600c602052604090205460ff1690565b60195461ffff600160a01b8204811691600160b01b9004169091565b610f756104df6127c9565b610f915760405162461bcd60e51b8152600401610b6b90613ba8565b60009182526011602052604090912055565b610fab6127c9565b6001600160a01b0316610fbc6119c8565b6001600160a01b031614610fe25760405162461bcd60e51b8152600401610b6b90613f5c565b604051339082156108fc029083906000818181858888f1935050505061100757600080fd5b50565b6000611015836116cf565b82106110335760405162461bcd60e51b8152600401610b6b90613a00565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b6110646127c9565b6001600160a01b03166110756119c8565b6001600160a01b03161461109b5760405162461bcd60e51b8152600401610b6b90613f5c565b60405133904780156108fc02916000818181858888f193505050506110bf57600080fd5b565b6000908152600e602052604090205490565b610c2383838360405180602001604052806000815250612465565b606060006110fb836116cf565b905060008167ffffffffffffffff81111561112657634e487b7160e01b600052604160045260246000fd5b60405190808252806020026020018201604052801561114f578160200160208202803683370190505b50905060005b828110156111a457611167858261100a565b82828151811061118757634e487b7160e01b600052603260045260246000fd5b60209081029190910101528061119c8161447b565b915050611155565b509392505050565b6111b76108e46127c9565b6111d35760405162461bcd60e51b8152600401610b6b90614256565b61037881106111f45760405162461bcd60e51b8152600401610b6b90614226565b601954604051630219207560e61b81526001600160a01b03909116906386481d40906112249084906004016142ff565b60206040518083038186803b15801561123c57600080fd5b505afa158015611250573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061127491906136ee565b6000828152600e602052604090205561128d82826129e5565b5050565b6000908152600a602052604090205460ff1690565b60006112b0610ee3565b82106112ce5760405162461bcd60e51b8152600401610b6b906141da565b600882815481106112ef57634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b60009081526010602052604090205490565b61131b6127c9565b6001600160a01b031661132d8261135c565b6001600160a01b0316146113535760405162461bcd60e51b8152600401610b6b90613bdd565b611007816129ff565b6000818152600260205260408120546001600160a01b031680610a985760405162461bcd60e51b8152600401610b6b90613e50565b6113996127c9565b6001600160a01b03166113aa6119c8565b6001600160a01b0316146113d05760405162461bcd60e51b8152600401610b6b90613f5c565b6001600160a01b0382166113f65760405162461bcd60e51b8152600401610b6b906139ba565b6001600160a01b03919091166000908152600c60205260409020805460ff1916911515919091179055565b6114296127c9565b6001600160a01b031661143b8361135c565b6001600160a01b0316146114615760405162461bcd60e51b8152600401610b6b90613bdd565b6014546017546001600160a01b03166370a0823161147d6127c9565b6040518263ffffffff1660e01b81526004016114999190613882565b60206040518083038186803b1580156114b157600080fd5b505afa1580156114c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114e991906136ee565b10156115075760405162461bcd60e51b8152600401610b6b90613b27565b6014546017546001600160a01b031663dd62ed3e6115236127c9565b306040518363ffffffff1660e01b8152600401611541929190613896565b60206040518083038186803b15801561155957600080fd5b505afa15801561156d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061159191906136ee565b10156115af5760405162461bcd60e51b8152600401610b6b90614191565b6019548151600160a01b90910461ffff1610156115de5760405162461bcd60e51b8152600401610b6b90613dc2565b6017546001600160a01b03166323b872dd6115f76127c9565b61dead6014546040518463ffffffff1660e01b815260040161161b939291906138b0565b602060405180830381600087803b15801561163557600080fd5b505af1158015611649573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061166d919061361d565b506000828152601260209081526040909120825161168d928401906131fa565b506000828152601360205260409081902090517f3ba66b9d90431749ebd6249394ba368113066c111b97c835bb85577ce91bce4f91610ed79185918591614318565b60006001600160a01b0382166116f75760405162461bcd60e51b8152600401610b6b90613e06565b506001600160a01b031660009081526003602052604090205490565b61171b6127c9565b6001600160a01b031661172c6119c8565b6001600160a01b0316146117525760405162461bcd60e51b8152600401610b6b90613f5c565b6110bf6000612aa6565b6117676104df6127c9565b6117835760405162461bcd60e51b8152600401610b6b90613ba8565b60005b8251811015610c23578160ff16600e60008584815181106117b757634e487b7160e01b600052603260045260246000fd5b602002602001015181526020019081526020016000208190555080806117dc9061447b565b915050611786565b6000908152600f602052604090205490565b6117fe6127c9565b6001600160a01b031661180f6119c8565b6001600160a01b0316146118355760405162461bcd60e51b8152600401610b6b90613f5c565b6001600160a01b03821661185b5760405162461bcd60e51b8152600401610b6b9061406d565b6001600160a01b03919091166000908152600d60205260409020805460ff1916911515919091179055565b6000818152601260209081526040808320601390925290912081546060928392909182906118b390614440565b80601f01602080910402602001604051908101604052809291908181526020018280546118df90614440565b801561192c5780601f106119015761010080835404028352916020019161192c565b820191906000526020600020905b81548152906001019060200180831161190f57829003601f168201915b5050505050915080805461193f90614440565b80601f016020809104026020016040519081016040528092919081815260200182805461196b90614440565b80156119b85780601f1061198d576101008083540402835291602001916119b8565b820191906000526020600020905b81548152906001019060200180831161199b57829003601f168201915b5050505050905091509150915091565b600b546001600160a01b031690565b600080805b83518160ff161015611b4c576119f06127c9565b6001600160a01b0316611a2c858360ff1681518110611a1f57634e487b7160e01b600052603260045260246000fd5b602002602001015161135c565b6001600160a01b031614611a525760405162461bcd60e51b8152600401610b6b90613bdd565b600a6000858360ff1681518110611a7957634e487b7160e01b600052603260045260246000fd5b60209081029190910181015182528101919091526040016000205460ff16611ab35760405162461bcd60e51b8152600401610b6b90613fda565b6000611ae8858360ff1681518110611adb57634e487b7160e01b600052603260045260246000fd5b6020026020010151612603565b9050611af481846143b2565b925042600f6000878560ff1681518110611b1e57634e487b7160e01b600052603260045260246000fd5b6020026020010151815260200190815260200160002081905550508080611b4490614496565b9150506119dc565b508015610a98576017546001600160a01b03166340c10f19611b6c6127c9565b836040518363ffffffff1660e01b8152600401611b8a929190613911565b600060405180830381600087803b158015611ba457600080fd5b505af1158015611bb8573d6000803e3d6000fd5b505050509050919050565b611bce6104df6127c9565b611bea5760405162461bcd60e51b8152600401610b6b90613ba8565b805161128d9060169060208401906131fa565b6014546015549091565b606060018054610ac190614440565b611c216104df6127c9565b611c3d5760405162461bcd60e51b8152600401610b6b90613ba8565b6019805461ffff928316600160b01b0261ffff60b01b1994909316600160a01b0261ffff60a01b199091161792909216179055565b601954600160c01b900460ff1690565b611c8a6127c9565b6001600160a01b0316611c9b6119c8565b6001600160a01b031614611cc15760405162461bcd60e51b8152600401610b6b90613f5c565b601880546001600160a01b0319166001600160a01b0392909216919091179055565b600080805b83518160ff161015611b4c57611cfc6127c9565b6001600160a01b0316611d2b858360ff1681518110611a1f57634e487b7160e01b600052603260045260246000fd5b6001600160a01b031614611d515760405162461bcd60e51b8152600401610b6b90613bdd565b600a6000858360ff1681518110611d7857634e487b7160e01b600052603260045260246000fd5b60209081029190910181015182528101919091526040016000205460ff16611db25760405162461bcd60e51b8152600401610b6b90613fda565b6000611dda858360ff1681518110611adb57634e487b7160e01b600052603260045260246000fd5b9050611de681846143b2565b60185486519194506001600160a01b03169063e002797490601090600090899060ff8816908110611e2757634e487b7160e01b600052603260045260246000fd5b602002602001015181526020019081526020016000205460006040518363ffffffff1660e01b8152600401611e5d929190614308565b600060405180830381600087803b158015611e7757600080fd5b505af1158015611e8b573d6000803e3d6000fd5b505050506000600a6000878560ff1681518110611eb857634e487b7160e01b600052603260045260246000fd5b6020026020010151815260200190815260200160002060006101000a81548160ff0219169083151502179055506000600f6000878560ff1681518110611f0e57634e487b7160e01b600052603260045260246000fd5b6020026020010151815260200190815260200160002081905550600060106000878560ff1681518110611f5157634e487b7160e01b600052603260045260246000fd5b6020026020010151815260200190815260200160002081905550508080611f7790614496565b915050611ce8565b61dead81565b61128d611f906127c9565b8383612af8565b6001600160a01b03166000908152600d602052604090205460ff1690565b601954600160c01b900460ff16611fde5760405162461bcd60e51b8152600401610b6b90613a9d565b60005b82518160ff161015610c2357611ff56127c9565b6001600160a01b0316612024848360ff1681518110611a1f57634e487b7160e01b600052603260045260246000fd5b6001600160a01b03161461204a5760405162461bcd60e51b8152600401610b6b90613bdd565b6120526127c9565b6001600160a01b0316601860009054906101000a90046001600160a01b03166001600160a01b0316636352211e848460ff16815181106120a257634e487b7160e01b600052603260045260246000fd5b60200260200101516040518263ffffffff1660e01b81526004016120c691906142ff565b60206040518083038186803b1580156120de57600080fd5b505afa1580156120f2573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061211691906133ba565b6001600160a01b03161461213c5760405162461bcd60e51b8152600401610b6b90614297565b600a6000848360ff168151811061216357634e487b7160e01b600052603260045260246000fd5b60209081029190910181015182528101919091526040016000205460ff161561219e5760405162461bcd60e51b8152600401610b6b90613cad565b60185482516001600160a01b039091169063451ea56390849060ff85169081106121d857634e487b7160e01b600052603260045260246000fd5b60200260200101516040518263ffffffff1660e01b81526004016121fc91906142ff565b60206040518083038186803b15801561221457600080fd5b505afa158015612228573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061224c919061361d565b156122695760405162461bcd60e51b8152600401610b6b90613d2e565b6001600a6000858460ff168151811061229257634e487b7160e01b600052603260045260246000fd5b6020026020010151815260200190815260200160002060006101000a81548160ff02191690831515021790555042600f6000858460ff16815181106122e757634e487b7160e01b600052603260045260246000fd5b6020026020010151815260200190815260200160002081905550818160ff168151811061232457634e487b7160e01b600052603260045260246000fd5b602002602001015160106000858460ff168151811061235357634e487b7160e01b600052603260045260246000fd5b6020026020010151815260200190815260200160002081905550601860009054906101000a90046001600160a01b03166001600160a01b031663e0027974838360ff16815181106123b457634e487b7160e01b600052603260045260246000fd5b602002602001015160016040518363ffffffff1660e01b81526004016123db929190614308565b600060405180830381600087803b1580156123f557600080fd5b505af1158015612409573d6000803e3d6000fd5b50505050808061241890614496565b915050611fe1565b61242b6104df6127c9565b6124475760405162461bcd60e51b8152600401610b6b90613ba8565b60198054911515600160c01b0260ff60c01b19909216919091179055565b6124766124706127c9565b8361283b565b6124925760405162461bcd60e51b8152600401610b6b90614140565b61249e84848484612b9b565b50505050565b60606124af826127ac565b6124cb5760405162461bcd60e51b8152600401610b6b9061401e565b60006124d5612bce565b905060008151116124f55760405180602001604052806000815250612520565b806124ff84612bdd565b604051602001612510929190613853565b6040516020818303038152906040525b9392505050565b61037881565b6125386108e46127c9565b6125545760405162461bcd60e51b8152600401610b6b90614256565b6000918252600a6020526040909120805460ff1916911515919091179055565b61257c6127c9565b6001600160a01b031661258d6119c8565b6001600160a01b0316146125b35760405162461bcd60e51b8152600401610b6b90613f5c565b601780546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6000818152600a602052604081205460ff1661262157506000610a9b565b6000828152600f602052604090205461263c57506000610a9b565b6000828152600e602090815260408083205483526011825280832054858452600f909252822054909190829061267290426143fd565b61267c91906143de565b949350505050565b6018546001600160a01b031690565b61269e6104df6127c9565b6126ba5760405162461bcd60e51b8152600401610b6b90613ba8565b601491909155601555565b6126cd6127c9565b6001600160a01b03166126de6119c8565b6001600160a01b0316146127045760405162461bcd60e51b8152600401610b6b90613f5c565b6001600160a01b03811661272a5760405162461bcd60e51b8152600401610b6b90613ae1565b61100781612aa6565b61273e6108e46127c9565b61275a5760405162461bcd60e51b8152600401610b6b90614256565b6000918252600f602052604090912055565b60006001600160e01b031982166380ac58cd60e01b148061279d57506001600160e01b03198216635b5e139f60e01b145b80610a985750610a9882612cf8565b6000908152600260205260409020546001600160a01b0316151590565b3390565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906128028261135c565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000612846826127ac565b6128625760405162461bcd60e51b8152600401610b6b90613ce2565b600061286d8361135c565b9050806001600160a01b0316846001600160a01b031614806128a85750836001600160a01b031661289d84610b44565b6001600160a01b0316145b8061267c575061267c81856125d5565b826001600160a01b03166128cb8261135c565b6001600160a01b0316146128f15760405162461bcd60e51b8152600401610b6b90613f91565b6001600160a01b0382166129175760405162461bcd60e51b8152600401610b6b90613c32565b612922838383612d11565b61292d6000826127cd565b6001600160a01b03831660009081526003602052604081208054600192906129569084906143fd565b90915550506001600160a01b03821660009081526003602052604081208054600192906129849084906143b2565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b61128d828260405180602001604052806000815250612dc9565b6000612a0a8261135c565b9050612a1881600084612d11565b612a236000836127cd565b6001600160a01b0381166000908152600360205260408120805460019290612a4c9084906143fd565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b600b80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b03161415612b2a5760405162461bcd60e51b8152600401610b6b90613c76565b6001600160a01b0383811660008181526005602090815260408083209487168084529490915290819020805460ff1916851515179055517f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3190612b8e90859061396e565b60405180910390a3505050565b612ba68484846128b8565b612bb284848484612dfc565b61249e5760405162461bcd60e51b8152600401610b6b90613a4b565b606060168054610ac190614440565b606081612c0257506040805180820190915260018152600360fc1b6020820152610a9b565b8160005b8115612c2c5780612c168161447b565b9150612c259050600a836143ca565b9150612c06565b60008167ffffffffffffffff811115612c5557634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612c7f576020820181803683370190505b5090505b841561267c57612c946001836143fd565b9150612ca1600a866144b6565b612cac9060306143b2565b60f81b818381518110612ccf57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350612cf1600a866143ca565b9450612c83565b6001600160e01b031981166301ffc9a760e01b14919050565b6000818152600a602052604090205460ff1615612d405760405162461bcd60e51b8152600401610b6b90613ece565b612d4b838383610c23565b6001600160a01b038316612d6757612d6281612f17565b612d8a565b816001600160a01b0316836001600160a01b031614612d8a57612d8a8382612f5b565b6001600160a01b038216612da657612da181612ff8565b610c23565b826001600160a01b0316826001600160a01b031614610c2357610c2382826130d1565b612dd38383613115565b612de06000848484612dfc565b610c235760405162461bcd60e51b8152600401610b6b90613a4b565b6000612e10846001600160a01b03166131f4565b15612f0c57836001600160a01b031663150b7a02612e2c6127c9565b8786866040518563ffffffff1660e01b8152600401612e4e94939291906138d4565b602060405180830381600087803b158015612e6857600080fd5b505af1925050508015612e98575060408051601f3d908101601f19168201909252612e9591810190613655565b60015b612ef2573d808015612ec6576040519150601f19603f3d011682016040523d82523d6000602084013e612ecb565b606091505b508051612eea5760405162461bcd60e51b8152600401610b6b90613a4b565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061267c565b506001949350505050565b600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b60006001612f68846116cf565b612f7291906143fd565b600083815260076020526040902054909150808214612fc5576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061300a906001906143fd565b6000838152600960205260408120546008805493945090928490811061304057634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050806008838154811061306f57634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806130b557634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b60006130dc836116cf565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b03821661313b5760405162461bcd60e51b8152600401610b6b90613e99565b613144816127ac565b156131615760405162461bcd60e51b8152600401610b6b90613b71565b61316d60008383612d11565b6001600160a01b03821660009081526003602052604081208054600192906131969084906143b2565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b3b151590565b82805461320690614440565b90600052602060002090601f016020900481019282613228576000855561326e565b82601f1061324157805160ff191683800117855561326e565b8280016001018555821561326e579182015b8281111561326e578251825591602001919060010190613253565b5061327a92915061327e565b5090565b5b8082111561327a576000815560010161327f565b600067ffffffffffffffff8311156132ad576132ad6144f6565b6132c0601f8401601f191660200161437c565b90508281528383830111156132d457600080fd5b828260208301376000602084830101529392505050565b600082601f8301126132fb578081fd5b8135602067ffffffffffffffff821115613317576133176144f6565b80820261332582820161437c565b83815282810190868401838801850189101561333f578687fd5b8693505b85841015613361578035835260019390930192918401918401613343565b50979650505050505050565b600082601f83011261337d578081fd5b61252083833560208501613293565b803561ffff81168114610a9b57600080fd5b6000602082840312156133af578081fd5b81356125208161450c565b6000602082840312156133cb578081fd5b81516125208161450c565b600080604083850312156133e8578081fd5b82356133f38161450c565b915060208301356134038161450c565b809150509250929050565b600080600060608486031215613422578081fd5b833561342d8161450c565b9250602084013561343d8161450c565b929592945050506040919091013590565b60008060008060808587031215613463578081fd5b843561346e8161450c565b9350602085013561347e8161450c565b925060408501359150606085013567ffffffffffffffff8111156134a0578182fd5b8501601f810187136134b0578182fd5b6134bf87823560208401613293565b91505092959194509250565b600080604083850312156134dd578182fd5b82356134e88161450c565b9150602083013561340381614521565b6000806040838503121561350a578182fd5b82356135158161450c565b946020939093013593505050565b600060208284031215613534578081fd5b813567ffffffffffffffff81111561354a578182fd5b61267c848285016132eb565b60008060408385031215613568578182fd5b823567ffffffffffffffff8082111561357f578384fd5b61358b868387016132eb565b935060208501359150808211156135a0578283fd5b506135ad858286016132eb565b9150509250929050565b600080604083850312156135c9578182fd5b823567ffffffffffffffff8111156135df578283fd5b6135eb858286016132eb565b925050602083013560ff81168114613403578182fd5b600060208284031215613612578081fd5b813561252081614521565b60006020828403121561362e578081fd5b815161252081614521565b60006020828403121561364a578081fd5b81356125208161452f565b600060208284031215613666578081fd5b81516125208161452f565b600060208284031215613682578081fd5b813567ffffffffffffffff811115613698578182fd5b61267c8482850161336d565b600080604083850312156136b6578182fd5b6136bf8361338c565b91506136cd6020840161338c565b90509250929050565b6000602082840312156136e7578081fd5b5035919050565b6000602082840312156136ff578081fd5b5051919050565b60008060408385031215613718578182fd5b82359150602083013561340381614521565b6000806040838503121561373c578182fd5b82359150602083013567ffffffffffffffff811115613759578182fd5b6135ad8582860161336d565b60008060408385031215613777578182fd5b50508035926020909101359150565b6000815180845261379e816020860160208601614414565b601f01601f19169290920160200192915050565b8054600090600281046001808316806137cc57607f831692505b60208084108214156137ec57634e487b7160e01b86526022600452602486fd5b6137f684896142ff565b82801561380a576001811461381b57613846565b60ff19871682528282019750613846565b613824896143a6565b60005b8781101561384057815484820152908601908401613827565b83019850505b5050505050505092915050565b60008351613865818460208801614414565b835190830190613879818360208801614414565b01949350505050565b6001600160a01b0391909116815260200190565b6001600160a01b0392831681529116602082015260400190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061390790830184613786565b9695505050505050565b6001600160a01b03929092168252602082015260400190565b6020808252825182820181905260009190848201906040850190845b8181101561396257835183529284019291840191600101613946565b50909695505050505050565b901515815260200190565b6000602082526125206020830184613786565b60006040825261399f6040830185613786565b82810360208401526139b18185613786565b95945050505050565b60208082526026908201527f4f776e61626c653a206e65772041646d696e20697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252602b908201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560408201526a74206f6620626f756e647360a81b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526024908201527f4d616368696e6965203a205374616b652066756e6374696f6e2069732064697360408201526361626c6560e01b606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252602a908201527f4d616368696e6965203a2042616c616e63654f6620466c6f707079206973206e6040820152691bdd08195b9bdd59da1d60b21b606082015260800190565b6020808252601c908201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f74207468652041646d696e604082015260600190565b60208082526035908201527f4d616368696e6965203a206f776e657220717565727920666f72206e6f6e657860408201527434b9ba32b73a1036b0b1b434b734b2903a37b5b2b760591b606082015260800190565b60208082526024908201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526019908201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604082015260600190565b6020808252818101527f4d616368696e6965203a204d616368696e69654944206973207374616b696e67604082015260600190565b6020808252602c908201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b6020808252601e908201527f4d616368696e6965203a2048756d6163684944206973207374616b696e670000604082015260600190565b60208082526038908201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760408201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606082015260800190565b60208082526024908201527f4d616368696e6965203a204e616d65206c656e677468206973206f766572204c6040820152631a5b5a5d60e21b606082015260800190565b6020808252602a908201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604082015269726f206164647265737360b01b606082015260800190565b60208082526029908201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460408201526832b73a103a37b5b2b760b91b606082015260800190565b6020808252818101527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604082015260600190565b60208082526022908201527f455243373231456e756d657261626c653a20746f6b656e206973207374616b696040820152616e6760f01b606082015260800190565b6020808252602c908201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526029908201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960408201526839903737ba1037bbb760b91b606082015260800190565b60208082526024908201527f4d616368696e6965203a204d616368696e69654944206973206e6f74207374616040820152636b696e6760e01b606082015260800190565b6020808252602f908201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60408201526e3732bc34b9ba32b73a103a37b5b2b760891b606082015260800190565b60208082526027908201527f4f776e61626c653a206e657720576f726b657220697320746865207a65726f206040820152666164647265737360c81b606082015260800190565b60208082526021908201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656040820152603960f91b606082015260800190565b6020808252602b908201527f4d616368696e6965203a204465736372697074696f6e206c656e67746820697360408201526a081bdd995c88131a5b5a5d60aa1b606082015260800190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60208082526029908201527f4d616368696e6965203a20616c6c6f77616e636520466c6f7070792069736e6f6040820152681d08195b9bdd59da1d60ba1b606082015260800190565b6020808252602c908201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60408201526b7574206f6620626f756e647360a01b606082015260800190565b6020808252601690820152754d616368696e6965203a204f76657220537570706c7960501b604082015260600190565b60208082526021908201527f4f776e61626c653a2063616c6c6572206973206e6f742074686520576f726b656040820152603960f91b606082015260800190565b60208082526033908201527f4d616368696e6965203a206f776e657220717565727920666f72206e6f6e657860408201527234b9ba32b73a10343ab6b0b1b4103a37b5b2b760691b606082015260800190565b61ffff92831681529116602082015260400190565b90815260200190565b9182521515602082015260400190565b6000848252606060208301526143316060830185613786565b828103604084015261390781856137b2565b60008482526060602083015261435c60608301856137b2565b82810360408401526139078185613786565b918252602082015260400190565b60405181810167ffffffffffffffff8111828210171561439e5761439e6144f6565b604052919050565b60009081526020902090565b600082198211156143c5576143c56144ca565b500190565b6000826143d9576143d96144e0565b500490565b60008160001904831182151516156143f8576143f86144ca565b500290565b60008282101561440f5761440f6144ca565b500390565b60005b8381101561442f578181015183820152602001614417565b8381111561249e5750506000910152565b60028104600182168061445457607f821691505b6020821081141561447557634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561448f5761448f6144ca565b5060010190565b600060ff821660ff8114156144ad576144ad6144ca565b60010192915050565b6000826144c5576144c56144e0565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461100757600080fd5b801515811461100757600080fd5b6001600160e01b03198116811461100757600080fdfea2646970667358221220206df3c64969b17703345df8d1da6c19b4d8c17cb83628c0dd3e4317faa92a9764736f6c63430008000033

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.