ETH Price: $3,340.03 (-1.03%)

Token

Humach (Humach)
 

Overview

Max Total Supply

2,524 Humach

Holders

454

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
chiapudding.eth
Balance
5 Humach
0xd7efae6e8e0556ebb5e77a499a34fce6a4d8c722
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Mysterious space beings, searching the galaxy for their source of power. Along the way, they train their minds and bodies to level up, battle each other for supremacy, and call upon other Humach for support. Humach posses the ancient knowledge required to activate genesis Mach...

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Humach

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 15 : Humach.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "./Owner.sol";
import "./token/ERC721Enumerable.sol";
import "./Interface/IMachinie.sol";
import "./Interface/IERC20.sol";

contract Humach  is ERC721Enumerable, Ownable
{
    using Strings for uint256;
    mapping(uint256 => uint256)private level;
    mapping(uint256 => uint256) private exp;
    mapping(uint256 => uint256) private stakeTime;
    mapping(address => uint8) private whiteListsMints;
    mapping(address => bool) private whiteLists;
    mapping(uint256 => uint256) breedFee;
    mapping(uint256 => string) private idName;
    mapping(uint256 => string) private idDescription; 
    
    address private machinieOld = 0xE6d3e488b9D31943dF6e3B7d82f6F842679a1a8c;
    address private blackHole = 0x000000000000000000000000000000000000dEaD;
    
    address private machinieNew = 0xB826bDe739897ad50363d045d65eE5b83FDb730d ; 
    address private floppy = 0x9F3dDF3309D501FfBDC4587ab11e9D61ADD3126a;    

    uint256 private tokenId = 888; 
    uint256 private mintFee = 0.068 ether;
    uint256 private changeNameFee = 35 ether;
    uint256 private changeDescFee = 35 ether;
    uint256 private maximumMintAmount = 2562; 
    uint256 private maximumBreedAmount = 5388;
    uint256 private upgradeAmount;
    uint256 private totalMintFee;
    uint256 private mintAmount ; 
    uint256 private breedAmount  ;
    uint256 private maxSupply = 8888;
    uint256 private expPerLevel =10;
    uint256 private minStakeForExp = 86400;
    uint256 private maxLevel = 5;
    uint256 private tOpenWhiteLists = 1637024400; // Tue Nov 16 2021 08:00:00 GMT+0700
    uint256 private tCloseWhiteLists = 1637197200; // Thu Nov 18 2021 08:00:00 GMT+0700
    uint256 private tOpenPublicMint = 1637197200; // Thu Nov 18 2021 08:00:00 GMT+0700
    uint8 private maximunMintPerTransaction =3;
    uint8 private maximumWhiteListsMint = 2; 
    uint16 private maximumNameLength = 20;
    uint16 private maximumDescLength = 300;
    bool private enableStake;
    string private uri = "https://api.machinienft.com/api/humach/unrevealed/";
    
    constructor() ERC721("Humach", "Humach")
    {
        breedFee[0] = 8888 ether;
        breedFee[1] = 170 ether;
        breedFee[2] = 165 ether;
        breedFee[3] = 160 ether;
        breedFee[4] = 155 ether;
        breedFee[5] = 150 ether;

        _worker[machinieNew] = true;
        _admin[0x714FdF665698837f2F31c57A3dB2Dd23a4Efe84c] = true;


    }

    function tokenURI(uint256 tokenId_) public view override returns (string memory) {
        require(_exists(tokenId_), "Humach: URI query for nonexistent token tokenId");
        (uint256 _level, )= calculateLevel(tokenId_);
        require(_level != 0 ,"Humach: abnormal Level" );
        uint256 _imgId = ((_level - 1 ) * maxSupply ) + tokenId_;
        string memory baseURI = _baseURI();
        return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, _imgId.toString())) : "";
    }

    function machinieUpgrade(uint256 tokenId_ ) external returns (uint256) {
        require(IERC721(machinieOld).ownerOf(tokenId_) == _msgSender() , "Humach : owner query for nonexistent machinie token");
        require(IERC721(machinieOld).isApprovedForAll(_msgSender(), address(this)), "Humach : Need approve this address for All");
        IERC721(machinieOld).safeTransferFrom(_msgSender(), blackHole, tokenId_);
        _safeMint(_msgSender(), tokenId_);
        IMachinie(machinieNew).mintMachinie( _msgSender(),tokenId_);
        level[tokenId_] = 1;
        upgradeAmount++;
        return tokenId_;
    }

    function machiniesUpgrade(uint256[] memory tokenIds_ ) external  {
        require(IERC721(machinieOld).isApprovedForAll(_msgSender(), address(this)), "Humach : Need approve this address for All");
        for(uint _i =0; _i< tokenIds_.length; _i++)
        {
            require(IERC721(machinieOld).ownerOf(tokenIds_[_i]) == _msgSender() , "Humach : owner query for nonexistent machinie token");          
            IERC721(machinieOld).safeTransferFrom(_msgSender(), blackHole, tokenIds_[_i]);
            _safeMint(_msgSender(), tokenIds_[_i]);
            IMachinie(machinieNew).mintMachinie( _msgSender(),tokenIds_[_i]);
            level[tokenIds_[_i]] = 1;
            upgradeAmount++;
        }
    }

    function whiteListsMintHumach(uint8 amount_ ) external payable returns (uint256 [] memory){
        require(block.timestamp >= tOpenWhiteLists, "Humach : is not available period");
        require(block.timestamp <= tCloseWhiteLists, "Humach : is not available period");
        require(whiteLists[_msgSender()], "Humach : you are not in whiteLists");
        require(whiteListsMints[_msgSender()] + amount_ <= maximumWhiteListsMint, "Humach : already use whiteLists Mint Humach");
        require(msg.value >= (mintFee * amount_), "Humach : mintFee is not enought");
        require((mintAmount + amount_ ) <=  maximumMintAmount, "Humach : is over maxSupply");

        uint256 [] memory _id = new uint256 [](amount_);
        for(uint8 _i=0; _i< amount_; _i++){
            _id[_i] = tokenId;
            tokenId++;
            _safeMint(_msgSender(), _id[_i]);
            level[_id[_i]] = 1;            
        }
        totalMintFee = totalMintFee + msg.value;
        mintAmount =  mintAmount + amount_;
        whiteListsMints[_msgSender()] = whiteListsMints[_msgSender()] + amount_;
        return _id;
    }

    function publicMintHumach(uint8 amount_) external payable returns (uint256 [] memory){
        require(amount_ <= maximunMintPerTransaction , "Humach : over Maximum min per transaction");
        require(block.timestamp >= tOpenPublicMint, "Humach : is not available period");
        require(msg.value >= (mintFee *amount_) , "Humach : mintFee is not enought");
        require((mintAmount + amount_) <=  maximumMintAmount, "Humach : is over maxSupply");

        uint256 [] memory _id = new uint256 [](amount_);
        for(uint8 _i=0; _i< amount_; _i++){
            _id[_i] = tokenId;
            tokenId++;
            _safeMint(_msgSender(), _id[_i]);
            level[_id[_i]] = 1;
        }
        totalMintFee = totalMintFee + msg.value;
        mintAmount =  mintAmount + amount_;
        return _id;

    }
    
    function giveAway(address account_, uint8 amount_) external  onlyAdmin returns (uint256 [] memory){
        require((mintAmount + amount_)  <=  maximumMintAmount, "Humach :  is over mint capacity");
        uint256 [] memory _id = new uint256 [](amount_);
        for(uint8 _i=0; _i< amount_; _i++){
            _id[_i] = tokenId;
            tokenId++;
            _safeMint(account_, _id[_i]);
            level[_id[_i]] = 1;
        }
        mintAmount =  mintAmount + amount_;
        return _id;
    }

    function breedHumach(uint256 tokenId_) external returns (uint256){
        require(ownerOf(tokenId_) == _msgSender() , "Humach : owner query for nonexistent Humach token");
        require(breedAmount <  maximumBreedAmount, "Humach : is over Breed capacity");
        uint256 _level = level[tokenId_];
        uint256 _fee = breedFee[_level];
        require(_fee !=0 ,"Humach : breedFee Problem" );
        require(IERC20(floppy).balanceOf(_msgSender()) >= _fee, "Humach : balanceOf Floppy is not enought");
        require(IERC20(floppy).allowance(_msgSender(), address(this)) >= _fee, "Humach : allowance Floppy is not enought");

        IERC20(floppy).transferFrom(_msgSender(), blackHole, _fee);
        uint256 _tokenId = tokenId;
        tokenId++;
        _safeMint(_msgSender(), _tokenId);
        level[_tokenId] = 1;
        breedAmount++;

        return(_tokenId);
    } 

    function stakeHumach (uint256 [] memory tokenIds_) external {
        require(enableStake, "Humach : Stake function is disable");
        for(uint8 _i=0; _i< tokenIds_.length; _i++)
        {
            require(ownerOf(tokenIds_[_i]) == _msgSender() , "Humach : owner query for nonexistent Humach token");
            require(!staking[tokenIds_[_i]], "Humach : HumachID is staking");
            stakeTime[tokenIds_[_i]] = block.timestamp;
            staking[tokenIds_[_i]] = true;
        }

    }

    function unStakeHumach (uint256 [] memory tokenIds_) external {
        for(uint8 _i=0; _i< tokenIds_.length; _i++)
        {
            require(ownerOf(tokenIds_[_i]) == _msgSender() , "Humach : You are not owner of this tokenId");
            require(staking[tokenIds_[_i]], "Humach : HumachID is staking");
            require(stakeTime[tokenIds_[_i]] !=0, "Humach: is staking with Machinie" );
        
            (uint256 _level, uint256 _exp) = calculateLevel(tokenIds_[_i]);
            level[tokenIds_[_i]] =_level;
            exp[tokenIds_[_i]] =_exp;
            staking[tokenIds_[_i]] = false;
            stakeTime[tokenIds_[_i]] = 0;
        }


    }

    function calculateLevel(uint256 tokenId_) public view returns(uint256,uint256){
        if(stakeTime[tokenId_] == 0)
            return (level[tokenId_],exp[tokenId_]);
        uint256 _tStake = block.timestamp - stakeTime[tokenId_];
        uint256 _addExp = _tStake / minStakeForExp;
        uint256 _lastExp = (level[tokenId_] * expPerLevel) + exp[tokenId_];
        uint256 _newExp = _lastExp + _addExp;
        uint256 _maxExp = maxLevel * expPerLevel;
        if(_newExp >= _maxExp )
            return (maxLevel,0);
        uint256 _level = _newExp / expPerLevel;
        uint256 _exp = _newExp % expPerLevel;
        return (_level,_exp);
    }

    function updateWhiteLists(address [] memory account_, bool status_) external onlyAdmin{
        for(uint _i =0; _i<account_.length; _i++)
        {
            whiteLists[account_[_i]] = status_;
        }
    }

    function updateTokenName (uint256 tokenId_ ,string memory name_ ) external  {
        require(ownerOf(tokenId_) == _msgSender() , "Humach : owner query for nonexistent Humach token");
        require(IERC20(floppy).balanceOf(_msgSender()) >= changeNameFee, "Humach : BalanceOf Floppy is not enought");
        require(IERC20(floppy).allowance(_msgSender(), address(this)) >= changeNameFee, "Humach : allowance Floppy isnot enought");
        require(bytes(name_).length <= maximumNameLength, "Humach : 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() , "Humach : owner query for nonexistent Humach token");
        require(IERC20(floppy).balanceOf(_msgSender()) >= changeDescFee, "Humach : BalanceOf Floppy is not enought");
        require(IERC20(floppy).allowance(_msgSender(), address(this)) >= changeDescFee, "Humach : allowance Floppy isnot enought");
        require(bytes(description_).length <= maximumDescLength, "Humach : Description length is over Limit");

        IERC20(floppy).transferFrom(_msgSender(), blackHole, changeDescFee);
        idDescription[tokenId_] = description_;
        emit changeName(tokenId_ , idName[tokenId_], description_);
    }
   
    function burnHumach(uint256 tokenId_) external {
        require(ownerOf(tokenId_) == _msgSender() , "Humach : You are not owner of this tokenId");
        _burn(tokenId_);
    }

    function updateEnableStake(bool status_) external onlyAdmin{
        enableStake = status_;
    }

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

    function updateMintFee(uint256 amount_) external onlyAdmin{
        mintFee = amount_;
    }

    function updateBreedFee (uint256 level_ , uint256 fee_) external onlyAdmin{
        breedFee[level_] = fee_ ;
    }

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

    function updateMintPerTranaction (uint8 amount_ )external onlyAdmin{
        maximunMintPerTransaction = amount_;
    }
    function updateExpParameter (uint256 expPerLevel_ , uint256 minStakeForExp_ ,uint256 maxLevel_ ) external onlyAdmin {
        expPerLevel = expPerLevel_;
        minStakeForExp = minStakeForExp_;
        maxLevel = maxLevel_;
    }

    function updateMaximumMint(uint256 amount_)external onlyAdmin{
        maximumMintAmount = amount_;
    }

    function updateMaximumBreed(uint256 amount_)external onlyAdmin{
        maximumBreedAmount = amount_;
    }

    function updateProjectTime (uint256 openWhiteLists_ ,uint256 closeWhiteLists_,uint256 openPublic_ ) external onlyAdmin {
        tOpenWhiteLists = openWhiteLists_;
        tCloseWhiteLists = closeWhiteLists_;
        tOpenPublicMint = openPublic_;
    }

    function updateLevel(uint256 [] memory tokenId_, uint256  level_) external onlyAdmin{
        for(uint _i =0; _i<tokenId_.length; _i++)
        {
            level[tokenId_[_i]] = level_;
        }
    }
    function updateNameLength (uint16 nameLength_, uint16 descLength_) external onlyAdmin{
        maximumNameLength = nameLength_;
        maximumDescLength = descLength_;
    }

    function updateContractMachinieOld (address newContract) external onlyOwner {
        machinieOld = newContract;
    }

    function updateContractMachinie (address newContract) external onlyOwner {
        machinieNew = newContract;
    }

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

    function updateBaseURI(string memory baseURI_)external onlyOwner{
        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 _baseURI() internal view virtual override returns (string memory) {
        return uri;
    }

    function isStaking (uint256 tokenId_) external view returns(bool){
        return staking[tokenId_];
    }

    function getStakeTime (uint256 tokenId_) external view returns (uint256){
        return stakeTime[tokenId_];
    }

    function isWhiteLists (address account_) external view returns(bool){
        return whiteLists[account_];
    }

    function getMintFee(uint256 amount_) external view returns(uint256){
        return mintFee*amount_;
    }

    function getBreedHumachFee(uint256 tokenId_) external view  returns (uint256){
        return breedFee[level[tokenId_]];
    }  

    function  getChangeDataFee() external view returns (uint256,uint256){
        return (changeNameFee,changeDescFee);       
    }

    function getUpgradeAmount ()external view returns (uint256){
        return upgradeAmount;
    }
    
    function getTotalMintFee ()external view returns (uint256){
        return totalMintFee;
    }

    function getMintAmount ()external view returns (uint256){
        return mintAmount;
    }

    function getBreedAmount ()external view returns (uint256){
        return breedAmount;
    }

    function getTokenIdName(uint256 tokenId_) external view returns(string memory, string memory){
        return(idName[tokenId_],idDescription[tokenId_]);
    }

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

    function getWhiteListminted(address account_) external view returns(uint8) {
        return whiteListsMints[account_];
    }

    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 getMintPerTranaction ( )external view returns(uint8){
        return maximunMintPerTransaction;
    }

    function getExpParameter () external view returns(uint256,uint256,uint256) {
        return (expPerLevel,minStakeForExp,maxLevel);
    }

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

    function getTokenId() external view returns(uint256){
        return tokenId;
    } 

    function getProjectTime () external view returns(uint256,uint256,uint256){
        return(tOpenWhiteLists,tCloseWhiteLists,tOpenPublicMint);
    }

    function getContractMachinieOld() external view returns(address){
        return machinieOld;
    }

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

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

}

File 2 of 15 : 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 15 : 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 15 : 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 15 : 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 15 : 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 15 : 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 15 : 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 15 : IMachinie.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "./IERC721Enumerable.sol";


interface IMachinie  is IERC721Enumerable{

    function mintMachinie( address to_,uint256 tokenId_) external; 

    function stakeMachinie(uint256[] memory machinieIds_,uint256[] memory hamachIds_) external;  

    function unStakeMachinie(uint256[] memory machinieIds_) external returns(uint256) ; 

    function claimFloppy(uint256[] memory machinieIds_) external returns(uint256) ;

    function getStakeReward(uint256 machinieId_) external view returns(uint256) ;

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

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

    function burnMachinie(uint256 tokenId_) external;
    
    function updateStakStatus(uint256 tokenId_,bool status_) external ; 

    function updateStakeTime (uint256 tokenId_ ,uint256 stakeTime_) external; 

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

    function isLevel (uint256 tokenId_) external view returns(uint256);
    
    function isStaking (uint256 tokenId_) external view returns(bool);
    
    function getStakeTime (uint256 tokenId_) external view returns (uint256);
    
    function getTokenIdName(uint256 tokenId_) external view returns(string memory, string memory);
    
    function getStakeRate(uint256 level_) external view returns(uint256) ;

    function getHumachTokenId(uint256 machinieId_) external view returns(uint256);
}

File 10 of 15 : 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 11 of 15 : 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 12 of 15 : 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 13 of 15 : 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 14 of 15 : 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 15 of 15 : 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":[{"internalType":"uint256","name":"tokenId_","type":"uint256"}],"name":"breedHumach","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId_","type":"uint256"}],"name":"burnHumach","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId_","type":"uint256"}],"name":"calculateLevel","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getBreedAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId_","type":"uint256"}],"name":"getBreedHumachFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"getContractMachinie","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getContractMachinieOld","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getEnableStake","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getExpParameter","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMintAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount_","type":"uint256"}],"name":"getMintFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMintPerTranaction","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getNameLength","outputs":[{"internalType":"uint16","name":"","type":"uint16"},{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getProjectTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"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":[],"name":"getTokenId","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":[],"name":"getTotalMintFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getUpgradeAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account_","type":"address"}],"name":"getWhiteListminted","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account_","type":"address"},{"internalType":"uint8","name":"amount_","type":"uint8"}],"name":"giveAway","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"nonpayable","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":"isStaking","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account_","type":"address"}],"name":"isWhiteLists","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":[{"internalType":"uint256","name":"tokenId_","type":"uint256"}],"name":"machinieUpgrade","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds_","type":"uint256[]"}],"name":"machiniesUpgrade","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"amount_","type":"uint8"}],"name":"publicMintHumach","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"payable","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":"tokenIds_","type":"uint256[]"}],"name":"stakeHumach","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":"tokenIds_","type":"uint256[]"}],"name":"unStakeHumach","outputs":[],"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":"level_","type":"uint256"},{"internalType":"uint256","name":"fee_","type":"uint256"}],"name":"updateBreedFee","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":"newContract","type":"address"}],"name":"updateContractMachinie","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newContract","type":"address"}],"name":"updateContractMachinieOld","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"status_","type":"bool"}],"name":"updateEnableStake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"expPerLevel_","type":"uint256"},{"internalType":"uint256","name":"minStakeForExp_","type":"uint256"},{"internalType":"uint256","name":"maxLevel_","type":"uint256"}],"name":"updateExpParameter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenId_","type":"uint256[]"},{"internalType":"uint256","name":"level_","type":"uint256"}],"name":"updateLevel","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount_","type":"uint256"}],"name":"updateMaximumBreed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount_","type":"uint256"}],"name":"updateMaximumMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount_","type":"uint256"}],"name":"updateMintFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"amount_","type":"uint8"}],"name":"updateMintPerTranaction","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":"openWhiteLists_","type":"uint256"},{"internalType":"uint256","name":"closeWhiteLists_","type":"uint256"},{"internalType":"uint256","name":"openPublic_","type":"uint256"}],"name":"updateProjectTime","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":"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":"updateWhiteLists","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":"uint8","name":"amount_","type":"uint8"}],"name":"whiteListsMintHumach","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"payable","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"}]

6016805473e6d3e488b9d31943df6e3b7d82f6f842679a1a8c6001600160a01b0319918216179091556017805461dead9083161790556018805473b826bde739897ad50363d045d65ee5b83fdb730d90831617905560198054739f3ddf3309d501ffbdc4587ab11e9d61add3126a9216919091179055610378601a5566f195a3c4ba0000601b556801e5b8fa8fe2ac0000601c819055601d55610a02601e5561150c601f556122b8602455600a6025556201518060265560056027556361930290602855636195a5906029819055602a55602b8054600360ff199091161761ff0019166102001763ffff00001916621400001761ffff60201b191665012c0000000017905560e0604052603260808181529062005eab60a03980516200012e91602c91602090910190620003f0565b503480156200013c57600080fd5b50604080518082018252600680825265090eadac2c6d60d31b6020808401828152855180870190965292855284015281519192916200017e91600091620003f0565b50805162000194906001906020840190620003f0565b505050620001b1620001ab6200039a60201b60201c565b6200039e565b6001600c6000620001c16200039a565b6001600160a01b0316815260208101919091526040016000908120805460ff191692151592909217909155600190600d90620001fc6200039a565b6001600160a01b03908116825260208083019390935260409182016000908120805495151560ff199687161790556901e1d1c72d5b97e000007f8fa6efc3be94b5b348b21fea823fe8d100408cee9b7f90524494500445d8ff6c5568093739534d286800007f4155c2f711f2cdd34f8262ab8fb9b7020a700fe7b6948222152f7670d1fdf34d556808f1d5c1cae37400007f0b9d2c0c271bb30544eb78c59bdaebdae2728e5f65814c07768a0abe90ed1923556808ac7230489e8000007f0d2a6872ef858a7f8ead18dc4f3f2e8d35c853d47e2816cbb9cdd49202554e0c556808670e9ec6598c00007f01413ff7a3b1d5b6c016c061d48e2c7014700c777a29fcd068fff04265813d5d55680821ab0d44149800007ff4b2859895858d6aa26d656e4999d552f6a869b74c43bba7d2a941c4d22c3559556018549091168152600d835290812080548416600190811790915573714fdf665698837f2f31c57a3db2dd23a4efe84c909152600c9091527f0a52fd60f97c2385bf7095153c1affc355d563afdf687364244812b52ce21f2e8054909216179055620004d3565b3390565b600b80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620003fe9062000496565b90600052602060002090601f0160209004810192826200042257600085556200046d565b82601f106200043d57805160ff19168380011785556200046d565b828001600101855582156200046d579182015b828111156200046d57825182559160200191906001019062000450565b506200047b9291506200047f565b5090565b5b808211156200047b576000815560010162000480565b600281046001821680620004ab57607f821691505b60208210811415620004cd57634e487b7160e01b600052602260045260246000fd5b50919050565b6159c880620004e36000396000f3fe60806040526004361061044b5760003560e01c80637f8e9c6511610234578063a877ebc51161012e578063dce3dc1f116100b6578063eea7f5bc1161007a578063eea7f5bc14610cdc578063f21bdd2714610cf1578063f2fde38b14610d11578063fa214f4a14610d31578063fdeff29d14610d4657610452565b8063dce3dc1f14610c47578063df4e76e114610c67578063e002797414610c7c578063e8fb417514610c9c578063e985e9c514610cbc57610452565b8063b88d4fde116100fd578063b88d4fde14610bb4578063bb54953614610bd4578063bd9b722b14610bf4578063c87b56dd14610c14578063cf952c7614610c3457610452565b8063a877ebc514610b3f578063a8995deb14610b5f578063aa15664514610b74578063b2d792ee14610b9457610452565b806393590627116101bc57806399a4af141161018057806399a4af1414610aaa578063a0472f4914610abf578063a22cb46514610adf578063a44a046d14610aff578063a62f40ce14610b1f57610452565b80639359062714610a12578063938af1f214610a3257806395d89b4114610a555780639722e07f14610a6a578063983448ee14610a8a57610452565b8063896b4be911610203578063896b4be91461096f5780638cd0543d1461098f5780638d780809146109af5780638da5cb5b146109dd578063931688cb146109f257610452565b80637f8e9c65146108fa57806381c8d1491461091a57806384017e521461093a5780638809c2fe1461095a57610452565b8063340d730a116103455780634f6ccce7116102cd5780636be8467f116102915780636be8467f1461087b5780636f85a0931461089057806370a08231146108a5578063715018a6146108c55780637e75257e146108da57610452565b80634f6ccce7146107db578063562566a8146107fb5780636352211e1461081b578063670a6fd91461083b57806367ca22981461085b57610452565b806342842e0e1161031457806342842e0e1461073b578063438b63001461075b578063451ea5631461077b57806345aca63b1461079b578063488cae7f146107bb57610452565b8063340d730a146106d35780633c292fa1146106f35780633ccfd60b146107135780633daeace21461071b57610452565b806317d0ccee116103d357806324d7806c1161039757806324d7806c1461063d57806329524ba81461065d5780632a115c811461067d5780632e1a7d4d146106a05780632f745c59146106b357610452565b806317d0ccee1461059957806318160ddd146105c6578063200c148f146105db57806321b88e04146105f057806323b872dd1461061d57610452565b806306c909781161041a57806306c90978146104e657806306fdde031461050a578063081812fc1461052c578063095ea7b31461055957806311ab63e11461057957610452565b8063010a38f51461045757806301ffc9a71461048257806303457097146104af578063067ea1eb146104c457610452565b3661045257005b600080fd5b34801561046357600080fd5b5061046c610d59565b60405161047991906156f1565b60405180910390f35b34801561048e57600080fd5b506104a261049d366004614700565b610d5f565b6040516104799190614a79565b3480156104bb57600080fd5b5061046c610d8c565b3480156104d057600080fd5b506104e46104df3660046145aa565b610d92565b005b3480156104f257600080fd5b506104fb610e3c565b6040516104799392919061575e565b34801561051657600080fd5b5061051f610e4a565b6040516104799190614a84565b34801561053857600080fd5b5061054c610547366004614793565b610edc565b604051610479919061498d565b34801561056557600080fd5b506104e461057436600461454b565b610f1f565b34801561058557600080fd5b506104e46105943660046147e7565b610fb2565b3480156105a557600080fd5b506105b96105b43660046143f2565b61127c565b6040516104799190615774565b3480156105d257600080fd5b5061046c61129a565b3480156105e757600080fd5b5061054c6112a0565b3480156105fc57600080fd5b5061061061060b366004614576565b6112af565b6040516104799190614a35565b34801561062957600080fd5b506104e4610638366004614462565b61145e565b34801561064957600080fd5b506104a26106583660046143f2565b611496565b34801561066957600080fd5b5061046c610678366004614793565b6114b4565b34801561068957600080fd5b506106926114c4565b6040516104799291906156dc565b6104e46106ae366004614793565b6114e0565b3480156106bf57600080fd5b5061046c6106ce36600461454b565b611547565b3480156106df57600080fd5b506104e46106ee366004614793565b611599565b3480156106ff57600080fd5b506104e461070e366004614686565b6115c5565b6104e461164a565b34801561072757600080fd5b506104e461073636600461484c565b6116af565b34801561074757600080fd5b506104e4610756366004614462565b6116e4565b34801561076757600080fd5b506106106107763660046143f2565b6116ff565b34801561078757600080fd5b506104a2610796366004614793565b6117bc565b3480156107a757600080fd5b506104e46107b6366004614654565b6117d1565b3480156107c757600080fd5b5061046c6107d6366004614793565b611b3b565b3480156107e757600080fd5b5061046c6107f6366004614793565b611b5a565b34801561080757600080fd5b506104e461081636600461482b565b611bb5565b34801561082757600080fd5b5061054c610836366004614793565b611bee565b34801561084757600080fd5b506104e461085636600461451e565b611c23565b34801561086757600080fd5b506104e46108763660046147e7565b611cb3565b34801561088757600080fd5b506104fb611f6e565b34801561089c57600080fd5b5061054c611f7c565b3480156108b157600080fd5b5061046c6108c03660046143f2565b611f8b565b3480156108d157600080fd5b506104e4611fcf565b3480156108e657600080fd5b506104e46108f5366004614654565b612018565b34801561090657600080fd5b506104e4610915366004614877565b6121c7565b34801561092657600080fd5b5061046c610935366004614793565b612204565b34801561094657600080fd5b506104e4610955366004614793565b612216565b34801561096657600080fd5b5061054c612242565b34801561097b57600080fd5b506104e461098a36600461451e565b612251565b34801561099b57600080fd5b506104e46109aa3660046143f2565b6122e1565b3480156109bb57600080fd5b506109cf6109ca366004614793565b612342565b604051610479929190614a97565b3480156109e957600080fd5b5061054c612485565b3480156109fe57600080fd5b506104e4610a0d366004614738565b612494565b348015610a1e57600080fd5b506104e4610a2d3660046143f2565b6124e6565b348015610a3e57600080fd5b50610a47612547565b604051610479929190615750565b348015610a6157600080fd5b5061051f612551565b348015610a7657600080fd5b506104e4610a8536600461476a565b612560565b348015610a9657600080fd5b506104e4610aa5366004614793565b6125bc565b348015610ab657600080fd5b506104a26125e8565b348015610acb57600080fd5b5061046c610ada366004614793565b6125f8565b348015610aeb57600080fd5b506104e4610afa36600461451e565b6128d6565b348015610b0b57600080fd5b5061046c610b1a366004614793565b6128e8565b348015610b2b57600080fd5b506104e4610b3a366004614793565b612b60565b348015610b4b57600080fd5b506104e4610b5a36600461484c565b612ba9565b348015610b6b57600080fd5b5061046c612bde565b348015610b8057600080fd5b506104a2610b8f3660046143f2565b612be4565b348015610ba057600080fd5b506104e4610baf3660046146c8565b612c02565b348015610bc057600080fd5b506104e4610bcf3660046144a2565b612c4a565b348015610be057600080fd5b506104a2610bef3660046143f2565b612c89565b348015610c0057600080fd5b506104e4610c0f366004614654565b612ca7565b348015610c2057600080fd5b5061051f610c2f366004614793565b612f3e565b610610610c42366004614877565b613017565b348015610c5357600080fd5b50610a47610c62366004614793565b61332d565b348015610c7357600080fd5b5061046c613437565b348015610c8857600080fd5b506104e4610c973660046147c3565b61343d565b348015610ca857600080fd5b506104e4610cb73660046143f2565b613484565b348015610cc857600080fd5b506104a2610cd736600461442a565b6134e5565b348015610ce857600080fd5b5061046c613513565b348015610cfd57600080fd5b506104e4610d0c36600461482b565b613519565b348015610d1d57600080fd5b506104e4610d2c3660046143f2565b61354b565b348015610d3d57600080fd5b506105b96135b9565b610610610d54366004614877565b6135c2565b601a5490565b60006001600160e01b0319821663780e9d6360e01b1480610d845750610d84826137ad565b90505b919050565b60235490565b610d9d6106586137ed565b610dc25760405162461bcd60e51b8152600401610db990614cd5565b60405180910390fd5b60005b8251811015610e37578160126000858481518110610df357634e487b7160e01b600052603260045260246000fd5b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191691151591909117905580610e2f816158c8565b915050610dc5565b505050565b602854602954602a54909192565b606060008054610e599061588d565b80601f0160208091040260200160405190810160405280929190818152602001828054610e859061588d565b8015610ed25780601f10610ea757610100808354040283529160200191610ed2565b820191906000526020600020905b815481529060010190602001808311610eb557829003601f168201915b5050505050905090565b6000610ee7826137f1565b610f035760405162461bcd60e51b8152600401610db990615209565b506000908152600460205260409020546001600160a01b031690565b6000610f2a82611bee565b9050806001600160a01b0316836001600160a01b03161415610f5e5760405162461bcd60e51b8152600401610db990615481565b806001600160a01b0316610f706137ed565b6001600160a01b03161480610f8c5750610f8c81610cd76137ed565b610fa85760405162461bcd60e51b8152600401610db990614fc9565b610e37838361380e565b610fba6137ed565b6001600160a01b0316610fcc83611bee565b6001600160a01b031614610ff25760405162461bcd60e51b8152600401610db990615430565b601d546019546001600160a01b03166370a0823161100e6137ed565b6040518263ffffffff1660e01b815260040161102a919061498d565b60206040518083038186803b15801561104257600080fd5b505afa158015611056573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061107a91906147ab565b10156110985760405162461bcd60e51b8152600401610db99061517f565b601d546019546001600160a01b031663dd62ed3e6110b46137ed565b306040518363ffffffff1660e01b81526004016110d29291906149a1565b60206040518083038186803b1580156110ea57600080fd5b505afa1580156110fe573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061112291906147ab565b10156111405760405162461bcd60e51b8152600401610db990614b2e565b602b54815164010000000090910461ffff1610156111705760405162461bcd60e51b8152600401610db990614d4c565b6019546001600160a01b03166323b872dd6111896137ed565b601754601d546040516001600160e01b031960e086901b1681526111bb93926001600160a01b031691906004016149bb565b602060405180830381600087803b1580156111d557600080fd5b505af11580156111e9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061120d91906146e4565b506000828152601560209081526040909120825161122d92840190614242565b506000828152601460205260409081902090517f3ba66b9d90431749ebd6249394ba368113066c111b97c835bb85577ce91bce4f91611270918591908590615725565b60405180910390a15050565b6001600160a01b031660009081526011602052604090205460ff1690565b60085490565b6019546001600160a01b031690565b60606112bc6106586137ed565b6112d85760405162461bcd60e51b8152600401610db990614cd5565b601e548260ff166022546112ec91906157da565b111561130a5760405162461bcd60e51b8152600401610db990614f5d565b60008260ff166001600160401b0381111561133557634e487b7160e01b600052604160045260246000fd5b60405190808252806020026020018201604052801561135e578160200160208202803683370190505b50905060005b8360ff168160ff16101561144257601a54828260ff168151811061139857634e487b7160e01b600052603260045260246000fd5b6020908102919091010152601a80549060006113b3836158c8565b91905055506113ec85838360ff16815181106113df57634e487b7160e01b600052603260045260246000fd5b602002602001015161387c565b6001600e6000848460ff168151811061141557634e487b7160e01b600052603260045260246000fd5b6020026020010151815260200190815260200160002081905550808061143a906158e3565b915050611364565b508260ff1660225461145491906157da565b6022559392505050565b61146f6114696137ed565b82613896565b61148b5760405162461bcd60e51b8152600401610db990615559565b610e3783838361391b565b6001600160a01b03166000908152600c602052604090205460ff1690565b600081601b54610d84919061582b565b602b5461ffff6201000082048116916401000000009004169091565b6114e86137ed565b6001600160a01b03166114f9612485565b6001600160a01b03161461151f5760405162461bcd60e51b8152600401610db9906152d6565b604051339082156108fc029083906000818181858888f1935050505061154457600080fd5b50565b600061155283611f8b565b82106115705760405162461bcd60e51b8152600401610db990614bbb565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b6115a46106586137ed565b6115c05760405162461bcd60e51b8152600401610db990614cd5565b601f55565b6115d06106586137ed565b6115ec5760405162461bcd60e51b8152600401610db990614cd5565b60005b8251811015610e375781600e600085848151811061161d57634e487b7160e01b600052603260045260246000fd5b60200260200101518152602001908152602001600020819055508080611642906158c8565b9150506115ef565b6116526137ed565b6001600160a01b0316611663612485565b6001600160a01b0316146116895760405162461bcd60e51b8152600401610db9906152d6565b60405133904780156108fc02916000818181858888f193505050506116ad57600080fd5b565b6116ba6106586137ed565b6116d65760405162461bcd60e51b8152600401610db990614cd5565b602592909255602655602755565b610e3783838360405180602001604052806000815250612c4a565b6060600061170c83611f8b565b90506000816001600160401b0381111561173657634e487b7160e01b600052604160045260246000fd5b60405190808252806020026020018201604052801561175f578160200160208202803683370190505b50905060005b828110156117b4576117778582611547565b82828151811061179757634e487b7160e01b600052603260045260246000fd5b6020908102919091010152806117ac816158c8565b915050611765565b509392505050565b6000908152600a602052604090205460ff1690565b6016546001600160a01b031663e985e9c56117ea6137ed565b306040518363ffffffff1660e01b81526004016118089291906149a1565b60206040518083038186803b15801561182057600080fd5b505afa158015611834573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061185891906146e4565b6118745760405162461bcd60e51b8152600401610db990615255565b60005b8151811015611b37576118886137ed565b6001600160a01b0316601660009054906101000a90046001600160a01b03166001600160a01b0316636352211e8484815181106118d557634e487b7160e01b600052603260045260246000fd5b60200260200101516040518263ffffffff1660e01b81526004016118f991906156f1565b60206040518083038186803b15801561191157600080fd5b505afa158015611925573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611949919061440e565b6001600160a01b03161461196f5760405162461bcd60e51b8152600401610db99061530b565b6016546001600160a01b03166342842e0e6119886137ed565b60175485516001600160a01b03909116908690869081106119b957634e487b7160e01b600052603260045260246000fd5b60200260200101516040518463ffffffff1660e01b81526004016119df939291906149bb565b600060405180830381600087803b1580156119f957600080fd5b505af1158015611a0d573d6000803e3d6000fd5b50505050611a3c611a1c6137ed565b8383815181106113df57634e487b7160e01b600052603260045260246000fd5b6018546001600160a01b03166343c34f8d611a556137ed565b848481518110611a7557634e487b7160e01b600052603260045260246000fd5b60200260200101516040518363ffffffff1660e01b8152600401611a9a929190614a1c565b600060405180830381600087803b158015611ab457600080fd5b505af1158015611ac8573d6000803e3d6000fd5b505050506001600e6000848481518110611af257634e487b7160e01b600052603260045260246000fd5b602002602001015181526020019081526020016000208190555060206000815480929190611b1f906158c8565b91905055508080611b2f906158c8565b915050611877565b5050565b6000908152600e60209081526040808320548352601390915290205490565b6000611b6461129a565b8210611b825760405162461bcd60e51b8152600401610db9906155aa565b60088281548110611ba357634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b611bc06106586137ed565b611bdc5760405162461bcd60e51b8152600401610db990614cd5565b60009182526013602052604090912055565b6000818152600260205260408120546001600160a01b031680610d845760405162461bcd60e51b8152600401610db990615070565b611c2b6137ed565b6001600160a01b0316611c3c612485565b6001600160a01b031614611c625760405162461bcd60e51b8152600401610db9906152d6565b6001600160a01b038216611c885760405162461bcd60e51b8152600401610db990614b75565b6001600160a01b03919091166000908152600c60205260409020805460ff1916911515919091179055565b611cbb6137ed565b6001600160a01b0316611ccd83611bee565b6001600160a01b031614611cf35760405162461bcd60e51b8152600401610db990615430565b601c546019546001600160a01b03166370a08231611d0f6137ed565b6040518263ffffffff1660e01b8152600401611d2b919061498d565b60206040518083038186803b158015611d4357600080fd5b505afa158015611d57573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d7b91906147ab565b1015611d995760405162461bcd60e51b8152600401610db99061517f565b601c546019546001600160a01b031663dd62ed3e611db56137ed565b306040518363ffffffff1660e01b8152600401611dd39291906149a1565b60206040518083038186803b158015611deb57600080fd5b505afa158015611dff573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e2391906147ab565b1015611e415760405162461bcd60e51b8152600401610db990614b2e565b602b5481516201000090910461ffff161015611e6f5760405162461bcd60e51b8152600401610db990614d0a565b6019546001600160a01b03166323b872dd611e886137ed565b601754601c546040516001600160e01b031960e086901b168152611eba93926001600160a01b031691906004016149bb565b602060405180830381600087803b158015611ed457600080fd5b505af1158015611ee8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f0c91906146e4565b5060008281526014602090815260409091208251611f2c92840190614242565b506000828152601560205260409081902090517f3ba66b9d90431749ebd6249394ba368113066c111b97c835bb85577ce91bce4f9161127091859185916156fa565b602554602654602754909192565b6018546001600160a01b031690565b60006001600160a01b038216611fb35760405162461bcd60e51b8152600401610db990615026565b506001600160a01b031660009081526003602052604090205490565b611fd76137ed565b6001600160a01b0316611fe8612485565b6001600160a01b03161461200e5760405162461bcd60e51b8152600401610db9906152d6565b6116ad6000613a48565b602b54600160301b900460ff166120415760405162461bcd60e51b8152600401610db9906153ee565b60005b81518160ff161015611b37576120586137ed565b6001600160a01b0316612094838360ff168151811061208757634e487b7160e01b600052603260045260246000fd5b6020026020010151611bee565b6001600160a01b0316146120ba5760405162461bcd60e51b8152600401610db990615430565b600a6000838360ff16815181106120e157634e487b7160e01b600052603260045260246000fd5b60209081029190910181015182528101919091526040016000205460ff161561211c5760405162461bcd60e51b8152600401610db9906155f6565b4260106000848460ff168151811061214457634e487b7160e01b600052603260045260246000fd5b60200260200101518152602001908152602001600020819055506001600a6000848460ff168151811061218757634e487b7160e01b600052603260045260246000fd5b6020026020010151815260200190815260200160002060006101000a81548160ff02191690831515021790555080806121bf906158e3565b915050612044565b6121d26106586137ed565b6121ee5760405162461bcd60e51b8152600401610db990614cd5565b602b805460ff191660ff92909216919091179055565b60009081526010602052604090205490565b6122216106586137ed565b61223d5760405162461bcd60e51b8152600401610db990614cd5565b601b55565b6016546001600160a01b031690565b6122596137ed565b6001600160a01b031661226a612485565b6001600160a01b0316146122905760405162461bcd60e51b8152600401610db9906152d6565b6001600160a01b0382166122b65760405162461bcd60e51b8152600401610db9906153a7565b6001600160a01b03919091166000908152600d60205260409020805460ff1916911515919091179055565b6122e96137ed565b6001600160a01b03166122fa612485565b6001600160a01b0316146123205760405162461bcd60e51b8152600401610db9906152d6565b601880546001600160a01b0319166001600160a01b0392909216919091179055565b60008181526014602090815260408083206015909252909120815460609283929091829061236f9061588d565b80601f016020809104026020016040519081016040528092919081815260200182805461239b9061588d565b80156123e85780601f106123bd576101008083540402835291602001916123e8565b820191906000526020600020905b8154815290600101906020018083116123cb57829003601f168201915b505050505091508080546123fb9061588d565b80601f01602080910402602001604051908101604052809291908181526020018280546124279061588d565b80156124745780601f1061244957610100808354040283529160200191612474565b820191906000526020600020905b81548152906001019060200180831161245757829003601f168201915b50505050509050915091505b915091565b600b546001600160a01b031690565b61249c6137ed565b6001600160a01b03166124ad612485565b6001600160a01b0316146124d35760405162461bcd60e51b8152600401610db9906152d6565b8051611b3790602c906020840190614242565b6124ee6137ed565b6001600160a01b03166124ff612485565b6001600160a01b0316146125255760405162461bcd60e51b8152600401610db9906152d6565b601680546001600160a01b0319166001600160a01b0392909216919091179055565b601c54601d549091565b606060018054610e599061588d565b61256b6106586137ed565b6125875760405162461bcd60e51b8152600401610db990614cd5565b602b805461ffff9283166401000000000265ffff000000001994909316620100000263ffff0000199091161792909216179055565b6125c76106586137ed565b6125e35760405162461bcd60e51b8152600401610db990614cd5565b601e55565b602b54600160301b900460ff1690565b60006126026137ed565b6001600160a01b031661261483611bee565b6001600160a01b03161461263a5760405162461bcd60e51b8152600401610db990615430565b601f546023541061265d5760405162461bcd60e51b8152600401610db990614d95565b6000828152600e6020908152604080832054808452601390925290912054806126985760405162461bcd60e51b8152600401610db99061529f565b60195481906001600160a01b03166370a082316126b36137ed565b6040518263ffffffff1660e01b81526004016126cf919061498d565b60206040518083038186803b1580156126e757600080fd5b505afa1580156126fb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061271f91906147ab565b101561273d5760405162461bcd60e51b8152600401610db990615511565b60195481906001600160a01b031663dd62ed3e6127586137ed565b306040518363ffffffff1660e01b81526004016127769291906149a1565b60206040518083038186803b15801561278e57600080fd5b505afa1580156127a2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127c691906147ab565b10156127e45760405162461bcd60e51b8152600401610db990615102565b6019546001600160a01b03166323b872dd6127fd6137ed565b6017546040516001600160e01b031960e085901b16815261282d92916001600160a01b03169086906004016149bb565b602060405180830381600087803b15801561284757600080fd5b505af115801561285b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061287f91906146e4565b50601a80549081906000612892836158c8565b91905055506128a86128a26137ed565b8261387c565b6000818152600e602052604081206001905560238054916128c8836158c8565b909155509095945050505050565b611b376128e16137ed565b8383613a9a565b60006128f26137ed565b6016546040516331a9108f60e11b81526001600160a01b039283169290911690636352211e906129269086906004016156f1565b60206040518083038186803b15801561293e57600080fd5b505afa158015612952573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612976919061440e565b6001600160a01b03161461299c5760405162461bcd60e51b8152600401610db99061530b565b6016546001600160a01b031663e985e9c56129b56137ed565b306040518363ffffffff1660e01b81526004016129d39291906149a1565b60206040518083038186803b1580156129eb57600080fd5b505afa1580156129ff573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a2391906146e4565b612a3f5760405162461bcd60e51b8152600401610db990615255565b6016546001600160a01b03166342842e0e612a586137ed565b6017546040516001600160e01b031960e085901b168152612a8892916001600160a01b03169087906004016149bb565b600060405180830381600087803b158015612aa257600080fd5b505af1158015612ab6573d6000803e3d6000fd5b50505050612acb612ac56137ed565b8361387c565b6018546001600160a01b03166343c34f8d612ae46137ed565b846040518363ffffffff1660e01b8152600401612b02929190614a1c565b600060405180830381600087803b158015612b1c57600080fd5b505af1158015612b30573d6000803e3d6000fd5b5050506000838152600e602090815260408220600190558054925090612b55836158c8565b909155509192915050565b612b686137ed565b6001600160a01b0316612b7a82611bee565b6001600160a01b031614612ba05760405162461bcd60e51b8152600401610db990614f13565b61154481613b3d565b612bb46106586137ed565b612bd05760405162461bcd60e51b8152600401610db990614cd5565b602892909255602955602a55565b60225490565b6001600160a01b03166000908152600d602052604090205460ff1690565b612c0d6106586137ed565b612c295760405162461bcd60e51b8152600401610db990614cd5565b602b8054911515600160301b0266ff00000000000019909216919091179055565b612c5b612c556137ed565b83613896565b612c775760405162461bcd60e51b8152600401610db990615559565b612c8384848484613be4565b50505050565b6001600160a01b031660009081526012602052604090205460ff1690565b60005b81518160ff161015611b3757612cbe6137ed565b6001600160a01b0316612ced838360ff168151811061208757634e487b7160e01b600052603260045260246000fd5b6001600160a01b031614612d135760405162461bcd60e51b8152600401610db990614f13565b600a6000838360ff1681518110612d3a57634e487b7160e01b600052603260045260246000fd5b60209081029190910181015182528101919091526040016000205460ff16612d745760405162461bcd60e51b8152600401610db9906155f6565b60106000838360ff1681518110612d9b57634e487b7160e01b600052603260045260246000fd5b602002602001015181526020019081526020016000205460001415612dd25760405162461bcd60e51b8152600401610db990614f94565b600080612e08848460ff1681518110612dfb57634e487b7160e01b600052603260045260246000fd5b602002602001015161332d565b9150915081600e6000868660ff1681518110612e3457634e487b7160e01b600052603260045260246000fd5b602002602001015181526020019081526020016000208190555080600f6000868660ff1681518110612e7657634e487b7160e01b600052603260045260246000fd5b60200260200101518152602001908152602001600020819055506000600a6000868660ff1681518110612eb957634e487b7160e01b600052603260045260246000fd5b6020026020010151815260200190815260200160002060006101000a81548160ff021916908315150217905550600060106000868660ff1681518110612f0f57634e487b7160e01b600052603260045260246000fd5b602002602001015181526020019081526020016000208190555050508080612f36906158e3565b915050612caa565b6060612f49826137f1565b612f655760405162461bcd60e51b8152600401610db9906154c2565b6000612f708361332d565b50905080612f905760405162461bcd60e51b8152600401610db990614abc565b600083602454600184612fa3919061584a565b612fad919061582b565b612fb791906157da565b90506000612fc3613c17565b90506000815111612fe3576040518060200160405280600081525061300e565b80612fed83613c26565b604051602001612ffe92919061495e565b6040516020818303038152906040525b95945050505050565b606060285442101561303b5760405162461bcd60e51b8152600401610db990614ede565b60295442111561305d5760405162461bcd60e51b8152600401610db990614ede565b601260006130696137ed565b6001600160a01b0316815260208101919091526040016000205460ff166130a25760405162461bcd60e51b8152600401610db990614aec565b602b54610100900460ff1682601160006130ba6137ed565b6001600160a01b031681526020810191909152604001600020546130e1919060ff166157f2565b60ff1611156131025760405162461bcd60e51b8152600401610db990614e47565b8160ff16601b54613113919061582b565b3410156131325760405162461bcd60e51b8152600401610db99061566e565b601e548260ff1660225461314691906157da565b11156131645760405162461bcd60e51b8152600401610db9906156a5565b60008260ff166001600160401b0381111561318f57634e487b7160e01b600052604160045260246000fd5b6040519080825280602002602001820160405280156131b8578160200160208202803683370190505b50905060005b8360ff168160ff16101561329657601a54828260ff16815181106131f257634e487b7160e01b600052603260045260246000fd5b6020908102919091010152601a805490600061320d836158c8565b919050555061324061321d6137ed565b838360ff16815181106113df57634e487b7160e01b600052603260045260246000fd5b6001600e6000848460ff168151811061326957634e487b7160e01b600052603260045260246000fd5b6020026020010151815260200190815260200160002081905550808061328e906158e3565b9150506131be565b50346021546132a591906157da565b6021556022546132b99060ff8516906157da565b60225582601160006132c96137ed565b6001600160a01b031681526020810191909152604001600020546132f0919060ff166157f2565b601160006132fc6137ed565b6001600160a01b031681526020810191909152604001600020805460ff191660ff9290921691909117905592915050565b60008181526010602052604081205481906133645750506000818152600e6020908152604080832054600f90925290912054612480565b60008381526010602052604081205461337d904261584a565b905060006026548261338f9190615817565b6000868152600f6020908152604080832054602554600e9093529083205493945091926133bc919061582b565b6133c691906157da565b905060006133d483836157da565b905060006025546027546133e8919061582b565b9050808210613404576027546000965096505050505050612480565b6000602554836134149190615817565b90506000602554846134269190615903565b919850909650505050505050915091565b60215490565b613448610b8f6137ed565b6134645760405162461bcd60e51b8152600401610db99061562d565b6000918252600a6020526040909120805460ff1916911515919091179055565b61348c6137ed565b6001600160a01b031661349d612485565b6001600160a01b0316146134c35760405162461bcd60e51b8152600401610db9906152d6565b601980546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b60205490565b6135246106586137ed565b6135405760405162461bcd60e51b8152600401610db990614cd5565b601c91909155601d55565b6135536137ed565b6001600160a01b0316613564612485565b6001600160a01b03161461358a5760405162461bcd60e51b8152600401610db9906152d6565b6001600160a01b0381166135b05760405162461bcd60e51b8152600401610db990614c58565b61154481613a48565b602b5460ff1690565b602b5460609060ff90811690831611156135ee5760405162461bcd60e51b8152600401610db9906150b9565b602a544210156136105760405162461bcd60e51b8152600401610db990614ede565b8160ff16601b54613621919061582b565b3410156136405760405162461bcd60e51b8152600401610db99061566e565b601e548260ff1660225461365491906157da565b11156136725760405162461bcd60e51b8152600401610db9906156a5565b60008260ff166001600160401b0381111561369d57634e487b7160e01b600052604160045260246000fd5b6040519080825280602002602001820160405280156136c6578160200160208202803683370190505b50905060005b8360ff168160ff16101561378157601a54828260ff168151811061370057634e487b7160e01b600052603260045260246000fd5b6020908102919091010152601a805490600061371b836158c8565b919050555061372b61321d6137ed565b6001600e6000848460ff168151811061375457634e487b7160e01b600052603260045260246000fd5b60200260200101518152602001908152602001600020819055508080613779906158e3565b9150506136cc565b503460215461379091906157da565b6021556022546137a49060ff8516906157da565b60225592915050565b60006001600160e01b031982166380ac58cd60e01b14806137de57506001600160e01b03198216635b5e139f60e01b145b80610d845750610d8482613d40565b3390565b6000908152600260205260409020546001600160a01b0316151590565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061384382611bee565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b611b37828260405180602001604052806000815250613d59565b60006138a1826137f1565b6138bd5760405162461bcd60e51b8152600401610db990614e92565b60006138c883611bee565b9050806001600160a01b0316846001600160a01b031614806139035750836001600160a01b03166138f884610edc565b6001600160a01b0316145b80613913575061391381856134e5565b949350505050565b826001600160a01b031661392e82611bee565b6001600160a01b0316146139545760405162461bcd60e51b8152600401610db99061535e565b6001600160a01b03821661397a5760405162461bcd60e51b8152600401610db990614dcc565b613985838383613d8c565b61399060008261380e565b6001600160a01b03831660009081526003602052604081208054600192906139b990849061584a565b90915550506001600160a01b03821660009081526003602052604081208054600192906139e79084906157da565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600b80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b03161415613acc5760405162461bcd60e51b8152600401610db990614e10565b6001600160a01b0383811660008181526005602090815260408083209487168084529490915290819020805460ff1916851515179055517f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3190613b30908590614a79565b60405180910390a3505050565b6000613b4882611bee565b9050613b5681600084613d8c565b613b6160008361380e565b6001600160a01b0381166000908152600360205260408120805460019290613b8a90849061584a565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b613bef84848461391b565b613bfb84848484613e44565b612c835760405162461bcd60e51b8152600401610db990614c06565b6060602c8054610e599061588d565b606081613c4b57506040805180820190915260018152600360fc1b6020820152610d87565b8160005b8115613c755780613c5f816158c8565b9150613c6e9050600a83615817565b9150613c4f565b6000816001600160401b03811115613c9d57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015613cc7576020820181803683370190505b5090505b841561391357613cdc60018361584a565b9150613ce9600a86615903565b613cf49060306157da565b60f81b818381518110613d1757634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350613d39600a86615817565b9450613ccb565b6001600160e01b031981166301ffc9a760e01b14919050565b613d638383613f5f565b613d706000848484613e44565b610e375760405162461bcd60e51b8152600401610db990614c06565b6000818152600a602052604090205460ff1615613dbb5760405162461bcd60e51b8152600401610db9906151c7565b613dc6838383610e37565b6001600160a01b038316613de257613ddd8161403e565b613e05565b816001600160a01b0316836001600160a01b031614613e0557613e058382614082565b6001600160a01b038216613e2157613e1c8161411f565b610e37565b826001600160a01b0316826001600160a01b031614610e3757610e3782826141f8565b6000613e58846001600160a01b031661423c565b15613f5457836001600160a01b031663150b7a02613e746137ed565b8786866040518563ffffffff1660e01b8152600401613e9694939291906149df565b602060405180830381600087803b158015613eb057600080fd5b505af1925050508015613ee0575060408051601f3d908101601f19168201909252613edd9181019061471c565b60015b613f3a573d808015613f0e576040519150601f19603f3d011682016040523d82523d6000602084013e613f13565b606091505b508051613f325760405162461bcd60e51b8152600401610db990614c06565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050613913565b506001949350505050565b6001600160a01b038216613f855760405162461bcd60e51b8152600401610db99061514a565b613f8e816137f1565b15613fab5760405162461bcd60e51b8152600401610db990614c9e565b613fb760008383613d8c565b6001600160a01b0382166000908152600360205260408120805460019290613fe09084906157da565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b6000600161408f84611f8b565b614099919061584a565b6000838152600760205260409020549091508082146140ec576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b6008546000906141319060019061584a565b6000838152600960205260408120546008805493945090928490811061416757634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050806008838154811061419657634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806141dc57634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b600061420383611f8b565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b3b151590565b82805461424e9061588d565b90600052602060002090601f01602090048101928261427057600085556142b6565b82601f1061428957805160ff19168380011785556142b6565b828001600101855582156142b6579182015b828111156142b657825182559160200191906001019061429b565b506142c29291506142c6565b5090565b5b808211156142c257600081556001016142c7565b60006001600160401b038311156142f4576142f4615943565b614307601f8401601f1916602001615782565b905082815283838301111561431b57600080fd5b828260208301376000602084830101529392505050565b600082601f830112614342578081fd5b81356020614357614352836157ab565b615782565b8281528181019085830183850287018401881015614373578586fd5b855b8581101561439157813584529284019290840190600101614375565b5090979650505050505050565b8035610d878161596e565b600082601f8301126143b9578081fd5b6143c8838335602085016142db565b9392505050565b803561ffff81168114610d8757600080fd5b803560ff81168114610d8757600080fd5b600060208284031215614403578081fd5b81356143c881615959565b60006020828403121561441f578081fd5b81516143c881615959565b6000806040838503121561443c578081fd5b823561444781615959565b9150602083013561445781615959565b809150509250929050565b600080600060608486031215614476578081fd5b833561448181615959565b9250602084013561449181615959565b929592945050506040919091013590565b600080600080608085870312156144b7578081fd5b84356144c281615959565b935060208501356144d281615959565b92506040850135915060608501356001600160401b038111156144f3578182fd5b8501601f81018713614503578182fd5b614512878235602084016142db565b91505092959194509250565b60008060408385031215614530578182fd5b823561453b81615959565b915060208301356144578161596e565b6000806040838503121561455d578182fd5b823561456881615959565b946020939093013593505050565b60008060408385031215614588578182fd5b823561459381615959565b91506145a1602084016143e1565b90509250929050565b600080604083850312156145bc578182fd5b82356001600160401b038111156145d1578283fd5b8301601f810185136145e1578283fd5b803560206145f1614352836157ab565b82815281810190848301838502860184018a101561460d578788fd5b8795505b8486101561463857803561462481615959565b835260019590950194918301918301614611565b509550614648905086820161439e565b93505050509250929050565b600060208284031215614665578081fd5b81356001600160401b0381111561467a578182fd5b61391384828501614332565b60008060408385031215614698578182fd5b82356001600160401b038111156146ad578283fd5b6146b985828601614332565b95602094909401359450505050565b6000602082840312156146d9578081fd5b81356143c88161596e565b6000602082840312156146f5578081fd5b81516143c88161596e565b600060208284031215614711578081fd5b81356143c88161597c565b60006020828403121561472d578081fd5b81516143c88161597c565b600060208284031215614749578081fd5b81356001600160401b0381111561475e578182fd5b613913848285016143a9565b6000806040838503121561477c578182fd5b614785836143cf565b91506145a1602084016143cf565b6000602082840312156147a4578081fd5b5035919050565b6000602082840312156147bc578081fd5b5051919050565b600080604083850312156147d5578182fd5b8235915060208301356144578161596e565b600080604083850312156147f9578182fd5b8235915060208301356001600160401b03811115614815578182fd5b614821858286016143a9565b9150509250929050565b6000806040838503121561483d578182fd5b50508035926020909101359150565b600080600060608486031215614860578081fd5b505081359360208301359350604090920135919050565b600060208284031215614888578081fd5b6143c8826143e1565b600081518084526148a9816020860160208601615861565b601f01601f19169290920160200192915050565b8054600090600281046001808316806148d757607f831692505b60208084108214156148f757634e487b7160e01b86526022600452602486fd5b61490184896156f1565b828015614915576001811461492657614951565b60ff19871682528282019750614951565b61492f896157ce565b60005b8781101561494b57815484820152908601908401614932565b83019850505b5050505050505092915050565b60008351614970818460208801615861565b835190830190614984818360208801615861565b01949350505050565b6001600160a01b0391909116815260200190565b6001600160a01b0392831681529116602082015260400190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090614a1290830184614891565b9695505050505050565b6001600160a01b03929092168252602082015260400190565b6020808252825182820181905260009190848201906040850190845b81811015614a6d57835183529284019291840191600101614a51565b50909695505050505050565b901515815260200190565b6000602082526143c86020830184614891565b600060408252614aaa6040830185614891565b828103602084015261300e8185614891565b602080825260169082015275121d5b5858da0e8818589b9bdc9b585b0813195d995b60521b604082015260600190565b60208082526022908201527f48756d616368203a20796f7520617265206e6f7420696e2077686974654c6973604082015261747360f01b606082015260800190565b60208082526027908201527f48756d616368203a20616c6c6f77616e636520466c6f7070792069736e6f7420604082015266195b9bdd59da1d60ca1b606082015260800190565b60208082526026908201527f4f776e61626c653a206e65772041646d696e20697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252602b908201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560408201526a74206f6620626f756e647360a81b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252601c908201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f74207468652041646d696e604082015260600190565b60208082526022908201527f48756d616368203a204e616d65206c656e677468206973206f766572204c696d6040820152611a5d60f21b606082015260800190565b60208082526029908201527f48756d616368203a204465736372697074696f6e206c656e677468206973206f6040820152681d995c88131a5b5a5d60ba1b606082015260800190565b6020808252601f908201527f48756d616368203a206973206f76657220427265656420636170616369747900604082015260600190565b60208082526024908201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526019908201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604082015260600190565b6020808252602b908201527f48756d616368203a20616c7265616479207573652077686974654c697374732060408201526a09ad2dce84090eadac2c6d60ab1b606082015260800190565b6020808252602c908201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b6020808252818101527f48756d616368203a206973206e6f7420617661696c61626c6520706572696f64604082015260600190565b6020808252602a908201527f48756d616368203a20596f7520617265206e6f74206f776e6572206f662074686040820152691a5cc81d1bdad95b925960b21b606082015260800190565b6020808252601f908201527f48756d616368203a20206973206f766572206d696e7420636170616369747900604082015260600190565b6020808252818101527f48756d6163683a206973207374616b696e672077697468204d616368696e6965604082015260600190565b60208082526038908201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760408201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606082015260800190565b6020808252602a908201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604082015269726f206164647265737360b01b606082015260800190565b60208082526029908201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460408201526832b73a103a37b5b2b760b91b606082015260800190565b60208082526029908201527f48756d616368203a206f766572204d6178696d756d206d696e2070657220747260408201526830b739b0b1ba34b7b760b91b606082015260800190565b60208082526028908201527f48756d616368203a20616c6c6f77616e636520466c6f707079206973206e6f7460408201526708195b9bdd59da1d60c21b606082015260800190565b6020808252818101527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604082015260600190565b60208082526028908201527f48756d616368203a2042616c616e63654f6620466c6f707079206973206e6f7460408201526708195b9bdd59da1d60c21b606082015260800190565b60208082526022908201527f455243373231456e756d657261626c653a20746f6b656e206973207374616b696040820152616e6760f01b606082015260800190565b6020808252602c908201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b6020808252602a908201527f48756d616368203a204e65656420617070726f766520746869732061646472656040820152691cdcc8199bdc88105b1b60b21b606082015260800190565b60208082526019908201527f48756d616368203a2062726565644665652050726f626c656d00000000000000604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526033908201527f48756d616368203a206f776e657220717565727920666f72206e6f6e657869736040820152723a32b73a1036b0b1b434b734b2903a37b5b2b760691b606082015260800190565b60208082526029908201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960408201526839903737ba1037bbb760b91b606082015260800190565b60208082526027908201527f4f776e61626c653a206e657720576f726b657220697320746865207a65726f206040820152666164647265737360c81b606082015260800190565b60208082526022908201527f48756d616368203a205374616b652066756e6374696f6e2069732064697361626040820152616c6560f01b606082015260800190565b60208082526031908201527f48756d616368203a206f776e657220717565727920666f72206e6f6e657869736040820152703a32b73a10243ab6b0b1b4103a37b5b2b760791b606082015260800190565b60208082526021908201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656040820152603960f91b606082015260800190565b6020808252602f908201527f48756d6163683a2055524920717565727920666f72206e6f6e6578697374656e60408201526e1d081d1bdad95b881d1bdad95b9259608a1b606082015260800190565b60208082526028908201527f48756d616368203a2062616c616e63654f6620466c6f707079206973206e6f7460408201526708195b9bdd59da1d60c21b606082015260800190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252602c908201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60408201526b7574206f6620626f756e647360a01b606082015260800190565b6020808252601c908201527f48756d616368203a2048756d6163684944206973207374616b696e6700000000604082015260600190565b60208082526021908201527f4f776e61626c653a2063616c6c6572206973206e6f742074686520576f726b656040820152603960f91b606082015260800190565b6020808252601f908201527f48756d616368203a206d696e74466565206973206e6f7420656e6f7567687400604082015260600190565b6020808252601a908201527f48756d616368203a206973206f766572206d6178537570706c79000000000000604082015260600190565b61ffff92831681529116602082015260400190565b90815260200190565b6000848252606060208301526157136060830185614891565b8281036040840152614a1281856148bd565b60008482526060602083015261573e60608301856148bd565b8281036040840152614a128185614891565b918252602082015260400190565b9283526020830191909152604082015260600190565b60ff91909116815260200190565b6040518181016001600160401b03811182821017156157a3576157a3615943565b604052919050565b60006001600160401b038211156157c4576157c4615943565b5060209081020190565b60009081526020902090565b600082198211156157ed576157ed615917565b500190565b600060ff821660ff84168060ff0382111561580f5761580f615917565b019392505050565b6000826158265761582661592d565b500490565b600081600019048311821515161561584557615845615917565b500290565b60008282101561585c5761585c615917565b500390565b60005b8381101561587c578181015183820152602001615864565b83811115612c835750506000910152565b6002810460018216806158a157607f821691505b602082108114156158c257634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156158dc576158dc615917565b5060010190565b600060ff821660ff8114156158fa576158fa615917565b60010192915050565b6000826159125761591261592d565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461154457600080fd5b801515811461154457600080fd5b6001600160e01b03198116811461154457600080fdfea26469706673582212204a08855e48bdf4569e1ba6343141db2142a3a35aa7076b86ead855f91ec0c51364736f6c6343000800003368747470733a2f2f6170692e6d616368696e69656e66742e636f6d2f6170692f68756d6163682f756e72657665616c65642f

Deployed Bytecode

0x60806040526004361061044b5760003560e01c80637f8e9c6511610234578063a877ebc51161012e578063dce3dc1f116100b6578063eea7f5bc1161007a578063eea7f5bc14610cdc578063f21bdd2714610cf1578063f2fde38b14610d11578063fa214f4a14610d31578063fdeff29d14610d4657610452565b8063dce3dc1f14610c47578063df4e76e114610c67578063e002797414610c7c578063e8fb417514610c9c578063e985e9c514610cbc57610452565b8063b88d4fde116100fd578063b88d4fde14610bb4578063bb54953614610bd4578063bd9b722b14610bf4578063c87b56dd14610c14578063cf952c7614610c3457610452565b8063a877ebc514610b3f578063a8995deb14610b5f578063aa15664514610b74578063b2d792ee14610b9457610452565b806393590627116101bc57806399a4af141161018057806399a4af1414610aaa578063a0472f4914610abf578063a22cb46514610adf578063a44a046d14610aff578063a62f40ce14610b1f57610452565b80639359062714610a12578063938af1f214610a3257806395d89b4114610a555780639722e07f14610a6a578063983448ee14610a8a57610452565b8063896b4be911610203578063896b4be91461096f5780638cd0543d1461098f5780638d780809146109af5780638da5cb5b146109dd578063931688cb146109f257610452565b80637f8e9c65146108fa57806381c8d1491461091a57806384017e521461093a5780638809c2fe1461095a57610452565b8063340d730a116103455780634f6ccce7116102cd5780636be8467f116102915780636be8467f1461087b5780636f85a0931461089057806370a08231146108a5578063715018a6146108c55780637e75257e146108da57610452565b80634f6ccce7146107db578063562566a8146107fb5780636352211e1461081b578063670a6fd91461083b57806367ca22981461085b57610452565b806342842e0e1161031457806342842e0e1461073b578063438b63001461075b578063451ea5631461077b57806345aca63b1461079b578063488cae7f146107bb57610452565b8063340d730a146106d35780633c292fa1146106f35780633ccfd60b146107135780633daeace21461071b57610452565b806317d0ccee116103d357806324d7806c1161039757806324d7806c1461063d57806329524ba81461065d5780632a115c811461067d5780632e1a7d4d146106a05780632f745c59146106b357610452565b806317d0ccee1461059957806318160ddd146105c6578063200c148f146105db57806321b88e04146105f057806323b872dd1461061d57610452565b806306c909781161041a57806306c90978146104e657806306fdde031461050a578063081812fc1461052c578063095ea7b31461055957806311ab63e11461057957610452565b8063010a38f51461045757806301ffc9a71461048257806303457097146104af578063067ea1eb146104c457610452565b3661045257005b600080fd5b34801561046357600080fd5b5061046c610d59565b60405161047991906156f1565b60405180910390f35b34801561048e57600080fd5b506104a261049d366004614700565b610d5f565b6040516104799190614a79565b3480156104bb57600080fd5b5061046c610d8c565b3480156104d057600080fd5b506104e46104df3660046145aa565b610d92565b005b3480156104f257600080fd5b506104fb610e3c565b6040516104799392919061575e565b34801561051657600080fd5b5061051f610e4a565b6040516104799190614a84565b34801561053857600080fd5b5061054c610547366004614793565b610edc565b604051610479919061498d565b34801561056557600080fd5b506104e461057436600461454b565b610f1f565b34801561058557600080fd5b506104e46105943660046147e7565b610fb2565b3480156105a557600080fd5b506105b96105b43660046143f2565b61127c565b6040516104799190615774565b3480156105d257600080fd5b5061046c61129a565b3480156105e757600080fd5b5061054c6112a0565b3480156105fc57600080fd5b5061061061060b366004614576565b6112af565b6040516104799190614a35565b34801561062957600080fd5b506104e4610638366004614462565b61145e565b34801561064957600080fd5b506104a26106583660046143f2565b611496565b34801561066957600080fd5b5061046c610678366004614793565b6114b4565b34801561068957600080fd5b506106926114c4565b6040516104799291906156dc565b6104e46106ae366004614793565b6114e0565b3480156106bf57600080fd5b5061046c6106ce36600461454b565b611547565b3480156106df57600080fd5b506104e46106ee366004614793565b611599565b3480156106ff57600080fd5b506104e461070e366004614686565b6115c5565b6104e461164a565b34801561072757600080fd5b506104e461073636600461484c565b6116af565b34801561074757600080fd5b506104e4610756366004614462565b6116e4565b34801561076757600080fd5b506106106107763660046143f2565b6116ff565b34801561078757600080fd5b506104a2610796366004614793565b6117bc565b3480156107a757600080fd5b506104e46107b6366004614654565b6117d1565b3480156107c757600080fd5b5061046c6107d6366004614793565b611b3b565b3480156107e757600080fd5b5061046c6107f6366004614793565b611b5a565b34801561080757600080fd5b506104e461081636600461482b565b611bb5565b34801561082757600080fd5b5061054c610836366004614793565b611bee565b34801561084757600080fd5b506104e461085636600461451e565b611c23565b34801561086757600080fd5b506104e46108763660046147e7565b611cb3565b34801561088757600080fd5b506104fb611f6e565b34801561089c57600080fd5b5061054c611f7c565b3480156108b157600080fd5b5061046c6108c03660046143f2565b611f8b565b3480156108d157600080fd5b506104e4611fcf565b3480156108e657600080fd5b506104e46108f5366004614654565b612018565b34801561090657600080fd5b506104e4610915366004614877565b6121c7565b34801561092657600080fd5b5061046c610935366004614793565b612204565b34801561094657600080fd5b506104e4610955366004614793565b612216565b34801561096657600080fd5b5061054c612242565b34801561097b57600080fd5b506104e461098a36600461451e565b612251565b34801561099b57600080fd5b506104e46109aa3660046143f2565b6122e1565b3480156109bb57600080fd5b506109cf6109ca366004614793565b612342565b604051610479929190614a97565b3480156109e957600080fd5b5061054c612485565b3480156109fe57600080fd5b506104e4610a0d366004614738565b612494565b348015610a1e57600080fd5b506104e4610a2d3660046143f2565b6124e6565b348015610a3e57600080fd5b50610a47612547565b604051610479929190615750565b348015610a6157600080fd5b5061051f612551565b348015610a7657600080fd5b506104e4610a8536600461476a565b612560565b348015610a9657600080fd5b506104e4610aa5366004614793565b6125bc565b348015610ab657600080fd5b506104a26125e8565b348015610acb57600080fd5b5061046c610ada366004614793565b6125f8565b348015610aeb57600080fd5b506104e4610afa36600461451e565b6128d6565b348015610b0b57600080fd5b5061046c610b1a366004614793565b6128e8565b348015610b2b57600080fd5b506104e4610b3a366004614793565b612b60565b348015610b4b57600080fd5b506104e4610b5a36600461484c565b612ba9565b348015610b6b57600080fd5b5061046c612bde565b348015610b8057600080fd5b506104a2610b8f3660046143f2565b612be4565b348015610ba057600080fd5b506104e4610baf3660046146c8565b612c02565b348015610bc057600080fd5b506104e4610bcf3660046144a2565b612c4a565b348015610be057600080fd5b506104a2610bef3660046143f2565b612c89565b348015610c0057600080fd5b506104e4610c0f366004614654565b612ca7565b348015610c2057600080fd5b5061051f610c2f366004614793565b612f3e565b610610610c42366004614877565b613017565b348015610c5357600080fd5b50610a47610c62366004614793565b61332d565b348015610c7357600080fd5b5061046c613437565b348015610c8857600080fd5b506104e4610c973660046147c3565b61343d565b348015610ca857600080fd5b506104e4610cb73660046143f2565b613484565b348015610cc857600080fd5b506104a2610cd736600461442a565b6134e5565b348015610ce857600080fd5b5061046c613513565b348015610cfd57600080fd5b506104e4610d0c36600461482b565b613519565b348015610d1d57600080fd5b506104e4610d2c3660046143f2565b61354b565b348015610d3d57600080fd5b506105b96135b9565b610610610d54366004614877565b6135c2565b601a5490565b60006001600160e01b0319821663780e9d6360e01b1480610d845750610d84826137ad565b90505b919050565b60235490565b610d9d6106586137ed565b610dc25760405162461bcd60e51b8152600401610db990614cd5565b60405180910390fd5b60005b8251811015610e37578160126000858481518110610df357634e487b7160e01b600052603260045260246000fd5b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191691151591909117905580610e2f816158c8565b915050610dc5565b505050565b602854602954602a54909192565b606060008054610e599061588d565b80601f0160208091040260200160405190810160405280929190818152602001828054610e859061588d565b8015610ed25780601f10610ea757610100808354040283529160200191610ed2565b820191906000526020600020905b815481529060010190602001808311610eb557829003601f168201915b5050505050905090565b6000610ee7826137f1565b610f035760405162461bcd60e51b8152600401610db990615209565b506000908152600460205260409020546001600160a01b031690565b6000610f2a82611bee565b9050806001600160a01b0316836001600160a01b03161415610f5e5760405162461bcd60e51b8152600401610db990615481565b806001600160a01b0316610f706137ed565b6001600160a01b03161480610f8c5750610f8c81610cd76137ed565b610fa85760405162461bcd60e51b8152600401610db990614fc9565b610e37838361380e565b610fba6137ed565b6001600160a01b0316610fcc83611bee565b6001600160a01b031614610ff25760405162461bcd60e51b8152600401610db990615430565b601d546019546001600160a01b03166370a0823161100e6137ed565b6040518263ffffffff1660e01b815260040161102a919061498d565b60206040518083038186803b15801561104257600080fd5b505afa158015611056573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061107a91906147ab565b10156110985760405162461bcd60e51b8152600401610db99061517f565b601d546019546001600160a01b031663dd62ed3e6110b46137ed565b306040518363ffffffff1660e01b81526004016110d29291906149a1565b60206040518083038186803b1580156110ea57600080fd5b505afa1580156110fe573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061112291906147ab565b10156111405760405162461bcd60e51b8152600401610db990614b2e565b602b54815164010000000090910461ffff1610156111705760405162461bcd60e51b8152600401610db990614d4c565b6019546001600160a01b03166323b872dd6111896137ed565b601754601d546040516001600160e01b031960e086901b1681526111bb93926001600160a01b031691906004016149bb565b602060405180830381600087803b1580156111d557600080fd5b505af11580156111e9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061120d91906146e4565b506000828152601560209081526040909120825161122d92840190614242565b506000828152601460205260409081902090517f3ba66b9d90431749ebd6249394ba368113066c111b97c835bb85577ce91bce4f91611270918591908590615725565b60405180910390a15050565b6001600160a01b031660009081526011602052604090205460ff1690565b60085490565b6019546001600160a01b031690565b60606112bc6106586137ed565b6112d85760405162461bcd60e51b8152600401610db990614cd5565b601e548260ff166022546112ec91906157da565b111561130a5760405162461bcd60e51b8152600401610db990614f5d565b60008260ff166001600160401b0381111561133557634e487b7160e01b600052604160045260246000fd5b60405190808252806020026020018201604052801561135e578160200160208202803683370190505b50905060005b8360ff168160ff16101561144257601a54828260ff168151811061139857634e487b7160e01b600052603260045260246000fd5b6020908102919091010152601a80549060006113b3836158c8565b91905055506113ec85838360ff16815181106113df57634e487b7160e01b600052603260045260246000fd5b602002602001015161387c565b6001600e6000848460ff168151811061141557634e487b7160e01b600052603260045260246000fd5b6020026020010151815260200190815260200160002081905550808061143a906158e3565b915050611364565b508260ff1660225461145491906157da565b6022559392505050565b61146f6114696137ed565b82613896565b61148b5760405162461bcd60e51b8152600401610db990615559565b610e3783838361391b565b6001600160a01b03166000908152600c602052604090205460ff1690565b600081601b54610d84919061582b565b602b5461ffff6201000082048116916401000000009004169091565b6114e86137ed565b6001600160a01b03166114f9612485565b6001600160a01b03161461151f5760405162461bcd60e51b8152600401610db9906152d6565b604051339082156108fc029083906000818181858888f1935050505061154457600080fd5b50565b600061155283611f8b565b82106115705760405162461bcd60e51b8152600401610db990614bbb565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b6115a46106586137ed565b6115c05760405162461bcd60e51b8152600401610db990614cd5565b601f55565b6115d06106586137ed565b6115ec5760405162461bcd60e51b8152600401610db990614cd5565b60005b8251811015610e375781600e600085848151811061161d57634e487b7160e01b600052603260045260246000fd5b60200260200101518152602001908152602001600020819055508080611642906158c8565b9150506115ef565b6116526137ed565b6001600160a01b0316611663612485565b6001600160a01b0316146116895760405162461bcd60e51b8152600401610db9906152d6565b60405133904780156108fc02916000818181858888f193505050506116ad57600080fd5b565b6116ba6106586137ed565b6116d65760405162461bcd60e51b8152600401610db990614cd5565b602592909255602655602755565b610e3783838360405180602001604052806000815250612c4a565b6060600061170c83611f8b565b90506000816001600160401b0381111561173657634e487b7160e01b600052604160045260246000fd5b60405190808252806020026020018201604052801561175f578160200160208202803683370190505b50905060005b828110156117b4576117778582611547565b82828151811061179757634e487b7160e01b600052603260045260246000fd5b6020908102919091010152806117ac816158c8565b915050611765565b509392505050565b6000908152600a602052604090205460ff1690565b6016546001600160a01b031663e985e9c56117ea6137ed565b306040518363ffffffff1660e01b81526004016118089291906149a1565b60206040518083038186803b15801561182057600080fd5b505afa158015611834573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061185891906146e4565b6118745760405162461bcd60e51b8152600401610db990615255565b60005b8151811015611b37576118886137ed565b6001600160a01b0316601660009054906101000a90046001600160a01b03166001600160a01b0316636352211e8484815181106118d557634e487b7160e01b600052603260045260246000fd5b60200260200101516040518263ffffffff1660e01b81526004016118f991906156f1565b60206040518083038186803b15801561191157600080fd5b505afa158015611925573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611949919061440e565b6001600160a01b03161461196f5760405162461bcd60e51b8152600401610db99061530b565b6016546001600160a01b03166342842e0e6119886137ed565b60175485516001600160a01b03909116908690869081106119b957634e487b7160e01b600052603260045260246000fd5b60200260200101516040518463ffffffff1660e01b81526004016119df939291906149bb565b600060405180830381600087803b1580156119f957600080fd5b505af1158015611a0d573d6000803e3d6000fd5b50505050611a3c611a1c6137ed565b8383815181106113df57634e487b7160e01b600052603260045260246000fd5b6018546001600160a01b03166343c34f8d611a556137ed565b848481518110611a7557634e487b7160e01b600052603260045260246000fd5b60200260200101516040518363ffffffff1660e01b8152600401611a9a929190614a1c565b600060405180830381600087803b158015611ab457600080fd5b505af1158015611ac8573d6000803e3d6000fd5b505050506001600e6000848481518110611af257634e487b7160e01b600052603260045260246000fd5b602002602001015181526020019081526020016000208190555060206000815480929190611b1f906158c8565b91905055508080611b2f906158c8565b915050611877565b5050565b6000908152600e60209081526040808320548352601390915290205490565b6000611b6461129a565b8210611b825760405162461bcd60e51b8152600401610db9906155aa565b60088281548110611ba357634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b611bc06106586137ed565b611bdc5760405162461bcd60e51b8152600401610db990614cd5565b60009182526013602052604090912055565b6000818152600260205260408120546001600160a01b031680610d845760405162461bcd60e51b8152600401610db990615070565b611c2b6137ed565b6001600160a01b0316611c3c612485565b6001600160a01b031614611c625760405162461bcd60e51b8152600401610db9906152d6565b6001600160a01b038216611c885760405162461bcd60e51b8152600401610db990614b75565b6001600160a01b03919091166000908152600c60205260409020805460ff1916911515919091179055565b611cbb6137ed565b6001600160a01b0316611ccd83611bee565b6001600160a01b031614611cf35760405162461bcd60e51b8152600401610db990615430565b601c546019546001600160a01b03166370a08231611d0f6137ed565b6040518263ffffffff1660e01b8152600401611d2b919061498d565b60206040518083038186803b158015611d4357600080fd5b505afa158015611d57573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d7b91906147ab565b1015611d995760405162461bcd60e51b8152600401610db99061517f565b601c546019546001600160a01b031663dd62ed3e611db56137ed565b306040518363ffffffff1660e01b8152600401611dd39291906149a1565b60206040518083038186803b158015611deb57600080fd5b505afa158015611dff573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e2391906147ab565b1015611e415760405162461bcd60e51b8152600401610db990614b2e565b602b5481516201000090910461ffff161015611e6f5760405162461bcd60e51b8152600401610db990614d0a565b6019546001600160a01b03166323b872dd611e886137ed565b601754601c546040516001600160e01b031960e086901b168152611eba93926001600160a01b031691906004016149bb565b602060405180830381600087803b158015611ed457600080fd5b505af1158015611ee8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f0c91906146e4565b5060008281526014602090815260409091208251611f2c92840190614242565b506000828152601560205260409081902090517f3ba66b9d90431749ebd6249394ba368113066c111b97c835bb85577ce91bce4f9161127091859185916156fa565b602554602654602754909192565b6018546001600160a01b031690565b60006001600160a01b038216611fb35760405162461bcd60e51b8152600401610db990615026565b506001600160a01b031660009081526003602052604090205490565b611fd76137ed565b6001600160a01b0316611fe8612485565b6001600160a01b03161461200e5760405162461bcd60e51b8152600401610db9906152d6565b6116ad6000613a48565b602b54600160301b900460ff166120415760405162461bcd60e51b8152600401610db9906153ee565b60005b81518160ff161015611b37576120586137ed565b6001600160a01b0316612094838360ff168151811061208757634e487b7160e01b600052603260045260246000fd5b6020026020010151611bee565b6001600160a01b0316146120ba5760405162461bcd60e51b8152600401610db990615430565b600a6000838360ff16815181106120e157634e487b7160e01b600052603260045260246000fd5b60209081029190910181015182528101919091526040016000205460ff161561211c5760405162461bcd60e51b8152600401610db9906155f6565b4260106000848460ff168151811061214457634e487b7160e01b600052603260045260246000fd5b60200260200101518152602001908152602001600020819055506001600a6000848460ff168151811061218757634e487b7160e01b600052603260045260246000fd5b6020026020010151815260200190815260200160002060006101000a81548160ff02191690831515021790555080806121bf906158e3565b915050612044565b6121d26106586137ed565b6121ee5760405162461bcd60e51b8152600401610db990614cd5565b602b805460ff191660ff92909216919091179055565b60009081526010602052604090205490565b6122216106586137ed565b61223d5760405162461bcd60e51b8152600401610db990614cd5565b601b55565b6016546001600160a01b031690565b6122596137ed565b6001600160a01b031661226a612485565b6001600160a01b0316146122905760405162461bcd60e51b8152600401610db9906152d6565b6001600160a01b0382166122b65760405162461bcd60e51b8152600401610db9906153a7565b6001600160a01b03919091166000908152600d60205260409020805460ff1916911515919091179055565b6122e96137ed565b6001600160a01b03166122fa612485565b6001600160a01b0316146123205760405162461bcd60e51b8152600401610db9906152d6565b601880546001600160a01b0319166001600160a01b0392909216919091179055565b60008181526014602090815260408083206015909252909120815460609283929091829061236f9061588d565b80601f016020809104026020016040519081016040528092919081815260200182805461239b9061588d565b80156123e85780601f106123bd576101008083540402835291602001916123e8565b820191906000526020600020905b8154815290600101906020018083116123cb57829003601f168201915b505050505091508080546123fb9061588d565b80601f01602080910402602001604051908101604052809291908181526020018280546124279061588d565b80156124745780601f1061244957610100808354040283529160200191612474565b820191906000526020600020905b81548152906001019060200180831161245757829003601f168201915b50505050509050915091505b915091565b600b546001600160a01b031690565b61249c6137ed565b6001600160a01b03166124ad612485565b6001600160a01b0316146124d35760405162461bcd60e51b8152600401610db9906152d6565b8051611b3790602c906020840190614242565b6124ee6137ed565b6001600160a01b03166124ff612485565b6001600160a01b0316146125255760405162461bcd60e51b8152600401610db9906152d6565b601680546001600160a01b0319166001600160a01b0392909216919091179055565b601c54601d549091565b606060018054610e599061588d565b61256b6106586137ed565b6125875760405162461bcd60e51b8152600401610db990614cd5565b602b805461ffff9283166401000000000265ffff000000001994909316620100000263ffff0000199091161792909216179055565b6125c76106586137ed565b6125e35760405162461bcd60e51b8152600401610db990614cd5565b601e55565b602b54600160301b900460ff1690565b60006126026137ed565b6001600160a01b031661261483611bee565b6001600160a01b03161461263a5760405162461bcd60e51b8152600401610db990615430565b601f546023541061265d5760405162461bcd60e51b8152600401610db990614d95565b6000828152600e6020908152604080832054808452601390925290912054806126985760405162461bcd60e51b8152600401610db99061529f565b60195481906001600160a01b03166370a082316126b36137ed565b6040518263ffffffff1660e01b81526004016126cf919061498d565b60206040518083038186803b1580156126e757600080fd5b505afa1580156126fb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061271f91906147ab565b101561273d5760405162461bcd60e51b8152600401610db990615511565b60195481906001600160a01b031663dd62ed3e6127586137ed565b306040518363ffffffff1660e01b81526004016127769291906149a1565b60206040518083038186803b15801561278e57600080fd5b505afa1580156127a2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127c691906147ab565b10156127e45760405162461bcd60e51b8152600401610db990615102565b6019546001600160a01b03166323b872dd6127fd6137ed565b6017546040516001600160e01b031960e085901b16815261282d92916001600160a01b03169086906004016149bb565b602060405180830381600087803b15801561284757600080fd5b505af115801561285b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061287f91906146e4565b50601a80549081906000612892836158c8565b91905055506128a86128a26137ed565b8261387c565b6000818152600e602052604081206001905560238054916128c8836158c8565b909155509095945050505050565b611b376128e16137ed565b8383613a9a565b60006128f26137ed565b6016546040516331a9108f60e11b81526001600160a01b039283169290911690636352211e906129269086906004016156f1565b60206040518083038186803b15801561293e57600080fd5b505afa158015612952573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612976919061440e565b6001600160a01b03161461299c5760405162461bcd60e51b8152600401610db99061530b565b6016546001600160a01b031663e985e9c56129b56137ed565b306040518363ffffffff1660e01b81526004016129d39291906149a1565b60206040518083038186803b1580156129eb57600080fd5b505afa1580156129ff573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a2391906146e4565b612a3f5760405162461bcd60e51b8152600401610db990615255565b6016546001600160a01b03166342842e0e612a586137ed565b6017546040516001600160e01b031960e085901b168152612a8892916001600160a01b03169087906004016149bb565b600060405180830381600087803b158015612aa257600080fd5b505af1158015612ab6573d6000803e3d6000fd5b50505050612acb612ac56137ed565b8361387c565b6018546001600160a01b03166343c34f8d612ae46137ed565b846040518363ffffffff1660e01b8152600401612b02929190614a1c565b600060405180830381600087803b158015612b1c57600080fd5b505af1158015612b30573d6000803e3d6000fd5b5050506000838152600e602090815260408220600190558054925090612b55836158c8565b909155509192915050565b612b686137ed565b6001600160a01b0316612b7a82611bee565b6001600160a01b031614612ba05760405162461bcd60e51b8152600401610db990614f13565b61154481613b3d565b612bb46106586137ed565b612bd05760405162461bcd60e51b8152600401610db990614cd5565b602892909255602955602a55565b60225490565b6001600160a01b03166000908152600d602052604090205460ff1690565b612c0d6106586137ed565b612c295760405162461bcd60e51b8152600401610db990614cd5565b602b8054911515600160301b0266ff00000000000019909216919091179055565b612c5b612c556137ed565b83613896565b612c775760405162461bcd60e51b8152600401610db990615559565b612c8384848484613be4565b50505050565b6001600160a01b031660009081526012602052604090205460ff1690565b60005b81518160ff161015611b3757612cbe6137ed565b6001600160a01b0316612ced838360ff168151811061208757634e487b7160e01b600052603260045260246000fd5b6001600160a01b031614612d135760405162461bcd60e51b8152600401610db990614f13565b600a6000838360ff1681518110612d3a57634e487b7160e01b600052603260045260246000fd5b60209081029190910181015182528101919091526040016000205460ff16612d745760405162461bcd60e51b8152600401610db9906155f6565b60106000838360ff1681518110612d9b57634e487b7160e01b600052603260045260246000fd5b602002602001015181526020019081526020016000205460001415612dd25760405162461bcd60e51b8152600401610db990614f94565b600080612e08848460ff1681518110612dfb57634e487b7160e01b600052603260045260246000fd5b602002602001015161332d565b9150915081600e6000868660ff1681518110612e3457634e487b7160e01b600052603260045260246000fd5b602002602001015181526020019081526020016000208190555080600f6000868660ff1681518110612e7657634e487b7160e01b600052603260045260246000fd5b60200260200101518152602001908152602001600020819055506000600a6000868660ff1681518110612eb957634e487b7160e01b600052603260045260246000fd5b6020026020010151815260200190815260200160002060006101000a81548160ff021916908315150217905550600060106000868660ff1681518110612f0f57634e487b7160e01b600052603260045260246000fd5b602002602001015181526020019081526020016000208190555050508080612f36906158e3565b915050612caa565b6060612f49826137f1565b612f655760405162461bcd60e51b8152600401610db9906154c2565b6000612f708361332d565b50905080612f905760405162461bcd60e51b8152600401610db990614abc565b600083602454600184612fa3919061584a565b612fad919061582b565b612fb791906157da565b90506000612fc3613c17565b90506000815111612fe3576040518060200160405280600081525061300e565b80612fed83613c26565b604051602001612ffe92919061495e565b6040516020818303038152906040525b95945050505050565b606060285442101561303b5760405162461bcd60e51b8152600401610db990614ede565b60295442111561305d5760405162461bcd60e51b8152600401610db990614ede565b601260006130696137ed565b6001600160a01b0316815260208101919091526040016000205460ff166130a25760405162461bcd60e51b8152600401610db990614aec565b602b54610100900460ff1682601160006130ba6137ed565b6001600160a01b031681526020810191909152604001600020546130e1919060ff166157f2565b60ff1611156131025760405162461bcd60e51b8152600401610db990614e47565b8160ff16601b54613113919061582b565b3410156131325760405162461bcd60e51b8152600401610db99061566e565b601e548260ff1660225461314691906157da565b11156131645760405162461bcd60e51b8152600401610db9906156a5565b60008260ff166001600160401b0381111561318f57634e487b7160e01b600052604160045260246000fd5b6040519080825280602002602001820160405280156131b8578160200160208202803683370190505b50905060005b8360ff168160ff16101561329657601a54828260ff16815181106131f257634e487b7160e01b600052603260045260246000fd5b6020908102919091010152601a805490600061320d836158c8565b919050555061324061321d6137ed565b838360ff16815181106113df57634e487b7160e01b600052603260045260246000fd5b6001600e6000848460ff168151811061326957634e487b7160e01b600052603260045260246000fd5b6020026020010151815260200190815260200160002081905550808061328e906158e3565b9150506131be565b50346021546132a591906157da565b6021556022546132b99060ff8516906157da565b60225582601160006132c96137ed565b6001600160a01b031681526020810191909152604001600020546132f0919060ff166157f2565b601160006132fc6137ed565b6001600160a01b031681526020810191909152604001600020805460ff191660ff9290921691909117905592915050565b60008181526010602052604081205481906133645750506000818152600e6020908152604080832054600f90925290912054612480565b60008381526010602052604081205461337d904261584a565b905060006026548261338f9190615817565b6000868152600f6020908152604080832054602554600e9093529083205493945091926133bc919061582b565b6133c691906157da565b905060006133d483836157da565b905060006025546027546133e8919061582b565b9050808210613404576027546000965096505050505050612480565b6000602554836134149190615817565b90506000602554846134269190615903565b919850909650505050505050915091565b60215490565b613448610b8f6137ed565b6134645760405162461bcd60e51b8152600401610db99061562d565b6000918252600a6020526040909120805460ff1916911515919091179055565b61348c6137ed565b6001600160a01b031661349d612485565b6001600160a01b0316146134c35760405162461bcd60e51b8152600401610db9906152d6565b601980546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b60205490565b6135246106586137ed565b6135405760405162461bcd60e51b8152600401610db990614cd5565b601c91909155601d55565b6135536137ed565b6001600160a01b0316613564612485565b6001600160a01b03161461358a5760405162461bcd60e51b8152600401610db9906152d6565b6001600160a01b0381166135b05760405162461bcd60e51b8152600401610db990614c58565b61154481613a48565b602b5460ff1690565b602b5460609060ff90811690831611156135ee5760405162461bcd60e51b8152600401610db9906150b9565b602a544210156136105760405162461bcd60e51b8152600401610db990614ede565b8160ff16601b54613621919061582b565b3410156136405760405162461bcd60e51b8152600401610db99061566e565b601e548260ff1660225461365491906157da565b11156136725760405162461bcd60e51b8152600401610db9906156a5565b60008260ff166001600160401b0381111561369d57634e487b7160e01b600052604160045260246000fd5b6040519080825280602002602001820160405280156136c6578160200160208202803683370190505b50905060005b8360ff168160ff16101561378157601a54828260ff168151811061370057634e487b7160e01b600052603260045260246000fd5b6020908102919091010152601a805490600061371b836158c8565b919050555061372b61321d6137ed565b6001600e6000848460ff168151811061375457634e487b7160e01b600052603260045260246000fd5b60200260200101518152602001908152602001600020819055508080613779906158e3565b9150506136cc565b503460215461379091906157da565b6021556022546137a49060ff8516906157da565b60225592915050565b60006001600160e01b031982166380ac58cd60e01b14806137de57506001600160e01b03198216635b5e139f60e01b145b80610d845750610d8482613d40565b3390565b6000908152600260205260409020546001600160a01b0316151590565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061384382611bee565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b611b37828260405180602001604052806000815250613d59565b60006138a1826137f1565b6138bd5760405162461bcd60e51b8152600401610db990614e92565b60006138c883611bee565b9050806001600160a01b0316846001600160a01b031614806139035750836001600160a01b03166138f884610edc565b6001600160a01b0316145b80613913575061391381856134e5565b949350505050565b826001600160a01b031661392e82611bee565b6001600160a01b0316146139545760405162461bcd60e51b8152600401610db99061535e565b6001600160a01b03821661397a5760405162461bcd60e51b8152600401610db990614dcc565b613985838383613d8c565b61399060008261380e565b6001600160a01b03831660009081526003602052604081208054600192906139b990849061584a565b90915550506001600160a01b03821660009081526003602052604081208054600192906139e79084906157da565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600b80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b03161415613acc5760405162461bcd60e51b8152600401610db990614e10565b6001600160a01b0383811660008181526005602090815260408083209487168084529490915290819020805460ff1916851515179055517f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3190613b30908590614a79565b60405180910390a3505050565b6000613b4882611bee565b9050613b5681600084613d8c565b613b6160008361380e565b6001600160a01b0381166000908152600360205260408120805460019290613b8a90849061584a565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b613bef84848461391b565b613bfb84848484613e44565b612c835760405162461bcd60e51b8152600401610db990614c06565b6060602c8054610e599061588d565b606081613c4b57506040805180820190915260018152600360fc1b6020820152610d87565b8160005b8115613c755780613c5f816158c8565b9150613c6e9050600a83615817565b9150613c4f565b6000816001600160401b03811115613c9d57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015613cc7576020820181803683370190505b5090505b841561391357613cdc60018361584a565b9150613ce9600a86615903565b613cf49060306157da565b60f81b818381518110613d1757634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350613d39600a86615817565b9450613ccb565b6001600160e01b031981166301ffc9a760e01b14919050565b613d638383613f5f565b613d706000848484613e44565b610e375760405162461bcd60e51b8152600401610db990614c06565b6000818152600a602052604090205460ff1615613dbb5760405162461bcd60e51b8152600401610db9906151c7565b613dc6838383610e37565b6001600160a01b038316613de257613ddd8161403e565b613e05565b816001600160a01b0316836001600160a01b031614613e0557613e058382614082565b6001600160a01b038216613e2157613e1c8161411f565b610e37565b826001600160a01b0316826001600160a01b031614610e3757610e3782826141f8565b6000613e58846001600160a01b031661423c565b15613f5457836001600160a01b031663150b7a02613e746137ed565b8786866040518563ffffffff1660e01b8152600401613e9694939291906149df565b602060405180830381600087803b158015613eb057600080fd5b505af1925050508015613ee0575060408051601f3d908101601f19168201909252613edd9181019061471c565b60015b613f3a573d808015613f0e576040519150601f19603f3d011682016040523d82523d6000602084013e613f13565b606091505b508051613f325760405162461bcd60e51b8152600401610db990614c06565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050613913565b506001949350505050565b6001600160a01b038216613f855760405162461bcd60e51b8152600401610db99061514a565b613f8e816137f1565b15613fab5760405162461bcd60e51b8152600401610db990614c9e565b613fb760008383613d8c565b6001600160a01b0382166000908152600360205260408120805460019290613fe09084906157da565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b6000600161408f84611f8b565b614099919061584a565b6000838152600760205260409020549091508082146140ec576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b6008546000906141319060019061584a565b6000838152600960205260408120546008805493945090928490811061416757634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050806008838154811061419657634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806141dc57634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b600061420383611f8b565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b3b151590565b82805461424e9061588d565b90600052602060002090601f01602090048101928261427057600085556142b6565b82601f1061428957805160ff19168380011785556142b6565b828001600101855582156142b6579182015b828111156142b657825182559160200191906001019061429b565b506142c29291506142c6565b5090565b5b808211156142c257600081556001016142c7565b60006001600160401b038311156142f4576142f4615943565b614307601f8401601f1916602001615782565b905082815283838301111561431b57600080fd5b828260208301376000602084830101529392505050565b600082601f830112614342578081fd5b81356020614357614352836157ab565b615782565b8281528181019085830183850287018401881015614373578586fd5b855b8581101561439157813584529284019290840190600101614375565b5090979650505050505050565b8035610d878161596e565b600082601f8301126143b9578081fd5b6143c8838335602085016142db565b9392505050565b803561ffff81168114610d8757600080fd5b803560ff81168114610d8757600080fd5b600060208284031215614403578081fd5b81356143c881615959565b60006020828403121561441f578081fd5b81516143c881615959565b6000806040838503121561443c578081fd5b823561444781615959565b9150602083013561445781615959565b809150509250929050565b600080600060608486031215614476578081fd5b833561448181615959565b9250602084013561449181615959565b929592945050506040919091013590565b600080600080608085870312156144b7578081fd5b84356144c281615959565b935060208501356144d281615959565b92506040850135915060608501356001600160401b038111156144f3578182fd5b8501601f81018713614503578182fd5b614512878235602084016142db565b91505092959194509250565b60008060408385031215614530578182fd5b823561453b81615959565b915060208301356144578161596e565b6000806040838503121561455d578182fd5b823561456881615959565b946020939093013593505050565b60008060408385031215614588578182fd5b823561459381615959565b91506145a1602084016143e1565b90509250929050565b600080604083850312156145bc578182fd5b82356001600160401b038111156145d1578283fd5b8301601f810185136145e1578283fd5b803560206145f1614352836157ab565b82815281810190848301838502860184018a101561460d578788fd5b8795505b8486101561463857803561462481615959565b835260019590950194918301918301614611565b509550614648905086820161439e565b93505050509250929050565b600060208284031215614665578081fd5b81356001600160401b0381111561467a578182fd5b61391384828501614332565b60008060408385031215614698578182fd5b82356001600160401b038111156146ad578283fd5b6146b985828601614332565b95602094909401359450505050565b6000602082840312156146d9578081fd5b81356143c88161596e565b6000602082840312156146f5578081fd5b81516143c88161596e565b600060208284031215614711578081fd5b81356143c88161597c565b60006020828403121561472d578081fd5b81516143c88161597c565b600060208284031215614749578081fd5b81356001600160401b0381111561475e578182fd5b613913848285016143a9565b6000806040838503121561477c578182fd5b614785836143cf565b91506145a1602084016143cf565b6000602082840312156147a4578081fd5b5035919050565b6000602082840312156147bc578081fd5b5051919050565b600080604083850312156147d5578182fd5b8235915060208301356144578161596e565b600080604083850312156147f9578182fd5b8235915060208301356001600160401b03811115614815578182fd5b614821858286016143a9565b9150509250929050565b6000806040838503121561483d578182fd5b50508035926020909101359150565b600080600060608486031215614860578081fd5b505081359360208301359350604090920135919050565b600060208284031215614888578081fd5b6143c8826143e1565b600081518084526148a9816020860160208601615861565b601f01601f19169290920160200192915050565b8054600090600281046001808316806148d757607f831692505b60208084108214156148f757634e487b7160e01b86526022600452602486fd5b61490184896156f1565b828015614915576001811461492657614951565b60ff19871682528282019750614951565b61492f896157ce565b60005b8781101561494b57815484820152908601908401614932565b83019850505b5050505050505092915050565b60008351614970818460208801615861565b835190830190614984818360208801615861565b01949350505050565b6001600160a01b0391909116815260200190565b6001600160a01b0392831681529116602082015260400190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090614a1290830184614891565b9695505050505050565b6001600160a01b03929092168252602082015260400190565b6020808252825182820181905260009190848201906040850190845b81811015614a6d57835183529284019291840191600101614a51565b50909695505050505050565b901515815260200190565b6000602082526143c86020830184614891565b600060408252614aaa6040830185614891565b828103602084015261300e8185614891565b602080825260169082015275121d5b5858da0e8818589b9bdc9b585b0813195d995b60521b604082015260600190565b60208082526022908201527f48756d616368203a20796f7520617265206e6f7420696e2077686974654c6973604082015261747360f01b606082015260800190565b60208082526027908201527f48756d616368203a20616c6c6f77616e636520466c6f7070792069736e6f7420604082015266195b9bdd59da1d60ca1b606082015260800190565b60208082526026908201527f4f776e61626c653a206e65772041646d696e20697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252602b908201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560408201526a74206f6620626f756e647360a81b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252601c908201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f74207468652041646d696e604082015260600190565b60208082526022908201527f48756d616368203a204e616d65206c656e677468206973206f766572204c696d6040820152611a5d60f21b606082015260800190565b60208082526029908201527f48756d616368203a204465736372697074696f6e206c656e677468206973206f6040820152681d995c88131a5b5a5d60ba1b606082015260800190565b6020808252601f908201527f48756d616368203a206973206f76657220427265656420636170616369747900604082015260600190565b60208082526024908201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526019908201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604082015260600190565b6020808252602b908201527f48756d616368203a20616c7265616479207573652077686974654c697374732060408201526a09ad2dce84090eadac2c6d60ab1b606082015260800190565b6020808252602c908201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b6020808252818101527f48756d616368203a206973206e6f7420617661696c61626c6520706572696f64604082015260600190565b6020808252602a908201527f48756d616368203a20596f7520617265206e6f74206f776e6572206f662074686040820152691a5cc81d1bdad95b925960b21b606082015260800190565b6020808252601f908201527f48756d616368203a20206973206f766572206d696e7420636170616369747900604082015260600190565b6020808252818101527f48756d6163683a206973207374616b696e672077697468204d616368696e6965604082015260600190565b60208082526038908201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760408201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606082015260800190565b6020808252602a908201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604082015269726f206164647265737360b01b606082015260800190565b60208082526029908201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460408201526832b73a103a37b5b2b760b91b606082015260800190565b60208082526029908201527f48756d616368203a206f766572204d6178696d756d206d696e2070657220747260408201526830b739b0b1ba34b7b760b91b606082015260800190565b60208082526028908201527f48756d616368203a20616c6c6f77616e636520466c6f707079206973206e6f7460408201526708195b9bdd59da1d60c21b606082015260800190565b6020808252818101527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604082015260600190565b60208082526028908201527f48756d616368203a2042616c616e63654f6620466c6f707079206973206e6f7460408201526708195b9bdd59da1d60c21b606082015260800190565b60208082526022908201527f455243373231456e756d657261626c653a20746f6b656e206973207374616b696040820152616e6760f01b606082015260800190565b6020808252602c908201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b6020808252602a908201527f48756d616368203a204e65656420617070726f766520746869732061646472656040820152691cdcc8199bdc88105b1b60b21b606082015260800190565b60208082526019908201527f48756d616368203a2062726565644665652050726f626c656d00000000000000604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526033908201527f48756d616368203a206f776e657220717565727920666f72206e6f6e657869736040820152723a32b73a1036b0b1b434b734b2903a37b5b2b760691b606082015260800190565b60208082526029908201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960408201526839903737ba1037bbb760b91b606082015260800190565b60208082526027908201527f4f776e61626c653a206e657720576f726b657220697320746865207a65726f206040820152666164647265737360c81b606082015260800190565b60208082526022908201527f48756d616368203a205374616b652066756e6374696f6e2069732064697361626040820152616c6560f01b606082015260800190565b60208082526031908201527f48756d616368203a206f776e657220717565727920666f72206e6f6e657869736040820152703a32b73a10243ab6b0b1b4103a37b5b2b760791b606082015260800190565b60208082526021908201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656040820152603960f91b606082015260800190565b6020808252602f908201527f48756d6163683a2055524920717565727920666f72206e6f6e6578697374656e60408201526e1d081d1bdad95b881d1bdad95b9259608a1b606082015260800190565b60208082526028908201527f48756d616368203a2062616c616e63654f6620466c6f707079206973206e6f7460408201526708195b9bdd59da1d60c21b606082015260800190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252602c908201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60408201526b7574206f6620626f756e647360a01b606082015260800190565b6020808252601c908201527f48756d616368203a2048756d6163684944206973207374616b696e6700000000604082015260600190565b60208082526021908201527f4f776e61626c653a2063616c6c6572206973206e6f742074686520576f726b656040820152603960f91b606082015260800190565b6020808252601f908201527f48756d616368203a206d696e74466565206973206e6f7420656e6f7567687400604082015260600190565b6020808252601a908201527f48756d616368203a206973206f766572206d6178537570706c79000000000000604082015260600190565b61ffff92831681529116602082015260400190565b90815260200190565b6000848252606060208301526157136060830185614891565b8281036040840152614a1281856148bd565b60008482526060602083015261573e60608301856148bd565b8281036040840152614a128185614891565b918252602082015260400190565b9283526020830191909152604082015260600190565b60ff91909116815260200190565b6040518181016001600160401b03811182821017156157a3576157a3615943565b604052919050565b60006001600160401b038211156157c4576157c4615943565b5060209081020190565b60009081526020902090565b600082198211156157ed576157ed615917565b500190565b600060ff821660ff84168060ff0382111561580f5761580f615917565b019392505050565b6000826158265761582661592d565b500490565b600081600019048311821515161561584557615845615917565b500290565b60008282101561585c5761585c615917565b500390565b60005b8381101561587c578181015183820152602001615864565b83811115612c835750506000910152565b6002810460018216806158a157607f821691505b602082108114156158c257634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156158dc576158dc615917565b5060010190565b600060ff821660ff8114156158fa576158fa615917565b60010192915050565b6000826159125761591261592d565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461154457600080fd5b801515811461154457600080fd5b6001600160e01b03198116811461154457600080fdfea26469706673582212204a08855e48bdf4569e1ba6343141db2142a3a35aa7076b86ead855f91ec0c51364736f6c63430008000033

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.