ETH Price: $2,452.06 (+1.05%)

POSsible NFT (POSNFT)
 

Overview

TokenID

12

Total Transfers

-

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
PossibleNFT

Compiler Version
v0.8.6+commit.11564f7e

Optimization Enabled:
Yes with 2000 runs

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

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";


pragma solidity ^0.8.0;

contract PossibleNFT is ERC721, AccessControl, ReentrancyGuard, Ownable {
    using Counters for Counters.Counter;

    string private _baseTokenURI;
    // The total number that have ever been minted.
    Counters.Counter private totalMinted;

    constructor(
    
    ) ERC721("POSsible NFT", "POSNFT") {
        _setupRole(DEFAULT_ADMIN_ROLE, msg.sender);
    }

     function mint(
    ) external payable nonReentrant {
        uint256 nextTokenId = totalMinted.current() + 1;
        _mint(msg.sender, nextTokenId);     

        totalMinted.increment();
    }

    function getTotalMintCount() public view returns (uint256) {
        return totalMinted.current();
    }

    function setBaseURI(string memory baseURI) public {
        require(hasRole(DEFAULT_ADMIN_ROLE, msg.sender), "Must be an admin to set the base URI");
        _baseTokenURI = baseURI;
    }
    
    function _baseURI() internal view virtual override returns (string memory) {
        return _baseTokenURI;
    }

    string[] private layer2 = [
        "Arbitrum",
        "Optimism",
        "zkSync",
        "StarkNet",
        "Polygon"
    ];
    
    string[] private ogDesignation = [
        "DAO Hack Survivor",
        "First Cycler",
        "Second Cycler",
        "Third Cycler",
        "Pre-miner",
        "Just got here"
    ];
    
    string[] private walletChoice = [
        "Ledger wallet",
        "Metamask wallet",
        "Coinbase wallet",
        "Rainbow wallet",
        "1inch wallet",
        "Loopring wallet",
        "Argent wallet",
        "My memory is my wallet"
    ];
    
    string[] private yourSize = [
        "0.001 eth",
        "0.01 eth",
        "0.1 eth",
        "1 eth",
        "2 eth",
        "5 eth",
        "10 eth",
        "25 eth",
        "50 eth",
        "100 eth",
        "1,000 eth",
        "10,000 eth",
        "100,000 eth"
    ];

    string[] private social = [
        "Crypto Twitter",
        "Discord",
        "Telegram",
        "Signal",
        "WhatsApp",
        "Slack",
        "IRC"
    ];
    
    string[] private setup = [
        "Home staker",
        "Staking Service",
        "Hot Wallet",
        "Cold Wallet",
        "CEX"
    ];
    
    string[] private dex = [
        "Uniswap",
        "Sushiswap",
        "1inch",
        "Curve",
        "Matcha",
        "PancakeSwap",
        "CEX Only"
    ];
    
    string[] private data = [
        "Etherscan",
        "Dune Analytics",
        "Alchemy",
        "Infura"
    ];
    
    string[] private prefixes = [
        ""
    ];
    
    string[] private namePrefixes = [
        "" 
    ];
    
    string[] private nameSuffixes = [
        ""
    ];
    
    function random(string memory input) internal pure returns (uint256) {
        return uint256(keccak256(abi.encodePacked(input)));
    }
    
    function getLayer2(uint256 tokenId) public view returns (string memory) {
        return pluck(tokenId, "LAYER_2", layer2);
    }
    
    function getogDesignation(uint256 tokenId) public view returns (string memory) {
        return pluck(tokenId, "OG_DESIGNATION", ogDesignation);
    }
    
    function getwalletChoice(uint256 tokenId) public view returns (string memory) {
        return pluck(tokenId, "WALLET", walletChoice);
    }
    
    function getyourSize(uint256 tokenId) public view returns (string memory) {
        return pluck(tokenId, "SIZE", yourSize);
    }

    function getsocial(uint256 tokenId) public view returns (string memory) {
        return pluck(tokenId, "SOCIAL", social);
    }
    
    function getsetup(uint256 tokenId) public view returns (string memory) {
        return pluck(tokenId, "SETUP", setup);
    }
    
    function getdex(uint256 tokenId) public view returns (string memory) {
        return pluck(tokenId, "DEX", dex);
    }
    
    function getdata(uint256 tokenId) public view returns (string memory) {
        return pluck(tokenId, "DATA", data);
    }

    function toString(uint256 value) internal pure returns (string memory) {
    // Inspired by OraclizeAPI's implementation - MIT license
    // 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);
    }
    
    function pluck(uint256 tokenId, string memory keyPrefix, string[] memory sourceArray) internal view returns (string memory) {
        uint256 rand = random(string(abi.encodePacked(keyPrefix, toString(tokenId))));
        string memory output = sourceArray[rand % sourceArray.length];
        output = string(abi.encodePacked(prefixes[rand % prefixes.length], " ", output));
        return output;
    }

    function tokenURI(uint256 tokenId) override public view returns (string memory) {
        string[17] memory parts;
        parts[0] = '<svg xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMinYMin meet" viewBox="0 0 350 350"><style>.base { fill: white; font-family: monospace; font-size: 14px; }</style><rect width="100%" height="100%" fill="#00458f" /><text x="10" y="20" class="base">';

        parts[1] = getLayer2(tokenId);

        parts[2] = '</text><text x="10" y="40" class="base">';

        parts[3] = getogDesignation(tokenId);

        parts[4] = '</text><text x="10" y="60" class="base">';

        parts[5] = getwalletChoice(tokenId);

        parts[6] = '</text><text x="10" y="80" class="base">';

        parts[7] = getyourSize(tokenId);

        parts[8] = '</text><text x="10" y="100" class="base">';

        parts[9] = getsocial(tokenId);

        parts[10] = '</text><text x="10" y="120" class="base">';

        parts[11] = getsetup(tokenId);

        parts[12] = '</text><text x="10" y="140" class="base">';

        parts[13] = getdex(tokenId);

        parts[14] = '</text><text x="10" y="160" class="base">';

        parts[15] = getdata(tokenId);

        parts[16] = '</text></svg>';

        string memory output = string(abi.encodePacked(parts[0], parts[1], parts[2], parts[3], parts[4], parts[5], parts[6], parts[7], parts[8]));
        output = string(abi.encodePacked(output, parts[9], parts[10], parts[11], parts[12], parts[13], parts[14], parts[15], parts[16]));
        
        string memory json = Base64.encode(bytes(string(abi.encodePacked('{"name": "POS Merge Box #', toString(tokenId), '", "description": "POSsible NFTs are randomized on chain ''loot box'' NFTs to represent the ethereum merge which happend in September of 2022. Feel free to use how you want.", "image": "data:image/svg+xml;base64,', Base64.encode(bytes(output)), '"}'))));
        output = string(abi.encodePacked('data:application/json;base64,', json));

        return output;
    }

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

library Base64 {
    bytes internal constant TABLE = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";

    /// @notice Encodes some bytes to the base64 representation
    function encode(bytes memory data) internal pure returns (string memory) {
        uint256 len = data.length;
        if (len == 0) return "";

        // multiply by 4/3 rounded up
        uint256 encodedLen = 4 * ((len + 2) / 3);

        // Add some extra buffer at the end
        bytes memory result = new bytes(encodedLen + 32);

        bytes memory table = TABLE;

        assembly {
            let tablePtr := add(table, 1)
            let resultPtr := add(result, 32)

            for {
                let i := 0
            } lt(i, len) {

            } {
                i := add(i, 3)
                let input := and(mload(add(data, i)), 0xffffff)

                let out := mload(add(tablePtr, and(shr(18, input), 0x3F)))
                out := shl(8, out)
                out := add(out, and(mload(add(tablePtr, and(shr(12, input), 0x3F))), 0xFF))
                out := shl(8, out)
                out := add(out, and(mload(add(tablePtr, and(shr(6, input), 0x3F))), 0xFF))
                out := shl(8, out)
                out := add(out, and(mload(add(tablePtr, and(input, 0x3F))), 0xFF))
                out := shl(224, out)

                mstore(resultPtr, out)

                resultPtr := add(resultPtr, 4)
            }

            switch mod(len, 3)
            case 1 {
                mstore(sub(resultPtr, 2), shl(240, 0x3d3d))
            }
            case 2 {
                mstore(sub(resultPtr, 1), shl(248, 0x3d))
            }

            mstore(result, encodedLen)
        }

        return string(result);
    }
}

File 2 of 16 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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);
    }

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

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

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

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

File 3 of 16 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

File 4 of 16 : 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 5 of 16 : 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 6 of 16 : AccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/AccessControl.sol)

pragma solidity ^0.8.0;

import "./IAccessControl.sol";
import "../utils/Context.sol";
import "../utils/Strings.sol";
import "../utils/introspection/ERC165.sol";

/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms. This is a lightweight version that doesn't allow enumerating role
 * members except through off-chain means by accessing the contract event logs. Some
 * applications may benefit from on-chain enumerability, for those cases see
 * {AccessControlEnumerable}.
 *
 * Roles are referred to by their `bytes32` identifier. These should be exposed
 * in the external API and be unique. The best way to achieve this is by
 * using `public constant` hash digests:
 *
 * ```
 * bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
 * ```
 *
 * Roles can be used to represent a set of permissions. To restrict access to a
 * function call, use {hasRole}:
 *
 * ```
 * function foo() public {
 *     require(hasRole(MY_ROLE, msg.sender));
 *     ...
 * }
 * ```
 *
 * Roles can be granted and revoked dynamically via the {grantRole} and
 * {revokeRole} functions. Each role has an associated admin role, and only
 * accounts that have a role's admin role can call {grantRole} and {revokeRole}.
 *
 * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
 * that only accounts with this role will be able to grant or revoke other
 * roles. More complex role relationships can be created by using
 * {_setRoleAdmin}.
 *
 * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
 * grant and revoke this role. Extra precautions should be taken to secure
 * accounts that have been granted it.
 */
abstract contract AccessControl is Context, IAccessControl, ERC165 {
    struct RoleData {
        mapping(address => bool) members;
        bytes32 adminRole;
    }

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Modifier that checks that an account has a specific role. Reverts
     * with a standardized message including the required role.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     *
     * _Available since v4.1._
     */
    modifier onlyRole(bytes32 role) {
        _checkRole(role, _msgSender());
        _;
    }

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

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) public view override returns (bool) {
        return _roles[role].members[account];
    }

    /**
     * @dev Revert with a standard message if `account` is missing `role`.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     */
    function _checkRole(bytes32 role, address account) internal view {
        if (!hasRole(role, account)) {
            revert(
                string(
                    abi.encodePacked(
                        "AccessControl: account ",
                        Strings.toHexString(uint160(account), 20),
                        " is missing role ",
                        Strings.toHexString(uint256(role), 32)
                    )
                )
            );
        }
    }

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) public view override returns (bytes32) {
        return _roles[role].adminRole;
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _grantRole(role, account);
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _revokeRole(role, account);
    }

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been revoked `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) public virtual override {
        require(account == _msgSender(), "AccessControl: can only renounce roles for self");

        _revokeRole(role, account);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     *
     * NOTE: This function is deprecated in favor of {_grantRole}.
     */
    function _setupRole(bytes32 role, address account) internal virtual {
        _grantRole(role, account);
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
        bytes32 previousAdminRole = getRoleAdmin(role);
        _roles[role].adminRole = adminRole;
        emit RoleAdminChanged(role, previousAdminRole, adminRole);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * Internal function without access restriction.
     */
    function _grantRole(bytes32 role, address account) internal virtual {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * Internal function without access restriction.
     */
    function _revokeRole(bytes32 role, address account) internal virtual {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}

File 7 of 16 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Trees proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up
     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
     * hash matches the root of the tree. When processing the proof, the pairs
     * of leafs & pre-images are assumed to be sorted.
     *
     * _Available since v4.4._
     */
    function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            bytes32 proofElement = proof[i];
            if (computedHash <= proofElement) {
                // Hash(current computed hash + current element of the proof)
                computedHash = keccak256(abi.encodePacked(computedHash, proofElement));
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = keccak256(abi.encodePacked(proofElement, computedHash));
            }
        }
        return computedHash;
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 11 of 16 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Address.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 15 of 16 : 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);
}

File 16 of 16 : IAccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol)

pragma solidity ^0.8.0;

/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControl {
    /**
     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
     *
     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
     * {RoleAdminChanged} not being emitted signaling this.
     *
     * _Available since v3.1._
     */
    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);

    /**
     * @dev Emitted when `account` is granted `role`.
     *
     * `sender` is the account that originated the contract call, an admin role
     * bearer except when using {AccessControl-_setupRole}.
     */
    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Emitted when `account` is revoked `role`.
     *
     * `sender` is the account that originated the contract call:
     *   - if using `revokeRole`, it is the admin role bearer
     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)
     */
    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) external view returns (bool);

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {AccessControl-_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) external view returns (bytes32);

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) external;
}

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

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":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","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":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"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":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getLayer2","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTotalMintCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getdata","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getdex","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getogDesignation","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getsetup","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getsocial","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getwalletChoice","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getyourSize","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mint","outputs":[],"stateMutability":"payable","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":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","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":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"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"}]

600861012081815267417262697472756d60c01b610140526080908152610160828152674f7074696d69736d60c01b6101805260a05260066101a0908152657a6b53796e6360d01b6101c05260c0526101e09182526714dd185c9ad3995d60c21b6102005260e0919091526102606040526007610220908152662837b63cb3b7b760c91b61024052610100526200009b90600b90600562000a4d565b506040805161010081018252601160c08201908152702220a7902430b1b59029bab93b34bb37b960791b60e0830152815281518083018352600c8082526b2334b939ba1021bcb1b632b960a11b6020838101919091528084019290925283518085018552600d8082526c29b2b1b7b7321021bcb1b632b960991b8285015284860191909152845180860186528281526b2a3434b9321021bcb1b632b960a11b81850152606085015284518086018652600981526828393296b6b4b732b960b91b818501526080850152845180860190955284526c4a75737420676f74206865726560981b9184019190915260a08201929092526200019c9190600662000ab1565b506040805161014081018252600d61010082018181526c13195919d95c881dd85b1b195d609a1b610120840152825282518084018452600f8082526e13595d185b585cdac81dd85b1b195d608a1b60208381019190915280850192909252845180860186528181526e10dbda5b98985cd9481dd85b1b195d608a1b818401528486015284518086018652600e81526d14985a5b989bddc81dd85b1b195d60921b81840152606085015284518086018652600c81526b0c5a5b98da081dd85b1b195d60a21b818401526080850152845180860186529081526e131bdbdc1c9a5b99c81dd85b1b195d608a1b8183015260a0840152835180850185528281526c105c99d95b9d081dd85b1b195d609a1b8183015260c08401528351808501909452601684527f4d79206d656d6f7279206973206d792077616c6c6574000000000000000000009084015260e0820192909252620002fa9190600862000b03565b50604080516101e08101825260096101a08201818152680605c60606240cae8d60bb1b6101c084015282528251808401845260088152670605c606240cae8d60c31b60208281019190915280840191909152835180850185526007808252660605c6240cae8d60cb1b82840152848601919091528451808601865260058082526406240cae8d60db1b828501526060860191909152855180870187528181526406440cae8d60db1b818501526080860152855180870187529081526406a40cae8d60db1b8184015260a0850152845180860186526006808252650626040cae8d60d31b8285015260c086019190915285518087018752818152650646a40cae8d60d31b8185015260e0860152855180870187529081526506a6040cae8d60d31b818401526101008501528451808601865290815266062606040cae8d60cb1b8183015261012084015283518085018552918252680625860606040cae8d60bb1b8282015261014083019190915282518084018452600a815269062605860606040cae8d60b31b818301526101608301528251808401909352600b83526a06260605860606040cae8d60ab1b90830152610180810191909152620004c290600e90600d62000b55565b506040805161012081018252600e60e082019081526d21b93cb83a37902a3bb4ba3a32b960911b610100830152815281518083018352600780825266111a5cd8dbdc9960ca1b602083810191909152808401929092528351808501855260088082526754656c656772616d60c01b828501528486019190915284518086018652600681526514da59db985b60d21b8185015260608501528451808601865290815267057686174734170760c41b818401526080840152835180850185526005815264536c61636b60d81b8184015260a08401528351808501909452600384526249524360e81b9184019190915260c0820192909252620005c691600f919062000ba7565b506040805160e081018252600b60a082018181526a2437b6b29039ba30b5b2b960a91b60c0840152825282518084018452600f81526e5374616b696e67205365727669636560881b6020828101919091528084019190915283518085018552600a815269121bdd0815d85b1b195d60b21b8183015283850152835180850185529182526a10dbdb190815d85b1b195d60aa1b828201526060830191909152825180840190935260038352620868ab60eb1b9083015260808101919091526200069390601090600562000a4d565b506040805161012081018252600760e08201818152660556e69737761760cc1b610100840152825282518084018452600981526805375736869737761760bc1b6020828101919091528084019190915283518085018552600580825264062d2dcc6d60db1b82840152848601919091528451808601865290815264437572766560d81b8183015260608401528351808501855260068152654d617463686160d01b81830152608084015283518085018552600b81526a050616e63616b65537761760ac1b8183015260a084015283518085019094526008845267434558204f6e6c7960c01b9084015260c082019290925262000793916011919062000ba7565b506040805160c0810182526009608082019081526822ba3432b939b1b0b760b91b60a0830152815281518083018352600e81526d44756e6520416e616c797469637360901b60208281019190915280830191909152825180840184526007815266416c6368656d7960c81b818301528284015282518084019093526006835265496e6675726160d01b9083015260608101919091526200083890601290600462000bf9565b506040805180820190915260006020820190815281526200085e90601390600162000c4b565b506040805180820190915260006020820190815281526200088490601490600162000c4b565b50604080518082019091526000602082019081528152620008aa90601590600162000c4b565b50348015620008b857600080fd5b50604080518082018252600c81526b1413d4dcda589b194813919560a21b6020808301918252835180850190945260068452651413d4d3919560d21b9084015281519192916200090b9160009162000c9d565b5080516200092190600190602084019062000c9d565b5050600160075550620009343362000947565b6200094160003362000999565b62000ddf565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b620009a58282620009a9565b5050565b60008281526006602090815260408083206001600160a01b038516845290915290205460ff16620009a55760008281526006602090815260408083206001600160a01b03851684529091529020805460ff1916600117905562000a093390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b82805482825590600052602060002090810192821562000a9f579160200282015b8281111562000a9f578251805162000a8e91849160209091019062000c9d565b509160200191906001019062000a6e565b5062000aad92915062000d28565b5090565b82805482825590600052602060002090810192821562000a9f579160200282015b8281111562000a9f578251805162000af291849160209091019062000c9d565b509160200191906001019062000ad2565b82805482825590600052602060002090810192821562000a9f579160200282015b8281111562000a9f578251805162000b4491849160209091019062000c9d565b509160200191906001019062000b24565b82805482825590600052602060002090810192821562000a9f579160200282015b8281111562000a9f578251805162000b9691849160209091019062000c9d565b509160200191906001019062000b76565b82805482825590600052602060002090810192821562000a9f579160200282015b8281111562000a9f578251805162000be891849160209091019062000c9d565b509160200191906001019062000bc8565b82805482825590600052602060002090810192821562000a9f579160200282015b8281111562000a9f578251805162000c3a91849160209091019062000c9d565b509160200191906001019062000c1a565b82805482825590600052602060002090810192821562000a9f579160200282015b8281111562000a9f578251805162000c8c91849160209091019062000c9d565b509160200191906001019062000c6c565b82805462000cab9062000da2565b90600052602060002090601f01602090048101928262000ccf576000855562000d1a565b82601f1062000cea57805160ff191683800117855562000d1a565b8280016001018555821562000d1a579182015b8281111562000d1a57825182559160200191906001019062000cfd565b5062000aad92915062000d49565b8082111562000aad57600062000d3f828262000d60565b5060010162000d28565b5b8082111562000aad576000815560010162000d4a565b50805462000d6e9062000da2565b6000825580601f1062000d7f575050565b601f01602090049060005260206000209081019062000d9f919062000d49565b50565b600181811c9082168062000db757607f821691505b6020821081141562000dd957634e487b7160e01b600052602260045260246000fd5b50919050565b61375b8062000def6000396000f3fe6080604052600436106101fe5760003560e01c806370a082311161011d578063b88d4fde116100b0578063dbe181671161007f578063e985e9c511610064578063e985e9c5146105f2578063f2fde38b1461063b578063f31902811461065b57600080fd5b8063dbe18167146105b2578063e51f868f146105d257600080fd5b8063b88d4fde14610532578063c87b56dd14610552578063cc210d6514610572578063d547741f1461059257600080fd5b806395d89b41116100ec57806395d89b41146104d35780639b8ab691146104e8578063a217fddf146104fd578063a22cb4651461051257600080fd5b806370a082311461043a578063715018a61461045a5780638da5cb5b1461046f57806391d148541461048d57600080fd5b8063248a9ca31161019557806342842e0e1161016457806342842e0e146103ba57806355f804b3146103da5780636352211e146103fa5780636e4f49481461041a57600080fd5b8063248a9ca31461031c5780632f2ff15d1461035a5780633247d3db1461037a57806336568abe1461039a57600080fd5b80630ad2b739116101d15780630ad2b739146102b45780630bf8e294146102d45780631249c58b146102f457806323b872dd146102fc57600080fd5b806301ffc9a71461020357806306fdde0314610238578063081812fc1461025a578063095ea7b314610292575b600080fd5b34801561020f57600080fd5b5061022361021e366004612de4565b61067b565b60405190151581526020015b60405180910390f35b34801561024457600080fd5b5061024d61068c565b60405161022f919061331e565b34801561026657600080fd5b5061027a610275366004612da8565b61071e565b6040516001600160a01b03909116815260200161022f565b34801561029e57600080fd5b506102b26102ad366004612d7e565b6107c9565b005b3480156102c057600080fd5b5061024d6102cf366004612da8565b6108fb565b3480156102e057600080fd5b5061024d6102ef366004612da8565b610a0e565b6102b2610b18565b34801561030857600080fd5b506102b2610317366004612c8a565b610ba8565b34801561032857600080fd5b5061034c610337366004612da8565b60009081526006602052604090206001015490565b60405190815260200161022f565b34801561036657600080fd5b506102b2610375366004612dc1565b610c2f565b34801561038657600080fd5b5061024d610395366004612da8565b610c55565b3480156103a657600080fd5b506102b26103b5366004612dc1565b610d5f565b3480156103c657600080fd5b506102b26103d5366004612c8a565b610deb565b3480156103e657600080fd5b506102b26103f5366004612e1e565b610e06565b34801561040657600080fd5b5061027a610415366004612da8565b610ebc565b34801561042657600080fd5b5061024d610435366004612da8565b610f47565b34801561044657600080fd5b5061034c610455366004612c3c565b611051565b34801561046657600080fd5b506102b26110eb565b34801561047b57600080fd5b506008546001600160a01b031661027a565b34801561049957600080fd5b506102236104a8366004612dc1565b60009182526006602090815260408084206001600160a01b0393909316845291905290205460ff1690565b3480156104df57600080fd5b5061024d611151565b3480156104f457600080fd5b5061034c611160565b34801561050957600080fd5b5061034c600081565b34801561051e57600080fd5b506102b261052d366004612d42565b611170565b34801561053e57600080fd5b506102b261054d366004612cc6565b61117b565b34801561055e57600080fd5b5061024d61056d366004612da8565b611209565b34801561057e57600080fd5b5061024d61058d366004612da8565b6114c3565b34801561059e57600080fd5b506102b26105ad366004612dc1565b6115cd565b3480156105be57600080fd5b5061024d6105cd366004612da8565b6115f3565b3480156105de57600080fd5b5061024d6105ed366004612da8565b6116fd565b3480156105fe57600080fd5b5061022361060d366004612c57565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561064757600080fd5b506102b2610656366004612c3c565b611807565b34801561066757600080fd5b5061024d610676366004612da8565b6118e9565b6000610686826119f3565b92915050565b60606000805461069b906133d6565b80601f01602080910402602001604051908101604052809291908181526020018280546106c7906133d6565b80156107145780601f106106e957610100808354040283529160200191610714565b820191906000526020600020905b8154815290600101906020018083116106f757829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166107ad5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006107d482610ebc565b9050806001600160a01b0316836001600160a01b0316141561085e5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f720000000000000000000000000000000000000000000000000000000000000060648201526084016107a4565b336001600160a01b038216148061087a575061087a813361060d565b6108ec5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016107a4565b6108f68383611a49565b505050565b6060610686826040518060400160405280600481526020017f44415441000000000000000000000000000000000000000000000000000000008152506012805480602002602001604051908101604052809291908181526020016000905b82821015610a05578382906000526020600020018054610978906133d6565b80601f01602080910402602001604051908101604052809291908181526020018280546109a4906133d6565b80156109f15780601f106109c6576101008083540402835291602001916109f1565b820191906000526020600020905b8154815290600101906020018083116109d457829003601f168201915b505050505081526020019060010190610959565b50505050611ac4565b6060610686826040518060400160405280600681526020017f57414c4c45540000000000000000000000000000000000000000000000000000815250600d805480602002602001604051908101604052809291908181526020016000905b82821015610a05578382906000526020600020018054610a8b906133d6565b80601f0160208091040260200160405190810160405280929190818152602001828054610ab7906133d6565b8015610b045780601f10610ad957610100808354040283529160200191610b04565b820191906000526020600020905b815481529060010190602001808311610ae757829003601f168201915b505050505081526020019060010190610a6c565b60026007541415610b6b5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016107a4565b60026007556000610b7b600a5490565b610b86906001613331565b9050610b923382611b7e565b610ba0600a80546001019055565b506001600755565b610bb23382611ccd565b610c245760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016107a4565b6108f6838383611dd5565b600082815260066020526040902060010154610c4b8133611faf565b6108f6838361202f565b6060610686826040518060400160405280600e81526020017f4f475f44455349474e4154494f4e000000000000000000000000000000000000815250600c805480602002602001604051908101604052809291908181526020016000905b82821015610a05578382906000526020600020018054610cd2906133d6565b80601f0160208091040260200160405190810160405280929190818152602001828054610cfe906133d6565b8015610d4b5780601f10610d2057610100808354040283529160200191610d4b565b820191906000526020600020905b815481529060010190602001808311610d2e57829003601f168201915b505050505081526020019060010190610cb3565b6001600160a01b0381163314610ddd5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201527f20726f6c657320666f722073656c66000000000000000000000000000000000060648201526084016107a4565b610de782826120d1565b5050565b6108f68383836040518060200160405280600081525061117b565b3360009081527f54cdd369e4e8a8515e52ca72ec816c2101831ad1f18bf44102ed171459c9b4f8602052604090205460ff16610ea95760405162461bcd60e51b8152602060048201526024808201527f4d75737420626520616e2061646d696e20746f2073657420746865206261736560448201527f205552490000000000000000000000000000000000000000000000000000000060648201526084016107a4565b8051610de7906009906020840190612ae9565b6000818152600260205260408120546001600160a01b0316806106865760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e000000000000000000000000000000000000000000000060648201526084016107a4565b6060610686826040518060400160405280600481526020017f53495a4500000000000000000000000000000000000000000000000000000000815250600e805480602002602001604051908101604052809291908181526020016000905b82821015610a05578382906000526020600020018054610fc4906133d6565b80601f0160208091040260200160405190810160405280929190818152602001828054610ff0906133d6565b801561103d5780601f106110125761010080835404028352916020019161103d565b820191906000526020600020905b81548152906001019060200180831161102057829003601f168201915b505050505081526020019060010190610fa5565b60006001600160a01b0382166110cf5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f20616464726573730000000000000000000000000000000000000000000060648201526084016107a4565b506001600160a01b031660009081526003602052604090205490565b6008546001600160a01b031633146111455760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107a4565b61114f6000612154565b565b60606001805461069b906133d6565b600061116b600a5490565b905090565b610de73383836121b3565b6111853383611ccd565b6111f75760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016107a4565b61120384848484612282565b50505050565b6060611213612b6d565b60405180610140016040528061010381526020016135fb6101039139815261123a836118e9565b81600160200201819052506040518060600160405280602881526020016136fe60289139604082015261126c83610c55565b60608083019190915260408051918201905260288082526134c76020830139608082015261129983610a0e565b60a082015260408051606081019091526028808252613541602083013960c08201526112c483610f47565b60e08201526040805160608101909152602980825261356960208301396101008201526112f0836115f3565b61012082015260408051606081019091526029808252613518602083013961014082015261131d836114c3565b61016082015260408051606081019091526029808252613592602083013961018082015261134a836116fd565b6101a0820152604080516060810190915260298082526134ef60208301396101c0820152611377836108fb565b6101e0820152604080518082018252600d81527f3c2f746578743e3c2f7376673e00000000000000000000000000000000000000602080830191909152610200840191909152825181840151838501516060860151608087015160a088015160c089015160e08a01516101008b0151995160009a6113f79a909101612efa565b60408051808303601f19018152908290526101208401516101408501516101608601516101808701516101a08801516101c08901516101e08a01516102008b015197995061144a988a9890602001612efa565b604051602081830303815290604052905060006114976114698661230b565b6114728461243d565b60405160200161148392919061308d565b60405160208183030381529060405261243d565b9050806040516020016114aa919061321c565b60408051601f1981840301815291905295945050505050565b6060610686826040518060400160405280600581526020017f53455455500000000000000000000000000000000000000000000000000000008152506010805480602002602001604051908101604052809291908181526020016000905b82821015610a05578382906000526020600020018054611540906133d6565b80601f016020809104026020016040519081016040528092919081815260200182805461156c906133d6565b80156115b95780601f1061158e576101008083540402835291602001916115b9565b820191906000526020600020905b81548152906001019060200180831161159c57829003601f168201915b505050505081526020019060010190611521565b6000828152600660205260409020600101546115e98133611faf565b6108f683836120d1565b6060610686826040518060400160405280600681526020017f534f4349414c0000000000000000000000000000000000000000000000000000815250600f805480602002602001604051908101604052809291908181526020016000905b82821015610a05578382906000526020600020018054611670906133d6565b80601f016020809104026020016040519081016040528092919081815260200182805461169c906133d6565b80156116e95780601f106116be576101008083540402835291602001916116e9565b820191906000526020600020905b8154815290600101906020018083116116cc57829003601f168201915b505050505081526020019060010190611651565b6060610686826040518060400160405280600381526020017f44455800000000000000000000000000000000000000000000000000000000008152506011805480602002602001604051908101604052809291908181526020016000905b82821015610a0557838290600052602060002001805461177a906133d6565b80601f01602080910402602001604051908101604052809291908181526020018280546117a6906133d6565b80156117f35780601f106117c8576101008083540402835291602001916117f3565b820191906000526020600020905b8154815290600101906020018083116117d657829003601f168201915b50505050508152602001906001019061175b565b6008546001600160a01b031633146118615760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107a4565b6001600160a01b0381166118dd5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016107a4565b6118e681612154565b50565b6060610686826040518060400160405280600781526020017f4c415945525f3200000000000000000000000000000000000000000000000000815250600b805480602002602001604051908101604052809291908181526020016000905b82821015610a05578382906000526020600020018054611966906133d6565b80601f0160208091040260200160405190810160405280929190818152602001828054611992906133d6565b80156119df5780601f106119b4576101008083540402835291602001916119df565b820191906000526020600020905b8154815290600101906020018083116119c257829003601f168201915b505050505081526020019060010190611947565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f7965db0b0000000000000000000000000000000000000000000000000000000014806106865750610686826125f8565b6000818152600460205260409020805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0384169081179091558190611a8b82610ebc565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60606000611afa84611ad58761230b565b604051602001611ae6929190612ecb565b6040516020818303038152906040526126db565b9050600083845183611b0c919061342c565b81518110611b1c57611b1c61346c565b602002602001015190506013808054905083611b38919061342c565b81548110611b4857611b4861346c565b9060005260206000200181604051602001611b64929190612fba565b60408051808303601f190181529190529695505050505050565b6001600160a01b038216611bd45760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016107a4565b6000818152600260205260409020546001600160a01b031615611c395760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016107a4565b6001600160a01b0382166000908152600360205260408120805460019290611c62908490613331565b9091555050600081815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000818152600260205260408120546001600160a01b0316611d575760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084016107a4565b6000611d6283610ebc565b9050806001600160a01b0316846001600160a01b03161480611d9d5750836001600160a01b0316611d928461071e565b6001600160a01b0316145b80611dcd57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316611de882610ebc565b6001600160a01b031614611e645760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e000000000000000000000000000000000000000000000060648201526084016107a4565b6001600160a01b038216611edf5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016107a4565b611eea600082611a49565b6001600160a01b0383166000908152600360205260408120805460019290611f1390849061337c565b90915550506001600160a01b0382166000908152600360205260408120805460019290611f41908490613331565b9091555050600081815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b60008281526006602090815260408083206001600160a01b038516845290915290205460ff16610de757611fed816001600160a01b0316601461270c565b611ff883602061270c565b604051602001612009929190613261565b60408051601f198184030181529082905262461bcd60e51b82526107a49160040161331e565b60008281526006602090815260408083206001600160a01b038516845290915290205460ff16610de75760008281526006602090815260408083206001600160a01b03851684529091529020805460ff1916600117905561208d3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b60008281526006602090815260408083206001600160a01b038516845290915290205460ff1615610de75760008281526006602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b600880546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b031614156122155760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016107a4565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b61228d848484611dd5565b6122998484848461293c565b6112035760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016107a4565b60608161234b57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115612375578061235f81613411565b915061236e9050600a83613349565b915061234f565b60008167ffffffffffffffff81111561239057612390613482565b6040519080825280601f01601f1916602001820160405280156123ba576020820181803683370190505b5090505b8415611dcd576123cf60018361337c565b91506123dc600a8661342c565b6123e7906030613331565b60f81b8183815181106123fc576123fc61346c565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350612436600a86613349565b94506123be565b80516060908061245d575050604080516020810190915260008152919050565b6000600361246c836002613331565b6124769190613349565b61248190600461335d565b90506000612490826020613331565b67ffffffffffffffff8111156124a8576124a8613482565b6040519080825280601f01601f1916602001820160405280156124d2576020820181803683370190505b50905060006040518060600160405280604081526020016135bb604091399050600181016020830160005b8681101561255e576003818a01810151603f601282901c8116860151600c83901c8216870151600684901c831688015192909316870151600891821b60ff94851601821b92841692909201901b91160160e01b8352600490920191016124fd565b50600386066001811461257857600281146125c2576125ea565b7f3d3d0000000000000000000000000000000000000000000000000000000000007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe8301526125ea565b7f3d000000000000000000000000000000000000000000000000000000000000006000198301525b505050918152949350505050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd00000000000000000000000000000000000000000000000000000000148061268b57507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061068657507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff00000000000000000000000000000000000000000000000000000000831614610686565b6000816040516020016126ee9190612eaf565b60408051601f19818403018152919052805160209091012092915050565b6060600061271b83600261335d565b612726906002613331565b67ffffffffffffffff81111561273e5761273e613482565b6040519080825280601f01601f191660200182016040528015612768576020820181803683370190505b5090507f30000000000000000000000000000000000000000000000000000000000000008160008151811061279f5761279f61346c565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f7800000000000000000000000000000000000000000000000000000000000000816001815181106128025761280261346c565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600061283e84600261335d565b612849906001613331565b90505b60018111156128e6577f303132333435363738396162636465660000000000000000000000000000000085600f166010811061288a5761288a61346c565b1a60f81b8282815181106128a0576128a061346c565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060049490941c936128df816133bf565b905061284c565b5083156129355760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016107a4565b9392505050565b60006001600160a01b0384163b15612ade576040517f150b7a020000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063150b7a02906129999033908990889088906004016132e2565b602060405180830381600087803b1580156129b357600080fd5b505af19250505080156129e3575060408051601f3d908101601f191682019092526129e091810190612e01565b60015b612a93573d808015612a11576040519150601f19603f3d011682016040523d82523d6000602084013e612a16565b606091505b508051612a8b5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016107a4565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a0200000000000000000000000000000000000000000000000000000000149050611dcd565b506001949350505050565b828054612af5906133d6565b90600052602060002090601f016020900481019282612b175760008555612b5d565b82601f10612b3057805160ff1916838001178555612b5d565b82800160010185558215612b5d579182015b82811115612b5d578251825591602001919060010190612b42565b50612b69929150612b95565b5090565b6040518061022001604052806011905b6060815260200190600190039081612b7d5790505090565b5b80821115612b695760008155600101612b96565b600067ffffffffffffffff80841115612bc557612bc5613482565b604051601f8501601f19908116603f01168101908282118183101715612bed57612bed613482565b81604052809350858152868686011115612c0657600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b0381168114612c3757600080fd5b919050565b600060208284031215612c4e57600080fd5b61293582612c20565b60008060408385031215612c6a57600080fd5b612c7383612c20565b9150612c8160208401612c20565b90509250929050565b600080600060608486031215612c9f57600080fd5b612ca884612c20565b9250612cb660208501612c20565b9150604084013590509250925092565b60008060008060808587031215612cdc57600080fd5b612ce585612c20565b9350612cf360208601612c20565b925060408501359150606085013567ffffffffffffffff811115612d1657600080fd5b8501601f81018713612d2757600080fd5b612d3687823560208401612baa565b91505092959194509250565b60008060408385031215612d5557600080fd5b612d5e83612c20565b915060208301358015158114612d7357600080fd5b809150509250929050565b60008060408385031215612d9157600080fd5b612d9a83612c20565b946020939093013593505050565b600060208284031215612dba57600080fd5b5035919050565b60008060408385031215612dd457600080fd5b82359150612c8160208401612c20565b600060208284031215612df657600080fd5b813561293581613498565b600060208284031215612e1357600080fd5b815161293581613498565b600060208284031215612e3057600080fd5b813567ffffffffffffffff811115612e4757600080fd5b8201601f81018413612e5857600080fd5b611dcd84823560208401612baa565b60008151808452612e7f816020860160208601613393565b601f01601f19169290920160200192915050565b60008151612ea5818560208601613393565b9290920192915050565b60008251612ec1818460208701613393565b9190910192915050565b60008351612edd818460208801613393565b835190830190612ef1818360208801613393565b01949350505050565b60008a51612f0c818460208f01613393565b8a51612f1e8183860160208f01613393565b8a519184010190612f33818360208e01613393565b8951612f458183850160208e01613393565b8951929091010190612f5b818360208c01613393565b8751612f6d8183850160208c01613393565b8751929091010190612f83818360208a01613393565b8551910190612f96818360208901613393565b8451612fa88183850160208901613393565b9101019b9a5050505050505050505050565b600080845481600182811c915080831680612fd657607f831692505b6020808410821415612ff657634e487b7160e01b86526022600452602486fd5b81801561300a576001811461301b57613048565b60ff19861689528489019650613048565b60008b81526020902060005b868110156130405781548b820152908501908301613027565b505084890196505b50505050505061308461307e827f2000000000000000000000000000000000000000000000000000000000000000815260010190565b85612e93565b95945050505050565b7f7b226e616d65223a2022504f53204d6572676520426f782023000000000000008152600083516130c5816019850160208801613393565b7f222c20226465736372697074696f6e223a2022504f537369626c65204e4654736019918401918201527f206172652072616e646f6d697a6564206f6e20636861696e206c6f6f7420626f60398201527f78204e46547320746f20726570726573656e742074686520657468657265756d60598201527f206d657267652077686963682068617070656e6420696e2053657074656d626560798201527f72206f6620323032322e204665656c206672656520746f2075736520686f772060998201527f796f752077616e742e222c2022696d616765223a2022646174613a696d61676560b98201527f2f7376672b786d6c3b6261736536342c0000000000000000000000000000000060d982015283516131e68160e9840160208801613393565b7f227d00000000000000000000000000000000000000000000000000000000000060e9929091019182015260eb01949350505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c00000081526000825161325481601d850160208701613393565b91909101601d0192915050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351613299816017850160208801613393565b7f206973206d697373696e6720726f6c652000000000000000000000000000000060179184019182015283516132d6816028840160208801613393565b01602801949350505050565b60006001600160a01b038087168352808616602084015250836040830152608060608301526133146080830184612e67565b9695505050505050565b6020815260006129356020830184612e67565b6000821982111561334457613344613440565b500190565b60008261335857613358613456565b500490565b600081600019048311821515161561337757613377613440565b500290565b60008282101561338e5761338e613440565b500390565b60005b838110156133ae578181015183820152602001613396565b838111156112035750506000910152565b6000816133ce576133ce613440565b506000190190565b600181811c908216806133ea57607f821691505b6020821081141561340b57634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561342557613425613440565b5060010190565b60008261343b5761343b613456565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b7fffffffff00000000000000000000000000000000000000000000000000000000811681146118e657600080fdfe3c2f746578743e3c7465787420783d2231302220793d2236302220636c6173733d2262617365223e3c2f746578743e3c7465787420783d2231302220793d223136302220636c6173733d2262617365223e3c2f746578743e3c7465787420783d2231302220793d223132302220636c6173733d2262617365223e3c2f746578743e3c7465787420783d2231302220793d2238302220636c6173733d2262617365223e3c2f746578743e3c7465787420783d2231302220793d223130302220636c6173733d2262617365223e3c2f746578743e3c7465787420783d2231302220793d223134302220636c6173733d2262617365223e4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f3c73766720786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323030302f73766722207072657365727665417370656374526174696f3d22784d696e594d696e206d656574222076696577426f783d223020302033353020333530223e3c7374796c653e2e62617365207b2066696c6c3a2077686974653b20666f6e742d66616d696c793a206d6f6e6f73706163653b20666f6e742d73697a653a20313470783b207d3c2f7374796c653e3c726563742077696474683d223130302522206865696768743d2231303025222066696c6c3d222330303435386622202f3e3c7465787420783d2231302220793d2232302220636c6173733d2262617365223e3c2f746578743e3c7465787420783d2231302220793d2234302220636c6173733d2262617365223ea26469706673582212207d7ffa4537fd3a93e13e00fb5388f23f3f2b1cc386728ef1a87cd4739fd8d3cf64736f6c63430008060033

Deployed Bytecode

0x6080604052600436106101fe5760003560e01c806370a082311161011d578063b88d4fde116100b0578063dbe181671161007f578063e985e9c511610064578063e985e9c5146105f2578063f2fde38b1461063b578063f31902811461065b57600080fd5b8063dbe18167146105b2578063e51f868f146105d257600080fd5b8063b88d4fde14610532578063c87b56dd14610552578063cc210d6514610572578063d547741f1461059257600080fd5b806395d89b41116100ec57806395d89b41146104d35780639b8ab691146104e8578063a217fddf146104fd578063a22cb4651461051257600080fd5b806370a082311461043a578063715018a61461045a5780638da5cb5b1461046f57806391d148541461048d57600080fd5b8063248a9ca31161019557806342842e0e1161016457806342842e0e146103ba57806355f804b3146103da5780636352211e146103fa5780636e4f49481461041a57600080fd5b8063248a9ca31461031c5780632f2ff15d1461035a5780633247d3db1461037a57806336568abe1461039a57600080fd5b80630ad2b739116101d15780630ad2b739146102b45780630bf8e294146102d45780631249c58b146102f457806323b872dd146102fc57600080fd5b806301ffc9a71461020357806306fdde0314610238578063081812fc1461025a578063095ea7b314610292575b600080fd5b34801561020f57600080fd5b5061022361021e366004612de4565b61067b565b60405190151581526020015b60405180910390f35b34801561024457600080fd5b5061024d61068c565b60405161022f919061331e565b34801561026657600080fd5b5061027a610275366004612da8565b61071e565b6040516001600160a01b03909116815260200161022f565b34801561029e57600080fd5b506102b26102ad366004612d7e565b6107c9565b005b3480156102c057600080fd5b5061024d6102cf366004612da8565b6108fb565b3480156102e057600080fd5b5061024d6102ef366004612da8565b610a0e565b6102b2610b18565b34801561030857600080fd5b506102b2610317366004612c8a565b610ba8565b34801561032857600080fd5b5061034c610337366004612da8565b60009081526006602052604090206001015490565b60405190815260200161022f565b34801561036657600080fd5b506102b2610375366004612dc1565b610c2f565b34801561038657600080fd5b5061024d610395366004612da8565b610c55565b3480156103a657600080fd5b506102b26103b5366004612dc1565b610d5f565b3480156103c657600080fd5b506102b26103d5366004612c8a565b610deb565b3480156103e657600080fd5b506102b26103f5366004612e1e565b610e06565b34801561040657600080fd5b5061027a610415366004612da8565b610ebc565b34801561042657600080fd5b5061024d610435366004612da8565b610f47565b34801561044657600080fd5b5061034c610455366004612c3c565b611051565b34801561046657600080fd5b506102b26110eb565b34801561047b57600080fd5b506008546001600160a01b031661027a565b34801561049957600080fd5b506102236104a8366004612dc1565b60009182526006602090815260408084206001600160a01b0393909316845291905290205460ff1690565b3480156104df57600080fd5b5061024d611151565b3480156104f457600080fd5b5061034c611160565b34801561050957600080fd5b5061034c600081565b34801561051e57600080fd5b506102b261052d366004612d42565b611170565b34801561053e57600080fd5b506102b261054d366004612cc6565b61117b565b34801561055e57600080fd5b5061024d61056d366004612da8565b611209565b34801561057e57600080fd5b5061024d61058d366004612da8565b6114c3565b34801561059e57600080fd5b506102b26105ad366004612dc1565b6115cd565b3480156105be57600080fd5b5061024d6105cd366004612da8565b6115f3565b3480156105de57600080fd5b5061024d6105ed366004612da8565b6116fd565b3480156105fe57600080fd5b5061022361060d366004612c57565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561064757600080fd5b506102b2610656366004612c3c565b611807565b34801561066757600080fd5b5061024d610676366004612da8565b6118e9565b6000610686826119f3565b92915050565b60606000805461069b906133d6565b80601f01602080910402602001604051908101604052809291908181526020018280546106c7906133d6565b80156107145780601f106106e957610100808354040283529160200191610714565b820191906000526020600020905b8154815290600101906020018083116106f757829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166107ad5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006107d482610ebc565b9050806001600160a01b0316836001600160a01b0316141561085e5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f720000000000000000000000000000000000000000000000000000000000000060648201526084016107a4565b336001600160a01b038216148061087a575061087a813361060d565b6108ec5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016107a4565b6108f68383611a49565b505050565b6060610686826040518060400160405280600481526020017f44415441000000000000000000000000000000000000000000000000000000008152506012805480602002602001604051908101604052809291908181526020016000905b82821015610a05578382906000526020600020018054610978906133d6565b80601f01602080910402602001604051908101604052809291908181526020018280546109a4906133d6565b80156109f15780601f106109c6576101008083540402835291602001916109f1565b820191906000526020600020905b8154815290600101906020018083116109d457829003601f168201915b505050505081526020019060010190610959565b50505050611ac4565b6060610686826040518060400160405280600681526020017f57414c4c45540000000000000000000000000000000000000000000000000000815250600d805480602002602001604051908101604052809291908181526020016000905b82821015610a05578382906000526020600020018054610a8b906133d6565b80601f0160208091040260200160405190810160405280929190818152602001828054610ab7906133d6565b8015610b045780601f10610ad957610100808354040283529160200191610b04565b820191906000526020600020905b815481529060010190602001808311610ae757829003601f168201915b505050505081526020019060010190610a6c565b60026007541415610b6b5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016107a4565b60026007556000610b7b600a5490565b610b86906001613331565b9050610b923382611b7e565b610ba0600a80546001019055565b506001600755565b610bb23382611ccd565b610c245760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016107a4565b6108f6838383611dd5565b600082815260066020526040902060010154610c4b8133611faf565b6108f6838361202f565b6060610686826040518060400160405280600e81526020017f4f475f44455349474e4154494f4e000000000000000000000000000000000000815250600c805480602002602001604051908101604052809291908181526020016000905b82821015610a05578382906000526020600020018054610cd2906133d6565b80601f0160208091040260200160405190810160405280929190818152602001828054610cfe906133d6565b8015610d4b5780601f10610d2057610100808354040283529160200191610d4b565b820191906000526020600020905b815481529060010190602001808311610d2e57829003601f168201915b505050505081526020019060010190610cb3565b6001600160a01b0381163314610ddd5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201527f20726f6c657320666f722073656c66000000000000000000000000000000000060648201526084016107a4565b610de782826120d1565b5050565b6108f68383836040518060200160405280600081525061117b565b3360009081527f54cdd369e4e8a8515e52ca72ec816c2101831ad1f18bf44102ed171459c9b4f8602052604090205460ff16610ea95760405162461bcd60e51b8152602060048201526024808201527f4d75737420626520616e2061646d696e20746f2073657420746865206261736560448201527f205552490000000000000000000000000000000000000000000000000000000060648201526084016107a4565b8051610de7906009906020840190612ae9565b6000818152600260205260408120546001600160a01b0316806106865760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e000000000000000000000000000000000000000000000060648201526084016107a4565b6060610686826040518060400160405280600481526020017f53495a4500000000000000000000000000000000000000000000000000000000815250600e805480602002602001604051908101604052809291908181526020016000905b82821015610a05578382906000526020600020018054610fc4906133d6565b80601f0160208091040260200160405190810160405280929190818152602001828054610ff0906133d6565b801561103d5780601f106110125761010080835404028352916020019161103d565b820191906000526020600020905b81548152906001019060200180831161102057829003601f168201915b505050505081526020019060010190610fa5565b60006001600160a01b0382166110cf5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f20616464726573730000000000000000000000000000000000000000000060648201526084016107a4565b506001600160a01b031660009081526003602052604090205490565b6008546001600160a01b031633146111455760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107a4565b61114f6000612154565b565b60606001805461069b906133d6565b600061116b600a5490565b905090565b610de73383836121b3565b6111853383611ccd565b6111f75760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016107a4565b61120384848484612282565b50505050565b6060611213612b6d565b60405180610140016040528061010381526020016135fb6101039139815261123a836118e9565b81600160200201819052506040518060600160405280602881526020016136fe60289139604082015261126c83610c55565b60608083019190915260408051918201905260288082526134c76020830139608082015261129983610a0e565b60a082015260408051606081019091526028808252613541602083013960c08201526112c483610f47565b60e08201526040805160608101909152602980825261356960208301396101008201526112f0836115f3565b61012082015260408051606081019091526029808252613518602083013961014082015261131d836114c3565b61016082015260408051606081019091526029808252613592602083013961018082015261134a836116fd565b6101a0820152604080516060810190915260298082526134ef60208301396101c0820152611377836108fb565b6101e0820152604080518082018252600d81527f3c2f746578743e3c2f7376673e00000000000000000000000000000000000000602080830191909152610200840191909152825181840151838501516060860151608087015160a088015160c089015160e08a01516101008b0151995160009a6113f79a909101612efa565b60408051808303601f19018152908290526101208401516101408501516101608601516101808701516101a08801516101c08901516101e08a01516102008b015197995061144a988a9890602001612efa565b604051602081830303815290604052905060006114976114698661230b565b6114728461243d565b60405160200161148392919061308d565b60405160208183030381529060405261243d565b9050806040516020016114aa919061321c565b60408051601f1981840301815291905295945050505050565b6060610686826040518060400160405280600581526020017f53455455500000000000000000000000000000000000000000000000000000008152506010805480602002602001604051908101604052809291908181526020016000905b82821015610a05578382906000526020600020018054611540906133d6565b80601f016020809104026020016040519081016040528092919081815260200182805461156c906133d6565b80156115b95780601f1061158e576101008083540402835291602001916115b9565b820191906000526020600020905b81548152906001019060200180831161159c57829003601f168201915b505050505081526020019060010190611521565b6000828152600660205260409020600101546115e98133611faf565b6108f683836120d1565b6060610686826040518060400160405280600681526020017f534f4349414c0000000000000000000000000000000000000000000000000000815250600f805480602002602001604051908101604052809291908181526020016000905b82821015610a05578382906000526020600020018054611670906133d6565b80601f016020809104026020016040519081016040528092919081815260200182805461169c906133d6565b80156116e95780601f106116be576101008083540402835291602001916116e9565b820191906000526020600020905b8154815290600101906020018083116116cc57829003601f168201915b505050505081526020019060010190611651565b6060610686826040518060400160405280600381526020017f44455800000000000000000000000000000000000000000000000000000000008152506011805480602002602001604051908101604052809291908181526020016000905b82821015610a0557838290600052602060002001805461177a906133d6565b80601f01602080910402602001604051908101604052809291908181526020018280546117a6906133d6565b80156117f35780601f106117c8576101008083540402835291602001916117f3565b820191906000526020600020905b8154815290600101906020018083116117d657829003601f168201915b50505050508152602001906001019061175b565b6008546001600160a01b031633146118615760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107a4565b6001600160a01b0381166118dd5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016107a4565b6118e681612154565b50565b6060610686826040518060400160405280600781526020017f4c415945525f3200000000000000000000000000000000000000000000000000815250600b805480602002602001604051908101604052809291908181526020016000905b82821015610a05578382906000526020600020018054611966906133d6565b80601f0160208091040260200160405190810160405280929190818152602001828054611992906133d6565b80156119df5780601f106119b4576101008083540402835291602001916119df565b820191906000526020600020905b8154815290600101906020018083116119c257829003601f168201915b505050505081526020019060010190611947565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f7965db0b0000000000000000000000000000000000000000000000000000000014806106865750610686826125f8565b6000818152600460205260409020805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0384169081179091558190611a8b82610ebc565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60606000611afa84611ad58761230b565b604051602001611ae6929190612ecb565b6040516020818303038152906040526126db565b9050600083845183611b0c919061342c565b81518110611b1c57611b1c61346c565b602002602001015190506013808054905083611b38919061342c565b81548110611b4857611b4861346c565b9060005260206000200181604051602001611b64929190612fba565b60408051808303601f190181529190529695505050505050565b6001600160a01b038216611bd45760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016107a4565b6000818152600260205260409020546001600160a01b031615611c395760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016107a4565b6001600160a01b0382166000908152600360205260408120805460019290611c62908490613331565b9091555050600081815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000818152600260205260408120546001600160a01b0316611d575760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084016107a4565b6000611d6283610ebc565b9050806001600160a01b0316846001600160a01b03161480611d9d5750836001600160a01b0316611d928461071e565b6001600160a01b0316145b80611dcd57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316611de882610ebc565b6001600160a01b031614611e645760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e000000000000000000000000000000000000000000000060648201526084016107a4565b6001600160a01b038216611edf5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016107a4565b611eea600082611a49565b6001600160a01b0383166000908152600360205260408120805460019290611f1390849061337c565b90915550506001600160a01b0382166000908152600360205260408120805460019290611f41908490613331565b9091555050600081815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b60008281526006602090815260408083206001600160a01b038516845290915290205460ff16610de757611fed816001600160a01b0316601461270c565b611ff883602061270c565b604051602001612009929190613261565b60408051601f198184030181529082905262461bcd60e51b82526107a49160040161331e565b60008281526006602090815260408083206001600160a01b038516845290915290205460ff16610de75760008281526006602090815260408083206001600160a01b03851684529091529020805460ff1916600117905561208d3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b60008281526006602090815260408083206001600160a01b038516845290915290205460ff1615610de75760008281526006602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b600880546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b031614156122155760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016107a4565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b61228d848484611dd5565b6122998484848461293c565b6112035760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016107a4565b60608161234b57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115612375578061235f81613411565b915061236e9050600a83613349565b915061234f565b60008167ffffffffffffffff81111561239057612390613482565b6040519080825280601f01601f1916602001820160405280156123ba576020820181803683370190505b5090505b8415611dcd576123cf60018361337c565b91506123dc600a8661342c565b6123e7906030613331565b60f81b8183815181106123fc576123fc61346c565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350612436600a86613349565b94506123be565b80516060908061245d575050604080516020810190915260008152919050565b6000600361246c836002613331565b6124769190613349565b61248190600461335d565b90506000612490826020613331565b67ffffffffffffffff8111156124a8576124a8613482565b6040519080825280601f01601f1916602001820160405280156124d2576020820181803683370190505b50905060006040518060600160405280604081526020016135bb604091399050600181016020830160005b8681101561255e576003818a01810151603f601282901c8116860151600c83901c8216870151600684901c831688015192909316870151600891821b60ff94851601821b92841692909201901b91160160e01b8352600490920191016124fd565b50600386066001811461257857600281146125c2576125ea565b7f3d3d0000000000000000000000000000000000000000000000000000000000007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe8301526125ea565b7f3d000000000000000000000000000000000000000000000000000000000000006000198301525b505050918152949350505050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd00000000000000000000000000000000000000000000000000000000148061268b57507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061068657507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff00000000000000000000000000000000000000000000000000000000831614610686565b6000816040516020016126ee9190612eaf565b60408051601f19818403018152919052805160209091012092915050565b6060600061271b83600261335d565b612726906002613331565b67ffffffffffffffff81111561273e5761273e613482565b6040519080825280601f01601f191660200182016040528015612768576020820181803683370190505b5090507f30000000000000000000000000000000000000000000000000000000000000008160008151811061279f5761279f61346c565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f7800000000000000000000000000000000000000000000000000000000000000816001815181106128025761280261346c565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600061283e84600261335d565b612849906001613331565b90505b60018111156128e6577f303132333435363738396162636465660000000000000000000000000000000085600f166010811061288a5761288a61346c565b1a60f81b8282815181106128a0576128a061346c565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060049490941c936128df816133bf565b905061284c565b5083156129355760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016107a4565b9392505050565b60006001600160a01b0384163b15612ade576040517f150b7a020000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063150b7a02906129999033908990889088906004016132e2565b602060405180830381600087803b1580156129b357600080fd5b505af19250505080156129e3575060408051601f3d908101601f191682019092526129e091810190612e01565b60015b612a93573d808015612a11576040519150601f19603f3d011682016040523d82523d6000602084013e612a16565b606091505b508051612a8b5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016107a4565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a0200000000000000000000000000000000000000000000000000000000149050611dcd565b506001949350505050565b828054612af5906133d6565b90600052602060002090601f016020900481019282612b175760008555612b5d565b82601f10612b3057805160ff1916838001178555612b5d565b82800160010185558215612b5d579182015b82811115612b5d578251825591602001919060010190612b42565b50612b69929150612b95565b5090565b6040518061022001604052806011905b6060815260200190600190039081612b7d5790505090565b5b80821115612b695760008155600101612b96565b600067ffffffffffffffff80841115612bc557612bc5613482565b604051601f8501601f19908116603f01168101908282118183101715612bed57612bed613482565b81604052809350858152868686011115612c0657600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b0381168114612c3757600080fd5b919050565b600060208284031215612c4e57600080fd5b61293582612c20565b60008060408385031215612c6a57600080fd5b612c7383612c20565b9150612c8160208401612c20565b90509250929050565b600080600060608486031215612c9f57600080fd5b612ca884612c20565b9250612cb660208501612c20565b9150604084013590509250925092565b60008060008060808587031215612cdc57600080fd5b612ce585612c20565b9350612cf360208601612c20565b925060408501359150606085013567ffffffffffffffff811115612d1657600080fd5b8501601f81018713612d2757600080fd5b612d3687823560208401612baa565b91505092959194509250565b60008060408385031215612d5557600080fd5b612d5e83612c20565b915060208301358015158114612d7357600080fd5b809150509250929050565b60008060408385031215612d9157600080fd5b612d9a83612c20565b946020939093013593505050565b600060208284031215612dba57600080fd5b5035919050565b60008060408385031215612dd457600080fd5b82359150612c8160208401612c20565b600060208284031215612df657600080fd5b813561293581613498565b600060208284031215612e1357600080fd5b815161293581613498565b600060208284031215612e3057600080fd5b813567ffffffffffffffff811115612e4757600080fd5b8201601f81018413612e5857600080fd5b611dcd84823560208401612baa565b60008151808452612e7f816020860160208601613393565b601f01601f19169290920160200192915050565b60008151612ea5818560208601613393565b9290920192915050565b60008251612ec1818460208701613393565b9190910192915050565b60008351612edd818460208801613393565b835190830190612ef1818360208801613393565b01949350505050565b60008a51612f0c818460208f01613393565b8a51612f1e8183860160208f01613393565b8a519184010190612f33818360208e01613393565b8951612f458183850160208e01613393565b8951929091010190612f5b818360208c01613393565b8751612f6d8183850160208c01613393565b8751929091010190612f83818360208a01613393565b8551910190612f96818360208901613393565b8451612fa88183850160208901613393565b9101019b9a5050505050505050505050565b600080845481600182811c915080831680612fd657607f831692505b6020808410821415612ff657634e487b7160e01b86526022600452602486fd5b81801561300a576001811461301b57613048565b60ff19861689528489019650613048565b60008b81526020902060005b868110156130405781548b820152908501908301613027565b505084890196505b50505050505061308461307e827f2000000000000000000000000000000000000000000000000000000000000000815260010190565b85612e93565b95945050505050565b7f7b226e616d65223a2022504f53204d6572676520426f782023000000000000008152600083516130c5816019850160208801613393565b7f222c20226465736372697074696f6e223a2022504f537369626c65204e4654736019918401918201527f206172652072616e646f6d697a6564206f6e20636861696e206c6f6f7420626f60398201527f78204e46547320746f20726570726573656e742074686520657468657265756d60598201527f206d657267652077686963682068617070656e6420696e2053657074656d626560798201527f72206f6620323032322e204665656c206672656520746f2075736520686f772060998201527f796f752077616e742e222c2022696d616765223a2022646174613a696d61676560b98201527f2f7376672b786d6c3b6261736536342c0000000000000000000000000000000060d982015283516131e68160e9840160208801613393565b7f227d00000000000000000000000000000000000000000000000000000000000060e9929091019182015260eb01949350505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c00000081526000825161325481601d850160208701613393565b91909101601d0192915050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351613299816017850160208801613393565b7f206973206d697373696e6720726f6c652000000000000000000000000000000060179184019182015283516132d6816028840160208801613393565b01602801949350505050565b60006001600160a01b038087168352808616602084015250836040830152608060608301526133146080830184612e67565b9695505050505050565b6020815260006129356020830184612e67565b6000821982111561334457613344613440565b500190565b60008261335857613358613456565b500490565b600081600019048311821515161561337757613377613440565b500290565b60008282101561338e5761338e613440565b500390565b60005b838110156133ae578181015183820152602001613396565b838111156112035750506000910152565b6000816133ce576133ce613440565b506000190190565b600181811c908216806133ea57607f821691505b6020821081141561340b57634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561342557613425613440565b5060010190565b60008261343b5761343b613456565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b7fffffffff00000000000000000000000000000000000000000000000000000000811681146118e657600080fdfe3c2f746578743e3c7465787420783d2231302220793d2236302220636c6173733d2262617365223e3c2f746578743e3c7465787420783d2231302220793d223136302220636c6173733d2262617365223e3c2f746578743e3c7465787420783d2231302220793d223132302220636c6173733d2262617365223e3c2f746578743e3c7465787420783d2231302220793d2238302220636c6173733d2262617365223e3c2f746578743e3c7465787420783d2231302220793d223130302220636c6173733d2262617365223e3c2f746578743e3c7465787420783d2231302220793d223134302220636c6173733d2262617365223e4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2f3c73766720786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323030302f73766722207072657365727665417370656374526174696f3d22784d696e594d696e206d656574222076696577426f783d223020302033353020333530223e3c7374796c653e2e62617365207b2066696c6c3a2077686974653b20666f6e742d66616d696c793a206d6f6e6f73706163653b20666f6e742d73697a653a20313470783b207d3c2f7374796c653e3c726563742077696474683d223130302522206865696768743d2231303025222066696c6c3d222330303435386622202f3e3c7465787420783d2231302220793d2232302220636c6173733d2262617365223e3c2f746578743e3c7465787420783d2231302220793d2234302220636c6173733d2262617365223ea26469706673582212207d7ffa4537fd3a93e13e00fb5388f23f3f2b1cc386728ef1a87cd4739fd8d3cf64736f6c63430008060033

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.