ETH Price: $3,684.46 (+3.23%)

MNLTHRVLD (MNLTHRVLD)
 

Overview

TokenID

12179

Total Transfers

-

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

RTFKT, together with Nike, introduces the first RTFKT x NIKE CRYPTOKICKS NFT: The RTFKT X NIKE DUNK GENESIS CRYPTOKICKS Sneaker Powered by DRM OS and Skin Vial Tech.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
MNLTHRVLD

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
No with 200 runs

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

/*
    RTFKT Legal Overview [https://rtfkt.com/legaloverview]
    1. RTFKT Platform Terms of Services [Document #1, https://rtfkt.com/tos]
    2. End Use License Terms
    A. Digital Collectible Terms (RTFKT-Owned Content) [Document #2-A, https://rtfkt.com/legal-2A]
    B. Digital Collectible Terms (Third Party Content) [Document #2-B, https://rtfkt.com/legal-2B]
    C. Digital Collectible Limited Commercial Use License Terms (RTFKT-Owned Content) [Document #2-C, https://rtfkt.com/legal-2C]
    
    3. Policies or other documentation
    A. RTFKT Privacy Policy [Document #3-A, https://rtfkt.com/privacy]
    B. NFT Issuance and Marketing Policy [Document #3-B, https://rtfkt.com/legal-3B]
    C. Transfer Fees [Document #3C, https://rtfkt.com/legal-3C]
    C. 1. Commercialization Registration [https://rtfkt.typeform.com/to/u671kiRl]
    
    4. General notices
    A. Murakami Short Verbiage – User Experience Notice [Document #X-1, https://rtfkt.com/legal-X1]
*/

pragma solidity ^0.8.2;

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

abstract contract skinTokenContract {
    function skinUnequipped(uint256 tokenId, address owner) public virtual;
    function mint(address receiver) public virtual returns(uint256);
}

abstract contract newMnlthTokenContract {
    function mint(address receiver) public virtual returns(uint256);
}


contract MNLTHRVLD is ERC721, ERC721Enumerable, ERC721URIStorage, Ownable {
    using Counters for Counters.Counter;

    Counters.Counter private _tokenIdCounter;

    constructor() ERC721("MNLTHRVLD", "MNLTHRVLD") {
        _tokenIdCounter.increment(); // Making sure we start at token ID 1
    }
    
    string public _tokenUri = ""; // Initial base URI
    address mnlthAddress = 0x5e0e691778e2061ecf56a58cf4D3466d19CF7389;
    address vialAddress = 0x0f666172E2AB3dE7692e118482e11e348B476A8a;
    address newmnlthAddress = 0x9dE9a9bA469e3627e3d08D7B9798f3B64eA08A4f;

    mapping (uint256 => uint256) public equippedSkin;
    
    bool public contractLocked = false;

    function mintTransfer(address to) public returns(uint256) {
        require(msg.sender == mnlthAddress, "Not authorized");
        
        uint256 mintedId =  _tokenIdCounter.current();

        // D
        _safeMint(to, _tokenIdCounter.current());
        _setTokenURI(_tokenIdCounter.current(), "https://mnlthassets.rtfkt.com/dunks/0");
        _tokenIdCounter.increment();

        // V
        skinTokenContract vialContract = skinTokenContract(vialAddress);
        uint256 vialId = vialContract.mint(to); 
        
        // // M
        newMnlthTokenContract newMnlthContract = newMnlthTokenContract(newmnlthAddress);
        uint256 mnlthId = newMnlthContract.mint(to); 

        return mintedId;
    }
    
    // Change the MNLTH address contract
    function setMnlthAddress(address newAddress) public onlyOwner { 
        mnlthAddress = newAddress;
    }

    // Change the VIAL address contract
    function setVialAddress(address newAddress) public onlyOwner { 
        vialAddress = newAddress;
    }

    // Change the NMNLTH address contract
    function setNewMnlthAddress(address newAddress) public onlyOwner { 
        newmnlthAddress = newAddress;
    }
    
    function secureBaseUri(string memory newUri) public onlyOwner {
        require(contractLocked == false, "Contract has been locked and URI can't be changed");
        _tokenUri = newUri;
    }
    
    function lockContract() public onlyOwner {
        contractLocked = true;   
    }

    function equipSkin(uint256 dunkId, uint256 vialId) public {
        require(msg.sender == vialAddress, "Not authorized");
        require(equippedSkin[dunkId] == 0, "A skin is already equipped");
        equippedSkin[dunkId] = vialId;
        _setTokenURI(dunkId, string(abi.encodePacked("https://mnlthassets.rtfkt.com/dunks/", uint2str(vialId))));
    }

    function unequipSkin(uint256 tokenId) public {
        require(ownerOf(tokenId) == msg.sender, "You don't own that token");
        require(equippedSkin[tokenId] != 0, "No skin equipped");

        skinTokenContract vialContract = skinTokenContract(vialAddress);
        vialContract.skinUnequipped(equippedSkin[tokenId], msg.sender); 
        equippedSkin[tokenId] = 0;
        _setTokenURI(tokenId, "https://mnlthassets.rtfkt.com/dunks/0"); 
    }

    function getEquippedSkin(uint256 dunkId) public view returns(uint256) {
        return equippedSkin[dunkId];
    }
    
	/*
	 * Helper function
	 */
	function tokensOfOwner(address _owner) external view returns (uint256[] memory) {
		uint256 tokenCount = balanceOf(_owner);
		if (tokenCount == 0) return new uint256[](0);
		else {
			uint256[] memory result = new uint256[](tokenCount);
			uint256 index;
			for (index = 0; index < tokenCount; index++) {
				result[index] = tokenOfOwnerByIndex(_owner, index);
			}
			return result;
		}
	}

    /** OVERRIDES */
    function _baseURI() internal view override returns (string memory) {
        return _tokenUri;
    }
    
	function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal override(ERC721, ERC721Enumerable) {
        super._beforeTokenTransfer(from, to, tokenId);
    }

    function _burn(uint256 tokenId) internal override(ERC721, ERC721URIStorage) {
        super._burn(tokenId);
    }

    function tokenURI(uint256 tokenId) public view override(ERC721, ERC721URIStorage) returns (string memory) {
        return super.tokenURI(tokenId);
    }

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

    function uint2str(uint _i) internal pure returns (string memory _uintAsString) {
        if (_i == 0) {
            return "0";
        }
        uint j = _i;
        uint len;
        while (j != 0) {
            len++;
            j /= 10;
        }
        bytes memory bstr = new bytes(len);
        uint k = len;
        while (_i != 0) {
            k = k-1;
            uint8 temp = (48 + uint8(_i - _i / 10 * 10));
            bytes1 b1 = bytes1(temp);
            bstr[k] = b1;
            _i /= 10;
        }
        return string(bstr);
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "../ERC721.sol";

/**
 * @dev ERC721 token with storage based token URI management.
 */
abstract contract ERC721URIStorage is ERC721 {
    using Strings for uint256;

    // Optional mapping for token URIs
    mapping(uint256 => string) private _tokenURIs;

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

        string memory _tokenURI = _tokenURIs[tokenId];
        string memory base = _baseURI();

        // If there is no base URI, return the token URI.
        if (bytes(base).length == 0) {
            return _tokenURI;
        }
        // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked).
        if (bytes(_tokenURI).length > 0) {
            return string(abi.encodePacked(base, _tokenURI));
        }

        return super.tokenURI(tokenId);
    }

    /**
     * @dev Sets `_tokenURI` as the tokenURI of `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual {
        require(_exists(tokenId), "ERC721URIStorage: URI set of nonexistent token");
        _tokenURIs[tokenId] = _tokenURI;
    }

    /**
     * @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 override {
        super._burn(tokenId);

        if (bytes(_tokenURIs[tokenId]).length != 0) {
            delete _tokenURIs[tokenId];
        }
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

        _afterTokenTransfer(address(0), to, tokenId);
    }

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

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

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

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

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

        _afterTokenTransfer(owner, address(0), tokenId);
    }

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"_tokenUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","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":"contractLocked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"dunkId","type":"uint256"},{"internalType":"uint256","name":"vialId","type":"uint256"}],"name":"equipSkin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"equippedSkin","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"dunkId","type":"uint256"}],"name":"getEquippedSkin","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"lockContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"mintTransfer","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newUri","type":"string"}],"name":"secureBaseUri","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":"address","name":"newAddress","type":"address"}],"name":"setMnlthAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"setNewMnlthAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"setVialAddress","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":[{"internalType":"address","name":"_owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"unequipSkin","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405260405180602001604052806000815250600d90805190602001906200002b92919062000315565b50735e0e691778e2061ecf56a58cf4d3466d19cf7389600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550730f666172e2ab3de7692e118482e11e348b476a8a600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550739de9a9ba469e3627e3d08d7b9798f3b64ea08a4f601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000601260006101000a81548160ff0219169083151502179055503480156200015357600080fd5b506040518060400160405280600981526020017f4d4e4c544852564c4400000000000000000000000000000000000000000000008152506040518060400160405280600981526020017f4d4e4c544852564c4400000000000000000000000000000000000000000000008152508160009080519060200190620001d892919062000315565b508060019080519060200190620001f192919062000315565b50505062000214620002086200023160201b60201c565b6200023960201b60201c565b6200022b600c620002ff60201b620019e11760201c565b6200042a565b600033905090565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6001816000016000828254019250508190555050565b8280546200032390620003c5565b90600052602060002090601f01602090048101928262000347576000855562000393565b82601f106200036257805160ff191683800117855562000393565b8280016001018555821562000393579182015b828111156200039257825182559160200191906001019062000375565b5b509050620003a29190620003a6565b5090565b5b80821115620003c1576000816000905550600101620003a7565b5090565b60006002820490506001821680620003de57607f821691505b60208210811415620003f557620003f4620003fb565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b614c05806200043a6000396000f3fe608060405234801561001057600080fd5b50600436106101f05760003560e01c8063753868e31161010f578063b6286e18116100a2578063c87b56dd11610071578063c87b56dd146105b3578063df6552b9146105e3578063e985e9c514610601578063f2fde38b14610631576101f0565b8063b6286e1814610543578063b88d4fde1461055f578063c46b0d841461057b578063c6769bda14610597576101f0565b806395d89b41116100de57806395d89b41146104bd578063a22cb465146104db578063a6bf89f4146104f7578063b58fc04f14610527576101f0565b8063753868e3146104355780638462151c1461043f5780638da5cb5b1461046f578063937f26081461048d576101f0565b8063324cb3cb116101875780634f6ccce7116101565780634f6ccce71461039b5780636352211e146103cb57806370a08231146103fb578063715018a61461042b576101f0565b8063324cb3cb1461031557806342842e0e1461033357806348ee72971461034f57806349913afe1461036b576101f0565b80630da3496e116101c35780630da3496e1461028f57806318160ddd146102ab57806323b872dd146102c95780632f745c59146102e5576101f0565b806301ffc9a7146101f557806306fdde0314610225578063081812fc14610243578063095ea7b314610273575b600080fd5b61020f600480360381019061020a91906134ba565b61064d565b60405161021c9190613ba9565b60405180910390f35b61022d61065f565b60405161023a9190613bc4565b60405180910390f35b61025d6004803603810190610258919061355d565b6106f1565b60405161026a9190613b20565b60405180910390f35b61028d6004803603810190610288919061347a565b610776565b005b6102a960048036038101906102a491906132f7565b61088e565b005b6102b361094e565b6040516102c09190613f06565b60405180910390f35b6102e360048036038101906102de9190613364565b61095b565b005b6102ff60048036038101906102fa919061347a565b6109bb565b60405161030c9190613f06565b60405180910390f35b61031d610a60565b60405161032a9190613ba9565b60405180910390f35b61034d60048036038101906103489190613364565b610a73565b005b610369600480360381019061036491906132f7565b610a93565b005b6103856004803603810190610380919061355d565b610b53565b6040516103929190613f06565b60405180910390f35b6103b560048036038101906103b0919061355d565b610b70565b6040516103c29190613f06565b60405180910390f35b6103e560048036038101906103e0919061355d565b610be1565b6040516103f29190613b20565b60405180910390f35b610415600480360381019061041091906132f7565b610c93565b6040516104229190613f06565b60405180910390f35b610433610d4b565b005b61043d610dd3565b005b610459600480360381019061045491906132f7565b610e6c565b6040516104669190613b87565b60405180910390f35b610477610f76565b6040516104849190613b20565b60405180910390f35b6104a760048036038101906104a291906132f7565b610fa0565b6040516104b49190613f06565b60405180910390f35b6104c5611201565b6040516104d29190613bc4565b60405180910390f35b6104f560048036038101906104f0919061343a565b611293565b005b610511600480360381019061050c919061355d565b6112a9565b60405161051e9190613f06565b60405180910390f35b610541600480360381019061053c919061355d565b6112c1565b005b61055d600480360381019061055891906132f7565b611474565b005b610579600480360381019061057491906133b7565b611534565b005b61059560048036038101906105909190613514565b611596565b005b6105b160048036038101906105ac91906135b7565b611682565b005b6105cd60048036038101906105c8919061355d565b6117b5565b6040516105da9190613bc4565b60405180910390f35b6105eb6117c7565b6040516105f89190613bc4565b60405180910390f35b61061b60048036038101906106169190613324565b611855565b6040516106289190613ba9565b60405180910390f35b61064b600480360381019061064691906132f7565b6118e9565b005b6000610658826119f7565b9050919050565b60606000805461066e9061425c565b80601f016020809104026020016040519081016040528092919081815260200182805461069a9061425c565b80156106e75780601f106106bc576101008083540402835291602001916106e7565b820191906000526020600020905b8154815290600101906020018083116106ca57829003601f168201915b5050505050905090565b60006106fc82611a71565b61073b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161073290613dc6565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061078182610be1565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156107f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107e990613e46565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610811611add565b73ffffffffffffffffffffffffffffffffffffffff161480610840575061083f8161083a611add565b611855565b5b61087f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161087690613d06565b60405180910390fd5b6108898383611ae5565b505050565b610896611add565b73ffffffffffffffffffffffffffffffffffffffff166108b4610f76565b73ffffffffffffffffffffffffffffffffffffffff161461090a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161090190613e06565b60405180910390fd5b80600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600880549050905090565b61096c610966611add565b82611b9e565b6109ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109a290613e66565b60405180910390fd5b6109b6838383611c7c565b505050565b60006109c683610c93565b8210610a07576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109fe90613be6565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b601260009054906101000a900460ff1681565b610a8e83838360405180602001604052806000815250611534565b505050565b610a9b611add565b73ffffffffffffffffffffffffffffffffffffffff16610ab9610f76565b73ffffffffffffffffffffffffffffffffffffffff1614610b0f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b0690613e06565b60405180910390fd5b80600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600060116000838152602001908152602001600020549050919050565b6000610b7a61094e565b8210610bbb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bb290613e86565b60405180910390fd5b60088281548110610bcf57610bce6143f5565b5b90600052602060002001549050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610c8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c8190613d46565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610d04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cfb90613d26565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610d53611add565b73ffffffffffffffffffffffffffffffffffffffff16610d71610f76565b73ffffffffffffffffffffffffffffffffffffffff1614610dc7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dbe90613e06565b60405180910390fd5b610dd16000611ee3565b565b610ddb611add565b73ffffffffffffffffffffffffffffffffffffffff16610df9610f76565b73ffffffffffffffffffffffffffffffffffffffff1614610e4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4690613e06565b60405180910390fd5b6001601260006101000a81548160ff021916908315150217905550565b60606000610e7983610c93565b90506000811415610ed657600067ffffffffffffffff811115610e9f57610e9e614424565b5b604051908082528060200260200182016040528015610ecd5781602001602082028036833780820191505090505b50915050610f71565b60008167ffffffffffffffff811115610ef257610ef1614424565b5b604051908082528060200260200182016040528015610f205781602001602082028036833780820191505090505b50905060005b82811015610f6a57610f3885826109bb565b828281518110610f4b57610f4a6143f5565b5b6020026020010181815250508080610f62906142bf565b915050610f26565b8193505050505b919050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611032576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102990613ee6565b60405180910390fd5b600061103e600c611fa9565b90506110538361104e600c611fa9565b611fb7565b61107e611060600c611fa9565b604051806060016040528060258152602001614bab60259139611fd5565b611088600c6119e1565b6000600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008173ffffffffffffffffffffffffffffffffffffffff16636a627842866040518263ffffffff1660e01b81526004016110ea9190613b20565b602060405180830381600087803b15801561110457600080fd5b505af1158015611118573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061113c919061358a565b90506000601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008173ffffffffffffffffffffffffffffffffffffffff16636a627842886040518263ffffffff1660e01b81526004016111a09190613b20565b602060405180830381600087803b1580156111ba57600080fd5b505af11580156111ce573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111f2919061358a565b90508495505050505050919050565b6060600180546112109061425c565b80601f016020809104026020016040519081016040528092919081815260200182805461123c9061425c565b80156112895780601f1061125e57610100808354040283529160200191611289565b820191906000526020600020905b81548152906001019060200180831161126c57829003601f168201915b5050505050905090565b6112a561129e611add565b8383612049565b5050565b60116020528060005260406000206000915090505481565b3373ffffffffffffffffffffffffffffffffffffffff166112e182610be1565b73ffffffffffffffffffffffffffffffffffffffff1614611337576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132e90613ea6565b60405180910390fd5b60006011600083815260200190815260200160002054141561138e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138590613cc6565b60405180910390fd5b6000600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508073ffffffffffffffffffffffffffffffffffffffff16633de1f93c6011600085815260200190815260200160002054336040518363ffffffff1660e01b8152600401611403929190613f21565b600060405180830381600087803b15801561141d57600080fd5b505af1158015611431573d6000803e3d6000fd5b505050506000601160008481526020019081526020016000208190555061147082604051806060016040528060258152602001614bab60259139611fd5565b5050565b61147c611add565b73ffffffffffffffffffffffffffffffffffffffff1661149a610f76565b73ffffffffffffffffffffffffffffffffffffffff16146114f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e790613e06565b60405180910390fd5b80601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b61154561153f611add565b83611b9e565b611584576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157b90613e66565b60405180910390fd5b611590848484846121b6565b50505050565b61159e611add565b73ffffffffffffffffffffffffffffffffffffffff166115bc610f76565b73ffffffffffffffffffffffffffffffffffffffff1614611612576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161160990613e06565b60405180910390fd5b60001515601260009054906101000a900460ff16151514611668576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161165f90613ec6565b60405180910390fd5b80600d908051906020019061167e9291906130f6565b5050565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611712576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170990613ee6565b60405180910390fd5b6000601160008481526020019081526020016000205414611768576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175f90613de6565b60405180910390fd5b8060116000848152602001908152602001600020819055506117b18261178d83612212565b60405160200161179d9190613afe565b604051602081830303815290604052611fd5565b5050565b60606117c08261239b565b9050919050565b600d80546117d49061425c565b80601f01602080910402602001604051908101604052809291908181526020018280546118009061425c565b801561184d5780601f106118225761010080835404028352916020019161184d565b820191906000526020600020905b81548152906001019060200180831161183057829003601f168201915b505050505081565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6118f1611add565b73ffffffffffffffffffffffffffffffffffffffff1661190f610f76565b73ffffffffffffffffffffffffffffffffffffffff1614611965576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161195c90613e06565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156119d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119cc90613c26565b60405180910390fd5b6119de81611ee3565b50565b6001816000016000828254019250508190555050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611a6a5750611a69826124ed565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611b5883610be1565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611ba982611a71565b611be8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bdf90613ce6565b60405180910390fd5b6000611bf383610be1565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611c6257508373ffffffffffffffffffffffffffffffffffffffff16611c4a846106f1565b73ffffffffffffffffffffffffffffffffffffffff16145b80611c735750611c728185611855565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611c9c82610be1565b73ffffffffffffffffffffffffffffffffffffffff1614611cf2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ce990613c46565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611d62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5990613c86565b60405180910390fd5b611d6d8383836125cf565b611d78600082611ae5565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611dc89190614165565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611e1f919061404d565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611ede8383836125df565b505050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081600001549050919050565b611fd18282604051806020016040528060008152506125e4565b5050565b611fde82611a71565b61201d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161201490613d66565b60405180910390fd5b80600a600084815260200190815260200160002090805190602001906120449291906130f6565b505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156120b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120af90613ca6565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516121a99190613ba9565b60405180910390a3505050565b6121c1848484611c7c565b6121cd8484848461263f565b61220c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161220390613c06565b60405180910390fd5b50505050565b6060600082141561225a576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612396565b600082905060005b6000821461228c578080612275906142bf565b915050600a8261228591906140da565b9150612262565b60008167ffffffffffffffff8111156122a8576122a7614424565b5b6040519080825280601f01601f1916602001820160405280156122da5781602001600182028036833780820191505090505b50905060008290505b6000861461238e576001816122f89190614165565b90506000600a808861230a91906140da565b612314919061410b565b8761231f9190614165565b603061232b91906140a3565b905060008160f81b905080848481518110612349576123486143f5565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8861238591906140da565b975050506122e3565b819450505050505b919050565b60606123a682611a71565b6123e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123dc90613da6565b60405180910390fd5b6000600a600084815260200190815260200160002080546124059061425c565b80601f01602080910402602001604051908101604052809291908181526020018280546124319061425c565b801561247e5780601f106124535761010080835404028352916020019161247e565b820191906000526020600020905b81548152906001019060200180831161246157829003601f168201915b50505050509050600061248f6127d6565b90506000815114156124a55781925050506124e8565b6000825111156124da5780826040516020016124c2929190613ada565b604051602081830303815290604052925050506124e8565b6124e384612868565b925050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806125b857507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806125c857506125c78261290f565b5b9050919050565b6125da838383612979565b505050565b505050565b6125ee8383612a8d565b6125fb600084848461263f565b61263a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161263190613c06565b60405180910390fd5b505050565b60006126608473ffffffffffffffffffffffffffffffffffffffff16612c67565b156127c9578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612689611add565b8786866040518563ffffffff1660e01b81526004016126ab9493929190613b3b565b602060405180830381600087803b1580156126c557600080fd5b505af19250505080156126f657506040513d601f19601f820116820180604052508101906126f391906134e7565b60015b612779573d8060008114612726576040519150601f19603f3d011682016040523d82523d6000602084013e61272b565b606091505b50600081511415612771576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161276890613c06565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506127ce565b600190505b949350505050565b6060600d80546127e59061425c565b80601f01602080910402602001604051908101604052809291908181526020018280546128119061425c565b801561285e5780601f106128335761010080835404028352916020019161285e565b820191906000526020600020905b81548152906001019060200180831161284157829003601f168201915b5050505050905090565b606061287382611a71565b6128b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128a990613e26565b60405180910390fd5b60006128bc6127d6565b905060008151116128dc5760405180602001604052806000815250612907565b806128e684612c8a565b6040516020016128f7929190613ada565b6040516020818303038152906040525b915050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612984838383612deb565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156129c7576129c281612df0565b612a06565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612a0557612a048382612e39565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612a4957612a4481612fa6565b612a88565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612a8757612a868282613077565b5b5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612afd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612af490613d86565b60405180910390fd5b612b0681611a71565b15612b46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b3d90613c66565b60405180910390fd5b612b52600083836125cf565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612ba2919061404d565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612c63600083836125df565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60606000821415612cd2576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612de6565b600082905060005b60008214612d04578080612ced906142bf565b915050600a82612cfd91906140da565b9150612cda565b60008167ffffffffffffffff811115612d2057612d1f614424565b5b6040519080825280601f01601f191660200182016040528015612d525781602001600182028036833780820191505090505b5090505b60008514612ddf57600182612d6b9190614165565b9150600a85612d7a9190614308565b6030612d86919061404d565b60f81b818381518110612d9c57612d9b6143f5565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612dd891906140da565b9450612d56565b8093505050505b919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612e4684610c93565b612e509190614165565b9050600060076000848152602001908152602001600020549050818114612f35576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050612fba9190614165565b9050600060096000848152602001908152602001600020549050600060088381548110612fea57612fe96143f5565b5b90600052602060002001549050806008838154811061300c5761300b6143f5565b5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548061305b5761305a6143c6565b5b6001900381819060005260206000200160009055905550505050565b600061308283610c93565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b8280546131029061425c565b90600052602060002090601f016020900481019282613124576000855561316b565b82601f1061313d57805160ff191683800117855561316b565b8280016001018555821561316b579182015b8281111561316a57825182559160200191906001019061314f565b5b509050613178919061317c565b5090565b5b8082111561319557600081600090555060010161317d565b5090565b60006131ac6131a784613f6f565b613f4a565b9050828152602081018484840111156131c8576131c7614458565b5b6131d384828561421a565b509392505050565b60006131ee6131e984613fa0565b613f4a565b90508281526020810184848401111561320a57613209614458565b5b61321584828561421a565b509392505050565b60008135905061322c81614b4e565b92915050565b60008135905061324181614b65565b92915050565b60008135905061325681614b7c565b92915050565b60008151905061326b81614b7c565b92915050565b600082601f83011261328657613285614453565b5b8135613296848260208601613199565b91505092915050565b600082601f8301126132b4576132b3614453565b5b81356132c48482602086016131db565b91505092915050565b6000813590506132dc81614b93565b92915050565b6000815190506132f181614b93565b92915050565b60006020828403121561330d5761330c614462565b5b600061331b8482850161321d565b91505092915050565b6000806040838503121561333b5761333a614462565b5b60006133498582860161321d565b925050602061335a8582860161321d565b9150509250929050565b60008060006060848603121561337d5761337c614462565b5b600061338b8682870161321d565b935050602061339c8682870161321d565b92505060406133ad868287016132cd565b9150509250925092565b600080600080608085870312156133d1576133d0614462565b5b60006133df8782880161321d565b94505060206133f08782880161321d565b9350506040613401878288016132cd565b925050606085013567ffffffffffffffff8111156134225761342161445d565b5b61342e87828801613271565b91505092959194509250565b6000806040838503121561345157613450614462565b5b600061345f8582860161321d565b925050602061347085828601613232565b9150509250929050565b6000806040838503121561349157613490614462565b5b600061349f8582860161321d565b92505060206134b0858286016132cd565b9150509250929050565b6000602082840312156134d0576134cf614462565b5b60006134de84828501613247565b91505092915050565b6000602082840312156134fd576134fc614462565b5b600061350b8482850161325c565b91505092915050565b60006020828403121561352a57613529614462565b5b600082013567ffffffffffffffff8111156135485761354761445d565b5b6135548482850161329f565b91505092915050565b60006020828403121561357357613572614462565b5b6000613581848285016132cd565b91505092915050565b6000602082840312156135a05761359f614462565b5b60006135ae848285016132e2565b91505092915050565b600080604083850312156135ce576135cd614462565b5b60006135dc858286016132cd565b92505060206135ed858286016132cd565b9150509250929050565b60006136038383613abc565b60208301905092915050565b61361881614199565b82525050565b600061362982613fe1565b613633818561400f565b935061363e83613fd1565b8060005b8381101561366f57815161365688826135f7565b975061366183614002565b925050600181019050613642565b5085935050505092915050565b613685816141ab565b82525050565b600061369682613fec565b6136a08185614020565b93506136b0818560208601614229565b6136b981614467565b840191505092915050565b60006136cf82613ff7565b6136d98185614031565b93506136e9818560208601614229565b6136f281614467565b840191505092915050565b600061370882613ff7565b6137128185614042565b9350613722818560208601614229565b80840191505092915050565b600061373b602b83614031565b915061374682614478565b604082019050919050565b600061375e603283614031565b9150613769826144c7565b604082019050919050565b6000613781602683614031565b915061378c82614516565b604082019050919050565b60006137a4602583614031565b91506137af82614565565b604082019050919050565b60006137c7601c83614031565b91506137d2826145b4565b602082019050919050565b60006137ea602483614031565b91506137f5826145dd565b604082019050919050565b600061380d601983614031565b91506138188261462c565b602082019050919050565b6000613830601083614031565b915061383b82614655565b602082019050919050565b6000613853602c83614031565b915061385e8261467e565b604082019050919050565b6000613876603883614031565b9150613881826146cd565b604082019050919050565b6000613899602a83614031565b91506138a48261471c565b604082019050919050565b60006138bc602983614031565b91506138c78261476b565b604082019050919050565b60006138df602e83614031565b91506138ea826147ba565b604082019050919050565b6000613902602083614031565b915061390d82614809565b602082019050919050565b6000613925603183614031565b915061393082614832565b604082019050919050565b6000613948602c83614031565b915061395382614881565b604082019050919050565b600061396b601a83614031565b9150613976826148d0565b602082019050919050565b600061398e602083614031565b9150613999826148f9565b602082019050919050565b60006139b1602f83614031565b91506139bc82614922565b604082019050919050565b60006139d4602183614031565b91506139df82614971565b604082019050919050565b60006139f7603183614031565b9150613a02826149c0565b604082019050919050565b6000613a1a602c83614031565b9150613a2582614a0f565b604082019050919050565b6000613a3d602483614042565b9150613a4882614a5e565b602482019050919050565b6000613a60601883614031565b9150613a6b82614aad565b602082019050919050565b6000613a83603183614031565b9150613a8e82614ad6565b604082019050919050565b6000613aa6600e83614031565b9150613ab182614b25565b602082019050919050565b613ac581614203565b82525050565b613ad481614203565b82525050565b6000613ae682856136fd565b9150613af282846136fd565b91508190509392505050565b6000613b0982613a30565b9150613b1582846136fd565b915081905092915050565b6000602082019050613b35600083018461360f565b92915050565b6000608082019050613b50600083018761360f565b613b5d602083018661360f565b613b6a6040830185613acb565b8181036060830152613b7c818461368b565b905095945050505050565b60006020820190508181036000830152613ba1818461361e565b905092915050565b6000602082019050613bbe600083018461367c565b92915050565b60006020820190508181036000830152613bde81846136c4565b905092915050565b60006020820190508181036000830152613bff8161372e565b9050919050565b60006020820190508181036000830152613c1f81613751565b9050919050565b60006020820190508181036000830152613c3f81613774565b9050919050565b60006020820190508181036000830152613c5f81613797565b9050919050565b60006020820190508181036000830152613c7f816137ba565b9050919050565b60006020820190508181036000830152613c9f816137dd565b9050919050565b60006020820190508181036000830152613cbf81613800565b9050919050565b60006020820190508181036000830152613cdf81613823565b9050919050565b60006020820190508181036000830152613cff81613846565b9050919050565b60006020820190508181036000830152613d1f81613869565b9050919050565b60006020820190508181036000830152613d3f8161388c565b9050919050565b60006020820190508181036000830152613d5f816138af565b9050919050565b60006020820190508181036000830152613d7f816138d2565b9050919050565b60006020820190508181036000830152613d9f816138f5565b9050919050565b60006020820190508181036000830152613dbf81613918565b9050919050565b60006020820190508181036000830152613ddf8161393b565b9050919050565b60006020820190508181036000830152613dff8161395e565b9050919050565b60006020820190508181036000830152613e1f81613981565b9050919050565b60006020820190508181036000830152613e3f816139a4565b9050919050565b60006020820190508181036000830152613e5f816139c7565b9050919050565b60006020820190508181036000830152613e7f816139ea565b9050919050565b60006020820190508181036000830152613e9f81613a0d565b9050919050565b60006020820190508181036000830152613ebf81613a53565b9050919050565b60006020820190508181036000830152613edf81613a76565b9050919050565b60006020820190508181036000830152613eff81613a99565b9050919050565b6000602082019050613f1b6000830184613acb565b92915050565b6000604082019050613f366000830185613acb565b613f43602083018461360f565b9392505050565b6000613f54613f65565b9050613f60828261428e565b919050565b6000604051905090565b600067ffffffffffffffff821115613f8a57613f89614424565b5b613f9382614467565b9050602081019050919050565b600067ffffffffffffffff821115613fbb57613fba614424565b5b613fc482614467565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061405882614203565b915061406383614203565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561409857614097614339565b5b828201905092915050565b60006140ae8261420d565b91506140b98361420d565b92508260ff038211156140cf576140ce614339565b5b828201905092915050565b60006140e582614203565b91506140f083614203565b925082614100576140ff614368565b5b828204905092915050565b600061411682614203565b915061412183614203565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561415a57614159614339565b5b828202905092915050565b600061417082614203565b915061417b83614203565b92508282101561418e5761418d614339565b5b828203905092915050565b60006141a4826141e3565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b8381101561424757808201518184015260208101905061422c565b83811115614256576000848401525b50505050565b6000600282049050600182168061427457607f821691505b6020821081141561428857614287614397565b5b50919050565b61429782614467565b810181811067ffffffffffffffff821117156142b6576142b5614424565b5b80604052505050565b60006142ca82614203565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156142fd576142fc614339565b5b600182019050919050565b600061431382614203565b915061431e83614203565b92508261432e5761432d614368565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4e6f20736b696e20657175697070656400000000000000000000000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60008201527f6578697374656e7420746f6b656e000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f45524337323155524953746f726167653a2055524920717565727920666f722060008201527f6e6f6e6578697374656e7420746f6b656e000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4120736b696e20697320616c7265616479206571756970706564000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f68747470733a2f2f6d6e6c74686173736574732e7274666b742e636f6d2f647560008201527f6e6b732f00000000000000000000000000000000000000000000000000000000602082015250565b7f596f7520646f6e2774206f776e207468617420746f6b656e0000000000000000600082015250565b7f436f6e747261637420686173206265656e206c6f636b656420616e642055524960008201527f2063616e2774206265206368616e676564000000000000000000000000000000602082015250565b7f4e6f7420617574686f72697a6564000000000000000000000000000000000000600082015250565b614b5781614199565b8114614b6257600080fd5b50565b614b6e816141ab565b8114614b7957600080fd5b50565b614b85816141b7565b8114614b9057600080fd5b50565b614b9c81614203565b8114614ba757600080fd5b5056fe68747470733a2f2f6d6e6c74686173736574732e7274666b742e636f6d2f64756e6b732f30a264697066735822122065bc5723e85fcbf1513b2364eb7266b5ae38129043543ce9f1d56f11bf72313464736f6c63430008070033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101f05760003560e01c8063753868e31161010f578063b6286e18116100a2578063c87b56dd11610071578063c87b56dd146105b3578063df6552b9146105e3578063e985e9c514610601578063f2fde38b14610631576101f0565b8063b6286e1814610543578063b88d4fde1461055f578063c46b0d841461057b578063c6769bda14610597576101f0565b806395d89b41116100de57806395d89b41146104bd578063a22cb465146104db578063a6bf89f4146104f7578063b58fc04f14610527576101f0565b8063753868e3146104355780638462151c1461043f5780638da5cb5b1461046f578063937f26081461048d576101f0565b8063324cb3cb116101875780634f6ccce7116101565780634f6ccce71461039b5780636352211e146103cb57806370a08231146103fb578063715018a61461042b576101f0565b8063324cb3cb1461031557806342842e0e1461033357806348ee72971461034f57806349913afe1461036b576101f0565b80630da3496e116101c35780630da3496e1461028f57806318160ddd146102ab57806323b872dd146102c95780632f745c59146102e5576101f0565b806301ffc9a7146101f557806306fdde0314610225578063081812fc14610243578063095ea7b314610273575b600080fd5b61020f600480360381019061020a91906134ba565b61064d565b60405161021c9190613ba9565b60405180910390f35b61022d61065f565b60405161023a9190613bc4565b60405180910390f35b61025d6004803603810190610258919061355d565b6106f1565b60405161026a9190613b20565b60405180910390f35b61028d6004803603810190610288919061347a565b610776565b005b6102a960048036038101906102a491906132f7565b61088e565b005b6102b361094e565b6040516102c09190613f06565b60405180910390f35b6102e360048036038101906102de9190613364565b61095b565b005b6102ff60048036038101906102fa919061347a565b6109bb565b60405161030c9190613f06565b60405180910390f35b61031d610a60565b60405161032a9190613ba9565b60405180910390f35b61034d60048036038101906103489190613364565b610a73565b005b610369600480360381019061036491906132f7565b610a93565b005b6103856004803603810190610380919061355d565b610b53565b6040516103929190613f06565b60405180910390f35b6103b560048036038101906103b0919061355d565b610b70565b6040516103c29190613f06565b60405180910390f35b6103e560048036038101906103e0919061355d565b610be1565b6040516103f29190613b20565b60405180910390f35b610415600480360381019061041091906132f7565b610c93565b6040516104229190613f06565b60405180910390f35b610433610d4b565b005b61043d610dd3565b005b610459600480360381019061045491906132f7565b610e6c565b6040516104669190613b87565b60405180910390f35b610477610f76565b6040516104849190613b20565b60405180910390f35b6104a760048036038101906104a291906132f7565b610fa0565b6040516104b49190613f06565b60405180910390f35b6104c5611201565b6040516104d29190613bc4565b60405180910390f35b6104f560048036038101906104f0919061343a565b611293565b005b610511600480360381019061050c919061355d565b6112a9565b60405161051e9190613f06565b60405180910390f35b610541600480360381019061053c919061355d565b6112c1565b005b61055d600480360381019061055891906132f7565b611474565b005b610579600480360381019061057491906133b7565b611534565b005b61059560048036038101906105909190613514565b611596565b005b6105b160048036038101906105ac91906135b7565b611682565b005b6105cd60048036038101906105c8919061355d565b6117b5565b6040516105da9190613bc4565b60405180910390f35b6105eb6117c7565b6040516105f89190613bc4565b60405180910390f35b61061b60048036038101906106169190613324565b611855565b6040516106289190613ba9565b60405180910390f35b61064b600480360381019061064691906132f7565b6118e9565b005b6000610658826119f7565b9050919050565b60606000805461066e9061425c565b80601f016020809104026020016040519081016040528092919081815260200182805461069a9061425c565b80156106e75780601f106106bc576101008083540402835291602001916106e7565b820191906000526020600020905b8154815290600101906020018083116106ca57829003601f168201915b5050505050905090565b60006106fc82611a71565b61073b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161073290613dc6565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061078182610be1565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156107f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107e990613e46565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610811611add565b73ffffffffffffffffffffffffffffffffffffffff161480610840575061083f8161083a611add565b611855565b5b61087f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161087690613d06565b60405180910390fd5b6108898383611ae5565b505050565b610896611add565b73ffffffffffffffffffffffffffffffffffffffff166108b4610f76565b73ffffffffffffffffffffffffffffffffffffffff161461090a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161090190613e06565b60405180910390fd5b80600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600880549050905090565b61096c610966611add565b82611b9e565b6109ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109a290613e66565b60405180910390fd5b6109b6838383611c7c565b505050565b60006109c683610c93565b8210610a07576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109fe90613be6565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b601260009054906101000a900460ff1681565b610a8e83838360405180602001604052806000815250611534565b505050565b610a9b611add565b73ffffffffffffffffffffffffffffffffffffffff16610ab9610f76565b73ffffffffffffffffffffffffffffffffffffffff1614610b0f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b0690613e06565b60405180910390fd5b80600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600060116000838152602001908152602001600020549050919050565b6000610b7a61094e565b8210610bbb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bb290613e86565b60405180910390fd5b60088281548110610bcf57610bce6143f5565b5b90600052602060002001549050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610c8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c8190613d46565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610d04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cfb90613d26565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610d53611add565b73ffffffffffffffffffffffffffffffffffffffff16610d71610f76565b73ffffffffffffffffffffffffffffffffffffffff1614610dc7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dbe90613e06565b60405180910390fd5b610dd16000611ee3565b565b610ddb611add565b73ffffffffffffffffffffffffffffffffffffffff16610df9610f76565b73ffffffffffffffffffffffffffffffffffffffff1614610e4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4690613e06565b60405180910390fd5b6001601260006101000a81548160ff021916908315150217905550565b60606000610e7983610c93565b90506000811415610ed657600067ffffffffffffffff811115610e9f57610e9e614424565b5b604051908082528060200260200182016040528015610ecd5781602001602082028036833780820191505090505b50915050610f71565b60008167ffffffffffffffff811115610ef257610ef1614424565b5b604051908082528060200260200182016040528015610f205781602001602082028036833780820191505090505b50905060005b82811015610f6a57610f3885826109bb565b828281518110610f4b57610f4a6143f5565b5b6020026020010181815250508080610f62906142bf565b915050610f26565b8193505050505b919050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611032576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102990613ee6565b60405180910390fd5b600061103e600c611fa9565b90506110538361104e600c611fa9565b611fb7565b61107e611060600c611fa9565b604051806060016040528060258152602001614bab60259139611fd5565b611088600c6119e1565b6000600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008173ffffffffffffffffffffffffffffffffffffffff16636a627842866040518263ffffffff1660e01b81526004016110ea9190613b20565b602060405180830381600087803b15801561110457600080fd5b505af1158015611118573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061113c919061358a565b90506000601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008173ffffffffffffffffffffffffffffffffffffffff16636a627842886040518263ffffffff1660e01b81526004016111a09190613b20565b602060405180830381600087803b1580156111ba57600080fd5b505af11580156111ce573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111f2919061358a565b90508495505050505050919050565b6060600180546112109061425c565b80601f016020809104026020016040519081016040528092919081815260200182805461123c9061425c565b80156112895780601f1061125e57610100808354040283529160200191611289565b820191906000526020600020905b81548152906001019060200180831161126c57829003601f168201915b5050505050905090565b6112a561129e611add565b8383612049565b5050565b60116020528060005260406000206000915090505481565b3373ffffffffffffffffffffffffffffffffffffffff166112e182610be1565b73ffffffffffffffffffffffffffffffffffffffff1614611337576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132e90613ea6565b60405180910390fd5b60006011600083815260200190815260200160002054141561138e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138590613cc6565b60405180910390fd5b6000600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508073ffffffffffffffffffffffffffffffffffffffff16633de1f93c6011600085815260200190815260200160002054336040518363ffffffff1660e01b8152600401611403929190613f21565b600060405180830381600087803b15801561141d57600080fd5b505af1158015611431573d6000803e3d6000fd5b505050506000601160008481526020019081526020016000208190555061147082604051806060016040528060258152602001614bab60259139611fd5565b5050565b61147c611add565b73ffffffffffffffffffffffffffffffffffffffff1661149a610f76565b73ffffffffffffffffffffffffffffffffffffffff16146114f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e790613e06565b60405180910390fd5b80601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b61154561153f611add565b83611b9e565b611584576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157b90613e66565b60405180910390fd5b611590848484846121b6565b50505050565b61159e611add565b73ffffffffffffffffffffffffffffffffffffffff166115bc610f76565b73ffffffffffffffffffffffffffffffffffffffff1614611612576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161160990613e06565b60405180910390fd5b60001515601260009054906101000a900460ff16151514611668576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161165f90613ec6565b60405180910390fd5b80600d908051906020019061167e9291906130f6565b5050565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611712576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170990613ee6565b60405180910390fd5b6000601160008481526020019081526020016000205414611768576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175f90613de6565b60405180910390fd5b8060116000848152602001908152602001600020819055506117b18261178d83612212565b60405160200161179d9190613afe565b604051602081830303815290604052611fd5565b5050565b60606117c08261239b565b9050919050565b600d80546117d49061425c565b80601f01602080910402602001604051908101604052809291908181526020018280546118009061425c565b801561184d5780601f106118225761010080835404028352916020019161184d565b820191906000526020600020905b81548152906001019060200180831161183057829003601f168201915b505050505081565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6118f1611add565b73ffffffffffffffffffffffffffffffffffffffff1661190f610f76565b73ffffffffffffffffffffffffffffffffffffffff1614611965576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161195c90613e06565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156119d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119cc90613c26565b60405180910390fd5b6119de81611ee3565b50565b6001816000016000828254019250508190555050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611a6a5750611a69826124ed565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611b5883610be1565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611ba982611a71565b611be8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bdf90613ce6565b60405180910390fd5b6000611bf383610be1565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611c6257508373ffffffffffffffffffffffffffffffffffffffff16611c4a846106f1565b73ffffffffffffffffffffffffffffffffffffffff16145b80611c735750611c728185611855565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611c9c82610be1565b73ffffffffffffffffffffffffffffffffffffffff1614611cf2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ce990613c46565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611d62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5990613c86565b60405180910390fd5b611d6d8383836125cf565b611d78600082611ae5565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611dc89190614165565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611e1f919061404d565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611ede8383836125df565b505050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081600001549050919050565b611fd18282604051806020016040528060008152506125e4565b5050565b611fde82611a71565b61201d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161201490613d66565b60405180910390fd5b80600a600084815260200190815260200160002090805190602001906120449291906130f6565b505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156120b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120af90613ca6565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516121a99190613ba9565b60405180910390a3505050565b6121c1848484611c7c565b6121cd8484848461263f565b61220c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161220390613c06565b60405180910390fd5b50505050565b6060600082141561225a576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612396565b600082905060005b6000821461228c578080612275906142bf565b915050600a8261228591906140da565b9150612262565b60008167ffffffffffffffff8111156122a8576122a7614424565b5b6040519080825280601f01601f1916602001820160405280156122da5781602001600182028036833780820191505090505b50905060008290505b6000861461238e576001816122f89190614165565b90506000600a808861230a91906140da565b612314919061410b565b8761231f9190614165565b603061232b91906140a3565b905060008160f81b905080848481518110612349576123486143f5565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8861238591906140da565b975050506122e3565b819450505050505b919050565b60606123a682611a71565b6123e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123dc90613da6565b60405180910390fd5b6000600a600084815260200190815260200160002080546124059061425c565b80601f01602080910402602001604051908101604052809291908181526020018280546124319061425c565b801561247e5780601f106124535761010080835404028352916020019161247e565b820191906000526020600020905b81548152906001019060200180831161246157829003601f168201915b50505050509050600061248f6127d6565b90506000815114156124a55781925050506124e8565b6000825111156124da5780826040516020016124c2929190613ada565b604051602081830303815290604052925050506124e8565b6124e384612868565b925050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806125b857507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806125c857506125c78261290f565b5b9050919050565b6125da838383612979565b505050565b505050565b6125ee8383612a8d565b6125fb600084848461263f565b61263a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161263190613c06565b60405180910390fd5b505050565b60006126608473ffffffffffffffffffffffffffffffffffffffff16612c67565b156127c9578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612689611add565b8786866040518563ffffffff1660e01b81526004016126ab9493929190613b3b565b602060405180830381600087803b1580156126c557600080fd5b505af19250505080156126f657506040513d601f19601f820116820180604052508101906126f391906134e7565b60015b612779573d8060008114612726576040519150601f19603f3d011682016040523d82523d6000602084013e61272b565b606091505b50600081511415612771576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161276890613c06565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506127ce565b600190505b949350505050565b6060600d80546127e59061425c565b80601f01602080910402602001604051908101604052809291908181526020018280546128119061425c565b801561285e5780601f106128335761010080835404028352916020019161285e565b820191906000526020600020905b81548152906001019060200180831161284157829003601f168201915b5050505050905090565b606061287382611a71565b6128b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128a990613e26565b60405180910390fd5b60006128bc6127d6565b905060008151116128dc5760405180602001604052806000815250612907565b806128e684612c8a565b6040516020016128f7929190613ada565b6040516020818303038152906040525b915050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612984838383612deb565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156129c7576129c281612df0565b612a06565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612a0557612a048382612e39565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612a4957612a4481612fa6565b612a88565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612a8757612a868282613077565b5b5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612afd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612af490613d86565b60405180910390fd5b612b0681611a71565b15612b46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b3d90613c66565b60405180910390fd5b612b52600083836125cf565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612ba2919061404d565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612c63600083836125df565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60606000821415612cd2576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612de6565b600082905060005b60008214612d04578080612ced906142bf565b915050600a82612cfd91906140da565b9150612cda565b60008167ffffffffffffffff811115612d2057612d1f614424565b5b6040519080825280601f01601f191660200182016040528015612d525781602001600182028036833780820191505090505b5090505b60008514612ddf57600182612d6b9190614165565b9150600a85612d7a9190614308565b6030612d86919061404d565b60f81b818381518110612d9c57612d9b6143f5565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612dd891906140da565b9450612d56565b8093505050505b919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612e4684610c93565b612e509190614165565b9050600060076000848152602001908152602001600020549050818114612f35576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050612fba9190614165565b9050600060096000848152602001908152602001600020549050600060088381548110612fea57612fe96143f5565b5b90600052602060002001549050806008838154811061300c5761300b6143f5565b5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548061305b5761305a6143c6565b5b6001900381819060005260206000200160009055905550505050565b600061308283610c93565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b8280546131029061425c565b90600052602060002090601f016020900481019282613124576000855561316b565b82601f1061313d57805160ff191683800117855561316b565b8280016001018555821561316b579182015b8281111561316a57825182559160200191906001019061314f565b5b509050613178919061317c565b5090565b5b8082111561319557600081600090555060010161317d565b5090565b60006131ac6131a784613f6f565b613f4a565b9050828152602081018484840111156131c8576131c7614458565b5b6131d384828561421a565b509392505050565b60006131ee6131e984613fa0565b613f4a565b90508281526020810184848401111561320a57613209614458565b5b61321584828561421a565b509392505050565b60008135905061322c81614b4e565b92915050565b60008135905061324181614b65565b92915050565b60008135905061325681614b7c565b92915050565b60008151905061326b81614b7c565b92915050565b600082601f83011261328657613285614453565b5b8135613296848260208601613199565b91505092915050565b600082601f8301126132b4576132b3614453565b5b81356132c48482602086016131db565b91505092915050565b6000813590506132dc81614b93565b92915050565b6000815190506132f181614b93565b92915050565b60006020828403121561330d5761330c614462565b5b600061331b8482850161321d565b91505092915050565b6000806040838503121561333b5761333a614462565b5b60006133498582860161321d565b925050602061335a8582860161321d565b9150509250929050565b60008060006060848603121561337d5761337c614462565b5b600061338b8682870161321d565b935050602061339c8682870161321d565b92505060406133ad868287016132cd565b9150509250925092565b600080600080608085870312156133d1576133d0614462565b5b60006133df8782880161321d565b94505060206133f08782880161321d565b9350506040613401878288016132cd565b925050606085013567ffffffffffffffff8111156134225761342161445d565b5b61342e87828801613271565b91505092959194509250565b6000806040838503121561345157613450614462565b5b600061345f8582860161321d565b925050602061347085828601613232565b9150509250929050565b6000806040838503121561349157613490614462565b5b600061349f8582860161321d565b92505060206134b0858286016132cd565b9150509250929050565b6000602082840312156134d0576134cf614462565b5b60006134de84828501613247565b91505092915050565b6000602082840312156134fd576134fc614462565b5b600061350b8482850161325c565b91505092915050565b60006020828403121561352a57613529614462565b5b600082013567ffffffffffffffff8111156135485761354761445d565b5b6135548482850161329f565b91505092915050565b60006020828403121561357357613572614462565b5b6000613581848285016132cd565b91505092915050565b6000602082840312156135a05761359f614462565b5b60006135ae848285016132e2565b91505092915050565b600080604083850312156135ce576135cd614462565b5b60006135dc858286016132cd565b92505060206135ed858286016132cd565b9150509250929050565b60006136038383613abc565b60208301905092915050565b61361881614199565b82525050565b600061362982613fe1565b613633818561400f565b935061363e83613fd1565b8060005b8381101561366f57815161365688826135f7565b975061366183614002565b925050600181019050613642565b5085935050505092915050565b613685816141ab565b82525050565b600061369682613fec565b6136a08185614020565b93506136b0818560208601614229565b6136b981614467565b840191505092915050565b60006136cf82613ff7565b6136d98185614031565b93506136e9818560208601614229565b6136f281614467565b840191505092915050565b600061370882613ff7565b6137128185614042565b9350613722818560208601614229565b80840191505092915050565b600061373b602b83614031565b915061374682614478565b604082019050919050565b600061375e603283614031565b9150613769826144c7565b604082019050919050565b6000613781602683614031565b915061378c82614516565b604082019050919050565b60006137a4602583614031565b91506137af82614565565b604082019050919050565b60006137c7601c83614031565b91506137d2826145b4565b602082019050919050565b60006137ea602483614031565b91506137f5826145dd565b604082019050919050565b600061380d601983614031565b91506138188261462c565b602082019050919050565b6000613830601083614031565b915061383b82614655565b602082019050919050565b6000613853602c83614031565b915061385e8261467e565b604082019050919050565b6000613876603883614031565b9150613881826146cd565b604082019050919050565b6000613899602a83614031565b91506138a48261471c565b604082019050919050565b60006138bc602983614031565b91506138c78261476b565b604082019050919050565b60006138df602e83614031565b91506138ea826147ba565b604082019050919050565b6000613902602083614031565b915061390d82614809565b602082019050919050565b6000613925603183614031565b915061393082614832565b604082019050919050565b6000613948602c83614031565b915061395382614881565b604082019050919050565b600061396b601a83614031565b9150613976826148d0565b602082019050919050565b600061398e602083614031565b9150613999826148f9565b602082019050919050565b60006139b1602f83614031565b91506139bc82614922565b604082019050919050565b60006139d4602183614031565b91506139df82614971565b604082019050919050565b60006139f7603183614031565b9150613a02826149c0565b604082019050919050565b6000613a1a602c83614031565b9150613a2582614a0f565b604082019050919050565b6000613a3d602483614042565b9150613a4882614a5e565b602482019050919050565b6000613a60601883614031565b9150613a6b82614aad565b602082019050919050565b6000613a83603183614031565b9150613a8e82614ad6565b604082019050919050565b6000613aa6600e83614031565b9150613ab182614b25565b602082019050919050565b613ac581614203565b82525050565b613ad481614203565b82525050565b6000613ae682856136fd565b9150613af282846136fd565b91508190509392505050565b6000613b0982613a30565b9150613b1582846136fd565b915081905092915050565b6000602082019050613b35600083018461360f565b92915050565b6000608082019050613b50600083018761360f565b613b5d602083018661360f565b613b6a6040830185613acb565b8181036060830152613b7c818461368b565b905095945050505050565b60006020820190508181036000830152613ba1818461361e565b905092915050565b6000602082019050613bbe600083018461367c565b92915050565b60006020820190508181036000830152613bde81846136c4565b905092915050565b60006020820190508181036000830152613bff8161372e565b9050919050565b60006020820190508181036000830152613c1f81613751565b9050919050565b60006020820190508181036000830152613c3f81613774565b9050919050565b60006020820190508181036000830152613c5f81613797565b9050919050565b60006020820190508181036000830152613c7f816137ba565b9050919050565b60006020820190508181036000830152613c9f816137dd565b9050919050565b60006020820190508181036000830152613cbf81613800565b9050919050565b60006020820190508181036000830152613cdf81613823565b9050919050565b60006020820190508181036000830152613cff81613846565b9050919050565b60006020820190508181036000830152613d1f81613869565b9050919050565b60006020820190508181036000830152613d3f8161388c565b9050919050565b60006020820190508181036000830152613d5f816138af565b9050919050565b60006020820190508181036000830152613d7f816138d2565b9050919050565b60006020820190508181036000830152613d9f816138f5565b9050919050565b60006020820190508181036000830152613dbf81613918565b9050919050565b60006020820190508181036000830152613ddf8161393b565b9050919050565b60006020820190508181036000830152613dff8161395e565b9050919050565b60006020820190508181036000830152613e1f81613981565b9050919050565b60006020820190508181036000830152613e3f816139a4565b9050919050565b60006020820190508181036000830152613e5f816139c7565b9050919050565b60006020820190508181036000830152613e7f816139ea565b9050919050565b60006020820190508181036000830152613e9f81613a0d565b9050919050565b60006020820190508181036000830152613ebf81613a53565b9050919050565b60006020820190508181036000830152613edf81613a76565b9050919050565b60006020820190508181036000830152613eff81613a99565b9050919050565b6000602082019050613f1b6000830184613acb565b92915050565b6000604082019050613f366000830185613acb565b613f43602083018461360f565b9392505050565b6000613f54613f65565b9050613f60828261428e565b919050565b6000604051905090565b600067ffffffffffffffff821115613f8a57613f89614424565b5b613f9382614467565b9050602081019050919050565b600067ffffffffffffffff821115613fbb57613fba614424565b5b613fc482614467565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061405882614203565b915061406383614203565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561409857614097614339565b5b828201905092915050565b60006140ae8261420d565b91506140b98361420d565b92508260ff038211156140cf576140ce614339565b5b828201905092915050565b60006140e582614203565b91506140f083614203565b925082614100576140ff614368565b5b828204905092915050565b600061411682614203565b915061412183614203565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561415a57614159614339565b5b828202905092915050565b600061417082614203565b915061417b83614203565b92508282101561418e5761418d614339565b5b828203905092915050565b60006141a4826141e3565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b8381101561424757808201518184015260208101905061422c565b83811115614256576000848401525b50505050565b6000600282049050600182168061427457607f821691505b6020821081141561428857614287614397565b5b50919050565b61429782614467565b810181811067ffffffffffffffff821117156142b6576142b5614424565b5b80604052505050565b60006142ca82614203565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156142fd576142fc614339565b5b600182019050919050565b600061431382614203565b915061431e83614203565b92508261432e5761432d614368565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4e6f20736b696e20657175697070656400000000000000000000000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60008201527f6578697374656e7420746f6b656e000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f45524337323155524953746f726167653a2055524920717565727920666f722060008201527f6e6f6e6578697374656e7420746f6b656e000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4120736b696e20697320616c7265616479206571756970706564000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f68747470733a2f2f6d6e6c74686173736574732e7274666b742e636f6d2f647560008201527f6e6b732f00000000000000000000000000000000000000000000000000000000602082015250565b7f596f7520646f6e2774206f776e207468617420746f6b656e0000000000000000600082015250565b7f436f6e747261637420686173206265656e206c6f636b656420616e642055524960008201527f2063616e2774206265206368616e676564000000000000000000000000000000602082015250565b7f4e6f7420617574686f72697a6564000000000000000000000000000000000000600082015250565b614b5781614199565b8114614b6257600080fd5b50565b614b6e816141ab565b8114614b7957600080fd5b50565b614b85816141b7565b8114614b9057600080fd5b50565b614b9c81614203565b8114614ba757600080fd5b5056fe68747470733a2f2f6d6e6c74686173736574732e7274666b742e636f6d2f64756e6b732f30a264697066735822122065bc5723e85fcbf1513b2364eb7266b5ae38129043543ce9f1d56f11bf72313464736f6c63430008070033

Loading...
Loading
Loading...
Loading
[ 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.