ETH Price: $2,606.35 (+0.97%)

Token

Tiny Familiars (TFT)
 

Overview

Max Total Supply

148 TFT

Holders

95

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
cranksy.eth
Balance
1 TFT
0x8bfde2a103d6985f81f2be40488c8a2b36fbe3de
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
TinyFamiliar

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 2000 runs

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

import "@openzeppelin/contracts-upgradeable/token/ERC721/extensions/ERC721EnumerableUpgradeable.sol";
import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol";
import "@openzeppelin/contracts-upgradeable/utils/StringsUpgradeable.sol";
//import "@openzeppelin/contracts-upgradeable/utils/CountersUpgradeable.sol";
import "@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol";
import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol";

import "../interfaces/ITinyFamiliar.sol";
import "../interfaces/ITinyFamiliarMetadata.sol";

contract TinyFamiliar is
Initializable,
ERC721EnumerableUpgradeable,
OwnableUpgradeable,
PausableUpgradeable,
ITinyFamiliar,
ITinyFamiliarMetadata
{
    //    using CountersUpgradeable for CountersUpgradeable.Counter;
    using StringsUpgradeable for uint256;

    //    CountersUpgradeable.Counter private _tokenIdTracker;
    uint256 public TF_MAX;

    uint256 public mintPrice;
    uint256 public whiteListMintPrice;

    bool public isActive;
    bool public isPresaleActive;
    bool public isPrivateSaleActive;
    string public baseExtension;
    string public proof;

    mapping(address => uint256) private _presaleList;
    mapping(address => uint256) private _presaleClaimed;

    mapping(address => bool) private _privateSaleList;
    mapping(address => uint256) private _privateSaleClaimed;

    // @dev For OpenSea?
    string private _contractURI;

    string private _tokenBaseURI;

    // owners
    address t1;
    address t2;

    function initialize(
        string memory initBaseURI
//    ,
//            address initT1,
//            address initT2
    ) public initializer {
        __ERC721_init("Tiny Familiars", "TFT");
        __ERC721Enumerable_init();
        __Ownable_init();
        __Pausable_init();

        TF_MAX = 144;

        _tokenBaseURI = initBaseURI;
        _contractURI = "https://tinyfamiliars.com/tinyFamiliars.json";

//                t1 = initT1;
        t1 = 0x1496961c0DA108BE9689407EDAa90cf417fdC41C; // 25%
//
//                t2 = initT2;
        t2 = 0xeA2a9ca3d62BEF63Cf562B59c5709B32Ed4c0eca; // 75%

        mintPrice = 0.08 ether;
        whiteListMintPrice = 0.06 ether;

        isActive = false;
        isPresaleActive = false;
        isPrivateSaleActive = false;
        baseExtension = ".json";
    }

    // << Pausable
    function pause() public onlyOwner {
        _pause();
    }

    function unpause() public onlyOwner {
        _unpause();
    }

    //    function _beforeTokenTransfer(address from, address to, uint256 tokenId)
    //    internal
    //    whenNotPaused
    //    override
    //    {
    //        super._beforeTokenTransfer(from, to, tokenId);
    //    }
    // Pausable >>


    // << Presale functionality
    function addToPresale(address[] calldata addresses, uint256 numAllowedToMint)
    external
    override
    onlyOwner
    {
        require(numAllowedToMint > 0, "numAllowedToMint must be greater than 0");
        for (uint256 i = 0; i < addresses.length; i++) {
            require(addresses[i] != address(0), "Can't add the null address");

            _presaleList[addresses[i]] = numAllowedToMint;
            /**
             * @dev We don't want to reset _presaleClaimed count
             * if we try to add someone more than once.
             */
            _presaleClaimed[addresses[i]] > 0
            ? _presaleClaimed[addresses[i]]
            : 0;
        }
    }

    function presaleMintQty(address addr) external view override returns (uint256) {
        return _presaleList[addr] > 0 ? _presaleList[addr] : 0;
    }

    function onPresaleList(address addr) external view override returns (bool) {
        return _presaleList[addr] > 0;
    }

    function removeFromPresale(address[] calldata addresses)
    external
    override
    onlyOwner
    {
        for (uint256 i = 0; i < addresses.length; i++) {
            require(addresses[i] != address(0), "Can't add the null address");

            /// @dev We don't want to reset possible _presaleClaimed numbers.
            _presaleList[addresses[i]] = 0;
        }
    }

    /**
     * @dev We want to be able to distinguish tokens bought during isPresaleActive
     */
    function presaleClaimedBy(address owner)
    external
    view
    override
    returns (uint256)
    {
        require(owner != address(0), "Zero address not on Allow List");

        return _presaleClaimed[owner];
    }
    // Presale functionality >>

    // << PrivateSale functionality
    function addToPrivateSale(address[] calldata addresses)
    external
    override
    onlyOwner
    {
        for (uint256 i = 0; i < addresses.length; i++) {
            require(addresses[i] != address(0), "Can't add the null address");

            _privateSaleList[addresses[i]] = true;
            /**
             * @dev We don't want to reset _privateSaleClaimed count
             * if we try to add someone more than once.
             */
            _privateSaleClaimed[addresses[i]] > 0
            ? _privateSaleClaimed[addresses[i]]
            : 0;
        }
    }

    function onPrivateSaleList(address addr) external view override returns (bool) {
        return _privateSaleList[addr];
    }

    function removeFromPrivateSale(address[] calldata addresses)
    external
    override
    onlyOwner
    {
        for (uint256 i = 0; i < addresses.length; i++) {
            require(addresses[i] != address(0), "Can't add the null address");

            /// @dev We don't want to reset possible _presaleClaimed numbers.
            _privateSaleList[addresses[i]] = false;
        }
    }

    /**
     * @dev We want to be able to distinguish tokens bought during isPresaleActive
     */
    function privateSaleClaimedBy(address owner)
    external
    view
    override
    returns (uint256)
    {
        require(owner != address(0), "Zero address not on Allow List");

        return _privateSaleClaimed[owner];
    }
    // PrivateSale functionality >>

    function mintPublic(uint256 numberOfTokens)
    external
    whenNotPaused
    payable
    override
    {
        require(isActive, "Contract is not active");
        require(!isPrivateSaleActive, "Private Sale only");
        require(!isPresaleActive, "Presale only");
//        require(totalSupply() < TF_MAX, "All tokens have been minted");
        require(
            totalSupply() + numberOfTokens <= TF_MAX,
            "Not enough tokens left to mint"
        );
        require(
            mintPrice * numberOfTokens <= msg.value,
            "ETH amount is not sufficient"
        );

        for (uint256 i = 0; i < numberOfTokens; i++) {
            uint256 tokenId = totalSupply() + 1;
            _safeMint(msg.sender, tokenId);
        }
    }

    function mintPresale(uint256 numberOfTokens)
    external
    payable
    override
    whenNotPaused
    {
        require(isActive, "Contract is not active");
        require(isPresaleActive, "Presale is not active");
//        require(totalSupply() < TF_MAX, "All tokens have been minted");
        require(numberOfTokens + _presaleClaimed[msg.sender] <= _presaleList[msg.sender], "You cannot mint any more Presale tokens");
        require(
            totalSupply() + numberOfTokens <= TF_MAX,
            "Not enough tokens left to mint"
        );
        require(
            whiteListMintPrice * numberOfTokens <= msg.value,
            "ETH amount is not sufficient"
        );

        for (uint256 i = 0; i < numberOfTokens; i++) {
            /**
             * We don't want our tokens to start at 0 but at 1.
             */
            uint256 tokenId = totalSupply() + 1;
            _presaleClaimed[msg.sender] += 1;
            _safeMint(msg.sender, tokenId);
        }
    }

    function mintPrivateSale()
    external
    payable
    override
    whenNotPaused
    {
        require(isActive, "Contract is not active");
        require(isPrivateSaleActive, "Private sale is not active");
        require(_privateSaleList[msg.sender], "You are not on the Allow List");
//        require(totalSupply() < TF_MAX, "All tokens have been minted");
        require(_privateSaleClaimed[msg.sender] < 1, "Exceeded max available to purchase");
        require(
            totalSupply() + 1 <= TF_MAX,
            "Not enough tokens left to mint"
        );
        require(
            mintPrice <= msg.value,
            "ETH amount is not sufficient"
        );

        //        for (uint256 i = 0; i < numberOfTokens; i++) {
        /**
         * We don't want our tokens to start at 0 but at 1.
         */
        uint256 tokenId = totalSupply() + 1;
        _privateSaleClaimed[msg.sender] += 1;
        _safeMint(msg.sender, tokenId);
        //        }
    }

    /**
     * @dev For OpenSea?
     * a contractURI method to your ERC721 or ERC1155 contract that returns a URL for the storefront-level metadata for your contract.
     * https://docs.opensea.io/docs/contract-level-metadata
     */
    function contractURI() public view override returns (string memory) {
        return _contractURI;
    }

    function tokenURI(uint256 tokenId)
    public
    view
    override(ERC721Upgradeable)
    returns (string memory)
    {
        require(_exists(tokenId), "Token does not exist");

        string memory currentBaseURI = _baseURI();
        return
        string(
            abi.encodePacked(
                currentBaseURI,
                tokenId.toString(),
                baseExtension
            )
        );
    }

    function walletOfOwner(address _owner)
    public
    view
    override
    returns (uint256[] memory)
    {
        uint256 ownerTokenCount = balanceOf(_owner);
        uint256[] memory tokenIds = new uint256[](ownerTokenCount);
        for (uint256 i; i < ownerTokenCount; i++) {
            tokenIds[i] = tokenOfOwnerByIndex(_owner, i);
        }
        return tokenIds;
    }

    // Admin methods
    function ownerMint(uint256 quantity) external override onlyOwner {
//        require(totalSupply() < TF_MAX, "All tokens have been minted");
        require(
            totalSupply() + quantity <= TF_MAX,
            "Not enough tokens left to mint"
        );
        for (uint256 i = 0; i < quantity; i++) {
            _mintInternal(msg.sender);
        }
    }

    function gift(address[] calldata to) external override onlyOwner {
//        require(totalSupply() < TF_MAX, "All tokens have been minted");
        require(
            totalSupply() + to.length <= TF_MAX,
            "Not enough tokens left to gift"
        );

        for (uint256 i = 0; i < to.length; i++) {
            /// @dev We don't want our tokens to start at 0 but at 1.
            uint256 tokenId = totalSupply() + 1;
            _safeMint(to[i], tokenId);
        }
    }

    function setIsActive(bool _isActive) external override onlyOwner {
        isActive = _isActive;
    }

    function setIsPresaleActive(bool _isActive) external override onlyOwner
    {
        isPresaleActive = _isActive;
        isActive = _isActive;
        if (_isActive) {
            isPrivateSaleActive = false;
        }
    }

    function setIsPrivateSaleActive(bool _isActive) external override onlyOwner
    {
        isPrivateSaleActive = _isActive;
        if (_isActive) {
            isActive = _isActive;
            isPresaleActive = false;
        }
    }

    //    function currentState()
    //    public
    //    view
    //    returns (bool[3] memory) {
    //        return [isActive, isPresaleActive, isPrivateSaleActive];
    //    }
    //
        function setProof(string calldata proofString)
        external
        override
        onlyOwner
        whenNotPaused
        {
            proof = proofString;
        }

    function setContractURI(string calldata URI)
    external
    override
    onlyOwner
    whenNotPaused
    {
        _contractURI = URI;
    }


    function setTFMAX(uint256 _TF_MAX)
    external
    onlyOwner
    {
        TF_MAX =  _TF_MAX;
    }

    function setBaseURI(string calldata URI)
    external
    override
    onlyOwner
    whenNotPaused
    {
        _tokenBaseURI = URI;
    }


    function emergencyWithdraw() external payable override {
        require(msg.sender == t1, "Wrong sender address");
        (bool success,) = payable(t1).call{value : address(this).balance}("");
        require(success);
    }

    function withdrawForAll() external payable override onlyOwner {
        uint256 _quarter = address(this).balance / 4;
        require(payable(t1).send(_quarter));
        require(payable(t2).send(_quarter * 3));
    }

    function setMintPrice(uint256 price) external override onlyOwner {
        mintPrice = price;
    }


    function setWhiteListMintPrice(uint256 price) external override onlyOwner {
        whiteListMintPrice = price;
    }

    function setBaseExtension(string memory _newBaseExtension)
    public
    onlyOwner
    {
        baseExtension = _newBaseExtension;
    }

    // internal
    function _baseURI() internal view virtual override returns (string memory) {
        return _tokenBaseURI;
    }

    function _mintInternal(address owner) private {
        uint256 tokenId = totalSupply() + 1;
        //TF_OWNER + TF_GIFT + totalPublicSupply + 1;
        //        totalTokenSupply += 1;
        _safeMint(owner, tokenId);
    }

    function isUpgrade()
    external pure returns (bool){
        return false;
    }
}

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

pragma solidity ^0.8.0;

import "../ERC721Upgradeable.sol";
import "./IERC721EnumerableUpgradeable.sol";
import "../../../proxy/utils/Initializable.sol";

/**
 * @dev This implements an optional extension of {ERC721} defined in the EIP that adds
 * enumerability of all the token ids in the contract as well as all token ids owned by each
 * account.
 */
abstract contract ERC721EnumerableUpgradeable is Initializable, ERC721Upgradeable, IERC721EnumerableUpgradeable {
    function __ERC721Enumerable_init() internal onlyInitializing {
    }

    function __ERC721Enumerable_init_unchained() internal onlyInitializing {
    }
    // Mapping from owner to list of owned token IDs
    mapping(address => mapping(uint256 => uint256)) private _ownedTokens;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev This empty reserved space is put in place to allow future versions to add new
     * variables without shifting down storage in the inheritance chain.
     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
     */
    uint256[46] private __gap;
}

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

pragma solidity ^0.8.0;

import "../utils/ContextUpgradeable.sol";
import "../proxy/utils/Initializable.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 OwnableUpgradeable is Initializable, ContextUpgradeable {
    address private _owner;

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    function __Ownable_init() internal onlyInitializing {
        __Ownable_init_unchained();
    }

    function __Ownable_init_unchained() internal onlyInitializing {
        _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);
    }

    /**
     * @dev This empty reserved space is put in place to allow future versions to add new
     * variables without shifting down storage in the inheritance chain.
     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
     */
    uint256[49] private __gap;
}

File 4 of 17 : StringsUpgradeable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library StringsUpgradeable {
    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 5 of 17 : PausableUpgradeable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/Pausable.sol)

pragma solidity ^0.8.0;

import "../utils/ContextUpgradeable.sol";
import "../proxy/utils/Initializable.sol";

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract PausableUpgradeable is Initializable, ContextUpgradeable {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    function __Pausable_init() internal onlyInitializing {
        __Pausable_init_unchained();
    }

    function __Pausable_init_unchained() internal onlyInitializing {
        _paused = false;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        require(!paused(), "Pausable: paused");
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        require(paused(), "Pausable: not paused");
        _;
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }

    /**
     * @dev This empty reserved space is put in place to allow future versions to add new
     * variables without shifting down storage in the inheritance chain.
     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
     */
    uint256[49] private __gap;
}

File 6 of 17 : Initializable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (proxy/utils/Initializable.sol)

pragma solidity ^0.8.2;

import "../../utils/AddressUpgradeable.sol";

/**
 * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed
 * behind a proxy. Since proxied contracts do not make use of a constructor, it's common to move constructor logic to an
 * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer
 * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.
 *
 * The initialization functions use a version number. Once a version number is used, it is consumed and cannot be
 * reused. This mechanism prevents re-execution of each "step" but allows the creation of new initialization steps in
 * case an upgrade adds a module that needs to be initialized.
 *
 * For example:
 *
 * [.hljs-theme-light.nopadding]
 * ```
 * contract MyToken is ERC20Upgradeable {
 *     function initialize() initializer public {
 *         __ERC20_init("MyToken", "MTK");
 *     }
 * }
 * contract MyTokenV2 is MyToken, ERC20PermitUpgradeable {
 *     function initializeV2() reinitializer(2) public {
 *         __ERC20Permit_init("MyToken");
 *     }
 * }
 * ```
 *
 * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as
 * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}.
 *
 * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure
 * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.
 *
 * [CAUTION]
 * ====
 * Avoid leaving a contract uninitialized.
 *
 * An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation
 * contract, which may impact the proxy. To prevent the implementation contract from being used, you should invoke
 * the {_disableInitializers} function in the constructor to automatically lock it when it is deployed:
 *
 * [.hljs-theme-light.nopadding]
 * ```
 * /// @custom:oz-upgrades-unsafe-allow constructor
 * constructor() {
 *     _disableInitializers();
 * }
 * ```
 * ====
 */
abstract contract Initializable {
    /**
     * @dev Indicates that the contract has been initialized.
     * @custom:oz-retyped-from bool
     */
    uint8 private _initialized;

    /**
     * @dev Indicates that the contract is in the process of being initialized.
     */
    bool private _initializing;

    /**
     * @dev Triggered when the contract has been initialized or reinitialized.
     */
    event Initialized(uint8 version);

    /**
     * @dev A modifier that defines a protected initializer function that can be invoked at most once. In its scope,
     * `onlyInitializing` functions can be used to initialize parent contracts. Equivalent to `reinitializer(1)`.
     */
    modifier initializer() {
        bool isTopLevelCall = _setInitializedVersion(1);
        if (isTopLevelCall) {
            _initializing = true;
        }
        _;
        if (isTopLevelCall) {
            _initializing = false;
            emit Initialized(1);
        }
    }

    /**
     * @dev A modifier that defines a protected reinitializer function that can be invoked at most once, and only if the
     * contract hasn't been initialized to a greater version before. In its scope, `onlyInitializing` functions can be
     * used to initialize parent contracts.
     *
     * `initializer` is equivalent to `reinitializer(1)`, so a reinitializer may be used after the original
     * initialization step. This is essential to configure modules that are added through upgrades and that require
     * initialization.
     *
     * Note that versions can jump in increments greater than 1; this implies that if multiple reinitializers coexist in
     * a contract, executing them in the right order is up to the developer or operator.
     */
    modifier reinitializer(uint8 version) {
        bool isTopLevelCall = _setInitializedVersion(version);
        if (isTopLevelCall) {
            _initializing = true;
        }
        _;
        if (isTopLevelCall) {
            _initializing = false;
            emit Initialized(version);
        }
    }

    /**
     * @dev Modifier to protect an initialization function so that it can only be invoked by functions with the
     * {initializer} and {reinitializer} modifiers, directly or indirectly.
     */
    modifier onlyInitializing() {
        require(_initializing, "Initializable: contract is not initializing");
        _;
    }

    /**
     * @dev Locks the contract, preventing any future reinitialization. This cannot be part of an initializer call.
     * Calling this in the constructor of a contract will prevent that contract from being initialized or reinitialized
     * to any version. It is recommended to use this to lock implementation contracts that are designed to be called
     * through proxies.
     */
    function _disableInitializers() internal virtual {
        _setInitializedVersion(type(uint8).max);
    }

    function _setInitializedVersion(uint8 version) private returns (bool) {
        // If the contract is initializing we ignore whether _initialized is set in order to support multiple
        // inheritance patterns, but we only do this in the context of a constructor, and for the lowest level
        // of initializers, because in other contexts the contract may have been reentered.
        if (_initializing) {
            require(
                version == 1 && !AddressUpgradeable.isContract(address(this)),
                "Initializable: contract is already initialized"
            );
            return false;
        } else {
            require(_initialized < version, "Initializable: contract is already initialized");
            _initialized = version;
            return true;
        }
    }
}

File 7 of 17 : ITinyFamiliar.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.7;

interface ITinyFamiliar {
    function addToPresale(address[] calldata addresses, uint256 numAllowedToMint) external;
    function addToPrivateSale(address[] calldata addresses) external;

    function presaleMintQty(address addr) external returns (uint256);
    function onPresaleList(address addr) external returns (bool);
    function onPrivateSaleList(address addr) external returns (bool);

    function removeFromPresale(address[] calldata addresses) external;
    function removeFromPrivateSale(address[] calldata addresses) external;

    function presaleClaimedBy(address owner) external returns (uint256);
    function privateSaleClaimedBy(address owner) external returns (uint256);

    function mintPublic(uint256 numberOfTokens) external payable;

    function mintPresale(uint256 numberOfTokens) external payable;
    function mintPrivateSale() external payable;

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

    function ownerMint(uint256 quantity) external;

    function gift(address[] calldata to) external;

    function setIsActive(bool isActive) external;

    function setIsPresaleActive(bool isPresaleActive) external;
    function setIsPrivateSaleActive(bool isPrivateSaleActive) external;

    function setProof(string memory proofString) external;

    function emergencyWithdraw() external payable;

    function withdrawForAll() external payable;

    function setMintPrice(uint256 price) external;

    function setWhiteListMintPrice(uint256 price) external;
}

File 8 of 17 : ITinyFamiliarMetadata.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.7;

interface ITinyFamiliarMetadata {
    function setContractURI(string calldata URI) external;

    function setBaseURI(string calldata URI) external;

    function contractURI() external view returns (string memory);
}

File 9 of 17 : ERC721Upgradeable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

import "./IERC721Upgradeable.sol";
import "./IERC721ReceiverUpgradeable.sol";
import "./extensions/IERC721MetadataUpgradeable.sol";
import "../../utils/AddressUpgradeable.sol";
import "../../utils/ContextUpgradeable.sol";
import "../../utils/StringsUpgradeable.sol";
import "../../utils/introspection/ERC165Upgradeable.sol";
import "../../proxy/utils/Initializable.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 ERC721Upgradeable is Initializable, ContextUpgradeable, ERC165Upgradeable, IERC721Upgradeable, IERC721MetadataUpgradeable {
    using AddressUpgradeable for address;
    using StringsUpgradeable 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.
     */
    function __ERC721_init(string memory name_, string memory symbol_) internal onlyInitializing {
        __ERC721_init_unchained(name_, symbol_);
    }

    function __ERC721_init_unchained(string memory name_, string memory symbol_) internal onlyInitializing {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165Upgradeable, IERC165Upgradeable) returns (bool) {
        return
            interfaceId == type(IERC721Upgradeable).interfaceId ||
            interfaceId == type(IERC721MetadataUpgradeable).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 overridden 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 = ERC721Upgradeable.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 = ERC721Upgradeable.ownerOf(tokenId);
        return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == 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 = ERC721Upgradeable.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(ERC721Upgradeable.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(ERC721Upgradeable.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 IERC721ReceiverUpgradeable(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
                return retval == IERC721ReceiverUpgradeable.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 {}

    /**
     * @dev This empty reserved space is put in place to allow future versions to add new
     * variables without shifting down storage in the inheritance chain.
     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
     */
    uint256[44] private __gap;
}

File 10 of 17 : IERC721EnumerableUpgradeable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;

import "../IERC721Upgradeable.sol";

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

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

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

File 11 of 17 : IERC721Upgradeable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721Upgradeable is IERC165Upgradeable {
    /**
     * @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`.
     *
     * 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;

    /**
     * @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 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 the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @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);
}

File 12 of 17 : IERC721ReceiverUpgradeable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (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 IERC721ReceiverUpgradeable {
    /**
     * @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 `IERC721Receiver.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

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

pragma solidity ^0.8.0;

import "../IERC721Upgradeable.sol";

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

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

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

File 14 of 17 : AddressUpgradeable.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 AddressUpgradeable {
    /**
     * @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 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 15 of 17 : ContextUpgradeable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;
import "../proxy/utils/Initializable.sol";

/**
 * @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 ContextUpgradeable is Initializable {
    function __Context_init() internal onlyInitializing {
    }

    function __Context_init_unchained() internal onlyInitializing {
    }
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

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

    /**
     * @dev This empty reserved space is put in place to allow future versions to add new
     * variables without shifting down storage in the inheritance chain.
     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
     */
    uint256[50] private __gap;
}

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

pragma solidity ^0.8.0;

import "./IERC165Upgradeable.sol";
import "../../proxy/utils/Initializable.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 ERC165Upgradeable is Initializable, IERC165Upgradeable {
    function __ERC165_init() internal onlyInitializing {
    }

    function __ERC165_init_unchained() internal onlyInitializing {
    }
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165Upgradeable).interfaceId;
    }

    /**
     * @dev This empty reserved space is put in place to allow future versions to add new
     * variables without shifting down storage in the inheritance chain.
     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
     */
    uint256[50] private __gap;
}

File 17 of 17 : IERC165Upgradeable.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 IERC165Upgradeable {
    /**
     * @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": 2000,
    "details": {
      "yul": true,
      "yulDetails": {
        "stackAllocation": true
      }
    }
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"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":false,"internalType":"uint8","name":"version","type":"uint8"}],"name":"Initialized","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":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"TF_MAX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"},{"internalType":"uint256","name":"numAllowedToMint","type":"uint256"}],"name":"addToPresale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"}],"name":"addToPrivateSale","outputs":[],"stateMutability":"nonpayable","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":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"emergencyWithdraw","outputs":[],"stateMutability":"payable","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":"to","type":"address[]"}],"name":"gift","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"initBaseURI","type":"string"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"isActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPresaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPrivateSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isUpgrade","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mintPresale","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintPrivateSale","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mintPublic","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"onPresaleList","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"onPrivateSaleList","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"ownerMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"presaleClaimedBy","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"presaleMintQty","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"privateSaleClaimedBy","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"proof","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"}],"name":"removeFromPresale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"}],"name":"removeFromPrivateSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseExtension","type":"string"}],"name":"setBaseExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"URI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"URI","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isActive","type":"bool"}],"name":"setIsActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isActive","type":"bool"}],"name":"setIsPresaleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isActive","type":"bool"}],"name":"setIsPrivateSaleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"name":"setMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"proofString","type":"string"}],"name":"setProof","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_TF_MAX","type":"uint256"}],"name":"setTFMAX","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"name":"setWhiteListMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whiteListMintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawForAll","outputs":[],"stateMutability":"payable","type":"function"}]

608060405234801561001057600080fd5b50614a55806100206000396000f3fe6080604052600436106103975760003560e01c80638456cb59116101dc578063db2e21bc11610102578063efd0cbf9116100a0578063f4a0a5281161006f578063f4a0a52814610a69578063f62d188814610a89578063f759867a14610aa9578063faf924cf14610abc57600080fd5b8063efd0cbf9146109f6578063f068fea014610a09578063f19e75d414610a29578063f2fde38b14610a4957600080fd5b8063e8a3d485116100dc578063e8a3d48514610970578063e985e9c514610985578063ecc7f27d146109ce578063ef608540146109ee57600080fd5b8063db2e21bc14610934578063dba3d9171461093c578063e38a303b1461095c57600080fd5b8063b88d4fde1161017a578063c87b56dd11610149578063c87b56dd146108bc578063d24bbb3a146108dc578063d8a9e1e9146108f3578063da3ef23f1461091457600080fd5b8063b88d4fde14610850578063bf97ef1e14610870578063c3d24e3414610887578063c6682862146108a757600080fd5b8063938e3d7b116101b6578063938e3d7b146107db57806395d89b41146107fb5780639c81695514610810578063a22cb4651461083057600080fd5b80638456cb59146107a05780638da5cb5b146107b55780638ed938a7146107d357600080fd5b806342842e0e116102c15780635c975abb1161025f5780636817c76c1161022e5780636817c76c14610734578063698048ea1461074b57806370a082311461076b578063715018a61461078b57600080fd5b80635c975abb146106a357806360954ac1146106bb57806360d938dc146106f45780636352211e1461071457600080fd5b80634878868c1161029b5780634878868c146106235780634bc078f4146106435780634f6ccce71461066357806355f804b31461068357600080fd5b806342842e0e146105b6578063438b6300146105d6578063443da2a21461060357600080fd5b8063163e1e61116103395780632750fc78116103085780632750fc78146105415780632f745c591461056157806339bda38e146105815780633f4ba83a146105a157600080fd5b8063163e1e61146104c757806318160ddd146104e757806322f3e2d41461050657806323b872dd1461052157600080fd5b8063081812fc11610375578063081812fc14610415578063095ea7b31461044d5780630bb308411461046d57806315336f80146104a757600080fd5b806301ffc9a71461039c57806306fdde03146103d157806307ff4390146103f3575b600080fd5b3480156103a857600080fd5b506103bc6103b73660046145ae565b610ad1565b60405190151581526020015b60405180910390f35b3480156103dd57600080fd5b506103e6610b2d565b6040516103c8919061482c565b3480156103ff57600080fd5b5061041361040e3660046146a3565b610bbf565b005b34801561042157600080fd5b506104356104303660046146a3565b610c12565b6040516001600160a01b0390911681526020016103c8565b34801561045957600080fd5b506104136104683660046144db565b610cb8565b34801561047957600080fd5b506103bc6104883660046143a4565b6001600160a01b03166000908152610135602052604090205460ff1690565b3480156104b357600080fd5b506104136104c23660046145e8565b610dea565b3480156104d357600080fd5b506104136104e2366004614505565b610e85565b3480156104f357600080fd5b506099545b6040519081526020016103c8565b34801561051257600080fd5b50610130546103bc9060ff1681565b34801561052d57600080fd5b5061041361053c3660046143f9565b610f99565b34801561054d57600080fd5b5061041361055c366004614593565b611020565b34801561056d57600080fd5b506104f861057c3660046144db565b61107c565b34801561058d57600080fd5b5061041361059c3660046146a3565b611124565b3480156105ad57600080fd5b50610413611172565b3480156105c257600080fd5b506104136105d13660046143f9565b6111c4565b3480156105e257600080fd5b506105f66105f13660046143a4565b6111df565b6040516103c891906147e8565b34801561060f57600080fd5b5061041361061e366004614593565b611281565b34801561062f57600080fd5b5061041361063e366004614505565b6112fe565b34801561064f57600080fd5b506104f861065e3660046143a4565b611439565b34801561066f57600080fd5b506104f861067e3660046146a3565b6114ae565b34801561068f57600080fd5b5061041361069e3660046145e8565b611552565b3480156106af57600080fd5b5060fb5460ff166103bc565b3480156106c757600080fd5b506103bc6106d63660046143a4565b6001600160a01b031660009081526101336020526040902054151590565b34801561070057600080fd5b50610130546103bc90610100900460ff1681565b34801561072057600080fd5b5061043561072f3660046146a3565b6115ed565b34801561074057600080fd5b506104f861012e5481565b34801561075757600080fd5b506104f86107663660046143a4565b611678565b34801561077757600080fd5b506104f86107863660046143a4565b6116ed565b34801561079757600080fd5b50610413611787565b3480156107ac57600080fd5b506104136117d9565b3480156107c157600080fd5b5060c9546001600160a01b0316610435565b610413611829565b3480156107e757600080fd5b506104136107f63660046145e8565b611b00565b34801561080757600080fd5b506103e6611b9b565b34801561081c57600080fd5b5061041361082b366004614505565b611baa565b34801561083c57600080fd5b5061041361084b3660046144b1565b611cd7565b34801561085c57600080fd5b5061041361086b366004614435565b611ce6565b34801561087c57600080fd5b506104f861012f5481565b34801561089357600080fd5b506104136108a2366004614593565b611d74565b3480156108b357600080fd5b506103e6611df7565b3480156108c857600080fd5b506103e66108d73660046146a3565b611e86565b3480156108e857600080fd5b506104f861012d5481565b3480156108ff57600080fd5b50610130546103bc9062010000900460ff1681565b34801561092057600080fd5b5061041361092f36600461465a565b611f2f565b610413611f8b565b34801561094857600080fd5b506104f86109573660046143a4565b612047565b34801561096857600080fd5b5060006103bc565b34801561097c57600080fd5b506103e6612089565b34801561099157600080fd5b506103bc6109a03660046143c6565b6001600160a01b039182166000908152606a6020908152604080832093909416825291909152205460ff1690565b3480156109da57600080fd5b506104136109e9366004614505565b612099565b61041361227e565b610413610a043660046146a3565b612342565b348015610a1557600080fd5b50610413610a24366004614547565b612592565b348015610a3557600080fd5b50610413610a443660046146a3565b6127e8565b348015610a5557600080fd5b50610413610a643660046143a4565b6128bc565b348015610a7557600080fd5b50610413610a843660046146a3565b612989565b348015610a9557600080fd5b50610413610aa436600461465a565b6129d7565b610413610ab73660046146a3565b612bf9565b348015610ac857600080fd5b506103e6612eb4565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f780e9d63000000000000000000000000000000000000000000000000000000001480610b275750610b2782612ec2565b92915050565b606060658054610b3c906148cd565b80601f0160208091040260200160405190810160405280929190818152602001828054610b68906148cd565b8015610bb55780601f10610b8a57610100808354040283529160200191610bb5565b820191906000526020600020905b815481529060010190602001808311610b9857829003601f168201915b5050505050905090565b60c9546001600160a01b03163314610c0c5760405162461bcd60e51b81526020600482018190526024820152600080516020614a0083398151915260448201526064015b60405180910390fd5b61012f55565b6000818152606760205260408120546001600160a01b0316610c9c5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610c03565b506000908152606960205260409020546001600160a01b031690565b6000610cc3826115ed565b9050806001600160a01b0316836001600160a01b03161415610d4d5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610c03565b336001600160a01b0382161480610d695750610d6981336109a0565b610ddb5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610c03565b610de58383612fa5565b505050565b60c9546001600160a01b03163314610e325760405162461bcd60e51b81526020600482018190526024820152600080516020614a008339815191526044820152606401610c03565b60fb5460ff1615610e785760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610c03565b610de561013283836141ae565b60c9546001600160a01b03163314610ecd5760405162461bcd60e51b81526020600482018190526024820152600080516020614a008339815191526044820152606401610c03565b61012d5481610edb60995490565b610ee5919061483f565b1115610f335760405162461bcd60e51b815260206004820152601e60248201527f4e6f7420656e6f75676820746f6b656e73206c65667420746f206769667400006044820152606401610c03565b60005b81811015610de5576000610f4960995490565b610f5490600161483f565b9050610f86848484818110610f6b57610f6b614979565b9050602002016020810190610f8091906143a4565b82613020565b5080610f9181614908565b915050610f36565b610fa3338261303a565b6110155760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610c03565b610de5838383613142565b60c9546001600160a01b031633146110685760405162461bcd60e51b81526020600482018190526024820152600080516020614a008339815191526044820152606401610c03565b610130805460ff1916911515919091179055565b6000611087836116ed565b82106110fb5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201527f74206f6620626f756e64730000000000000000000000000000000000000000006064820152608401610c03565b506001600160a01b03919091166000908152609760209081526040808320938352929052205490565b60c9546001600160a01b0316331461116c5760405162461bcd60e51b81526020600482018190526024820152600080516020614a008339815191526044820152606401610c03565b61012d55565b60c9546001600160a01b031633146111ba5760405162461bcd60e51b81526020600482018190526024820152600080516020614a008339815191526044820152606401610c03565b6111c2613327565b565b610de583838360405180602001604052806000815250611ce6565b606060006111ec836116ed565b905060008167ffffffffffffffff8111156112095761120961498f565b604051908082528060200260200182016040528015611232578160200160208202803683370190505b50905060005b828110156112795761124a858261107c565b82828151811061125c5761125c614979565b60209081029190910101528061127181614908565b915050611238565b509392505050565b60c9546001600160a01b031633146112c95760405162461bcd60e51b81526020600482018190526024820152600080516020614a008339815191526044820152606401610c03565b610130805461ffff19166101008315801591820260ff191692909217179091556112fb57610130805462ff0000191690555b50565b60c9546001600160a01b031633146113465760405162461bcd60e51b81526020600482018190526024820152600080516020614a008339815191526044820152606401610c03565b60005b81811015610de557600083838381811061136557611365614979565b905060200201602081019061137a91906143a4565b6001600160a01b031614156113d15760405162461bcd60e51b815260206004820152601a60248201527f43616e27742061646420746865206e756c6c20616464726573730000000000006044820152606401610c03565b600061013560008585858181106113ea576113ea614979565b90506020020160208101906113ff91906143a4565b6001600160a01b031681526020810191909152604001600020805460ff19169115159190911790558061143181614908565b915050611349565b60006001600160a01b0382166114915760405162461bcd60e51b815260206004820152601e60248201527f5a65726f2061646472657373206e6f74206f6e20416c6c6f77204c69737400006044820152606401610c03565b506001600160a01b03166000908152610134602052604090205490565b60006114b960995490565b821061152d5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201527f7574206f6620626f756e647300000000000000000000000000000000000000006064820152608401610c03565b6099828154811061154057611540614979565b90600052602060002001549050919050565b60c9546001600160a01b0316331461159a5760405162461bcd60e51b81526020600482018190526024820152600080516020614a008339815191526044820152606401610c03565b60fb5460ff16156115e05760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610c03565b610de561013883836141ae565b6000818152606760205260408120546001600160a01b031680610b275760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610c03565b60006001600160a01b0382166116d05760405162461bcd60e51b815260206004820152601e60248201527f5a65726f2061646472657373206e6f74206f6e20416c6c6f77204c69737400006044820152606401610c03565b506001600160a01b03166000908152610136602052604090205490565b60006001600160a01b03821661176b5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610c03565b506001600160a01b031660009081526068602052604090205490565b60c9546001600160a01b031633146117cf5760405162461bcd60e51b81526020600482018190526024820152600080516020614a008339815191526044820152606401610c03565b6111c260006133c3565b60c9546001600160a01b031633146118215760405162461bcd60e51b81526020600482018190526024820152600080516020614a008339815191526044820152606401610c03565b6111c2613422565b60fb5460ff161561186f5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610c03565b6101305460ff166118c25760405162461bcd60e51b815260206004820152601660248201527f436f6e7472616374206973206e6f7420616374697665000000000000000000006044820152606401610c03565b6101305462010000900460ff1661191b5760405162461bcd60e51b815260206004820152601a60248201527f507269766174652073616c65206973206e6f74206163746976650000000000006044820152606401610c03565b336000908152610135602052604090205460ff1661197b5760405162461bcd60e51b815260206004820152601d60248201527f596f7520617265206e6f74206f6e2074686520416c6c6f77204c6973740000006044820152606401610c03565b3360009081526101366020526040902054600111611a015760405162461bcd60e51b815260206004820152602260248201527f4578636565646564206d617820617661696c61626c6520746f2070757263686160448201527f73650000000000000000000000000000000000000000000000000000000000006064820152608401610c03565b61012d54609954611a1390600161483f565b1115611a615760405162461bcd60e51b815260206004820152601e60248201527f4e6f7420656e6f75676820746f6b656e73206c65667420746f206d696e7400006044820152606401610c03565b3461012e541115611ab45760405162461bcd60e51b815260206004820152601c60248201527f45544820616d6f756e74206973206e6f742073756666696369656e74000000006044820152606401610c03565b6000611abf60995490565b611aca90600161483f565b336000908152610136602052604081208054929350600192909190611af090849061483f565b909155506112fb90503382613020565b60c9546001600160a01b03163314611b485760405162461bcd60e51b81526020600482018190526024820152600080516020614a008339815191526044820152606401610c03565b60fb5460ff1615611b8e5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610c03565b610de561013783836141ae565b606060668054610b3c906148cd565b60c9546001600160a01b03163314611bf25760405162461bcd60e51b81526020600482018190526024820152600080516020614a008339815191526044820152606401610c03565b60005b81811015610de5576000838383818110611c1157611c11614979565b9050602002016020810190611c2691906143a4565b6001600160a01b03161415611c7d5760405162461bcd60e51b815260206004820152601a60248201527f43616e27742061646420746865206e756c6c20616464726573730000000000006044820152606401610c03565b60006101336000858585818110611c9657611c96614979565b9050602002016020810190611cab91906143a4565b6001600160a01b0316815260208101919091526040016000205580611ccf81614908565b915050611bf5565b611ce233838361349d565b5050565b611cf0338361303a565b611d625760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610c03565b611d6e8484848461356c565b50505050565b60c9546001600160a01b03163314611dbc5760405162461bcd60e51b81526020600482018190526024820152600080516020614a008339815191526044820152606401610c03565b610130805482158015620100000262ff000019909216919091179091556112fb57610130805461ff00198315151661ffff1990911617905550565b6101318054611e05906148cd565b80601f0160208091040260200160405190810160405280929190818152602001828054611e31906148cd565b8015611e7e5780601f10611e5357610100808354040283529160200191611e7e565b820191906000526020600020905b815481529060010190602001808311611e6157829003601f168201915b505050505081565b6000818152606760205260409020546060906001600160a01b0316611eed5760405162461bcd60e51b815260206004820152601460248201527f546f6b656e20646f6573206e6f742065786973740000000000000000000000006044820152606401610c03565b6000611ef76135f5565b905080611f0384613605565b610131604051602001611f18939291906146e8565b604051602081830303815290604052915050919050565b60c9546001600160a01b03163314611f775760405162461bcd60e51b81526020600482018190526024820152600080516020614a008339815191526044820152606401610c03565b8051611ce290610131906020840190614232565b610139546001600160a01b03163314611fe65760405162461bcd60e51b815260206004820152601460248201527f57726f6e672073656e64657220616464726573730000000000000000000000006044820152606401610c03565b610139546040516000916001600160a01b03169047908381818185875af1925050503d8060008114612034576040519150601f19603f3d011682016040523d82523d6000602084013e612039565b606091505b50509050806112fb57600080fd5b6001600160a01b0381166000908152610133602052604081205461206c576000610b27565b506001600160a01b03166000908152610133602052604090205490565b60606101378054610b3c906148cd565b60c9546001600160a01b031633146120e15760405162461bcd60e51b81526020600482018190526024820152600080516020614a008339815191526044820152606401610c03565b60005b81811015610de557600083838381811061210057612100614979565b905060200201602081019061211591906143a4565b6001600160a01b0316141561216c5760405162461bcd60e51b815260206004820152601a60248201527f43616e27742061646420746865206e756c6c20616464726573730000000000006044820152606401610c03565b6001610135600085858581811061218557612185614979565b905060200201602081019061219a91906143a4565b6001600160a01b0316815260208101919091526040016000908120805460ff191692151592909217909155610136818585858181106121db576121db614979565b90506020020160208101906121f091906143a4565b6001600160a01b03166001600160a01b03168152602001908152602001600020541161221d57600061226b565b610136600084848481811061223457612234614979565b905060200201602081019061224991906143a4565b6001600160a01b03166001600160a01b03168152602001908152602001600020545b508061227681614908565b9150506120e4565b60c9546001600160a01b031633146122c65760405162461bcd60e51b81526020600482018190526024820152600080516020614a008339815191526044820152606401610c03565b60006122d3600447614857565b610139546040519192506001600160a01b03169082156108fc029083906000818181858888f1935050505061230757600080fd5b61013a546001600160a01b03166108fc61232283600361486b565b6040518115909202916000818181858888f193505050506112fb57600080fd5b60fb5460ff16156123885760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610c03565b6101305460ff166123db5760405162461bcd60e51b815260206004820152601660248201527f436f6e7472616374206973206e6f7420616374697665000000000000000000006044820152606401610c03565b6101305462010000900460ff16156124355760405162461bcd60e51b815260206004820152601160248201527f507269766174652053616c65206f6e6c790000000000000000000000000000006044820152606401610c03565b61013054610100900460ff161561248e5760405162461bcd60e51b815260206004820152600c60248201527f50726573616c65206f6e6c7900000000000000000000000000000000000000006044820152606401610c03565b61012d548161249c60995490565b6124a6919061483f565b11156124f45760405162461bcd60e51b815260206004820152601e60248201527f4e6f7420656e6f75676820746f6b656e73206c65667420746f206d696e7400006044820152606401610c03565b348161012e54612504919061486b565b11156125525760405162461bcd60e51b815260206004820152601c60248201527f45544820616d6f756e74206973206e6f742073756666696369656e74000000006044820152606401610c03565b60005b81811015611ce257600061256860995490565b61257390600161483f565b905061257f3382613020565b508061258a81614908565b915050612555565b60c9546001600160a01b031633146125da5760405162461bcd60e51b81526020600482018190526024820152600080516020614a008339815191526044820152606401610c03565b600081116126505760405162461bcd60e51b815260206004820152602760248201527f6e756d416c6c6f776564546f4d696e74206d757374206265206772656174657260448201527f207468616e2030000000000000000000000000000000000000000000000000006064820152608401610c03565b60005b82811015611d6e57600084848381811061266f5761266f614979565b905060200201602081019061268491906143a4565b6001600160a01b031614156126db5760405162461bcd60e51b815260206004820152601a60248201527f43616e27742061646420746865206e756c6c20616464726573730000000000006044820152606401610c03565b8161013360008686858181106126f3576126f3614979565b905060200201602081019061270891906143a4565b6001600160a01b03166001600160a01b03168152602001908152602001600020819055506000610134600086868581811061274557612745614979565b905060200201602081019061275a91906143a4565b6001600160a01b03166001600160a01b0316815260200190815260200160002054116127875760006127d5565b610134600085858481811061279e5761279e614979565b90506020020160208101906127b391906143a4565b6001600160a01b03166001600160a01b03168152602001908152602001600020545b50806127e081614908565b915050612653565b60c9546001600160a01b031633146128305760405162461bcd60e51b81526020600482018190526024820152600080516020614a008339815191526044820152606401610c03565b61012d548161283e60995490565b612848919061483f565b11156128965760405162461bcd60e51b815260206004820152601e60248201527f4e6f7420656e6f75676820746f6b656e73206c65667420746f206d696e7400006044820152606401610c03565b60005b81811015611ce2576128aa33613737565b806128b481614908565b915050612899565b60c9546001600160a01b031633146129045760405162461bcd60e51b81526020600482018190526024820152600080516020614a008339815191526044820152606401610c03565b6001600160a01b0381166129805760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610c03565b6112fb816133c3565b60c9546001600160a01b031633146129d15760405162461bcd60e51b81526020600482018190526024820152600080516020614a008339815191526044820152606401610c03565b61012e55565b60006129e36001613759565b905080156129fb576000805461ff0019166101001790555b612a6f6040518060400160405280600e81526020017f54696e792046616d696c696172730000000000000000000000000000000000008152506040518060400160405280600381526020017f5446540000000000000000000000000000000000000000000000000000000000815250613892565b612a77613907565b612a7f613972565b612a876139e5565b609061012d558151612aa190610138906020850190614232565b506040518060600160405280602c81526020016149d4602c91398051612ad09161013791602090910190614232565b50610139805473ffffffffffffffffffffffffffffffffffffffff19908116731496961c0da108be9689407edaa90cf417fdc41c1790915561013a805490911673ea2a9ca3d62bef63cf562b59c5709b32ed4c0eca17905567011c37937e08000061012e5566d529ae9e86000061012f5561013080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000001690556040805180820190915260058082527f2e6a736f6e0000000000000000000000000000000000000000000000000000006020909201918252612baf9161013191614232565b508015611ce2576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15050565b60fb5460ff1615612c3f5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610c03565b6101305460ff16612c925760405162461bcd60e51b815260206004820152601660248201527f436f6e7472616374206973206e6f7420616374697665000000000000000000006044820152606401610c03565b61013054610100900460ff16612cea5760405162461bcd60e51b815260206004820152601560248201527f50726573616c65206973206e6f742061637469766500000000000000000000006044820152606401610c03565b336000908152610133602090815260408083205461013490925290912054612d12908361483f565b1115612d865760405162461bcd60e51b815260206004820152602760248201527f596f752063616e6e6f74206d696e7420616e79206d6f72652050726573616c6560448201527f20746f6b656e73000000000000000000000000000000000000000000000000006064820152608401610c03565b61012d5481612d9460995490565b612d9e919061483f565b1115612dec5760405162461bcd60e51b815260206004820152601e60248201527f4e6f7420656e6f75676820746f6b656e73206c65667420746f206d696e7400006044820152606401610c03565b348161012f54612dfc919061486b565b1115612e4a5760405162461bcd60e51b815260206004820152601c60248201527f45544820616d6f756e74206973206e6f742073756666696369656e74000000006044820152606401610c03565b60005b81811015611ce2576000612e6060995490565b612e6b90600161483f565b336000908152610134602052604081208054929350600192909190612e9190849061483f565b90915550612ea190503382613020565b5080612eac81614908565b915050612e4d565b6101328054611e05906148cd565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd000000000000000000000000000000000000000000000000000000001480612f5557507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b80610b2757507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff00000000000000000000000000000000000000000000000000000000831614610b27565b6000818152606960205260409020805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0384169081179091558190612fe7826115ed565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b611ce2828260405180602001604052806000815250613a58565b6000818152606760205260408120546001600160a01b03166130c45760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610c03565b60006130cf836115ed565b9050806001600160a01b0316846001600160a01b0316148061311657506001600160a01b038082166000908152606a602090815260408083209388168352929052205460ff165b8061313a5750836001600160a01b031661312f84610c12565b6001600160a01b0316145b949350505050565b826001600160a01b0316613155826115ed565b6001600160a01b0316146131d15760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201527f6f776e65720000000000000000000000000000000000000000000000000000006064820152608401610c03565b6001600160a01b03821661324c5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610c03565b613257838383613ae1565b613262600082612fa5565b6001600160a01b038316600090815260686020526040812080546001929061328b90849061488a565b90915550506001600160a01b03821660009081526068602052604081208054600192906132b990849061483f565b9091555050600081815260676020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b60fb5460ff166133795760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f74207061757365640000000000000000000000006044820152606401610c03565b60fb805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b60c980546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60fb5460ff16156134685760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610c03565b60fb805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586133a63390565b816001600160a01b0316836001600160a01b031614156134ff5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610c03565b6001600160a01b038381166000818152606a6020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b613577848484613142565b61358384848484613b99565b611d6e5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610c03565b60606101388054610b3c906148cd565b60608161364557505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b811561366f578061365981614908565b91506136689050600a83614857565b9150613649565b60008167ffffffffffffffff81111561368a5761368a61498f565b6040519080825280601f01601f1916602001820160405280156136b4576020820181803683370190505b5090505b841561313a576136c960018361488a565b91506136d6600a86614923565b6136e190603061483f565b60f81b8183815181106136f6576136f6614979565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350613730600a86614857565b94506136b8565b600061374260995490565b61374d90600161483f565b9050611ce28282613020565b60008054610100900460ff16156137f6578160ff16600114801561377c5750303b155b6137ee5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a65640000000000000000000000000000000000006064820152608401610c03565b506000919050565b60005460ff8084169116106138735760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a65640000000000000000000000000000000000006064820152608401610c03565b506000805460ff191660ff92909216919091179055600190565b919050565b600054610100900460ff166138fd5760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b6064820152608401610c03565b611ce28282613d46565b600054610100900460ff166111c25760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b6064820152608401610c03565b600054610100900460ff166139dd5760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b6064820152608401610c03565b6111c2613dd8565b600054610100900460ff16613a505760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b6064820152608401610c03565b6111c2613e4c565b613a628383613ec3565b613a6f6000848484613b99565b610de55760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610c03565b6001600160a01b038316613b3c57613b3781609980546000838152609a60205260408120829055600182018355919091527f72a152ddfb8e864297c917af52ea6c1c68aead0fee1a62673fcc7e0c94979d000155565b613b5f565b816001600160a01b0316836001600160a01b031614613b5f57613b5f838261401e565b6001600160a01b038216613b7657610de5816140bb565b826001600160a01b0316826001600160a01b031614610de557610de5828261416a565b60006001600160a01b0384163b15613d3b576040517f150b7a020000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063150b7a0290613bf69033908990889088906004016147ac565b602060405180830381600087803b158015613c1057600080fd5b505af1925050508015613c40575060408051601f3d908101601f19168201909252613c3d918101906145cb565b60015b613cf0573d808015613c6e576040519150601f19603f3d011682016040523d82523d6000602084013e613c73565b606091505b508051613ce85760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610c03565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a020000000000000000000000000000000000000000000000000000000014905061313a565b506001949350505050565b600054610100900460ff16613db15760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b6064820152608401610c03565b8151613dc4906065906020850190614232565b508051610de5906066906020840190614232565b600054610100900460ff16613e435760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b6064820152608401610c03565b6111c2336133c3565b600054610100900460ff16613eb75760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b6064820152608401610c03565b60fb805460ff19169055565b6001600160a01b038216613f195760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610c03565b6000818152606760205260409020546001600160a01b031615613f7e5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610c03565b613f8a60008383613ae1565b6001600160a01b0382166000908152606860205260408120805460019290613fb390849061483f565b9091555050600081815260676020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000600161402b846116ed565b614035919061488a565b600083815260986020526040902054909150808214614088576001600160a01b03841660009081526097602090815260408083208584528252808320548484528184208190558352609890915290208190555b5060009182526098602090815260408084208490556001600160a01b039094168352609781528383209183525290812055565b6099546000906140cd9060019061488a565b6000838152609a6020526040812054609980549394509092849081106140f5576140f5614979565b90600052602060002001549050806099838154811061411657614116614979565b6000918252602080832090910192909255828152609a9091526040808220849055858252812055609980548061414e5761414e614963565b6001900381819060005260206000200160009055905550505050565b6000614175836116ed565b6001600160a01b039093166000908152609760209081526040808320868452825280832085905593825260989052919091209190915550565b8280546141ba906148cd565b90600052602060002090601f0160209004810192826141dc5760008555614222565b82601f106141f55782800160ff19823516178555614222565b82800160010185558215614222579182015b82811115614222578235825591602001919060010190614207565b5061422e9291506142a6565b5090565b82805461423e906148cd565b90600052602060002090601f0160209004810192826142605760008555614222565b82601f1061427957805160ff1916838001178555614222565b82800160010185558215614222579182015b8281111561422257825182559160200191906001019061428b565b5b8082111561422e57600081556001016142a7565b600067ffffffffffffffff808411156142d6576142d661498f565b604051601f8501601f19908116603f011681019082821181831017156142fe576142fe61498f565b8160405280935085815286868601111561431757600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461388d57600080fd5b60008083601f84011261435a57600080fd5b50813567ffffffffffffffff81111561437257600080fd5b6020830191508360208260051b850101111561438d57600080fd5b9250929050565b8035801515811461388d57600080fd5b6000602082840312156143b657600080fd5b6143bf82614331565b9392505050565b600080604083850312156143d957600080fd5b6143e283614331565b91506143f060208401614331565b90509250929050565b60008060006060848603121561440e57600080fd5b61441784614331565b925061442560208501614331565b9150604084013590509250925092565b6000806000806080858703121561444b57600080fd5b61445485614331565b935061446260208601614331565b925060408501359150606085013567ffffffffffffffff81111561448557600080fd5b8501601f8101871361449657600080fd5b6144a5878235602084016142bb565b91505092959194509250565b600080604083850312156144c457600080fd5b6144cd83614331565b91506143f060208401614394565b600080604083850312156144ee57600080fd5b6144f783614331565b946020939093013593505050565b6000806020838503121561451857600080fd5b823567ffffffffffffffff81111561452f57600080fd5b61453b85828601614348565b90969095509350505050565b60008060006040848603121561455c57600080fd5b833567ffffffffffffffff81111561457357600080fd5b61457f86828701614348565b909790965060209590950135949350505050565b6000602082840312156145a557600080fd5b6143bf82614394565b6000602082840312156145c057600080fd5b81356143bf816149a5565b6000602082840312156145dd57600080fd5b81516143bf816149a5565b600080602083850312156145fb57600080fd5b823567ffffffffffffffff8082111561461357600080fd5b818501915085601f83011261462757600080fd5b81358181111561463657600080fd5b86602082850101111561464857600080fd5b60209290920196919550909350505050565b60006020828403121561466c57600080fd5b813567ffffffffffffffff81111561468357600080fd5b8201601f8101841361469457600080fd5b61313a848235602084016142bb565b6000602082840312156146b557600080fd5b5035919050565b600081518084526146d48160208601602086016148a1565b601f01601f19169290920160200192915050565b6000845160206146fb8285838a016148a1565b85519184019161470e8184848a016148a1565b8554920191600090600181811c908083168061472b57607f831692505b85831081141561474957634e487b7160e01b85526022600452602485fd5b80801561475d576001811461476e5761479b565b60ff1985168852838801955061479b565b60008b81526020902060005b858110156147935781548a82015290840190880161477a565b505083880195505b50939b9a5050505050505050505050565b60006001600160a01b038087168352808616602084015250836040830152608060608301526147de60808301846146bc565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b8181101561482057835183529284019291840191600101614804565b50909695505050505050565b6020815260006143bf60208301846146bc565b6000821982111561485257614852614937565b500190565b6000826148665761486661494d565b500490565b600081600019048311821515161561488557614885614937565b500290565b60008282101561489c5761489c614937565b500390565b60005b838110156148bc5781810151838201526020016148a4565b83811115611d6e5750506000910152565b600181811c908216806148e157607f821691505b6020821081141561490257634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561491c5761491c614937565b5060010190565b6000826149325761493261494d565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b7fffffffff00000000000000000000000000000000000000000000000000000000811681146112fb57600080fdfe68747470733a2f2f74696e7966616d696c696172732e636f6d2f74696e7946616d696c696172732e6a736f6e4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a26469706673582212203eab320336a817b103431decaae088ae2b08c79b069f127a34d2ad77a5f6b90364736f6c63430008070033

Deployed Bytecode

0x6080604052600436106103975760003560e01c80638456cb59116101dc578063db2e21bc11610102578063efd0cbf9116100a0578063f4a0a5281161006f578063f4a0a52814610a69578063f62d188814610a89578063f759867a14610aa9578063faf924cf14610abc57600080fd5b8063efd0cbf9146109f6578063f068fea014610a09578063f19e75d414610a29578063f2fde38b14610a4957600080fd5b8063e8a3d485116100dc578063e8a3d48514610970578063e985e9c514610985578063ecc7f27d146109ce578063ef608540146109ee57600080fd5b8063db2e21bc14610934578063dba3d9171461093c578063e38a303b1461095c57600080fd5b8063b88d4fde1161017a578063c87b56dd11610149578063c87b56dd146108bc578063d24bbb3a146108dc578063d8a9e1e9146108f3578063da3ef23f1461091457600080fd5b8063b88d4fde14610850578063bf97ef1e14610870578063c3d24e3414610887578063c6682862146108a757600080fd5b8063938e3d7b116101b6578063938e3d7b146107db57806395d89b41146107fb5780639c81695514610810578063a22cb4651461083057600080fd5b80638456cb59146107a05780638da5cb5b146107b55780638ed938a7146107d357600080fd5b806342842e0e116102c15780635c975abb1161025f5780636817c76c1161022e5780636817c76c14610734578063698048ea1461074b57806370a082311461076b578063715018a61461078b57600080fd5b80635c975abb146106a357806360954ac1146106bb57806360d938dc146106f45780636352211e1461071457600080fd5b80634878868c1161029b5780634878868c146106235780634bc078f4146106435780634f6ccce71461066357806355f804b31461068357600080fd5b806342842e0e146105b6578063438b6300146105d6578063443da2a21461060357600080fd5b8063163e1e61116103395780632750fc78116103085780632750fc78146105415780632f745c591461056157806339bda38e146105815780633f4ba83a146105a157600080fd5b8063163e1e61146104c757806318160ddd146104e757806322f3e2d41461050657806323b872dd1461052157600080fd5b8063081812fc11610375578063081812fc14610415578063095ea7b31461044d5780630bb308411461046d57806315336f80146104a757600080fd5b806301ffc9a71461039c57806306fdde03146103d157806307ff4390146103f3575b600080fd5b3480156103a857600080fd5b506103bc6103b73660046145ae565b610ad1565b60405190151581526020015b60405180910390f35b3480156103dd57600080fd5b506103e6610b2d565b6040516103c8919061482c565b3480156103ff57600080fd5b5061041361040e3660046146a3565b610bbf565b005b34801561042157600080fd5b506104356104303660046146a3565b610c12565b6040516001600160a01b0390911681526020016103c8565b34801561045957600080fd5b506104136104683660046144db565b610cb8565b34801561047957600080fd5b506103bc6104883660046143a4565b6001600160a01b03166000908152610135602052604090205460ff1690565b3480156104b357600080fd5b506104136104c23660046145e8565b610dea565b3480156104d357600080fd5b506104136104e2366004614505565b610e85565b3480156104f357600080fd5b506099545b6040519081526020016103c8565b34801561051257600080fd5b50610130546103bc9060ff1681565b34801561052d57600080fd5b5061041361053c3660046143f9565b610f99565b34801561054d57600080fd5b5061041361055c366004614593565b611020565b34801561056d57600080fd5b506104f861057c3660046144db565b61107c565b34801561058d57600080fd5b5061041361059c3660046146a3565b611124565b3480156105ad57600080fd5b50610413611172565b3480156105c257600080fd5b506104136105d13660046143f9565b6111c4565b3480156105e257600080fd5b506105f66105f13660046143a4565b6111df565b6040516103c891906147e8565b34801561060f57600080fd5b5061041361061e366004614593565b611281565b34801561062f57600080fd5b5061041361063e366004614505565b6112fe565b34801561064f57600080fd5b506104f861065e3660046143a4565b611439565b34801561066f57600080fd5b506104f861067e3660046146a3565b6114ae565b34801561068f57600080fd5b5061041361069e3660046145e8565b611552565b3480156106af57600080fd5b5060fb5460ff166103bc565b3480156106c757600080fd5b506103bc6106d63660046143a4565b6001600160a01b031660009081526101336020526040902054151590565b34801561070057600080fd5b50610130546103bc90610100900460ff1681565b34801561072057600080fd5b5061043561072f3660046146a3565b6115ed565b34801561074057600080fd5b506104f861012e5481565b34801561075757600080fd5b506104f86107663660046143a4565b611678565b34801561077757600080fd5b506104f86107863660046143a4565b6116ed565b34801561079757600080fd5b50610413611787565b3480156107ac57600080fd5b506104136117d9565b3480156107c157600080fd5b5060c9546001600160a01b0316610435565b610413611829565b3480156107e757600080fd5b506104136107f63660046145e8565b611b00565b34801561080757600080fd5b506103e6611b9b565b34801561081c57600080fd5b5061041361082b366004614505565b611baa565b34801561083c57600080fd5b5061041361084b3660046144b1565b611cd7565b34801561085c57600080fd5b5061041361086b366004614435565b611ce6565b34801561087c57600080fd5b506104f861012f5481565b34801561089357600080fd5b506104136108a2366004614593565b611d74565b3480156108b357600080fd5b506103e6611df7565b3480156108c857600080fd5b506103e66108d73660046146a3565b611e86565b3480156108e857600080fd5b506104f861012d5481565b3480156108ff57600080fd5b50610130546103bc9062010000900460ff1681565b34801561092057600080fd5b5061041361092f36600461465a565b611f2f565b610413611f8b565b34801561094857600080fd5b506104f86109573660046143a4565b612047565b34801561096857600080fd5b5060006103bc565b34801561097c57600080fd5b506103e6612089565b34801561099157600080fd5b506103bc6109a03660046143c6565b6001600160a01b039182166000908152606a6020908152604080832093909416825291909152205460ff1690565b3480156109da57600080fd5b506104136109e9366004614505565b612099565b61041361227e565b610413610a043660046146a3565b612342565b348015610a1557600080fd5b50610413610a24366004614547565b612592565b348015610a3557600080fd5b50610413610a443660046146a3565b6127e8565b348015610a5557600080fd5b50610413610a643660046143a4565b6128bc565b348015610a7557600080fd5b50610413610a843660046146a3565b612989565b348015610a9557600080fd5b50610413610aa436600461465a565b6129d7565b610413610ab73660046146a3565b612bf9565b348015610ac857600080fd5b506103e6612eb4565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f780e9d63000000000000000000000000000000000000000000000000000000001480610b275750610b2782612ec2565b92915050565b606060658054610b3c906148cd565b80601f0160208091040260200160405190810160405280929190818152602001828054610b68906148cd565b8015610bb55780601f10610b8a57610100808354040283529160200191610bb5565b820191906000526020600020905b815481529060010190602001808311610b9857829003601f168201915b5050505050905090565b60c9546001600160a01b03163314610c0c5760405162461bcd60e51b81526020600482018190526024820152600080516020614a0083398151915260448201526064015b60405180910390fd5b61012f55565b6000818152606760205260408120546001600160a01b0316610c9c5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610c03565b506000908152606960205260409020546001600160a01b031690565b6000610cc3826115ed565b9050806001600160a01b0316836001600160a01b03161415610d4d5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610c03565b336001600160a01b0382161480610d695750610d6981336109a0565b610ddb5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610c03565b610de58383612fa5565b505050565b60c9546001600160a01b03163314610e325760405162461bcd60e51b81526020600482018190526024820152600080516020614a008339815191526044820152606401610c03565b60fb5460ff1615610e785760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610c03565b610de561013283836141ae565b60c9546001600160a01b03163314610ecd5760405162461bcd60e51b81526020600482018190526024820152600080516020614a008339815191526044820152606401610c03565b61012d5481610edb60995490565b610ee5919061483f565b1115610f335760405162461bcd60e51b815260206004820152601e60248201527f4e6f7420656e6f75676820746f6b656e73206c65667420746f206769667400006044820152606401610c03565b60005b81811015610de5576000610f4960995490565b610f5490600161483f565b9050610f86848484818110610f6b57610f6b614979565b9050602002016020810190610f8091906143a4565b82613020565b5080610f9181614908565b915050610f36565b610fa3338261303a565b6110155760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610c03565b610de5838383613142565b60c9546001600160a01b031633146110685760405162461bcd60e51b81526020600482018190526024820152600080516020614a008339815191526044820152606401610c03565b610130805460ff1916911515919091179055565b6000611087836116ed565b82106110fb5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201527f74206f6620626f756e64730000000000000000000000000000000000000000006064820152608401610c03565b506001600160a01b03919091166000908152609760209081526040808320938352929052205490565b60c9546001600160a01b0316331461116c5760405162461bcd60e51b81526020600482018190526024820152600080516020614a008339815191526044820152606401610c03565b61012d55565b60c9546001600160a01b031633146111ba5760405162461bcd60e51b81526020600482018190526024820152600080516020614a008339815191526044820152606401610c03565b6111c2613327565b565b610de583838360405180602001604052806000815250611ce6565b606060006111ec836116ed565b905060008167ffffffffffffffff8111156112095761120961498f565b604051908082528060200260200182016040528015611232578160200160208202803683370190505b50905060005b828110156112795761124a858261107c565b82828151811061125c5761125c614979565b60209081029190910101528061127181614908565b915050611238565b509392505050565b60c9546001600160a01b031633146112c95760405162461bcd60e51b81526020600482018190526024820152600080516020614a008339815191526044820152606401610c03565b610130805461ffff19166101008315801591820260ff191692909217179091556112fb57610130805462ff0000191690555b50565b60c9546001600160a01b031633146113465760405162461bcd60e51b81526020600482018190526024820152600080516020614a008339815191526044820152606401610c03565b60005b81811015610de557600083838381811061136557611365614979565b905060200201602081019061137a91906143a4565b6001600160a01b031614156113d15760405162461bcd60e51b815260206004820152601a60248201527f43616e27742061646420746865206e756c6c20616464726573730000000000006044820152606401610c03565b600061013560008585858181106113ea576113ea614979565b90506020020160208101906113ff91906143a4565b6001600160a01b031681526020810191909152604001600020805460ff19169115159190911790558061143181614908565b915050611349565b60006001600160a01b0382166114915760405162461bcd60e51b815260206004820152601e60248201527f5a65726f2061646472657373206e6f74206f6e20416c6c6f77204c69737400006044820152606401610c03565b506001600160a01b03166000908152610134602052604090205490565b60006114b960995490565b821061152d5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201527f7574206f6620626f756e647300000000000000000000000000000000000000006064820152608401610c03565b6099828154811061154057611540614979565b90600052602060002001549050919050565b60c9546001600160a01b0316331461159a5760405162461bcd60e51b81526020600482018190526024820152600080516020614a008339815191526044820152606401610c03565b60fb5460ff16156115e05760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610c03565b610de561013883836141ae565b6000818152606760205260408120546001600160a01b031680610b275760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610c03565b60006001600160a01b0382166116d05760405162461bcd60e51b815260206004820152601e60248201527f5a65726f2061646472657373206e6f74206f6e20416c6c6f77204c69737400006044820152606401610c03565b506001600160a01b03166000908152610136602052604090205490565b60006001600160a01b03821661176b5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610c03565b506001600160a01b031660009081526068602052604090205490565b60c9546001600160a01b031633146117cf5760405162461bcd60e51b81526020600482018190526024820152600080516020614a008339815191526044820152606401610c03565b6111c260006133c3565b60c9546001600160a01b031633146118215760405162461bcd60e51b81526020600482018190526024820152600080516020614a008339815191526044820152606401610c03565b6111c2613422565b60fb5460ff161561186f5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610c03565b6101305460ff166118c25760405162461bcd60e51b815260206004820152601660248201527f436f6e7472616374206973206e6f7420616374697665000000000000000000006044820152606401610c03565b6101305462010000900460ff1661191b5760405162461bcd60e51b815260206004820152601a60248201527f507269766174652073616c65206973206e6f74206163746976650000000000006044820152606401610c03565b336000908152610135602052604090205460ff1661197b5760405162461bcd60e51b815260206004820152601d60248201527f596f7520617265206e6f74206f6e2074686520416c6c6f77204c6973740000006044820152606401610c03565b3360009081526101366020526040902054600111611a015760405162461bcd60e51b815260206004820152602260248201527f4578636565646564206d617820617661696c61626c6520746f2070757263686160448201527f73650000000000000000000000000000000000000000000000000000000000006064820152608401610c03565b61012d54609954611a1390600161483f565b1115611a615760405162461bcd60e51b815260206004820152601e60248201527f4e6f7420656e6f75676820746f6b656e73206c65667420746f206d696e7400006044820152606401610c03565b3461012e541115611ab45760405162461bcd60e51b815260206004820152601c60248201527f45544820616d6f756e74206973206e6f742073756666696369656e74000000006044820152606401610c03565b6000611abf60995490565b611aca90600161483f565b336000908152610136602052604081208054929350600192909190611af090849061483f565b909155506112fb90503382613020565b60c9546001600160a01b03163314611b485760405162461bcd60e51b81526020600482018190526024820152600080516020614a008339815191526044820152606401610c03565b60fb5460ff1615611b8e5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610c03565b610de561013783836141ae565b606060668054610b3c906148cd565b60c9546001600160a01b03163314611bf25760405162461bcd60e51b81526020600482018190526024820152600080516020614a008339815191526044820152606401610c03565b60005b81811015610de5576000838383818110611c1157611c11614979565b9050602002016020810190611c2691906143a4565b6001600160a01b03161415611c7d5760405162461bcd60e51b815260206004820152601a60248201527f43616e27742061646420746865206e756c6c20616464726573730000000000006044820152606401610c03565b60006101336000858585818110611c9657611c96614979565b9050602002016020810190611cab91906143a4565b6001600160a01b0316815260208101919091526040016000205580611ccf81614908565b915050611bf5565b611ce233838361349d565b5050565b611cf0338361303a565b611d625760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610c03565b611d6e8484848461356c565b50505050565b60c9546001600160a01b03163314611dbc5760405162461bcd60e51b81526020600482018190526024820152600080516020614a008339815191526044820152606401610c03565b610130805482158015620100000262ff000019909216919091179091556112fb57610130805461ff00198315151661ffff1990911617905550565b6101318054611e05906148cd565b80601f0160208091040260200160405190810160405280929190818152602001828054611e31906148cd565b8015611e7e5780601f10611e5357610100808354040283529160200191611e7e565b820191906000526020600020905b815481529060010190602001808311611e6157829003601f168201915b505050505081565b6000818152606760205260409020546060906001600160a01b0316611eed5760405162461bcd60e51b815260206004820152601460248201527f546f6b656e20646f6573206e6f742065786973740000000000000000000000006044820152606401610c03565b6000611ef76135f5565b905080611f0384613605565b610131604051602001611f18939291906146e8565b604051602081830303815290604052915050919050565b60c9546001600160a01b03163314611f775760405162461bcd60e51b81526020600482018190526024820152600080516020614a008339815191526044820152606401610c03565b8051611ce290610131906020840190614232565b610139546001600160a01b03163314611fe65760405162461bcd60e51b815260206004820152601460248201527f57726f6e672073656e64657220616464726573730000000000000000000000006044820152606401610c03565b610139546040516000916001600160a01b03169047908381818185875af1925050503d8060008114612034576040519150601f19603f3d011682016040523d82523d6000602084013e612039565b606091505b50509050806112fb57600080fd5b6001600160a01b0381166000908152610133602052604081205461206c576000610b27565b506001600160a01b03166000908152610133602052604090205490565b60606101378054610b3c906148cd565b60c9546001600160a01b031633146120e15760405162461bcd60e51b81526020600482018190526024820152600080516020614a008339815191526044820152606401610c03565b60005b81811015610de557600083838381811061210057612100614979565b905060200201602081019061211591906143a4565b6001600160a01b0316141561216c5760405162461bcd60e51b815260206004820152601a60248201527f43616e27742061646420746865206e756c6c20616464726573730000000000006044820152606401610c03565b6001610135600085858581811061218557612185614979565b905060200201602081019061219a91906143a4565b6001600160a01b0316815260208101919091526040016000908120805460ff191692151592909217909155610136818585858181106121db576121db614979565b90506020020160208101906121f091906143a4565b6001600160a01b03166001600160a01b03168152602001908152602001600020541161221d57600061226b565b610136600084848481811061223457612234614979565b905060200201602081019061224991906143a4565b6001600160a01b03166001600160a01b03168152602001908152602001600020545b508061227681614908565b9150506120e4565b60c9546001600160a01b031633146122c65760405162461bcd60e51b81526020600482018190526024820152600080516020614a008339815191526044820152606401610c03565b60006122d3600447614857565b610139546040519192506001600160a01b03169082156108fc029083906000818181858888f1935050505061230757600080fd5b61013a546001600160a01b03166108fc61232283600361486b565b6040518115909202916000818181858888f193505050506112fb57600080fd5b60fb5460ff16156123885760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610c03565b6101305460ff166123db5760405162461bcd60e51b815260206004820152601660248201527f436f6e7472616374206973206e6f7420616374697665000000000000000000006044820152606401610c03565b6101305462010000900460ff16156124355760405162461bcd60e51b815260206004820152601160248201527f507269766174652053616c65206f6e6c790000000000000000000000000000006044820152606401610c03565b61013054610100900460ff161561248e5760405162461bcd60e51b815260206004820152600c60248201527f50726573616c65206f6e6c7900000000000000000000000000000000000000006044820152606401610c03565b61012d548161249c60995490565b6124a6919061483f565b11156124f45760405162461bcd60e51b815260206004820152601e60248201527f4e6f7420656e6f75676820746f6b656e73206c65667420746f206d696e7400006044820152606401610c03565b348161012e54612504919061486b565b11156125525760405162461bcd60e51b815260206004820152601c60248201527f45544820616d6f756e74206973206e6f742073756666696369656e74000000006044820152606401610c03565b60005b81811015611ce257600061256860995490565b61257390600161483f565b905061257f3382613020565b508061258a81614908565b915050612555565b60c9546001600160a01b031633146125da5760405162461bcd60e51b81526020600482018190526024820152600080516020614a008339815191526044820152606401610c03565b600081116126505760405162461bcd60e51b815260206004820152602760248201527f6e756d416c6c6f776564546f4d696e74206d757374206265206772656174657260448201527f207468616e2030000000000000000000000000000000000000000000000000006064820152608401610c03565b60005b82811015611d6e57600084848381811061266f5761266f614979565b905060200201602081019061268491906143a4565b6001600160a01b031614156126db5760405162461bcd60e51b815260206004820152601a60248201527f43616e27742061646420746865206e756c6c20616464726573730000000000006044820152606401610c03565b8161013360008686858181106126f3576126f3614979565b905060200201602081019061270891906143a4565b6001600160a01b03166001600160a01b03168152602001908152602001600020819055506000610134600086868581811061274557612745614979565b905060200201602081019061275a91906143a4565b6001600160a01b03166001600160a01b0316815260200190815260200160002054116127875760006127d5565b610134600085858481811061279e5761279e614979565b90506020020160208101906127b391906143a4565b6001600160a01b03166001600160a01b03168152602001908152602001600020545b50806127e081614908565b915050612653565b60c9546001600160a01b031633146128305760405162461bcd60e51b81526020600482018190526024820152600080516020614a008339815191526044820152606401610c03565b61012d548161283e60995490565b612848919061483f565b11156128965760405162461bcd60e51b815260206004820152601e60248201527f4e6f7420656e6f75676820746f6b656e73206c65667420746f206d696e7400006044820152606401610c03565b60005b81811015611ce2576128aa33613737565b806128b481614908565b915050612899565b60c9546001600160a01b031633146129045760405162461bcd60e51b81526020600482018190526024820152600080516020614a008339815191526044820152606401610c03565b6001600160a01b0381166129805760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610c03565b6112fb816133c3565b60c9546001600160a01b031633146129d15760405162461bcd60e51b81526020600482018190526024820152600080516020614a008339815191526044820152606401610c03565b61012e55565b60006129e36001613759565b905080156129fb576000805461ff0019166101001790555b612a6f6040518060400160405280600e81526020017f54696e792046616d696c696172730000000000000000000000000000000000008152506040518060400160405280600381526020017f5446540000000000000000000000000000000000000000000000000000000000815250613892565b612a77613907565b612a7f613972565b612a876139e5565b609061012d558151612aa190610138906020850190614232565b506040518060600160405280602c81526020016149d4602c91398051612ad09161013791602090910190614232565b50610139805473ffffffffffffffffffffffffffffffffffffffff19908116731496961c0da108be9689407edaa90cf417fdc41c1790915561013a805490911673ea2a9ca3d62bef63cf562b59c5709b32ed4c0eca17905567011c37937e08000061012e5566d529ae9e86000061012f5561013080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000001690556040805180820190915260058082527f2e6a736f6e0000000000000000000000000000000000000000000000000000006020909201918252612baf9161013191614232565b508015611ce2576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15050565b60fb5460ff1615612c3f5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610c03565b6101305460ff16612c925760405162461bcd60e51b815260206004820152601660248201527f436f6e7472616374206973206e6f7420616374697665000000000000000000006044820152606401610c03565b61013054610100900460ff16612cea5760405162461bcd60e51b815260206004820152601560248201527f50726573616c65206973206e6f742061637469766500000000000000000000006044820152606401610c03565b336000908152610133602090815260408083205461013490925290912054612d12908361483f565b1115612d865760405162461bcd60e51b815260206004820152602760248201527f596f752063616e6e6f74206d696e7420616e79206d6f72652050726573616c6560448201527f20746f6b656e73000000000000000000000000000000000000000000000000006064820152608401610c03565b61012d5481612d9460995490565b612d9e919061483f565b1115612dec5760405162461bcd60e51b815260206004820152601e60248201527f4e6f7420656e6f75676820746f6b656e73206c65667420746f206d696e7400006044820152606401610c03565b348161012f54612dfc919061486b565b1115612e4a5760405162461bcd60e51b815260206004820152601c60248201527f45544820616d6f756e74206973206e6f742073756666696369656e74000000006044820152606401610c03565b60005b81811015611ce2576000612e6060995490565b612e6b90600161483f565b336000908152610134602052604081208054929350600192909190612e9190849061483f565b90915550612ea190503382613020565b5080612eac81614908565b915050612e4d565b6101328054611e05906148cd565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd000000000000000000000000000000000000000000000000000000001480612f5557507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b80610b2757507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff00000000000000000000000000000000000000000000000000000000831614610b27565b6000818152606960205260409020805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0384169081179091558190612fe7826115ed565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b611ce2828260405180602001604052806000815250613a58565b6000818152606760205260408120546001600160a01b03166130c45760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610c03565b60006130cf836115ed565b9050806001600160a01b0316846001600160a01b0316148061311657506001600160a01b038082166000908152606a602090815260408083209388168352929052205460ff165b8061313a5750836001600160a01b031661312f84610c12565b6001600160a01b0316145b949350505050565b826001600160a01b0316613155826115ed565b6001600160a01b0316146131d15760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201527f6f776e65720000000000000000000000000000000000000000000000000000006064820152608401610c03565b6001600160a01b03821661324c5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610c03565b613257838383613ae1565b613262600082612fa5565b6001600160a01b038316600090815260686020526040812080546001929061328b90849061488a565b90915550506001600160a01b03821660009081526068602052604081208054600192906132b990849061483f565b9091555050600081815260676020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b60fb5460ff166133795760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f74207061757365640000000000000000000000006044820152606401610c03565b60fb805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b60c980546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60fb5460ff16156134685760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610c03565b60fb805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586133a63390565b816001600160a01b0316836001600160a01b031614156134ff5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610c03565b6001600160a01b038381166000818152606a6020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b613577848484613142565b61358384848484613b99565b611d6e5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610c03565b60606101388054610b3c906148cd565b60608161364557505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b811561366f578061365981614908565b91506136689050600a83614857565b9150613649565b60008167ffffffffffffffff81111561368a5761368a61498f565b6040519080825280601f01601f1916602001820160405280156136b4576020820181803683370190505b5090505b841561313a576136c960018361488a565b91506136d6600a86614923565b6136e190603061483f565b60f81b8183815181106136f6576136f6614979565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350613730600a86614857565b94506136b8565b600061374260995490565b61374d90600161483f565b9050611ce28282613020565b60008054610100900460ff16156137f6578160ff16600114801561377c5750303b155b6137ee5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a65640000000000000000000000000000000000006064820152608401610c03565b506000919050565b60005460ff8084169116106138735760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a65640000000000000000000000000000000000006064820152608401610c03565b506000805460ff191660ff92909216919091179055600190565b919050565b600054610100900460ff166138fd5760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b6064820152608401610c03565b611ce28282613d46565b600054610100900460ff166111c25760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b6064820152608401610c03565b600054610100900460ff166139dd5760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b6064820152608401610c03565b6111c2613dd8565b600054610100900460ff16613a505760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b6064820152608401610c03565b6111c2613e4c565b613a628383613ec3565b613a6f6000848484613b99565b610de55760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610c03565b6001600160a01b038316613b3c57613b3781609980546000838152609a60205260408120829055600182018355919091527f72a152ddfb8e864297c917af52ea6c1c68aead0fee1a62673fcc7e0c94979d000155565b613b5f565b816001600160a01b0316836001600160a01b031614613b5f57613b5f838261401e565b6001600160a01b038216613b7657610de5816140bb565b826001600160a01b0316826001600160a01b031614610de557610de5828261416a565b60006001600160a01b0384163b15613d3b576040517f150b7a020000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063150b7a0290613bf69033908990889088906004016147ac565b602060405180830381600087803b158015613c1057600080fd5b505af1925050508015613c40575060408051601f3d908101601f19168201909252613c3d918101906145cb565b60015b613cf0573d808015613c6e576040519150601f19603f3d011682016040523d82523d6000602084013e613c73565b606091505b508051613ce85760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610c03565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a020000000000000000000000000000000000000000000000000000000014905061313a565b506001949350505050565b600054610100900460ff16613db15760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b6064820152608401610c03565b8151613dc4906065906020850190614232565b508051610de5906066906020840190614232565b600054610100900460ff16613e435760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b6064820152608401610c03565b6111c2336133c3565b600054610100900460ff16613eb75760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b6064820152608401610c03565b60fb805460ff19169055565b6001600160a01b038216613f195760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610c03565b6000818152606760205260409020546001600160a01b031615613f7e5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610c03565b613f8a60008383613ae1565b6001600160a01b0382166000908152606860205260408120805460019290613fb390849061483f565b9091555050600081815260676020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000600161402b846116ed565b614035919061488a565b600083815260986020526040902054909150808214614088576001600160a01b03841660009081526097602090815260408083208584528252808320548484528184208190558352609890915290208190555b5060009182526098602090815260408084208490556001600160a01b039094168352609781528383209183525290812055565b6099546000906140cd9060019061488a565b6000838152609a6020526040812054609980549394509092849081106140f5576140f5614979565b90600052602060002001549050806099838154811061411657614116614979565b6000918252602080832090910192909255828152609a9091526040808220849055858252812055609980548061414e5761414e614963565b6001900381819060005260206000200160009055905550505050565b6000614175836116ed565b6001600160a01b039093166000908152609760209081526040808320868452825280832085905593825260989052919091209190915550565b8280546141ba906148cd565b90600052602060002090601f0160209004810192826141dc5760008555614222565b82601f106141f55782800160ff19823516178555614222565b82800160010185558215614222579182015b82811115614222578235825591602001919060010190614207565b5061422e9291506142a6565b5090565b82805461423e906148cd565b90600052602060002090601f0160209004810192826142605760008555614222565b82601f1061427957805160ff1916838001178555614222565b82800160010185558215614222579182015b8281111561422257825182559160200191906001019061428b565b5b8082111561422e57600081556001016142a7565b600067ffffffffffffffff808411156142d6576142d661498f565b604051601f8501601f19908116603f011681019082821181831017156142fe576142fe61498f565b8160405280935085815286868601111561431757600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461388d57600080fd5b60008083601f84011261435a57600080fd5b50813567ffffffffffffffff81111561437257600080fd5b6020830191508360208260051b850101111561438d57600080fd5b9250929050565b8035801515811461388d57600080fd5b6000602082840312156143b657600080fd5b6143bf82614331565b9392505050565b600080604083850312156143d957600080fd5b6143e283614331565b91506143f060208401614331565b90509250929050565b60008060006060848603121561440e57600080fd5b61441784614331565b925061442560208501614331565b9150604084013590509250925092565b6000806000806080858703121561444b57600080fd5b61445485614331565b935061446260208601614331565b925060408501359150606085013567ffffffffffffffff81111561448557600080fd5b8501601f8101871361449657600080fd5b6144a5878235602084016142bb565b91505092959194509250565b600080604083850312156144c457600080fd5b6144cd83614331565b91506143f060208401614394565b600080604083850312156144ee57600080fd5b6144f783614331565b946020939093013593505050565b6000806020838503121561451857600080fd5b823567ffffffffffffffff81111561452f57600080fd5b61453b85828601614348565b90969095509350505050565b60008060006040848603121561455c57600080fd5b833567ffffffffffffffff81111561457357600080fd5b61457f86828701614348565b909790965060209590950135949350505050565b6000602082840312156145a557600080fd5b6143bf82614394565b6000602082840312156145c057600080fd5b81356143bf816149a5565b6000602082840312156145dd57600080fd5b81516143bf816149a5565b600080602083850312156145fb57600080fd5b823567ffffffffffffffff8082111561461357600080fd5b818501915085601f83011261462757600080fd5b81358181111561463657600080fd5b86602082850101111561464857600080fd5b60209290920196919550909350505050565b60006020828403121561466c57600080fd5b813567ffffffffffffffff81111561468357600080fd5b8201601f8101841361469457600080fd5b61313a848235602084016142bb565b6000602082840312156146b557600080fd5b5035919050565b600081518084526146d48160208601602086016148a1565b601f01601f19169290920160200192915050565b6000845160206146fb8285838a016148a1565b85519184019161470e8184848a016148a1565b8554920191600090600181811c908083168061472b57607f831692505b85831081141561474957634e487b7160e01b85526022600452602485fd5b80801561475d576001811461476e5761479b565b60ff1985168852838801955061479b565b60008b81526020902060005b858110156147935781548a82015290840190880161477a565b505083880195505b50939b9a5050505050505050505050565b60006001600160a01b038087168352808616602084015250836040830152608060608301526147de60808301846146bc565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b8181101561482057835183529284019291840191600101614804565b50909695505050505050565b6020815260006143bf60208301846146bc565b6000821982111561485257614852614937565b500190565b6000826148665761486661494d565b500490565b600081600019048311821515161561488557614885614937565b500290565b60008282101561489c5761489c614937565b500390565b60005b838110156148bc5781810151838201526020016148a4565b83811115611d6e5750506000910152565b600181811c908216806148e157607f821691505b6020821081141561490257634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561491c5761491c614937565b5060010190565b6000826149325761493261494d565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b7fffffffff00000000000000000000000000000000000000000000000000000000811681146112fb57600080fdfe68747470733a2f2f74696e7966616d696c696172732e636f6d2f74696e7946616d696c696172732e6a736f6e4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a26469706673582212203eab320336a817b103431decaae088ae2b08c79b069f127a34d2ad77a5f6b90364736f6c63430008070033

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.