ETH Price: $2,522.19 (+0.21%)

Token

Spacecows (SCW)
 

Overview

Max Total Supply

465 SCW

Holders

65

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
2 SCW
0x67fd0f34400f3edc485f5aeb2c8cc0e289041073
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Spacecows will introduce a collection of 10,069 Spacecows utility NFTs and be part of the future decisions of the project. A lot is in store for the future, including an upcoming play-to-earn game, NFT marketplace, own NFT crafting for personalized in-game buildings, such as powerplants and canons.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
SpaceCows

Compiler Version
v0.8.13+commit.abaa5c0e

Optimization Enabled:
Yes with 20000 runs

Other Settings:
default evmVersion
File 1 of 15 : SpaceCows.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.13;

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Counters.sol";

import "./Modules/UpgradeNFT.sol";

import "../Interface/ISpaceMilk.sol";
import "../Interface/ISale.sol";

contract SpaceCows is ERC721, Ownable, UpgradeNFT {
    using Counters for Counters.Counter;
    Counters.Counter internal _totalSupply;

    string public constant baseExtension = ".json";
    uint256 public constant collectionIndex = 0;
    bool public revealed;
    string public baseURI;
    string public notRevealedUri;
    
    mapping(uint256 => uint256) public mintingInfo;
    mapping(address => uint256) public mintingRate;

    ISpaceMilk public YieldToken;
    ISale public SaleContract;

    constructor(
        string memory _name,
        string memory _symbol,
        string memory _baseUri,
        string memory _notRevealedUri,
        address _tokenAddress,
        uint256 _namePrice,
        uint256 _bioPrice
    )
    ERC721(_name, _symbol)
    UpgradeNFT(_namePrice, _bioPrice) {
        revealed = true;
        baseURI = _baseUri;
        notRevealedUri = _notRevealedUri;
        YieldToken = ISpaceMilk(_tokenAddress);
        _totalSupply.increment();
    }

    /**
    =========================================
    Owner Functions
    @dev these functions can only be called 
        by the owner of contract. some functions
        here are meant only for backup cases.
    =========================================
    */
    function setBaseURI(string memory newBaseURI) external onlyOwner {
        baseURI = newBaseURI;
    }

    function setRevealed(bool _revealed) external onlyOwner {
        revealed = _revealed;
    }

    function setTokenAddress(address _newTokenAddress) external onlyOwner {
        YieldToken = ISpaceMilk(_newTokenAddress);
    }

    function setSalesAddress(address _newSalesAddress) external onlyOwner {
        SaleContract = ISale(_newSalesAddress);
    }

    function migrateTokens(address _user, uint256[] memory _tokenId, uint256[] memory _rates) external onlyOwner {
        uint256 tmpRate;

        for (uint32 i = 0; i < _tokenId.length; i++) {
            uint256 tokenId = _tokenId[i];
            uint256 rate = _rates[i];
            _mint(_user, tokenId);
            mintingInfo[tokenId] = rate;
            _totalSupply.increment();

            unchecked {
                tmpRate += rate;
            }
        }

        unchecked {
            mintingRate[_user] += tmpRate;
        }
    }

    function updateTokenData(uint256 _tokenId, uint256 _rate) external onlyOwner {
        _updateTokenData(_tokenId, _rate);
    }

    /**
    ============================================
    Public & External Functions
    @dev functions that can be called by anyone
    ============================================
    */
    function _baseURI() internal view virtual override returns (string memory) {
        return baseURI;
    }

    function changeCustomName(uint256 _tokenId, string memory _newName) public override {
        address owner = ownerOf(_tokenId);
		require(_msgSender() == owner, "Caller don't own");

		YieldToken.burn(msg.sender, collectionIndex, nameChangePrice);
		super.changeCustomName(_tokenId, _newName);
	}

    function changeBio(uint256 _tokenId, string memory _newBio) public override {
        address owner = ownerOf(_tokenId);
		require(_msgSender() == owner, "Caller don't own");

		YieldToken.burn(msg.sender, collectionIndex, bioChangePrice);
		super.changeBio(_tokenId, _newBio);
	}

    function getMintingRate(address _address) external view returns (uint256) {
        return mintingRate[_address];
    }

    function getReward() external {
        address user = msg.sender;
        uint256 rate = mintingRate[user];

		YieldToken.fullRewardUpdate(user, rate, collectionIndex);
		YieldToken.getReward(user, collectionIndex);
	}

    function cowMint(address _user, uint256[] memory _tokenId)
    external {
        require(msg.sender == address(SaleContract), "Can't call this");
        _cowMint(_user, _tokenId);
    }

    function exists(uint256 _tokenId) external view returns (bool) {
        require(msg.sender == address(SaleContract), "Can't call this");
        return _exists(_tokenId);
    }

    function totalSupply() public view returns (uint256) {
        return _totalSupply.current() - 1;
    }

    function transferFrom(address from, address to, uint256 tokenId) public override {
        uint256 _mintingRate = mintingInfo[tokenId];
        uint256 _fromRate = mintingRate[from];
        uint256 _toRate = mintingRate[to];
        YieldToken.updateReward(from, _fromRate, to, _toRate, collectionIndex);
        
        unchecked {
            mintingRate[from] = _fromRate - _mintingRate;
            mintingRate[to] = _toRate + _mintingRate;
        }
        ERC721.transferFrom(from, to, tokenId); 
    }

    function safeTransferFrom(address from, address to, uint256 tokenId) public override {
        uint256 _mintingRate = mintingInfo[tokenId];
        uint256 _fromRate = mintingRate[from];
        uint256 _toRate = mintingRate[to];
        YieldToken.updateReward(from, _fromRate, to, _toRate, collectionIndex);

        unchecked {
            mintingRate[from] = _fromRate - _mintingRate;
            mintingRate[to] = _toRate + _mintingRate;
        }
        ERC721.safeTransferFrom(from, to, tokenId, "");
    }

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

        if(revealed == false) {
            currentBaseURI = notRevealedUri;
        } else {
            currentBaseURI = _baseURI();
        }

        return bytes(currentBaseURI).length > 0
            ? string(abi.encodePacked(currentBaseURI, _toString(tokenId), baseExtension))
            : "";
    }

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

    /**
    ============================================
    Internal Functions
    @dev functions that can be called by inside contract
    ============================================
    */
    function _cowMint(address _to, uint256[] memory _tokenId)
    internal {
        uint256 rate = 5 ether;

        for (uint256 i = 0; i < _tokenId.length; i++) {
            _mint(_to, _tokenId[i]);
            _totalSupply.increment();

            unchecked {
                mintingInfo[_tokenId[i]] = rate;
            }
        }

        unchecked {
            mintingRate[_to] += rate * _tokenId.length;
        }
    }

    function _updateTokenData(uint256 _tokenId, uint256 _rate) internal {
        uint256 oldRate = mintingInfo[_tokenId];
        address owner = ownerOf(_tokenId);

        unchecked {
            mintingInfo[_tokenId] = _rate;
            mintingRate[owner] += _rate - oldRate;
        }
    }

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

File 2 of 15 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

        _afterTokenTransfer(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);

        _afterTokenTransfer(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 from incorrect owner");
        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);

        _afterTokenTransfer(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 {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

File 5 of 15 : UpgradeNFT.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.13;

import "@openzeppelin/contracts/access/Ownable.sol";

contract UpgradeNFT is Ownable {
    uint256 public nameChangePrice;
	uint256 public bioChangePrice;

    mapping(uint256 => string) public customName;
	mapping(uint256 => string) public bio;

	// Mapping if certain name string has already been reserved
	mapping(string => bool) private _nameReserved;

	event NameChange(uint256 indexed tokenId, string customName);
	event BioChange(uint256 indexed tokenId, string bio);

    constructor(uint256 _namePrice, uint256 _bioPrice) {
        nameChangePrice = _namePrice;
        bioChangePrice = _bioPrice;
    }

    function changeBio(uint256 _tokenId, string memory _bio) public virtual {
		bio[_tokenId] = _bio;
		emit BioChange(_tokenId, _bio);
	}

    function changeCustomName(uint256 _tokenId, string memory _newName) public virtual {
		require(_validateName(_newName) == true, "Not a valid name");
		require(sha256(bytes(_newName)) != sha256(bytes(customName[_tokenId])), "Name is same as the current");
		require(isNameReserved(_newName) == false, "Name reserved");

		// If already named, dereserve old name
		if (bytes(customName[_tokenId]).length > 0) {
			toggleReserveName(customName[_tokenId], false);
		}

		toggleReserveName(_newName, true);
        customName[_tokenId] = _newName;
		emit NameChange(_tokenId, _newName);
	}

    function setNameChangePrice(uint256 _nameChangePrice) external onlyOwner {
        nameChangePrice = _nameChangePrice;
    }

    function setbioChangePrice(uint256 _bioChangePrice) external onlyOwner {
        bioChangePrice = _bioChangePrice;
    }

    /**
	 * @dev Reserves the name if isReserve is set to true, de-reserves if set to false
	 */
	function toggleReserveName(string memory _str, bool _isReserve) internal {
		_nameReserved[_toLower(_str)] = _isReserve;
	}

	/**
	 * @dev Returns name of the NFT at index.
	 */
	function tokenNameByIndex(uint256 _index) public view returns (string memory) {
		return customName[_index];
	}

	/**
	 * @dev Returns if the name has been reserved.
	 */
	function isNameReserved(string memory _nameString) public view returns (bool) {
		return _nameReserved[_toLower(_nameString)];
	}

	function _validateName(string memory __str) public pure returns (bool){
		bytes memory b = bytes(__str);
		if (b.length < 1) return false;
		if (b.length > 25) return false; // Cannot be longer than 25 characters
		if (b[0] == 0x20) return false; // Leading space
		if (b[b.length - 1] == 0x20) return false; // Trailing space

		bytes1 lastChar = b[0];

		for(uint i; i<b.length; i++){
			bytes1 char = b[i];

			if (char == 0x20 && lastChar == 0x20) return false; // Cannot contain continous spaces

			if(
				!(char >= 0x30 && char <= 0x39) && //9-0
				!(char >= 0x41 && char <= 0x5A) && //A-Z
				!(char >= 0x61 && char <= 0x7A) && //a-z
				!(char == 0x20) //space
			)
				return false;

			lastChar = char;
		}

		return true;
	}

	 /**
	 * @dev Converts the string to lowercase
	 */
	function _toLower(string memory __str) public pure returns (string memory) {
		bytes memory bStr = bytes(__str);
		bytes memory bLower = new bytes(bStr.length);
		for (uint i = 0; i < bStr.length; i++) {
			// Uppercase character
			if ((uint8(bStr[i]) >= 65) && (uint8(bStr[i]) <= 90)) {
				bLower[i] = bytes1(uint8(bStr[i]) + 32);
			} else {
				bLower[i] = bStr[i];
			}
		}
		return string(bLower);
	}
}

File 6 of 15 : ISpaceMilk.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.13;

interface ISpaceMilk {
	function burn(address _from, uint256 _collection, uint256 _amount) external;
    function updateReward(address _from, uint256 _fromRate, address _to, uint256 _toRate, uint256 _collection) external;
    function fullRewardUpdate(address _user, uint256 _rate, uint256 _collection) external;
    function getReward(address _to, uint256 _collection) external;
}

File 7 of 15 : ISale.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.13;

interface ISale {
	function maxTokenSupply() external view returns(uint256);
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"string","name":"_baseUri","type":"string"},{"internalType":"string","name":"_notRevealedUri","type":"string"},{"internalType":"address","name":"_tokenAddress","type":"address"},{"internalType":"uint256","name":"_namePrice","type":"uint256"},{"internalType":"uint256","name":"_bioPrice","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"string","name":"bio","type":"string"}],"name":"BioChange","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"string","name":"customName","type":"string"}],"name":"NameChange","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"SaleContract","outputs":[{"internalType":"contract ISale","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"YieldToken","outputs":[{"internalType":"contract ISpaceMilk","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"__str","type":"string"}],"name":"_toLower","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"string","name":"__str","type":"string"}],"name":"_validateName","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"bio","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"bioChangePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"string","name":"_newBio","type":"string"}],"name":"changeBio","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"string","name":"_newName","type":"string"}],"name":"changeCustomName","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"collectionIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"},{"internalType":"uint256[]","name":"_tokenId","type":"uint256[]"}],"name":"cowMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"customName","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"getMintingRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getReward","outputs":[],"stateMutability":"nonpayable","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":"string","name":"_nameString","type":"string"}],"name":"isNameReserved","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"},{"internalType":"uint256[]","name":"_tokenId","type":"uint256[]"},{"internalType":"uint256[]","name":"_rates","type":"uint256[]"}],"name":"migrateTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"mintingInfo","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"mintingRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nameChangePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"notRevealedUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"string","name":"newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_nameChangePrice","type":"uint256"}],"name":"setNameChangePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_revealed","type":"bool"}],"name":"setRevealed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newSalesAddress","type":"address"}],"name":"setSalesAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newTokenAddress","type":"address"}],"name":"setTokenAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_bioChangePrice","type":"uint256"}],"name":"setbioChangePrice","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":"tokenNameByIndex","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_rate","type":"uint256"}],"name":"updateTokenData","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b5060405162004120380380620041208339810160408190526200003491620002f4565b8181888881600090805190602001906200005092919062000164565b5080516200006690600190602084019062000164565b505050620000836200007d6200010560201b60201c565b62000109565b600791909155600855600d805460ff191660011790558451620000ae90600e90602088019062000164565b508351620000c490600f90602087019062000164565b50601280546001600160a01b0319166001600160a01b038516179055620000f8600c6200015b602090811b6200225e17901c565b505050505050506200040f565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b80546001019055565b8280546200017290620003d3565b90600052602060002090601f016020900481019282620001965760008555620001e1565b82601f10620001b157805160ff1916838001178555620001e1565b82800160010185558215620001e1579182015b82811115620001e1578251825591602001919060010190620001c4565b50620001ef929150620001f3565b5090565b5b80821115620001ef5760008155600101620001f4565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200023257600080fd5b81516001600160401b03808211156200024f576200024f6200020a565b604051601f8301601f19908116603f011681019082821181831017156200027a576200027a6200020a565b816040528381526020925086838588010111156200029757600080fd5b600091505b83821015620002bb57858201830151818301840152908201906200029c565b83821115620002cd5760008385830101525b9695505050505050565b80516001600160a01b0381168114620002ef57600080fd5b919050565b600080600080600080600060e0888a0312156200031057600080fd5b87516001600160401b03808211156200032857600080fd5b620003368b838c0162000220565b985060208a01519150808211156200034d57600080fd5b6200035b8b838c0162000220565b975060408a01519150808211156200037257600080fd5b620003808b838c0162000220565b965060608a01519150808211156200039757600080fd5b50620003a68a828b0162000220565b945050620003b760808901620002d7565b925060a0880151915060c0880151905092959891949750929550565b600181811c90821680620003e857607f821691505b6020821081036200040957634e487b7160e01b600052602260045260246000fd5b50919050565b613d01806200041f6000396000f3fe608060405234801561001057600080fd5b50600436106103205760003560e01c80636352211e116101a7578063a20d2e1a116100ee578063cb7b9f6911610097578063e985e9c511610071578063e985e9c5146106df578063edb77b9d14610728578063f2fde38b1461074857600080fd5b8063cb7b9f6914610699578063cf26ba06146106b9578063e0a80853146106cc57600080fd5b8063c6682862116100c8578063c668286214610637578063c7876d2e14610673578063c87b56dd1461068657600080fd5b8063a20d2e1a146105fe578063a22cb46514610611578063b88d4fde1461062457600080fd5b806378763c7a116101505780638bea385a1161012a5780638bea385a146105c55780638da5cb5b146105d857806395d89b41146105f657600080fd5b806378763c7a1461057f578063833c49f81461059257806384a1b902146105b257600080fd5b80636e87d257116101815780636e87d2571461054457806370a0823114610564578063715018a61461057757600080fd5b80636352211e146105165780636c0360eb146105295780636d5224181461053157600080fd5b80633169eaf91161026b57806345ca77381161021457806351830227116101ee57806351830227146104ee57806355f804b3146104fb5780635be980671461050e57600080fd5b806345ca7738146104bf5780634d426528146104c85780634f558e79146104db57600080fd5b80633d18b912116102455780633d18b9121461049157806342842e0e14610499578063447d7a1d146104ac57600080fd5b80633169eaf91461045857806336033deb1461046b5780633a7565e41461047e57600080fd5b80630ebe8847116102cd57806323b872dd116102a757806323b872dd1461041f57806326a4e8d2146104325780632cf5fbb31461044557600080fd5b80630ebe8847146103fb57806315b56d101461040457806318160ddd1461041757600080fd5b8063081c8c44116102fe578063081c8c441461039a578063095ea7b3146103a25780630d2dce95146103b757600080fd5b806301ffc9a71461032557806306fdde031461034d578063081812fc14610362575b600080fd5b61033861033336600461340d565b61075b565b60405190151581526020015b60405180910390f35b61035561076c565b60405161034491906134a0565b6103756103703660046134b3565b6107fe565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610344565b6103556108c3565b6103b56103b03660046134f5565b610951565b005b6103ed6103c536600461351f565b73ffffffffffffffffffffffffffffffffffffffff1660009081526011602052604090205490565b604051908152602001610344565b6103ed60085481565b61033861041236600461364e565b610aa9565b6103ed610adc565b6103b561042d366004613683565b610af8565b6103b561044036600461351f565b610c13565b6103b56104533660046136bf565b610cc1565b6103556104663660046134b3565b610dd2565b6103556104793660046134b3565b610deb565b6103b561048c366004613786565b610e04565b6103b5610e79565b6103b56104a7366004613683565b610fa5565b6103556104ba36600461364e565b6110ca565b6103ed60075481565b6103b56104d63660046136bf565b61125d565b6103386104e93660046134b3565b61136e565b600d546103389060ff1681565b6103b561050936600461364e565b611404565b6103ed600081565b6103756105243660046134b3565b61147e565b610355611516565b61035561053f3660046134b3565b611523565b6012546103759073ffffffffffffffffffffffffffffffffffffffff1681565b6103ed61057236600461351f565b6115c5565b6103b5611679565b61033861058d36600461364e565b6116ec565b6103ed6105a03660046134b3565b60106020526000908152604090205481565b6103b56105c03660046134b3565b611b4b565b6103b56105d33660046134b3565b611bb7565b60065473ffffffffffffffffffffffffffffffffffffffff16610375565b610355611c23565b6103b561060c3660046137ca565b611c32565b6103b561061f36600461384e565b611d68565b6103b5610632366004613881565b611d73565b6103556040518060400160405280600581526020017f2e6a736f6e00000000000000000000000000000000000000000000000000000081525081565b6103b561068136600461351f565b611e01565b6103556106943660046134b3565b611eaf565b6013546103759073ffffffffffffffffffffffffffffffffffffffff1681565b6103b56106c73660046138fd565b612059565b6103b56106da36600461391f565b6120ca565b6103386106ed36600461393a565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260056020908152604080832093909416825291909152205460ff1690565b6103ed61073636600461351f565b60116020526000908152604090205481565b6103b561075636600461351f565b612162565b600061076682612267565b92915050565b60606000805461077b90613964565b80601f01602080910402602001604051908101604052809291908181526020018280546107a790613964565b80156107f45780601f106107c9576101008083540402835291602001916107f4565b820191906000526020600020905b8154815290600101906020018083116107d757829003601f168201915b5050505050905090565b60008181526002602052604081205473ffffffffffffffffffffffffffffffffffffffff1661089a5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084015b60405180910390fd5b5060009081526004602052604090205473ffffffffffffffffffffffffffffffffffffffff1690565b600f80546108d090613964565b80601f01602080910402602001604051908101604052809291908181526020018280546108fc90613964565b80156109495780601f1061091e57610100808354040283529160200191610949565b820191906000526020600020905b81548152906001019060200180831161092c57829003601f168201915b505050505081565b600061095c8261147e565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036109ff5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610891565b3373ffffffffffffffffffffffffffffffffffffffff82161480610a285750610a2881336106ed565b610a9a5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610891565b610aa4838361234a565b505050565b6000600b610ab6836110ca565b604051610ac391906139b7565b9081526040519081900360200190205460ff1692915050565b60006001610ae9600c5490565b610af39190613a02565b905090565b60008181526010602090815260408083205473ffffffffffffffffffffffffffffffffffffffff8781168086526011909452828520548782168087528487205460125495517f66c36cfc000000000000000000000000000000000000000000000000000000008152600481019790975260248701839052604487019190915260648601819052608486019690965291949193919216906366c36cfc9060a401600060405180830381600087803b158015610bb157600080fd5b505af1158015610bc5573d6000803e3d6000fd5b50505073ffffffffffffffffffffffffffffffffffffffff8088166000908152601160205260408082208787039055918816815220828501905550610c0b8686866123ea565b505050505050565b60065473ffffffffffffffffffffffffffffffffffffffff163314610c7a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610891565b601280547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b6000610ccc8361147e565b90503373ffffffffffffffffffffffffffffffffffffffff821614610d335760405162461bcd60e51b815260206004820152601060248201527f43616c6c657220646f6e2774206f776e000000000000000000000000000000006044820152606401610891565b6012546007546040517ff5298aca00000000000000000000000000000000000000000000000000000000815233600482015260006024820152604481019190915273ffffffffffffffffffffffffffffffffffffffff9091169063f5298aca90606401600060405180830381600087803b158015610db057600080fd5b505af1158015610dc4573d6000803e3d6000fd5b50505050610aa48383612471565b600960205260009081526040902080546108d090613964565b600a60205260009081526040902080546108d090613964565b60135473ffffffffffffffffffffffffffffffffffffffff163314610e6b5760405162461bcd60e51b815260206004820152600f60248201527f43616e27742063616c6c207468697300000000000000000000000000000000006044820152606401610891565b610e758282612747565b5050565b336000818152601160205260408082205460125491517f9824a0a2000000000000000000000000000000000000000000000000000000008152600481018590526024810182905260448101939093529173ffffffffffffffffffffffffffffffffffffffff90911690639824a0a290606401600060405180830381600087803b158015610f0557600080fd5b505af1158015610f19573d6000803e3d6000fd5b50506012546040517ff474c8ce00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff868116600483015260006024830152909116925063f474c8ce9150604401600060405180830381600087803b158015610f9157600080fd5b505af1158015610c0b573d6000803e3d6000fd5b60008181526010602090815260408083205473ffffffffffffffffffffffffffffffffffffffff8781168086526011909452828520548782168087528487205460125495517f66c36cfc000000000000000000000000000000000000000000000000000000008152600481019790975260248701839052604487019190915260648601819052608486019690965291949193919216906366c36cfc9060a401600060405180830381600087803b15801561105e57600080fd5b505af1158015611072573d6000803e3d6000fd5b50505073ffffffffffffffffffffffffffffffffffffffff808816600090815260116020908152604080832088880390559289168252828220858801905582519081019092528152610c0b9150879087908790611d73565b606060008290506000815167ffffffffffffffff8111156110ed576110ed61353a565b6040519080825280601f01601f191660200182016040528015611117576020820181803683370190505b50905060005b825181101561125557604183828151811061113a5761113a613a19565b016020015160f81c1080159061116a5750605a83828151811061115f5761115f613a19565b016020015160f81c11155b156111e45782818151811061118157611181613a19565b602001015160f81c60f81b60f81c602061119b9190613a48565b60f81b8282815181106111b0576111b0613a19565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350611243565b8281815181106111f6576111f6613a19565b602001015160f81c60f81b82828151811061121357611213613a19565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053505b8061124d81613a6d565b91505061111d565b509392505050565b60006112688361147e565b90503373ffffffffffffffffffffffffffffffffffffffff8216146112cf5760405162461bcd60e51b815260206004820152601060248201527f43616c6c657220646f6e2774206f776e000000000000000000000000000000006044820152606401610891565b6012546008546040517ff5298aca00000000000000000000000000000000000000000000000000000000815233600482015260006024820152604481019190915273ffffffffffffffffffffffffffffffffffffffff9091169063f5298aca90606401600060405180830381600087803b15801561134c57600080fd5b505af1158015611360573d6000803e3d6000fd5b50505050610aa48383612805565b60135460009073ffffffffffffffffffffffffffffffffffffffff1633146113d85760405162461bcd60e51b815260206004820152600f60248201527f43616e27742063616c6c207468697300000000000000000000000000000000006044820152606401610891565b60008281526002602052604090205473ffffffffffffffffffffffffffffffffffffffff161515610766565b60065473ffffffffffffffffffffffffffffffffffffffff16331461146b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610891565b8051610e7590600e906020840190613346565b60008181526002602052604081205473ffffffffffffffffffffffffffffffffffffffff16806107665760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610891565b600e80546108d090613964565b600081815260096020526040902080546060919061154090613964565b80601f016020809104026020016040519081016040528092919081815260200182805461156c90613964565b80156115b95780601f1061158e576101008083540402835291602001916115b9565b820191906000526020600020905b81548152906001019060200180831161159c57829003601f168201915b50505050509050919050565b600073ffffffffffffffffffffffffffffffffffffffff82166116505760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610891565b5073ffffffffffffffffffffffffffffffffffffffff1660009081526003602052604090205490565b60065473ffffffffffffffffffffffffffffffffffffffff1633146116e05760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610891565b6116ea6000612855565b565b6000808290506001815110156117055750600092915050565b6019815111156117185750600092915050565b8060008151811061172b5761172b613a19565b01602001517fff00000000000000000000000000000000000000000000000000000000000000167f2000000000000000000000000000000000000000000000000000000000000000036117815750600092915050565b80600182516117909190613a02565b815181106117a0576117a0613a19565b01602001517fff00000000000000000000000000000000000000000000000000000000000000167f2000000000000000000000000000000000000000000000000000000000000000036117f65750600092915050565b60008160008151811061180b5761180b613a19565b01602001517fff0000000000000000000000000000000000000000000000000000000000000016905060005b8251811015611b4057600083828151811061185457611854613a19565b01602001517fff000000000000000000000000000000000000000000000000000000000000001690507f2000000000000000000000000000000000000000000000000000000000000000811480156118ed57507f20000000000000000000000000000000000000000000000000000000000000007fff000000000000000000000000000000000000000000000000000000000000008416145b156118fe5750600095945050505050565b7f30000000000000000000000000000000000000000000000000000000000000007fff0000000000000000000000000000000000000000000000000000000000000082161080159061199257507f39000000000000000000000000000000000000000000000000000000000000007fff00000000000000000000000000000000000000000000000000000000000000821611155b158015611a3057507f41000000000000000000000000000000000000000000000000000000000000007fff00000000000000000000000000000000000000000000000000000000000000821610801590611a2e57507f5a000000000000000000000000000000000000000000000000000000000000007fff00000000000000000000000000000000000000000000000000000000000000821611155b155b8015611acd57507f61000000000000000000000000000000000000000000000000000000000000007fff00000000000000000000000000000000000000000000000000000000000000821610801590611acb57507f7a000000000000000000000000000000000000000000000000000000000000007fff00000000000000000000000000000000000000000000000000000000000000821611155b155b8015611b1b57507f20000000000000000000000000000000000000000000000000000000000000007fff00000000000000000000000000000000000000000000000000000000000000821614155b15611b2c5750600095945050505050565b915080611b3881613a6d565b915050611837565b506001949350505050565b60065473ffffffffffffffffffffffffffffffffffffffff163314611bb25760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610891565b600755565b60065473ffffffffffffffffffffffffffffffffffffffff163314611c1e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610891565b600855565b60606001805461077b90613964565b60065473ffffffffffffffffffffffffffffffffffffffff163314611c995760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610891565b6000805b83518163ffffffff161015611d35576000848263ffffffff1681518110611cc657611cc6613a19565b602002602001015190506000848363ffffffff1681518110611cea57611cea613a19565b60200260200101519050611cfe87836128cc565b6000828152601060205260409020819055611d1d600c80546001019055565b92909201915080611d2d81613aa5565b915050611c9d565b5073ffffffffffffffffffffffffffffffffffffffff909316600090815260116020526040902080549093019092555050565b610e75338383612a5a565b611d7d3383612b6d565b611def5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610891565b611dfb84848484612cc3565b50505050565b60065473ffffffffffffffffffffffffffffffffffffffff163314611e685760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610891565b601380547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b60008181526002602052604090205460609073ffffffffffffffffffffffffffffffffffffffff16611f235760405162461bcd60e51b815260206004820152601f60248201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e006044820152606401610891565b600d5460609060ff161515600003611fc757600f8054611f4290613964565b80601f0160208091040260200160405190810160405280929190818152602001828054611f6e90613964565b8015611fbb5780601f10611f9057610100808354040283529160200191611fbb565b820191906000526020600020905b815481529060010190602001808311611f9e57829003601f168201915b50505050509050611fd2565b611fcf612d4c565b90505b6000815111611ff05760405180602001604052806000815250612052565b80611ffa84612d5b565b6040518060400160405280600581526020017f2e6a736f6e00000000000000000000000000000000000000000000000000000081525060405160200161204293929190613ac8565b6040516020818303038152906040525b9392505050565b60065473ffffffffffffffffffffffffffffffffffffffff1633146120c05760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610891565b610e758282612e90565b60065473ffffffffffffffffffffffffffffffffffffffff1633146121315760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610891565b600d80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016911515919091179055565b60065473ffffffffffffffffffffffffffffffffffffffff1633146121c95760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610891565b73ffffffffffffffffffffffffffffffffffffffff81166122525760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610891565b61225b81612855565b50565b80546001019055565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd0000000000000000000000000000000000000000000000000000000014806122fa57507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061076657507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff00000000000000000000000000000000000000000000000000000000831614610766565b600081815260046020526040902080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff841690811790915581906123a48261147e565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6123f43382612b6d565b6124665760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610891565b610aa4838383612eea565b61247a816116ec565b15156001146124cb5760405162461bcd60e51b815260206004820152601060248201527f4e6f7420612076616c6964206e616d65000000000000000000000000000000006044820152606401610891565b6000828152600960205260409081902090516002916124e991613b0b565b602060405180830381855afa158015612506573d6000803e3d6000fd5b5050506040513d601f19601f820116820180604052508101906125299190613bdd565b60028260405161253991906139b7565b602060405180830381855afa158015612556573d6000803e3d6000fd5b5050506040513d601f19601f820116820180604052508101906125799190613bdd565b036125c65760405162461bcd60e51b815260206004820152601b60248201527f4e616d652069732073616d65206173207468652063757272656e7400000000006044820152606401610891565b6125cf81610aa9565b1561261c5760405162461bcd60e51b815260206004820152600d60248201527f4e616d65207265736572766564000000000000000000000000000000000000006044820152606401610891565b6000828152600960205260408120805461263590613964565b905011156126e057600082815260096020526040902080546126e0919061265b90613964565b80601f016020809104026020016040519081016040528092919081815260200182805461268790613964565b80156126d45780601f106126a9576101008083540402835291602001916126d4565b820191906000526020600020905b8154815290600101906020018083116126b757829003601f168201915b5050505050600061311d565b6126eb81600161311d565b6000828152600960209081526040909120825161270a92840190613346565b50817f7e632a301794d8d4a81ea7e20f37d1947158d36e66403af04ba85dd194b66f1b8260405161273b91906134a0565b60405180910390a25050565b674563918244f4000060005b82518110156127d15761277f8484838151811061277257612772613a19565b60200260200101516128cc565b61278d600c80546001019055565b81601060008584815181106127a4576127a4613a19565b602002602001015181526020019081526020016000208190555080806127c990613a6d565b915050612753565b50905173ffffffffffffffffffffffffffffffffffffffff9092166000908152601160205260409020805491909202019055565b6000828152600a60209081526040909120825161282492840190613346565b50817fbe3e2fc72ea4bd0d860e908b1ee27aa9856809e62a75bfc0cb7f04b5d791873d8260405161273b91906134a0565b6006805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b73ffffffffffffffffffffffffffffffffffffffff821661292f5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610891565b60008181526002602052604090205473ffffffffffffffffffffffffffffffffffffffff16156129a15760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610891565b73ffffffffffffffffffffffffffffffffffffffff821660009081526003602052604081208054600192906129d7908490613bf6565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612ad55760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610891565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526005602090815260408083209487168084529482529182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b60008181526002602052604081205473ffffffffffffffffffffffffffffffffffffffff16612c045760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610891565b6000612c0f8361147e565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612c7e57508373ffffffffffffffffffffffffffffffffffffffff16612c66846107fe565b73ffffffffffffffffffffffffffffffffffffffff16145b80612cbb575073ffffffffffffffffffffffffffffffffffffffff80821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b612cce848484612eea565b612cda84848484613178565b611dfb5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610891565b6060600e805461077b90613964565b606081600003612d9e57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115612dc85780612db281613a6d565b9150612dc19050600a83613c3d565b9150612da2565b60008167ffffffffffffffff811115612de357612de361353a565b6040519080825280601f01601f191660200182016040528015612e0d576020820181803683370190505b5090505b8415612cbb57612e22600183613a02565b9150612e2f600a86613c51565b612e3a906030613bf6565b60f81b818381518110612e4f57612e4f613a19565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350612e89600a86613c3d565b9450612e11565b60008281526010602052604081205490612ea98461147e565b600094855260106020908152604080872086905573ffffffffffffffffffffffffffffffffffffffff90921686526011905290932080549190920301905550565b8273ffffffffffffffffffffffffffffffffffffffff16612f0a8261147e565b73ffffffffffffffffffffffffffffffffffffffff1614612f935760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201527f6f776e65720000000000000000000000000000000000000000000000000000006064820152608401610891565b73ffffffffffffffffffffffffffffffffffffffff821661301b5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610891565b61302660008261234a565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260036020526040812080546001929061305c908490613a02565b909155505073ffffffffffffffffffffffffffffffffffffffff82166000908152600360205260408120805460019290613097908490613bf6565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff86811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b80600b613129846110ca565b60405161313691906139b7565b90815260405190819003602001902080549115157fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff009092169190911790555050565b600073ffffffffffffffffffffffffffffffffffffffff84163b15611b40576040517f150b7a0200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85169063150b7a02906131ef903390899088908890600401613c65565b6020604051808303816000875af1925050508015613248575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016820190925261324591810190613cae565b60015b6132fb573d808015613276576040519150601f19603f3d011682016040523d82523d6000602084013e61327b565b606091505b5080516000036132f35760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610891565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a0200000000000000000000000000000000000000000000000000000000149050612cbb565b82805461335290613964565b90600052602060002090601f01602090048101928261337457600085556133ba565b82601f1061338d57805160ff19168380011785556133ba565b828001600101855582156133ba579182015b828111156133ba57825182559160200191906001019061339f565b506133c69291506133ca565b5090565b5b808211156133c657600081556001016133cb565b7fffffffff000000000000000000000000000000000000000000000000000000008116811461225b57600080fd5b60006020828403121561341f57600080fd5b8135612052816133df565b60005b8381101561344557818101518382015260200161342d565b83811115611dfb5750506000910152565b6000815180845261346e81602086016020860161342a565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6020815260006120526020830184613456565b6000602082840312156134c557600080fd5b5035919050565b803573ffffffffffffffffffffffffffffffffffffffff811681146134f057600080fd5b919050565b6000806040838503121561350857600080fd5b613511836134cc565b946020939093013593505050565b60006020828403121561353157600080fd5b612052826134cc565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff811182821017156135b0576135b061353a565b604052919050565b600067ffffffffffffffff8311156135d2576135d261353a565b61360360207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f86011601613569565b905082815283838301111561361757600080fd5b828260208301376000602084830101529392505050565b600082601f83011261363f57600080fd5b612052838335602085016135b8565b60006020828403121561366057600080fd5b813567ffffffffffffffff81111561367757600080fd5b612cbb8482850161362e565b60008060006060848603121561369857600080fd5b6136a1846134cc565b92506136af602085016134cc565b9150604084013590509250925092565b600080604083850312156136d257600080fd5b82359150602083013567ffffffffffffffff8111156136f057600080fd5b6136fc8582860161362e565b9150509250929050565b600082601f83011261371757600080fd5b8135602067ffffffffffffffff8211156137335761373361353a565b8160051b613742828201613569565b928352848101820192828101908785111561375c57600080fd5b83870192505b8483101561377b57823582529183019190830190613762565b979650505050505050565b6000806040838503121561379957600080fd5b6137a2836134cc565b9150602083013567ffffffffffffffff8111156137be57600080fd5b6136fc85828601613706565b6000806000606084860312156137df57600080fd5b6137e8846134cc565b9250602084013567ffffffffffffffff8082111561380557600080fd5b61381187838801613706565b9350604086013591508082111561382757600080fd5b5061383486828701613706565b9150509250925092565b803580151581146134f057600080fd5b6000806040838503121561386157600080fd5b61386a836134cc565b91506138786020840161383e565b90509250929050565b6000806000806080858703121561389757600080fd5b6138a0856134cc565b93506138ae602086016134cc565b925060408501359150606085013567ffffffffffffffff8111156138d157600080fd5b8501601f810187136138e257600080fd5b6138f1878235602084016135b8565b91505092959194509250565b6000806040838503121561391057600080fd5b50508035926020909101359150565b60006020828403121561393157600080fd5b6120528261383e565b6000806040838503121561394d57600080fd5b613956836134cc565b9150613878602084016134cc565b600181811c9082168061397857607f821691505b6020821081036139b1577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b600082516139c981846020870161342a565b9190910192915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600082821015613a1457613a146139d3565b500390565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600060ff821660ff84168060ff03821115613a6557613a656139d3565b019392505050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613a9e57613a9e6139d3565b5060010190565b600063ffffffff808316818103613abe57613abe6139d3565b6001019392505050565b60008451613ada81846020890161342a565b845190830190613aee81836020890161342a565b8451910190613b0181836020880161342a565b0195945050505050565b600080835481600182811c915080831680613b2757607f831692505b60208084108203613b5f577f4e487b710000000000000000000000000000000000000000000000000000000086526022600452602486fd5b818015613b735760018114613ba257613bcf565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00861689528489019650613bcf565b60008a81526020902060005b86811015613bc75781548b820152908501908301613bae565b505084890196505b509498975050505050505050565b600060208284031215613bef57600080fd5b5051919050565b60008219821115613c0957613c096139d3565b500190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600082613c4c57613c4c613c0e565b500490565b600082613c6057613c60613c0e565b500690565b600073ffffffffffffffffffffffffffffffffffffffff808716835280861660208401525083604083015260806060830152613ca46080830184613456565b9695505050505050565b600060208284031215613cc057600080fd5b8151612052816133df56fea264697066735822122031d6711bedec57a2d011a5c3ef9ac1e917dbe7cf73c257b0a9563630756f86fa64736f6c634300080d003300000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000005351da3ddeaf400e26daba5b378edd788e7a27380000000000000000000000000000000000000000000000003a4965bf58a40000000000000000000000000000000000000000000000000003bd913e6c1df4000000000000000000000000000000000000000000000000000000000000000000095370616365636f77730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000353435700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d6263526d7656746435394e516f5a454d68715a6638616247374d35443853625a675436677a3769616b3576372f000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d5077794d56597659413379467270726e6f6d71614e47544e41464336465a5359584c66626f4b764d376452562f00000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106103205760003560e01c80636352211e116101a7578063a20d2e1a116100ee578063cb7b9f6911610097578063e985e9c511610071578063e985e9c5146106df578063edb77b9d14610728578063f2fde38b1461074857600080fd5b8063cb7b9f6914610699578063cf26ba06146106b9578063e0a80853146106cc57600080fd5b8063c6682862116100c8578063c668286214610637578063c7876d2e14610673578063c87b56dd1461068657600080fd5b8063a20d2e1a146105fe578063a22cb46514610611578063b88d4fde1461062457600080fd5b806378763c7a116101505780638bea385a1161012a5780638bea385a146105c55780638da5cb5b146105d857806395d89b41146105f657600080fd5b806378763c7a1461057f578063833c49f81461059257806384a1b902146105b257600080fd5b80636e87d257116101815780636e87d2571461054457806370a0823114610564578063715018a61461057757600080fd5b80636352211e146105165780636c0360eb146105295780636d5224181461053157600080fd5b80633169eaf91161026b57806345ca77381161021457806351830227116101ee57806351830227146104ee57806355f804b3146104fb5780635be980671461050e57600080fd5b806345ca7738146104bf5780634d426528146104c85780634f558e79146104db57600080fd5b80633d18b912116102455780633d18b9121461049157806342842e0e14610499578063447d7a1d146104ac57600080fd5b80633169eaf91461045857806336033deb1461046b5780633a7565e41461047e57600080fd5b80630ebe8847116102cd57806323b872dd116102a757806323b872dd1461041f57806326a4e8d2146104325780632cf5fbb31461044557600080fd5b80630ebe8847146103fb57806315b56d101461040457806318160ddd1461041757600080fd5b8063081c8c44116102fe578063081c8c441461039a578063095ea7b3146103a25780630d2dce95146103b757600080fd5b806301ffc9a71461032557806306fdde031461034d578063081812fc14610362575b600080fd5b61033861033336600461340d565b61075b565b60405190151581526020015b60405180910390f35b61035561076c565b60405161034491906134a0565b6103756103703660046134b3565b6107fe565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610344565b6103556108c3565b6103b56103b03660046134f5565b610951565b005b6103ed6103c536600461351f565b73ffffffffffffffffffffffffffffffffffffffff1660009081526011602052604090205490565b604051908152602001610344565b6103ed60085481565b61033861041236600461364e565b610aa9565b6103ed610adc565b6103b561042d366004613683565b610af8565b6103b561044036600461351f565b610c13565b6103b56104533660046136bf565b610cc1565b6103556104663660046134b3565b610dd2565b6103556104793660046134b3565b610deb565b6103b561048c366004613786565b610e04565b6103b5610e79565b6103b56104a7366004613683565b610fa5565b6103556104ba36600461364e565b6110ca565b6103ed60075481565b6103b56104d63660046136bf565b61125d565b6103386104e93660046134b3565b61136e565b600d546103389060ff1681565b6103b561050936600461364e565b611404565b6103ed600081565b6103756105243660046134b3565b61147e565b610355611516565b61035561053f3660046134b3565b611523565b6012546103759073ffffffffffffffffffffffffffffffffffffffff1681565b6103ed61057236600461351f565b6115c5565b6103b5611679565b61033861058d36600461364e565b6116ec565b6103ed6105a03660046134b3565b60106020526000908152604090205481565b6103b56105c03660046134b3565b611b4b565b6103b56105d33660046134b3565b611bb7565b60065473ffffffffffffffffffffffffffffffffffffffff16610375565b610355611c23565b6103b561060c3660046137ca565b611c32565b6103b561061f36600461384e565b611d68565b6103b5610632366004613881565b611d73565b6103556040518060400160405280600581526020017f2e6a736f6e00000000000000000000000000000000000000000000000000000081525081565b6103b561068136600461351f565b611e01565b6103556106943660046134b3565b611eaf565b6013546103759073ffffffffffffffffffffffffffffffffffffffff1681565b6103b56106c73660046138fd565b612059565b6103b56106da36600461391f565b6120ca565b6103386106ed36600461393a565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260056020908152604080832093909416825291909152205460ff1690565b6103ed61073636600461351f565b60116020526000908152604090205481565b6103b561075636600461351f565b612162565b600061076682612267565b92915050565b60606000805461077b90613964565b80601f01602080910402602001604051908101604052809291908181526020018280546107a790613964565b80156107f45780601f106107c9576101008083540402835291602001916107f4565b820191906000526020600020905b8154815290600101906020018083116107d757829003601f168201915b5050505050905090565b60008181526002602052604081205473ffffffffffffffffffffffffffffffffffffffff1661089a5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084015b60405180910390fd5b5060009081526004602052604090205473ffffffffffffffffffffffffffffffffffffffff1690565b600f80546108d090613964565b80601f01602080910402602001604051908101604052809291908181526020018280546108fc90613964565b80156109495780601f1061091e57610100808354040283529160200191610949565b820191906000526020600020905b81548152906001019060200180831161092c57829003601f168201915b505050505081565b600061095c8261147e565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036109ff5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610891565b3373ffffffffffffffffffffffffffffffffffffffff82161480610a285750610a2881336106ed565b610a9a5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610891565b610aa4838361234a565b505050565b6000600b610ab6836110ca565b604051610ac391906139b7565b9081526040519081900360200190205460ff1692915050565b60006001610ae9600c5490565b610af39190613a02565b905090565b60008181526010602090815260408083205473ffffffffffffffffffffffffffffffffffffffff8781168086526011909452828520548782168087528487205460125495517f66c36cfc000000000000000000000000000000000000000000000000000000008152600481019790975260248701839052604487019190915260648601819052608486019690965291949193919216906366c36cfc9060a401600060405180830381600087803b158015610bb157600080fd5b505af1158015610bc5573d6000803e3d6000fd5b50505073ffffffffffffffffffffffffffffffffffffffff8088166000908152601160205260408082208787039055918816815220828501905550610c0b8686866123ea565b505050505050565b60065473ffffffffffffffffffffffffffffffffffffffff163314610c7a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610891565b601280547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b6000610ccc8361147e565b90503373ffffffffffffffffffffffffffffffffffffffff821614610d335760405162461bcd60e51b815260206004820152601060248201527f43616c6c657220646f6e2774206f776e000000000000000000000000000000006044820152606401610891565b6012546007546040517ff5298aca00000000000000000000000000000000000000000000000000000000815233600482015260006024820152604481019190915273ffffffffffffffffffffffffffffffffffffffff9091169063f5298aca90606401600060405180830381600087803b158015610db057600080fd5b505af1158015610dc4573d6000803e3d6000fd5b50505050610aa48383612471565b600960205260009081526040902080546108d090613964565b600a60205260009081526040902080546108d090613964565b60135473ffffffffffffffffffffffffffffffffffffffff163314610e6b5760405162461bcd60e51b815260206004820152600f60248201527f43616e27742063616c6c207468697300000000000000000000000000000000006044820152606401610891565b610e758282612747565b5050565b336000818152601160205260408082205460125491517f9824a0a2000000000000000000000000000000000000000000000000000000008152600481018590526024810182905260448101939093529173ffffffffffffffffffffffffffffffffffffffff90911690639824a0a290606401600060405180830381600087803b158015610f0557600080fd5b505af1158015610f19573d6000803e3d6000fd5b50506012546040517ff474c8ce00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff868116600483015260006024830152909116925063f474c8ce9150604401600060405180830381600087803b158015610f9157600080fd5b505af1158015610c0b573d6000803e3d6000fd5b60008181526010602090815260408083205473ffffffffffffffffffffffffffffffffffffffff8781168086526011909452828520548782168087528487205460125495517f66c36cfc000000000000000000000000000000000000000000000000000000008152600481019790975260248701839052604487019190915260648601819052608486019690965291949193919216906366c36cfc9060a401600060405180830381600087803b15801561105e57600080fd5b505af1158015611072573d6000803e3d6000fd5b50505073ffffffffffffffffffffffffffffffffffffffff808816600090815260116020908152604080832088880390559289168252828220858801905582519081019092528152610c0b9150879087908790611d73565b606060008290506000815167ffffffffffffffff8111156110ed576110ed61353a565b6040519080825280601f01601f191660200182016040528015611117576020820181803683370190505b50905060005b825181101561125557604183828151811061113a5761113a613a19565b016020015160f81c1080159061116a5750605a83828151811061115f5761115f613a19565b016020015160f81c11155b156111e45782818151811061118157611181613a19565b602001015160f81c60f81b60f81c602061119b9190613a48565b60f81b8282815181106111b0576111b0613a19565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350611243565b8281815181106111f6576111f6613a19565b602001015160f81c60f81b82828151811061121357611213613a19565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053505b8061124d81613a6d565b91505061111d565b509392505050565b60006112688361147e565b90503373ffffffffffffffffffffffffffffffffffffffff8216146112cf5760405162461bcd60e51b815260206004820152601060248201527f43616c6c657220646f6e2774206f776e000000000000000000000000000000006044820152606401610891565b6012546008546040517ff5298aca00000000000000000000000000000000000000000000000000000000815233600482015260006024820152604481019190915273ffffffffffffffffffffffffffffffffffffffff9091169063f5298aca90606401600060405180830381600087803b15801561134c57600080fd5b505af1158015611360573d6000803e3d6000fd5b50505050610aa48383612805565b60135460009073ffffffffffffffffffffffffffffffffffffffff1633146113d85760405162461bcd60e51b815260206004820152600f60248201527f43616e27742063616c6c207468697300000000000000000000000000000000006044820152606401610891565b60008281526002602052604090205473ffffffffffffffffffffffffffffffffffffffff161515610766565b60065473ffffffffffffffffffffffffffffffffffffffff16331461146b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610891565b8051610e7590600e906020840190613346565b60008181526002602052604081205473ffffffffffffffffffffffffffffffffffffffff16806107665760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610891565b600e80546108d090613964565b600081815260096020526040902080546060919061154090613964565b80601f016020809104026020016040519081016040528092919081815260200182805461156c90613964565b80156115b95780601f1061158e576101008083540402835291602001916115b9565b820191906000526020600020905b81548152906001019060200180831161159c57829003601f168201915b50505050509050919050565b600073ffffffffffffffffffffffffffffffffffffffff82166116505760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610891565b5073ffffffffffffffffffffffffffffffffffffffff1660009081526003602052604090205490565b60065473ffffffffffffffffffffffffffffffffffffffff1633146116e05760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610891565b6116ea6000612855565b565b6000808290506001815110156117055750600092915050565b6019815111156117185750600092915050565b8060008151811061172b5761172b613a19565b01602001517fff00000000000000000000000000000000000000000000000000000000000000167f2000000000000000000000000000000000000000000000000000000000000000036117815750600092915050565b80600182516117909190613a02565b815181106117a0576117a0613a19565b01602001517fff00000000000000000000000000000000000000000000000000000000000000167f2000000000000000000000000000000000000000000000000000000000000000036117f65750600092915050565b60008160008151811061180b5761180b613a19565b01602001517fff0000000000000000000000000000000000000000000000000000000000000016905060005b8251811015611b4057600083828151811061185457611854613a19565b01602001517fff000000000000000000000000000000000000000000000000000000000000001690507f2000000000000000000000000000000000000000000000000000000000000000811480156118ed57507f20000000000000000000000000000000000000000000000000000000000000007fff000000000000000000000000000000000000000000000000000000000000008416145b156118fe5750600095945050505050565b7f30000000000000000000000000000000000000000000000000000000000000007fff0000000000000000000000000000000000000000000000000000000000000082161080159061199257507f39000000000000000000000000000000000000000000000000000000000000007fff00000000000000000000000000000000000000000000000000000000000000821611155b158015611a3057507f41000000000000000000000000000000000000000000000000000000000000007fff00000000000000000000000000000000000000000000000000000000000000821610801590611a2e57507f5a000000000000000000000000000000000000000000000000000000000000007fff00000000000000000000000000000000000000000000000000000000000000821611155b155b8015611acd57507f61000000000000000000000000000000000000000000000000000000000000007fff00000000000000000000000000000000000000000000000000000000000000821610801590611acb57507f7a000000000000000000000000000000000000000000000000000000000000007fff00000000000000000000000000000000000000000000000000000000000000821611155b155b8015611b1b57507f20000000000000000000000000000000000000000000000000000000000000007fff00000000000000000000000000000000000000000000000000000000000000821614155b15611b2c5750600095945050505050565b915080611b3881613a6d565b915050611837565b506001949350505050565b60065473ffffffffffffffffffffffffffffffffffffffff163314611bb25760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610891565b600755565b60065473ffffffffffffffffffffffffffffffffffffffff163314611c1e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610891565b600855565b60606001805461077b90613964565b60065473ffffffffffffffffffffffffffffffffffffffff163314611c995760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610891565b6000805b83518163ffffffff161015611d35576000848263ffffffff1681518110611cc657611cc6613a19565b602002602001015190506000848363ffffffff1681518110611cea57611cea613a19565b60200260200101519050611cfe87836128cc565b6000828152601060205260409020819055611d1d600c80546001019055565b92909201915080611d2d81613aa5565b915050611c9d565b5073ffffffffffffffffffffffffffffffffffffffff909316600090815260116020526040902080549093019092555050565b610e75338383612a5a565b611d7d3383612b6d565b611def5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610891565b611dfb84848484612cc3565b50505050565b60065473ffffffffffffffffffffffffffffffffffffffff163314611e685760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610891565b601380547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b60008181526002602052604090205460609073ffffffffffffffffffffffffffffffffffffffff16611f235760405162461bcd60e51b815260206004820152601f60248201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e006044820152606401610891565b600d5460609060ff161515600003611fc757600f8054611f4290613964565b80601f0160208091040260200160405190810160405280929190818152602001828054611f6e90613964565b8015611fbb5780601f10611f9057610100808354040283529160200191611fbb565b820191906000526020600020905b815481529060010190602001808311611f9e57829003601f168201915b50505050509050611fd2565b611fcf612d4c565b90505b6000815111611ff05760405180602001604052806000815250612052565b80611ffa84612d5b565b6040518060400160405280600581526020017f2e6a736f6e00000000000000000000000000000000000000000000000000000081525060405160200161204293929190613ac8565b6040516020818303038152906040525b9392505050565b60065473ffffffffffffffffffffffffffffffffffffffff1633146120c05760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610891565b610e758282612e90565b60065473ffffffffffffffffffffffffffffffffffffffff1633146121315760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610891565b600d80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016911515919091179055565b60065473ffffffffffffffffffffffffffffffffffffffff1633146121c95760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610891565b73ffffffffffffffffffffffffffffffffffffffff81166122525760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610891565b61225b81612855565b50565b80546001019055565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd0000000000000000000000000000000000000000000000000000000014806122fa57507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061076657507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff00000000000000000000000000000000000000000000000000000000831614610766565b600081815260046020526040902080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff841690811790915581906123a48261147e565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6123f43382612b6d565b6124665760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610891565b610aa4838383612eea565b61247a816116ec565b15156001146124cb5760405162461bcd60e51b815260206004820152601060248201527f4e6f7420612076616c6964206e616d65000000000000000000000000000000006044820152606401610891565b6000828152600960205260409081902090516002916124e991613b0b565b602060405180830381855afa158015612506573d6000803e3d6000fd5b5050506040513d601f19601f820116820180604052508101906125299190613bdd565b60028260405161253991906139b7565b602060405180830381855afa158015612556573d6000803e3d6000fd5b5050506040513d601f19601f820116820180604052508101906125799190613bdd565b036125c65760405162461bcd60e51b815260206004820152601b60248201527f4e616d652069732073616d65206173207468652063757272656e7400000000006044820152606401610891565b6125cf81610aa9565b1561261c5760405162461bcd60e51b815260206004820152600d60248201527f4e616d65207265736572766564000000000000000000000000000000000000006044820152606401610891565b6000828152600960205260408120805461263590613964565b905011156126e057600082815260096020526040902080546126e0919061265b90613964565b80601f016020809104026020016040519081016040528092919081815260200182805461268790613964565b80156126d45780601f106126a9576101008083540402835291602001916126d4565b820191906000526020600020905b8154815290600101906020018083116126b757829003601f168201915b5050505050600061311d565b6126eb81600161311d565b6000828152600960209081526040909120825161270a92840190613346565b50817f7e632a301794d8d4a81ea7e20f37d1947158d36e66403af04ba85dd194b66f1b8260405161273b91906134a0565b60405180910390a25050565b674563918244f4000060005b82518110156127d15761277f8484838151811061277257612772613a19565b60200260200101516128cc565b61278d600c80546001019055565b81601060008584815181106127a4576127a4613a19565b602002602001015181526020019081526020016000208190555080806127c990613a6d565b915050612753565b50905173ffffffffffffffffffffffffffffffffffffffff9092166000908152601160205260409020805491909202019055565b6000828152600a60209081526040909120825161282492840190613346565b50817fbe3e2fc72ea4bd0d860e908b1ee27aa9856809e62a75bfc0cb7f04b5d791873d8260405161273b91906134a0565b6006805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b73ffffffffffffffffffffffffffffffffffffffff821661292f5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610891565b60008181526002602052604090205473ffffffffffffffffffffffffffffffffffffffff16156129a15760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610891565b73ffffffffffffffffffffffffffffffffffffffff821660009081526003602052604081208054600192906129d7908490613bf6565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612ad55760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610891565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526005602090815260408083209487168084529482529182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b60008181526002602052604081205473ffffffffffffffffffffffffffffffffffffffff16612c045760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610891565b6000612c0f8361147e565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612c7e57508373ffffffffffffffffffffffffffffffffffffffff16612c66846107fe565b73ffffffffffffffffffffffffffffffffffffffff16145b80612cbb575073ffffffffffffffffffffffffffffffffffffffff80821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b612cce848484612eea565b612cda84848484613178565b611dfb5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610891565b6060600e805461077b90613964565b606081600003612d9e57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115612dc85780612db281613a6d565b9150612dc19050600a83613c3d565b9150612da2565b60008167ffffffffffffffff811115612de357612de361353a565b6040519080825280601f01601f191660200182016040528015612e0d576020820181803683370190505b5090505b8415612cbb57612e22600183613a02565b9150612e2f600a86613c51565b612e3a906030613bf6565b60f81b818381518110612e4f57612e4f613a19565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350612e89600a86613c3d565b9450612e11565b60008281526010602052604081205490612ea98461147e565b600094855260106020908152604080872086905573ffffffffffffffffffffffffffffffffffffffff90921686526011905290932080549190920301905550565b8273ffffffffffffffffffffffffffffffffffffffff16612f0a8261147e565b73ffffffffffffffffffffffffffffffffffffffff1614612f935760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201527f6f776e65720000000000000000000000000000000000000000000000000000006064820152608401610891565b73ffffffffffffffffffffffffffffffffffffffff821661301b5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610891565b61302660008261234a565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260036020526040812080546001929061305c908490613a02565b909155505073ffffffffffffffffffffffffffffffffffffffff82166000908152600360205260408120805460019290613097908490613bf6565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff86811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b80600b613129846110ca565b60405161313691906139b7565b90815260405190819003602001902080549115157fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff009092169190911790555050565b600073ffffffffffffffffffffffffffffffffffffffff84163b15611b40576040517f150b7a0200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85169063150b7a02906131ef903390899088908890600401613c65565b6020604051808303816000875af1925050508015613248575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016820190925261324591810190613cae565b60015b6132fb573d808015613276576040519150601f19603f3d011682016040523d82523d6000602084013e61327b565b606091505b5080516000036132f35760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610891565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a0200000000000000000000000000000000000000000000000000000000149050612cbb565b82805461335290613964565b90600052602060002090601f01602090048101928261337457600085556133ba565b82601f1061338d57805160ff19168380011785556133ba565b828001600101855582156133ba579182015b828111156133ba57825182559160200191906001019061339f565b506133c69291506133ca565b5090565b5b808211156133c657600081556001016133cb565b7fffffffff000000000000000000000000000000000000000000000000000000008116811461225b57600080fd5b60006020828403121561341f57600080fd5b8135612052816133df565b60005b8381101561344557818101518382015260200161342d565b83811115611dfb5750506000910152565b6000815180845261346e81602086016020860161342a565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6020815260006120526020830184613456565b6000602082840312156134c557600080fd5b5035919050565b803573ffffffffffffffffffffffffffffffffffffffff811681146134f057600080fd5b919050565b6000806040838503121561350857600080fd5b613511836134cc565b946020939093013593505050565b60006020828403121561353157600080fd5b612052826134cc565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff811182821017156135b0576135b061353a565b604052919050565b600067ffffffffffffffff8311156135d2576135d261353a565b61360360207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f86011601613569565b905082815283838301111561361757600080fd5b828260208301376000602084830101529392505050565b600082601f83011261363f57600080fd5b612052838335602085016135b8565b60006020828403121561366057600080fd5b813567ffffffffffffffff81111561367757600080fd5b612cbb8482850161362e565b60008060006060848603121561369857600080fd5b6136a1846134cc565b92506136af602085016134cc565b9150604084013590509250925092565b600080604083850312156136d257600080fd5b82359150602083013567ffffffffffffffff8111156136f057600080fd5b6136fc8582860161362e565b9150509250929050565b600082601f83011261371757600080fd5b8135602067ffffffffffffffff8211156137335761373361353a565b8160051b613742828201613569565b928352848101820192828101908785111561375c57600080fd5b83870192505b8483101561377b57823582529183019190830190613762565b979650505050505050565b6000806040838503121561379957600080fd5b6137a2836134cc565b9150602083013567ffffffffffffffff8111156137be57600080fd5b6136fc85828601613706565b6000806000606084860312156137df57600080fd5b6137e8846134cc565b9250602084013567ffffffffffffffff8082111561380557600080fd5b61381187838801613706565b9350604086013591508082111561382757600080fd5b5061383486828701613706565b9150509250925092565b803580151581146134f057600080fd5b6000806040838503121561386157600080fd5b61386a836134cc565b91506138786020840161383e565b90509250929050565b6000806000806080858703121561389757600080fd5b6138a0856134cc565b93506138ae602086016134cc565b925060408501359150606085013567ffffffffffffffff8111156138d157600080fd5b8501601f810187136138e257600080fd5b6138f1878235602084016135b8565b91505092959194509250565b6000806040838503121561391057600080fd5b50508035926020909101359150565b60006020828403121561393157600080fd5b6120528261383e565b6000806040838503121561394d57600080fd5b613956836134cc565b9150613878602084016134cc565b600181811c9082168061397857607f821691505b6020821081036139b1577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b600082516139c981846020870161342a565b9190910192915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600082821015613a1457613a146139d3565b500390565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600060ff821660ff84168060ff03821115613a6557613a656139d3565b019392505050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613a9e57613a9e6139d3565b5060010190565b600063ffffffff808316818103613abe57613abe6139d3565b6001019392505050565b60008451613ada81846020890161342a565b845190830190613aee81836020890161342a565b8451910190613b0181836020880161342a565b0195945050505050565b600080835481600182811c915080831680613b2757607f831692505b60208084108203613b5f577f4e487b710000000000000000000000000000000000000000000000000000000086526022600452602486fd5b818015613b735760018114613ba257613bcf565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00861689528489019650613bcf565b60008a81526020902060005b86811015613bc75781548b820152908501908301613bae565b505084890196505b509498975050505050505050565b600060208284031215613bef57600080fd5b5051919050565b60008219821115613c0957613c096139d3565b500190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600082613c4c57613c4c613c0e565b500490565b600082613c6057613c60613c0e565b500690565b600073ffffffffffffffffffffffffffffffffffffffff808716835280861660208401525083604083015260806060830152613ca46080830184613456565b9695505050505050565b600060208284031215613cc057600080fd5b8151612052816133df56fea264697066735822122031d6711bedec57a2d011a5c3ef9ac1e917dbe7cf73c257b0a9563630756f86fa64736f6c634300080d0033

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

00000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000005351da3ddeaf400e26daba5b378edd788e7a27380000000000000000000000000000000000000000000000003a4965bf58a40000000000000000000000000000000000000000000000000003bd913e6c1df4000000000000000000000000000000000000000000000000000000000000000000095370616365636f77730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000353435700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d6263526d7656746435394e516f5a454d68715a6638616247374d35443853625a675436677a3769616b3576372f000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d5077794d56597659413379467270726e6f6d71614e47544e41464336465a5359584c66626f4b764d376452562f00000000000000000000

-----Decoded View---------------
Arg [0] : _name (string): Spacecows
Arg [1] : _symbol (string): SCW
Arg [2] : _baseUri (string): ipfs://QmbcRmvVtd59NQoZEMhqZf8abG7M5D8SbZgT6gz7iak5v7/
Arg [3] : _notRevealedUri (string): ipfs://QmPwyMVYvYA3yFrprnomqaNGTNAFC6FZSYXLfboKvM7dRV/
Arg [4] : _tokenAddress (address): 0x5351DA3DDeaF400E26Daba5B378eDd788E7a2738
Arg [5] : _namePrice (uint256): 4200000000000000000
Arg [6] : _bioPrice (uint256): 69000000000000000000

-----Encoded View---------------
17 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000160
Arg [3] : 00000000000000000000000000000000000000000000000000000000000001c0
Arg [4] : 0000000000000000000000005351da3ddeaf400e26daba5b378edd788e7a2738
Arg [5] : 0000000000000000000000000000000000000000000000003a4965bf58a40000
Arg [6] : 000000000000000000000000000000000000000000000003bd913e6c1df40000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000009
Arg [8] : 5370616365636f77730000000000000000000000000000000000000000000000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [10] : 5343570000000000000000000000000000000000000000000000000000000000
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [12] : 697066733a2f2f516d6263526d7656746435394e516f5a454d68715a66386162
Arg [13] : 47374d35443853625a675436677a3769616b3576372f00000000000000000000
Arg [14] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [15] : 697066733a2f2f516d5077794d56597659413379467270726e6f6d71614e4754
Arg [16] : 4e41464336465a5359584c66626f4b764d376452562f00000000000000000000


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.