ETH Price: $3,302.46 (-3.17%)
Gas: 10 Gwei

Token

Ocat Token (Ocat)
 

Overview

Max Total Supply

3,000 Ocat

Holders

966

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 Ocat
0x5ef279b2760639d80d68c015d347edebd6c92651
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:
Ocat

Compiler Version
v0.8.10+commit.fc410830

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 15 : Ocat.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/SignatureChecker.sol";
import "./ERC721A.sol";

error InvalidSignature();

contract Ocat is Ownable, ERC721A {    
    struct GlobalConfigItem {
        uint256 totalNum;
        uint256 StartTime;
        uint256 EndTime;
        bool isOpen;
        bool isOnly;
    }
    uint256 MAX_TOTAL_SUPPLY = 10000;
    uint256 nowResidue = 0;
    uint256 oldIndex = 1;
    address[] whiteListAddress;
    uint256 public nowPage = 0;    
    address public repoAddress = 0xeF42dd48940E6E352410f1Fd62b17267A8CFAF33;

    mapping (uint256 => bool) pageActive;
    mapping (uint256 => string) _baseTokenURI;
    mapping (uint256 => GlobalConfigItem) globalConfig;
    mapping (uint256 => address) authority;

    constructor() ERC721A("Ocat Token", "Ocat") {
        authority[1] = 0x3fFC0C2cF1E7D25109471BAE8705475181d4031b;
        authority[2] = 0x4DA3c533e1565057a69da9eab0e9255913cc7aAB;
        authority[3] = 0x422002dd3714C7DadFd33959Eb9C23E1764b18F8;
        authority[4] = 0x0A54E90bDDF21f881E7c407a97F3d9c848e96306;
    }

    /**
     * @dev limit another contract
     */
    modifier callerIsUser() {
        require(tx.origin == msg.sender, "The caller is another contract");
        _;
    }

    /**For Ocat global configuration*/
    function _setGlobalConfig( uint256 PageID, GlobalConfigItem memory configData ) public onlyOwner {
        require(PageID > 0 && configData.totalNum > 0,"Config Error");
        require(pageActive[PageID] == false,"The PageID has started");
        require(configData.EndTime > configData.StartTime,"Incorrect configuration format");

        globalConfig[PageID] = configData;
    }

    /**From here on*/
    function startNewPage(uint256 PageID) public onlyOwner {
        require(nowPage != PageID && PageID > nowPage,"PageID NEQ now Page");
        GlobalConfigItem memory configData = globalConfig[PageID];
        require(
            block.timestamp < configData.EndTime,
            "Config Missing Or Error"
        );
        require(
            totalSupply() + configData.totalNum <= MAX_TOTAL_SUPPLY,
            "More MAX totalSupply"
        );

        if(nowPage > 0){
            pageActive[nowPage] = false;
        }
        pageActive[PageID] = true;
        if(nowResidue > 0){
            for (uint256 i = 0; i < nowResidue; i++) {
                uint256 tokenID = getTokenID();
                _safeMint(repoAddress, tokenID);
            }
        }
        nowPage = PageID;
        nowResidue = configData.totalNum;
    }

    /**airdrop mint And Provide lock-up time*/
    function airdropMint(address[] memory tos) external onlyOwner {
        require(
            pageActive[nowPage],
            "This activity hasn't started yet"
        );

        uint256 quantity = tos.length;
        for (uint256 i = 0; i < quantity; i++) {
            uint256 tokenID = getTokenID();
            _safeMint(tos[i], tokenID);
        }
    }

    function isMintOn() public view returns (bool) {
        return
            pageActive[nowPage] &&
            globalConfig[nowPage].StartTime <= block.timestamp &&
            globalConfig[nowPage].EndTime > block.timestamp;
    }

    function OcatMint(uint256 salt, bytes calldata signature) external callerIsUser {
        require(isMintOn(),"Not Meet Mint Time");
        require(nowResidue >= 1,"Not enough for mint");

        if(globalConfig[nowPage].isOpen && globalConfig[nowPage].isOnly){
            OcatOpenOnlyMint();
        }
        if(globalConfig[nowPage].isOpen == false && globalConfig[nowPage].isOnly == false){
            OcatWhiteListMint(salt,signature);
        }
        uint256 tokenID = getTokenID();
        _safeMint(msg.sender, tokenID);
        nowResidue --;
    }
    
    function OcatWhiteListMint(uint256 salt, bytes calldata signature) view private {
        bytes32 HashData = keccak256(abi.encodePacked(msg.sender, salt));
        if (
            !SignatureChecker.isValidSignatureNow( authority[nowPage], HashData, signature )
        ) {
            revert InvalidSignature();
        }
    }

    function OcatOpenOnlyMint() private {
        require(
            allowWhiteListMint(msg.sender),
            "Must Only One"
        );

        whiteListAddress.push(msg.sender);
    }

    function getNowPageConfig(uint256 page) view public returns(uint256,uint256,uint256,uint256){
        if(page == 0){page = nowPage;}
        uint256 ResidueNum = 0;
        if(page > nowPage){
            ResidueNum = globalConfig[page].totalNum;
        }else if(page ==  nowPage){
            ResidueNum = nowResidue;
        }
        return (ResidueNum,globalConfig[page].totalNum,globalConfig[page].StartTime,globalConfig[page].EndTime);
    }


    /**
     *  @dev NFT BaseURI
     */
    function _baseURI(uint256 tokenId) internal view virtual override returns (string memory) {
        uint256 pageIndex = (tokenId / 10000);
        return _baseTokenURI[pageIndex];
    }

    function setBaseURI(uint256 PageID, string calldata baseURI) external onlyOwner {
        _baseTokenURI[PageID] = baseURI;
    }

    function allowWhiteListMint(address checkAddr) private view returns(bool){
        for(uint i=0;i<whiteListAddress.length;i++){
            if(checkAddr == whiteListAddress[i]){
                return false;
            }
        }
        return true;
    }

    function getTokenID() private returns (uint256) {
        uint256 oldPage = (oldIndex / 10000);
        if(oldPage < nowPage){
            oldIndex = (nowPage * 10000);            
        }else{
            oldIndex++;
        }        
        return oldIndex;
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "./ECDSA.sol";
import "../Address.sol";
import "../../interfaces/IERC1271.sol";

/**
 * @dev Signature verification helper that can be used instead of `ECDSA.recover` to seamlessly support both ECDSA
 * signatures from externally owned accounts (EOAs) as well as ERC1271 signatures from smart contract wallets like
 * Argent and Gnosis Safe.
 *
 * _Available since v4.1._
 */
library SignatureChecker {
    /**
     * @dev Checks if a signature is valid for a given signer and data hash. If the signer is a smart contract, the
     * signature is validated against that smart contract using ERC1271, otherwise it's validated using `ECDSA.recover`.
     *
     * NOTE: Unlike ECDSA signatures, contract signatures are revocable, and the outcome of this function can thus
     * change through time. It could return true at block N and false at block N+1 (or the opposite).
     */
    function isValidSignatureNow(
        address signer,
        bytes32 hash,
        bytes memory signature
    ) internal view returns (bool) {
        (address recovered, ECDSA.RecoverError error) = ECDSA.tryRecover(hash, signature);
        if (error == ECDSA.RecoverError.NoError && recovered == signer) {
            return true;
        }

        (bool success, bytes memory result) = signer.staticcall(
            abi.encodeWithSelector(IERC1271.isValidSignature.selector, hash, signature)
        );
        return (success && result.length == 32 && abi.decode(result, (bytes4)) == IERC1271.isValidSignature.selector);
    }
}

File 4 of 15 : ERC721A.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/introspection/ERC165.sol";

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard
 *  non-standard ERC721A  Because the change part
 */
contract ERC721A is
    Context,
    ERC165,
    IERC721,
    IERC721Metadata,
    IERC721Enumerable
{
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

    // Mapping owner address to balances
    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;

    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

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

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     * It may also degrade with extremely large collection sizes (e.g >> 10000)
     */
    function tokenOfOwnerByIndex(address owner, uint256 index)
        public
        view
        override
        returns (uint256)
    {
        require(index < balanceOf(owner), "ERC721A: owner index out of bounds");
        uint256 numMinted = totalSupply();
        uint256 tokenIdsIdx = 0;
        for (uint256 i = 0; i < numMinted; i++) {
            if (_owners[_allTokens[i]] != address(0) && _owners[_allTokens[i]] == owner) {
                if (tokenIdsIdx == index) {
                    return _allTokens[i];
                }
                tokenIdsIdx++;
            }
        }
        revert("ERC721A: unable to get token of owner by index");
    }

    /**
     * @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 ||
            interfaceId == type(IERC721Enumerable).interfaceId ||
            super.supportsInterface(interfaceId);
    }

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

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view 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(tokenId);
        return
            bytes(baseURI).length > 0
                ? string(abi.encodePacked(baseURI, tokenId.toString(),".json"))
                : "";
    }

    /**
     * @dev Base URI for computing {tokenURI}.
     */
    function _baseURI(uint256 tokenId) internal view virtual returns (string memory) {
        return "";
    }

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

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

        _approve(to, tokenId, owner);
    }

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

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved)
        public
        override
    {
        require(operator != _msgSender(), "ERC721A: approve to caller");

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_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 override {
        _transfer(from, to, tokenId);
    }

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

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public override {
        _transfer(from, to, tokenId);
        require(
            _checkOnERC721Received(from, to, tokenId, _data),
            "ERC721A: transfer to non ERC721Receiver implementer"
        );
    }

    /**
     * @dev Returns whether `tokenId` exists.
     */
    function _exists(uint256 tokenId) internal view returns (bool) {
        return _owners[tokenId] != address(0);
    }

    function _safeMint(
        address to,
        uint256 tokenId
    ) internal {
        _mint(to, tokenId);
        require(
            _checkOnERC721Received(address(0), to, tokenId, ""),
            "ERC721: transfer to non ERC721Receiver implementer"
        );
    }

    /**
    * @dev _mint common
    */

    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;

        _allTokens.push(tokenId);

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

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

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * 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
    ) private {
        require(
            _owners[tokenId] == from,
            "ERC721: transfer from incorrect owner"
        );
        require(to != address(0), "ERC721: transfer to the zero address");

        bool isApprovedOrOwner = (_msgSender() == _owners[tokenId] ||
            getApproved(tokenId) == _msgSender() ||
            isApprovedForAll(_owners[tokenId], _msgSender()));

        require(
            isApprovedOrOwner,
            "ERC721A: transfer caller is not owner nor approved"
        );

        _beforeTokenTransfer(from, to, tokenId);

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

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

        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

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

    /**
     * @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 a set of serially-ordered token ids are about to be transferred. This includes minting.
     *
     * startTokenId - the first token id to be transferred
     * quantity - the amount to be transferred
     *
     * 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`.
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}

    /**
     * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes
     * minting.
     *
     * startTokenId - the first token id to be transferred
     * quantity - the amount to be transferred
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero.
     * - `from` and `to` are never both zero.
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 startTokenId
    ) internal virtual {}
}

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

import "../Strings.sol";

/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
    enum RecoverError {
        NoError,
        InvalidSignature,
        InvalidSignatureLength,
        InvalidSignatureS,
        InvalidSignatureV
    }

    function _throwError(RecoverError error) private pure {
        if (error == RecoverError.NoError) {
            return; // no error: do nothing
        } else if (error == RecoverError.InvalidSignature) {
            revert("ECDSA: invalid signature");
        } else if (error == RecoverError.InvalidSignatureLength) {
            revert("ECDSA: invalid signature length");
        } else if (error == RecoverError.InvalidSignatureS) {
            revert("ECDSA: invalid signature 's' value");
        } else if (error == RecoverError.InvalidSignatureV) {
            revert("ECDSA: invalid signature 'v' value");
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature` or error string. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     *
     * Documentation for signature generation:
     * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
     * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
     *
     * _Available since v4.3._
     */
    function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {
        // Check the signature length
        // - case 65: r,s,v signature (standard)
        // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._
        if (signature.length == 65) {
            bytes32 r;
            bytes32 s;
            uint8 v;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
            return tryRecover(hash, v, r, s);
        } else if (signature.length == 64) {
            bytes32 r;
            bytes32 vs;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                vs := mload(add(signature, 0x40))
            }
            return tryRecover(hash, r, vs);
        } else {
            return (address(0), RecoverError.InvalidSignatureLength);
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, signature);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
     *
     * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address, RecoverError) {
        bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);
        uint8 v = uint8((uint256(vs) >> 255) + 27);
        return tryRecover(hash, v, r, s);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.
     *
     * _Available since v4.2._
     */
    function recover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, r, vs);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `v`,
     * `r` and `s` signature fields separately.
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address, RecoverError) {
        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most
        // signatures from current libraries generate a unique signature with an s-value in the lower half order.
        //
        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
        // these malleable signatures as well.
        if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
            return (address(0), RecoverError.InvalidSignatureS);
        }
        if (v != 27 && v != 28) {
            return (address(0), RecoverError.InvalidSignatureV);
        }

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        if (signer == address(0)) {
            return (address(0), RecoverError.InvalidSignature);
        }

        return (signer, RecoverError.NoError);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function recover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, v, r, s);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from `s`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s));
    }

    /**
     * @dev Returns an Ethereum Signed Typed Data, created from a
     * `domainSeparator` and a `structHash`. This produces hash corresponding
     * to the one signed with the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
     * JSON-RPC method as part of EIP-712.
     *
     * See {recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
    }
}

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

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 8 of 15 : IERC1271.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (interfaces/IERC1271.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC1271 standard signature validation method for
 * contracts as defined in https://eips.ethereum.org/EIPS/eip-1271[ERC-1271].
 *
 * _Available since v4.1._
 */
interface IERC1271 {
    /**
     * @dev Should return whether the signature provided is valid for the provided data
     * @param hash      Hash of the data to be signed
     * @param signature Signature byte array associated with _data
     */
    function isValidSignature(bytes32 hash, bytes memory signature) external view returns (bytes4 magicValue);
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

File 10 of 15 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (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`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes calldata data
    ) external;

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

/**
 * @title ERC721 token receiver interface
 * @dev Interface for any contract that wants to support safeTransfers
 * from ERC721 asset contracts.
 */
interface 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 `IERC721Receiver.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"InvalidSignature","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"uint256","name":"salt","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"OcatMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"PageID","type":"uint256"},{"components":[{"internalType":"uint256","name":"totalNum","type":"uint256"},{"internalType":"uint256","name":"StartTime","type":"uint256"},{"internalType":"uint256","name":"EndTime","type":"uint256"},{"internalType":"bool","name":"isOpen","type":"bool"},{"internalType":"bool","name":"isOnly","type":"bool"}],"internalType":"struct Ocat.GlobalConfigItem","name":"configData","type":"tuple"}],"name":"_setGlobalConfig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"tos","type":"address[]"}],"name":"airdropMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"page","type":"uint256"}],"name":"getNowPageConfig","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isMintOn","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nowPage","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"repoAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"PageID","type":"uint256"},{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"PageID","type":"uint256"}],"name":"startNewPage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405261271060085560006009556001600a556000600c5573ef42dd48940e6e352410f1fd62b17267a8cfaf33600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055503480156200007b57600080fd5b506040518060400160405280600a81526020017f4f63617420546f6b656e000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f4f6361740000000000000000000000000000000000000000000000000000000081525062000108620000fc620002de60201b60201c565b620002e660201b60201c565b816001908051906020019062000120929190620003aa565b50806002908051906020019062000139929190620003aa565b505050733ffc0c2cf1e7d25109471bae8705475181d4031b601160006001815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550734da3c533e1565057a69da9eab0e9255913cc7aab601160006002815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073422002dd3714c7dadfd33959eb9c23e1764b18f8601160006003815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550730a54e90bddf21f881e7c407a97f3d9c848e96306601160006004815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550620004bf565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620003b89062000489565b90600052602060002090601f016020900481019282620003dc576000855562000428565b82601f10620003f757805160ff191683800117855562000428565b8280016001018555821562000428579182015b82811115620004275782518255916020019190600101906200040a565b5b5090506200043791906200043b565b5090565b5b80821115620004565760008160009055506001016200043c565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620004a257607f821691505b60208210811415620004b957620004b86200045a565b5b50919050565b614e8080620004cf6000396000f3fe608060405234801561001057600080fd5b50600436106101c45760003560e01c8063650aab32116100f9578063a2d4955211610097578063e267c21911610071578063e267c219146104ef578063e985e9c514610522578063eb6db26114610552578063f2fde38b14610570576101c4565b8063a2d4955214610487578063b88d4fde146104a3578063c87b56dd146104bf576101c4565b8063715018a6116100d3578063715018a6146104255780638da5cb5b1461042f57806395d89b411461044d578063a22cb4651461046b576101c4565b8063650aab32146103bb5780636e060624146103d757806370a08231146103f5576101c4565b80632f745c591161016657806346d362111161014057806346d36211146103235780634828c65a1461033f5780634f6ccce71461035b5780636352211e1461038b576101c4565b80632f745c59146102bb57806333cfcb9f146102eb57806342842e0e14610307576101c4565b8063095ea7b3116101a2578063095ea7b31461024757806318160ddd1461026357806319b347a11461028157806323b872dd1461029f576101c4565b806301ffc9a7146101c957806306fdde03146101f9578063081812fc14610217575b600080fd5b6101e360048036038101906101de9190613077565b61058c565b6040516101f091906130bf565b60405180910390f35b6102016106d6565b60405161020e9190613173565b60405180910390f35b610231600480360381019061022c91906131cb565b610768565b60405161023e9190613239565b60405180910390f35b610261600480360381019061025c9190613280565b6107ed565b005b61026b610906565b60405161027891906132cf565b60405180910390f35b610289610913565b60405161029691906132cf565b60405180910390f35b6102b960048036038101906102b491906132ea565b610919565b005b6102d560048036038101906102d09190613280565b610929565b6040516102e291906132cf565b60405180910390f35b610305600480360381019061030091906133a2565b610b31565b005b610321600480360381019061031c91906132ea565b610bd5565b005b61033d60048036038101906103389190613540565b610bf5565b005b61035960048036038101906103549190613646565b610d2d565b005b610375600480360381019061037091906131cb565b610f26565b60405161038291906132cf565b60405180910390f35b6103a560048036038101906103a091906131cb565b610f97565b6040516103b29190613239565b60405180910390f35b6103d560048036038101906103d091906136dc565b611049565b005b6103df61124d565b6040516103ec91906130bf565b60405180910390f35b61040f600480360381019061040a919061373c565b6112be565b60405161041c91906132cf565b60405180910390f35b61042d611376565b005b6104376113fe565b6040516104449190613239565b60405180910390f35b610455611427565b6040516104629190613173565b60405180910390f35b61048560048036038101906104809190613769565b6114b9565b005b6104a1600480360381019061049c91906131cb565b61163a565b005b6104bd60048036038101906104b8919061385e565b611901565b005b6104d960048036038101906104d491906131cb565b61195d565b6040516104e69190613173565b60405180910390f35b610509600480360381019061050491906131cb565b611a05565b60405161051994939291906138e1565b60405180910390f35b61053c60048036038101906105379190613926565b611aab565b60405161054991906130bf565b60405180910390f35b61055a611b3f565b6040516105679190613239565b60405180910390f35b61058a6004803603810190610585919061373c565b611b65565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061065757507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806106bf57507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806106cf57506106ce82611c5d565b5b9050919050565b6060600180546106e590613995565b80601f016020809104026020016040519081016040528092919081815260200182805461071190613995565b801561075e5780601f106107335761010080835404028352916020019161075e565b820191906000526020600020905b81548152906001019060200180831161074157829003601f168201915b5050505050905090565b600061077382611cc7565b6107b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a990613a39565b60405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006107f882610f97565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610869576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161086090613acb565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610888611d33565b73ffffffffffffffffffffffffffffffffffffffff1614806108b757506108b6816108b1611d33565b611aab565b5b6108f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108ed90613b5d565b60405180910390fd5b610901838383611d3b565b505050565b6000600380549050905090565b600c5481565b610924838383611ded565b505050565b6000610934836112be565b8210610975576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161096c90613bef565b60405180910390fd5b600061097f610906565b90506000805b82811015610aef57600073ffffffffffffffffffffffffffffffffffffffff1660046000600384815481106109bd576109bc613c0f565b5b9060005260206000200154815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614158015610a9757508573ffffffffffffffffffffffffffffffffffffffff166004600060038481548110610a4557610a44613c0f565b5b9060005260206000200154815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16145b15610adc5784821415610acd5760038181548110610ab857610ab7613c0f565b5b90600052602060002001549350505050610b2b565b8180610ad890613c6d565b9250505b8080610ae790613c6d565b915050610985565b506040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b2290613d28565b60405180910390fd5b92915050565b610b39611d33565b73ffffffffffffffffffffffffffffffffffffffff16610b576113fe565b73ffffffffffffffffffffffffffffffffffffffff1614610bad576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ba490613d94565b60405180910390fd5b8181600f60008681526020019081526020016000209190610bcf929190612f68565b50505050565b610bf083838360405180602001604052806000815250611901565b505050565b610bfd611d33565b73ffffffffffffffffffffffffffffffffffffffff16610c1b6113fe565b73ffffffffffffffffffffffffffffffffffffffff1614610c71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c6890613d94565b60405180910390fd5b600e6000600c54815260200190815260200160002060009054906101000a900460ff16610cd3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cca90613e00565b60405180910390fd5b60008151905060005b81811015610d28576000610cee6121f1565b9050610d14848381518110610d0657610d05613c0f565b5b60200260200101518261224d565b508080610d2090613c6d565b915050610cdc565b505050565b610d35611d33565b73ffffffffffffffffffffffffffffffffffffffff16610d536113fe565b73ffffffffffffffffffffffffffffffffffffffff1614610da9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da090613d94565b60405180910390fd5b600082118015610dbd575060008160000151115b610dfc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610df390613e6c565b60405180910390fd5b60001515600e600084815260200190815260200160002060009054906101000a900460ff16151514610e63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5a90613ed8565b60405180910390fd5b8060200151816040015111610ead576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ea490613f44565b60405180910390fd5b806010600084815260200190815260200160002060008201518160000155602082015181600101556040820151816002015560608201518160030160006101000a81548160ff02191690831515021790555060808201518160030160016101000a81548160ff0219169083151502179055509050505050565b6000610f30610906565b8210610f71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6890613fd6565b60405180910390fd5b60038281548110610f8557610f84613c0f565b5b90600052602060002001549050919050565b6000806004600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611040576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161103790614068565b60405180910390fd5b80915050919050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16146110b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ae906140d4565b60405180910390fd5b6110bf61124d565b6110fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110f590614140565b60405180910390fd5b60016009541015611144576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113b906141ac565b60405180910390fd5b60106000600c54815260200190815260200160002060030160009054906101000a900460ff168015611198575060106000600c54815260200190815260200160002060030160019054906101000a900460ff165b156111a6576111a56122b6565b5b6000151560106000600c54815260200190815260200160002060030160009054906101000a900460ff16151514801561120857506000151560106000600c54815260200190815260200160002060030160019054906101000a900460ff161515145b1561121957611218838383612363565b5b60006112236121f1565b905061122f338261224d565b60096000815480929190611242906141cc565b919050555050505050565b6000600e6000600c54815260200190815260200160002060009054906101000a900460ff16801561129657504260106000600c5481526020019081526020016000206001015411155b80156112b957504260106000600c54815260200190815260200160002060020154115b905090565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561132f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132690614268565b60405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61137e611d33565b73ffffffffffffffffffffffffffffffffffffffff1661139c6113fe565b73ffffffffffffffffffffffffffffffffffffffff16146113f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113e990613d94565b60405180910390fd5b6113fc6000612450565b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606002805461143690613995565b80601f016020809104026020016040519081016040528092919081815260200182805461146290613995565b80156114af5780601f10611484576101008083540402835291602001916114af565b820191906000526020600020905b81548152906001019060200180831161149257829003601f168201915b5050505050905090565b6114c1611d33565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561152f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611526906142d4565b60405180910390fd5b806007600061153c611d33565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166115e9611d33565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161162e91906130bf565b60405180910390a35050565b611642611d33565b73ffffffffffffffffffffffffffffffffffffffff166116606113fe565b73ffffffffffffffffffffffffffffffffffffffff16146116b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116ad90613d94565b60405180910390fd5b80600c54141580156116c95750600c5481115b611708576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116ff90614340565b60405180910390fd5b6000601060008381526020019081526020016000206040518060a00160405290816000820154815260200160018201548152602001600282015481526020016003820160009054906101000a900460ff161515151581526020016003820160019054906101000a900460ff1615151515815250509050806040015142106117c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117bb906143ac565b60405180910390fd5b60085481600001516117d4610906565b6117de91906143cc565b111561181f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118169061446e565b60405180910390fd5b6000600c541115611859576000600e6000600c54815260200190815260200160002060006101000a81548160ff0219169083151502179055505b6001600e600084815260200190815260200160002060006101000a81548160ff021916908315150217905550600060095411156118eb5760005b6009548110156118e95760006118a76121f1565b90506118d5600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168261224d565b5080806118e190613c6d565b915050611893565b505b81600c8190555080600001516009819055505050565b61190c848484611ded565b61191884848484612514565b611957576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161194e90614500565b60405180910390fd5b50505050565b606061196882611cc7565b6119a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199e90614592565b60405180910390fd5b60006119b28361269c565b905060008151116119d257604051806020016040528060008152506119fd565b806119dc84612754565b6040516020016119ed92919061463a565b6040516020818303038152906040525b915050919050565b6000806000806000851415611a1a57600c5494505b6000600c54861115611a445760106000878152602001908152602001600020600001549050611a55565b600c54861415611a545760095490505b5b8060106000888152602001908152602001600020600001546010600089815260200190815260200160002060010154601060008a8152602001908152602001600020600201549450945094509450509193509193565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611b6d611d33565b73ffffffffffffffffffffffffffffffffffffffff16611b8b6113fe565b73ffffffffffffffffffffffffffffffffffffffff1614611be1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bd890613d94565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611c51576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c48906146db565b60405180910390fd5b611c5a81612450565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166004600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b8273ffffffffffffffffffffffffffffffffffffffff166004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611e8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e859061476d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611efe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ef5906147ff565b60405180910390fd5b60006004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611f52611d33565b73ffffffffffffffffffffffffffffffffffffffff161480611fae5750611f77611d33565b73ffffffffffffffffffffffffffffffffffffffff16611f9683610768565b73ffffffffffffffffffffffffffffffffffffffff16145b80611ff95750611ff86004600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16611ff3611d33565b611aab565b5b90508061203b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161203290614891565b60405180910390fd5b6120468484846128b5565b6120856000836004600086815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16611d3b565b6001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546120d591906148b1565b925050819055506001600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461212c91906143cc565b92505081905550826004600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46121eb8484846128ba565b50505050565b600080612710600a546122049190614914565b9050600c5481101561222b57612710600c546122209190614945565b600a81905550612244565b600a600081548092919061223e90613c6d565b91905055505b600a5491505090565b61225782826128bf565b6122736000838360405180602001604052806000815250612514565b6122b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122a990614a11565b60405180910390fd5b5050565b6122bf33612ac2565b6122fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122f590614a7d565b60405180910390fd5b600b339080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b60003384604051602001612378929190614b06565b60405160208183030381529060405280519060200120905061241460116000600c54815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168285858080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050612b71565b61244a576040517f8baa579f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60006125358473ffffffffffffffffffffffffffffffffffffffff16612d56565b1561268f578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261255e611d33565b8786866040518563ffffffff1660e01b81526004016125809493929190614b87565b6020604051808303816000875af19250505080156125bc57506040513d601f19601f820116820180604052508101906125b99190614be8565b60015b61263f573d80600081146125ec576040519150601f19603f3d011682016040523d82523d6000602084013e6125f1565b606091505b50600081511415612637576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161262e90614a11565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612694565b600190505b949350505050565b60606000612710836126ae9190614914565b9050600f600082815260200190815260200160002080546126ce90613995565b80601f01602080910402602001604051908101604052809291908181526020018280546126fa90613995565b80156127475780601f1061271c57610100808354040283529160200191612747565b820191906000526020600020905b81548152906001019060200180831161272a57829003601f168201915b5050505050915050919050565b6060600082141561279c576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506128b0565b600082905060005b600082146127ce5780806127b790613c6d565b915050600a826127c79190614914565b91506127a4565b60008167ffffffffffffffff8111156127ea576127e9613402565b5b6040519080825280601f01601f19166020018201604052801561281c5781602001600182028036833780820191505090505b5090505b600085146128a95760018261283591906148b1565b9150600a856128449190614c15565b603061285091906143cc565b60f81b81838151811061286657612865613c0f565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856128a29190614914565b9450612820565b8093505050505b919050565b505050565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561292f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161292690614c92565b60405180910390fd5b61293881611cc7565b15612978576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161296f90614cfe565b60405180910390fd5b612984600083836128b5565b6001600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546129d491906143cc565b92505081905550816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506003819080600181540180825580915050600190039060005260206000200160009091909190915055808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612abe600083836128ba565b5050565b600080600090505b600b80549050811015612b6657600b8181548110612aeb57612aea613c0f565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612b53576000915050612b6c565b8080612b5e90613c6d565b915050612aca565b50600190505b919050565b6000806000612b808585612d79565b9150915060006004811115612b9857612b97614d1e565b5b816004811115612bab57612baa614d1e565b5b148015612be357508573ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b15612bf357600192505050612d4f565b6000808773ffffffffffffffffffffffffffffffffffffffff16631626ba7e60e01b8888604051602401612c28929190614d66565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050604051612c929190614dd2565b600060405180830381855afa9150503d8060008114612ccd576040519150601f19603f3d011682016040523d82523d6000602084013e612cd2565b606091505b5091509150818015612ce5575060208151145b8015612d485750631626ba7e60e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191681806020019051810190612d279190614be8565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9450505050505b9392505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600080604183511415612dbb5760008060006020860151925060408601519150606086015160001a9050612daf87828585612dfc565b94509450505050612df5565b604083511415612dec576000806020850151915060408501519050612de1868383612f09565b935093505050612df5565b60006002915091505b9250929050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c1115612e37576000600391509150612f00565b601b8560ff1614158015612e4f5750601c8560ff1614155b15612e61576000600491509150612f00565b600060018787878760405160008152602001604052604051612e869493929190614e05565b6020604051602081039080840390855afa158015612ea8573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612ef757600060019250925050612f00565b80600092509250505b94509492505050565b60008060007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60001b841690506000601b60ff8660001c901c612f4c91906143cc565b9050612f5a87828885612dfc565b935093505050935093915050565b828054612f7490613995565b90600052602060002090601f016020900481019282612f965760008555612fdd565b82601f10612faf57803560ff1916838001178555612fdd565b82800160010185558215612fdd579182015b82811115612fdc578235825591602001919060010190612fc1565b5b509050612fea9190612fee565b5090565b5b80821115613007576000816000905550600101612fef565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6130548161301f565b811461305f57600080fd5b50565b6000813590506130718161304b565b92915050565b60006020828403121561308d5761308c613015565b5b600061309b84828501613062565b91505092915050565b60008115159050919050565b6130b9816130a4565b82525050565b60006020820190506130d460008301846130b0565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156131145780820151818401526020810190506130f9565b83811115613123576000848401525b50505050565b6000601f19601f8301169050919050565b6000613145826130da565b61314f81856130e5565b935061315f8185602086016130f6565b61316881613129565b840191505092915050565b6000602082019050818103600083015261318d818461313a565b905092915050565b6000819050919050565b6131a881613195565b81146131b357600080fd5b50565b6000813590506131c58161319f565b92915050565b6000602082840312156131e1576131e0613015565b5b60006131ef848285016131b6565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613223826131f8565b9050919050565b61323381613218565b82525050565b600060208201905061324e600083018461322a565b92915050565b61325d81613218565b811461326857600080fd5b50565b60008135905061327a81613254565b92915050565b6000806040838503121561329757613296613015565b5b60006132a58582860161326b565b92505060206132b6858286016131b6565b9150509250929050565b6132c981613195565b82525050565b60006020820190506132e460008301846132c0565b92915050565b60008060006060848603121561330357613302613015565b5b60006133118682870161326b565b93505060206133228682870161326b565b9250506040613333868287016131b6565b9150509250925092565b600080fd5b600080fd5b600080fd5b60008083601f8401126133625761336161333d565b5b8235905067ffffffffffffffff81111561337f5761337e613342565b5b60208301915083600182028301111561339b5761339a613347565b5b9250929050565b6000806000604084860312156133bb576133ba613015565b5b60006133c9868287016131b6565b935050602084013567ffffffffffffffff8111156133ea576133e961301a565b5b6133f68682870161334c565b92509250509250925092565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61343a82613129565b810181811067ffffffffffffffff8211171561345957613458613402565b5b80604052505050565b600061346c61300b565b90506134788282613431565b919050565b600067ffffffffffffffff82111561349857613497613402565b5b602082029050602081019050919050565b60006134bc6134b78461347d565b613462565b905080838252602082019050602084028301858111156134df576134de613347565b5b835b8181101561350857806134f4888261326b565b8452602084019350506020810190506134e1565b5050509392505050565b600082601f8301126135275761352661333d565b5b81356135378482602086016134a9565b91505092915050565b60006020828403121561355657613555613015565b5b600082013567ffffffffffffffff8111156135745761357361301a565b5b61358084828501613512565b91505092915050565b600080fd5b613597816130a4565b81146135a257600080fd5b50565b6000813590506135b48161358e565b92915050565b600060a082840312156135d0576135cf613589565b5b6135da60a0613462565b905060006135ea848285016131b6565b60008301525060206135fe848285016131b6565b6020830152506040613612848285016131b6565b6040830152506060613626848285016135a5565b606083015250608061363a848285016135a5565b60808301525092915050565b60008060c0838503121561365d5761365c613015565b5b600061366b858286016131b6565b925050602061367c858286016135ba565b9150509250929050565b60008083601f84011261369c5761369b61333d565b5b8235905067ffffffffffffffff8111156136b9576136b8613342565b5b6020830191508360018202830111156136d5576136d4613347565b5b9250929050565b6000806000604084860312156136f5576136f4613015565b5b6000613703868287016131b6565b935050602084013567ffffffffffffffff8111156137245761372361301a565b5b61373086828701613686565b92509250509250925092565b60006020828403121561375257613751613015565b5b60006137608482850161326b565b91505092915050565b600080604083850312156137805761377f613015565b5b600061378e8582860161326b565b925050602061379f858286016135a5565b9150509250929050565b600080fd5b600067ffffffffffffffff8211156137c9576137c8613402565b5b6137d282613129565b9050602081019050919050565b82818337600083830152505050565b60006138016137fc846137ae565b613462565b90508281526020810184848401111561381d5761381c6137a9565b5b6138288482856137df565b509392505050565b600082601f8301126138455761384461333d565b5b81356138558482602086016137ee565b91505092915050565b6000806000806080858703121561387857613877613015565b5b60006138868782880161326b565b94505060206138978782880161326b565b93505060406138a8878288016131b6565b925050606085013567ffffffffffffffff8111156138c9576138c861301a565b5b6138d587828801613830565b91505092959194509250565b60006080820190506138f660008301876132c0565b61390360208301866132c0565b61391060408301856132c0565b61391d60608301846132c0565b95945050505050565b6000806040838503121561393d5761393c613015565b5b600061394b8582860161326b565b925050602061395c8582860161326b565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806139ad57607f821691505b602082108114156139c1576139c0613966565b5b50919050565b7f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560008201527f78697374656e7420746f6b656e00000000000000000000000000000000000000602082015250565b6000613a23602d836130e5565b9150613a2e826139c7565b604082019050919050565b60006020820190508181036000830152613a5281613a16565b9050919050565b7f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60008201527f6572000000000000000000000000000000000000000000000000000000000000602082015250565b6000613ab56022836130e5565b9150613ac082613a59565b604082019050919050565b60006020820190508181036000830152613ae481613aa8565b9050919050565b7f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f76656420666f7220616c6c00000000000000602082015250565b6000613b476039836130e5565b9150613b5282613aeb565b604082019050919050565b60006020820190508181036000830152613b7681613b3a565b9050919050565b7f455243373231413a206f776e657220696e646578206f7574206f6620626f756e60008201527f6473000000000000000000000000000000000000000000000000000000000000602082015250565b6000613bd96022836130e5565b9150613be482613b7d565b604082019050919050565b60006020820190508181036000830152613c0881613bcc565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613c7882613195565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613cab57613caa613c3e565b5b600182019050919050565b7f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060008201527f6f776e657220627920696e646578000000000000000000000000000000000000602082015250565b6000613d12602e836130e5565b9150613d1d82613cb6565b604082019050919050565b60006020820190508181036000830152613d4181613d05565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613d7e6020836130e5565b9150613d8982613d48565b602082019050919050565b60006020820190508181036000830152613dad81613d71565b9050919050565b7f54686973206163746976697479206861736e2774207374617274656420796574600082015250565b6000613dea6020836130e5565b9150613df582613db4565b602082019050919050565b60006020820190508181036000830152613e1981613ddd565b9050919050565b7f436f6e666967204572726f720000000000000000000000000000000000000000600082015250565b6000613e56600c836130e5565b9150613e6182613e20565b602082019050919050565b60006020820190508181036000830152613e8581613e49565b9050919050565b7f5468652050616765494420686173207374617274656400000000000000000000600082015250565b6000613ec26016836130e5565b9150613ecd82613e8c565b602082019050919050565b60006020820190508181036000830152613ef181613eb5565b9050919050565b7f496e636f727265637420636f6e66696775726174696f6e20666f726d61740000600082015250565b6000613f2e601e836130e5565b9150613f3982613ef8565b602082019050919050565b60006020820190508181036000830152613f5d81613f21565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000613fc0602c836130e5565b9150613fcb82613f64565b604082019050919050565b60006020820190508181036000830152613fef81613fb3565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b60006140526029836130e5565b915061405d82613ff6565b604082019050919050565b6000602082019050818103600083015261408181614045565b9050919050565b7f5468652063616c6c657220697320616e6f7468657220636f6e74726163740000600082015250565b60006140be601e836130e5565b91506140c982614088565b602082019050919050565b600060208201905081810360008301526140ed816140b1565b9050919050565b7f4e6f74204d656574204d696e742054696d650000000000000000000000000000600082015250565b600061412a6012836130e5565b9150614135826140f4565b602082019050919050565b600060208201905081810360008301526141598161411d565b9050919050565b7f4e6f7420656e6f75676820666f72206d696e7400000000000000000000000000600082015250565b60006141966013836130e5565b91506141a182614160565b602082019050919050565b600060208201905081810360008301526141c581614189565b9050919050565b60006141d782613195565b915060008214156141eb576141ea613c3e565b5b600182039050919050565b7f455243373231413a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b6000614252602b836130e5565b915061425d826141f6565b604082019050919050565b6000602082019050818103600083015261428181614245565b9050919050565b7f455243373231413a20617070726f766520746f2063616c6c6572000000000000600082015250565b60006142be601a836130e5565b91506142c982614288565b602082019050919050565b600060208201905081810360008301526142ed816142b1565b9050919050565b7f506167654944204e4551206e6f77205061676500000000000000000000000000600082015250565b600061432a6013836130e5565b9150614335826142f4565b602082019050919050565b600060208201905081810360008301526143598161431d565b9050919050565b7f436f6e666967204d697373696e67204f72204572726f72000000000000000000600082015250565b60006143966017836130e5565b91506143a182614360565b602082019050919050565b600060208201905081810360008301526143c581614389565b9050919050565b60006143d782613195565b91506143e283613195565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561441757614416613c3e565b5b828201905092915050565b7f4d6f7265204d415820746f74616c537570706c79000000000000000000000000600082015250565b60006144586014836130e5565b915061446382614422565b602082019050919050565b600060208201905081810360008301526144878161444b565b9050919050565b7f455243373231413a207472616e7366657220746f206e6f6e204552433732315260008201527f6563656976657220696d706c656d656e74657200000000000000000000000000602082015250565b60006144ea6033836130e5565b91506144f58261448e565b604082019050919050565b60006020820190508181036000830152614519816144dd565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b600061457c602f836130e5565b915061458782614520565b604082019050919050565b600060208201905081810360008301526145ab8161456f565b9050919050565b600081905092915050565b60006145c8826130da565b6145d281856145b2565b93506145e28185602086016130f6565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b60006146246005836145b2565b915061462f826145ee565b600582019050919050565b600061464682856145bd565b915061465282846145bd565b915061465d82614617565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006146c56026836130e5565b91506146d082614669565b604082019050919050565b600060208201905081810360008301526146f4816146b8565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b60006147576025836130e5565b9150614762826146fb565b604082019050919050565b600060208201905081810360008301526147868161474a565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006147e96024836130e5565b91506147f48261478d565b604082019050919050565b60006020820190508181036000830152614818816147dc565b9050919050565b7f455243373231413a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b600061487b6032836130e5565b91506148868261481f565b604082019050919050565b600060208201905081810360008301526148aa8161486e565b9050919050565b60006148bc82613195565b91506148c783613195565b9250828210156148da576148d9613c3e565b5b828203905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061491f82613195565b915061492a83613195565b92508261493a576149396148e5565b5b828204905092915050565b600061495082613195565b915061495b83613195565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561499457614993613c3e565b5b828202905092915050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006149fb6032836130e5565b9150614a068261499f565b604082019050919050565b60006020820190508181036000830152614a2a816149ee565b9050919050565b7f4d757374204f6e6c79204f6e6500000000000000000000000000000000000000600082015250565b6000614a67600d836130e5565b9150614a7282614a31565b602082019050919050565b60006020820190508181036000830152614a9681614a5a565b9050919050565b60008160601b9050919050565b6000614ab582614a9d565b9050919050565b6000614ac782614aaa565b9050919050565b614adf614ada82613218565b614abc565b82525050565b6000819050919050565b614b00614afb82613195565b614ae5565b82525050565b6000614b128285614ace565b601482019150614b228284614aef565b6020820191508190509392505050565b600081519050919050565b600082825260208201905092915050565b6000614b5982614b32565b614b638185614b3d565b9350614b738185602086016130f6565b614b7c81613129565b840191505092915050565b6000608082019050614b9c600083018761322a565b614ba9602083018661322a565b614bb660408301856132c0565b8181036060830152614bc88184614b4e565b905095945050505050565b600081519050614be28161304b565b92915050565b600060208284031215614bfe57614bfd613015565b5b6000614c0c84828501614bd3565b91505092915050565b6000614c2082613195565b9150614c2b83613195565b925082614c3b57614c3a6148e5565b5b828206905092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000614c7c6020836130e5565b9150614c8782614c46565b602082019050919050565b60006020820190508181036000830152614cab81614c6f565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000614ce8601c836130e5565b9150614cf382614cb2565b602082019050919050565b60006020820190508181036000830152614d1781614cdb565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6000819050919050565b614d6081614d4d565b82525050565b6000604082019050614d7b6000830185614d57565b8181036020830152614d8d8184614b4e565b90509392505050565b600081905092915050565b6000614dac82614b32565b614db68185614d96565b9350614dc68185602086016130f6565b80840191505092915050565b6000614dde8284614da1565b915081905092915050565b600060ff82169050919050565b614dff81614de9565b82525050565b6000608082019050614e1a6000830187614d57565b614e276020830186614df6565b614e346040830185614d57565b614e416060830184614d57565b9594505050505056fea2646970667358221220b53ec153bbac54fedd55343e9aecc7a4e48ecae828a0073bd62fe391e8c9568164736f6c634300080a0033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101c45760003560e01c8063650aab32116100f9578063a2d4955211610097578063e267c21911610071578063e267c219146104ef578063e985e9c514610522578063eb6db26114610552578063f2fde38b14610570576101c4565b8063a2d4955214610487578063b88d4fde146104a3578063c87b56dd146104bf576101c4565b8063715018a6116100d3578063715018a6146104255780638da5cb5b1461042f57806395d89b411461044d578063a22cb4651461046b576101c4565b8063650aab32146103bb5780636e060624146103d757806370a08231146103f5576101c4565b80632f745c591161016657806346d362111161014057806346d36211146103235780634828c65a1461033f5780634f6ccce71461035b5780636352211e1461038b576101c4565b80632f745c59146102bb57806333cfcb9f146102eb57806342842e0e14610307576101c4565b8063095ea7b3116101a2578063095ea7b31461024757806318160ddd1461026357806319b347a11461028157806323b872dd1461029f576101c4565b806301ffc9a7146101c957806306fdde03146101f9578063081812fc14610217575b600080fd5b6101e360048036038101906101de9190613077565b61058c565b6040516101f091906130bf565b60405180910390f35b6102016106d6565b60405161020e9190613173565b60405180910390f35b610231600480360381019061022c91906131cb565b610768565b60405161023e9190613239565b60405180910390f35b610261600480360381019061025c9190613280565b6107ed565b005b61026b610906565b60405161027891906132cf565b60405180910390f35b610289610913565b60405161029691906132cf565b60405180910390f35b6102b960048036038101906102b491906132ea565b610919565b005b6102d560048036038101906102d09190613280565b610929565b6040516102e291906132cf565b60405180910390f35b610305600480360381019061030091906133a2565b610b31565b005b610321600480360381019061031c91906132ea565b610bd5565b005b61033d60048036038101906103389190613540565b610bf5565b005b61035960048036038101906103549190613646565b610d2d565b005b610375600480360381019061037091906131cb565b610f26565b60405161038291906132cf565b60405180910390f35b6103a560048036038101906103a091906131cb565b610f97565b6040516103b29190613239565b60405180910390f35b6103d560048036038101906103d091906136dc565b611049565b005b6103df61124d565b6040516103ec91906130bf565b60405180910390f35b61040f600480360381019061040a919061373c565b6112be565b60405161041c91906132cf565b60405180910390f35b61042d611376565b005b6104376113fe565b6040516104449190613239565b60405180910390f35b610455611427565b6040516104629190613173565b60405180910390f35b61048560048036038101906104809190613769565b6114b9565b005b6104a1600480360381019061049c91906131cb565b61163a565b005b6104bd60048036038101906104b8919061385e565b611901565b005b6104d960048036038101906104d491906131cb565b61195d565b6040516104e69190613173565b60405180910390f35b610509600480360381019061050491906131cb565b611a05565b60405161051994939291906138e1565b60405180910390f35b61053c60048036038101906105379190613926565b611aab565b60405161054991906130bf565b60405180910390f35b61055a611b3f565b6040516105679190613239565b60405180910390f35b61058a6004803603810190610585919061373c565b611b65565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061065757507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806106bf57507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806106cf57506106ce82611c5d565b5b9050919050565b6060600180546106e590613995565b80601f016020809104026020016040519081016040528092919081815260200182805461071190613995565b801561075e5780601f106107335761010080835404028352916020019161075e565b820191906000526020600020905b81548152906001019060200180831161074157829003601f168201915b5050505050905090565b600061077382611cc7565b6107b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a990613a39565b60405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006107f882610f97565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610869576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161086090613acb565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610888611d33565b73ffffffffffffffffffffffffffffffffffffffff1614806108b757506108b6816108b1611d33565b611aab565b5b6108f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108ed90613b5d565b60405180910390fd5b610901838383611d3b565b505050565b6000600380549050905090565b600c5481565b610924838383611ded565b505050565b6000610934836112be565b8210610975576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161096c90613bef565b60405180910390fd5b600061097f610906565b90506000805b82811015610aef57600073ffffffffffffffffffffffffffffffffffffffff1660046000600384815481106109bd576109bc613c0f565b5b9060005260206000200154815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614158015610a9757508573ffffffffffffffffffffffffffffffffffffffff166004600060038481548110610a4557610a44613c0f565b5b9060005260206000200154815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16145b15610adc5784821415610acd5760038181548110610ab857610ab7613c0f565b5b90600052602060002001549350505050610b2b565b8180610ad890613c6d565b9250505b8080610ae790613c6d565b915050610985565b506040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b2290613d28565b60405180910390fd5b92915050565b610b39611d33565b73ffffffffffffffffffffffffffffffffffffffff16610b576113fe565b73ffffffffffffffffffffffffffffffffffffffff1614610bad576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ba490613d94565b60405180910390fd5b8181600f60008681526020019081526020016000209190610bcf929190612f68565b50505050565b610bf083838360405180602001604052806000815250611901565b505050565b610bfd611d33565b73ffffffffffffffffffffffffffffffffffffffff16610c1b6113fe565b73ffffffffffffffffffffffffffffffffffffffff1614610c71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c6890613d94565b60405180910390fd5b600e6000600c54815260200190815260200160002060009054906101000a900460ff16610cd3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cca90613e00565b60405180910390fd5b60008151905060005b81811015610d28576000610cee6121f1565b9050610d14848381518110610d0657610d05613c0f565b5b60200260200101518261224d565b508080610d2090613c6d565b915050610cdc565b505050565b610d35611d33565b73ffffffffffffffffffffffffffffffffffffffff16610d536113fe565b73ffffffffffffffffffffffffffffffffffffffff1614610da9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da090613d94565b60405180910390fd5b600082118015610dbd575060008160000151115b610dfc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610df390613e6c565b60405180910390fd5b60001515600e600084815260200190815260200160002060009054906101000a900460ff16151514610e63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5a90613ed8565b60405180910390fd5b8060200151816040015111610ead576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ea490613f44565b60405180910390fd5b806010600084815260200190815260200160002060008201518160000155602082015181600101556040820151816002015560608201518160030160006101000a81548160ff02191690831515021790555060808201518160030160016101000a81548160ff0219169083151502179055509050505050565b6000610f30610906565b8210610f71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6890613fd6565b60405180910390fd5b60038281548110610f8557610f84613c0f565b5b90600052602060002001549050919050565b6000806004600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611040576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161103790614068565b60405180910390fd5b80915050919050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16146110b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ae906140d4565b60405180910390fd5b6110bf61124d565b6110fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110f590614140565b60405180910390fd5b60016009541015611144576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113b906141ac565b60405180910390fd5b60106000600c54815260200190815260200160002060030160009054906101000a900460ff168015611198575060106000600c54815260200190815260200160002060030160019054906101000a900460ff165b156111a6576111a56122b6565b5b6000151560106000600c54815260200190815260200160002060030160009054906101000a900460ff16151514801561120857506000151560106000600c54815260200190815260200160002060030160019054906101000a900460ff161515145b1561121957611218838383612363565b5b60006112236121f1565b905061122f338261224d565b60096000815480929190611242906141cc565b919050555050505050565b6000600e6000600c54815260200190815260200160002060009054906101000a900460ff16801561129657504260106000600c5481526020019081526020016000206001015411155b80156112b957504260106000600c54815260200190815260200160002060020154115b905090565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561132f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132690614268565b60405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61137e611d33565b73ffffffffffffffffffffffffffffffffffffffff1661139c6113fe565b73ffffffffffffffffffffffffffffffffffffffff16146113f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113e990613d94565b60405180910390fd5b6113fc6000612450565b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606002805461143690613995565b80601f016020809104026020016040519081016040528092919081815260200182805461146290613995565b80156114af5780601f10611484576101008083540402835291602001916114af565b820191906000526020600020905b81548152906001019060200180831161149257829003601f168201915b5050505050905090565b6114c1611d33565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561152f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611526906142d4565b60405180910390fd5b806007600061153c611d33565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166115e9611d33565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161162e91906130bf565b60405180910390a35050565b611642611d33565b73ffffffffffffffffffffffffffffffffffffffff166116606113fe565b73ffffffffffffffffffffffffffffffffffffffff16146116b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116ad90613d94565b60405180910390fd5b80600c54141580156116c95750600c5481115b611708576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116ff90614340565b60405180910390fd5b6000601060008381526020019081526020016000206040518060a00160405290816000820154815260200160018201548152602001600282015481526020016003820160009054906101000a900460ff161515151581526020016003820160019054906101000a900460ff1615151515815250509050806040015142106117c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117bb906143ac565b60405180910390fd5b60085481600001516117d4610906565b6117de91906143cc565b111561181f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118169061446e565b60405180910390fd5b6000600c541115611859576000600e6000600c54815260200190815260200160002060006101000a81548160ff0219169083151502179055505b6001600e600084815260200190815260200160002060006101000a81548160ff021916908315150217905550600060095411156118eb5760005b6009548110156118e95760006118a76121f1565b90506118d5600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168261224d565b5080806118e190613c6d565b915050611893565b505b81600c8190555080600001516009819055505050565b61190c848484611ded565b61191884848484612514565b611957576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161194e90614500565b60405180910390fd5b50505050565b606061196882611cc7565b6119a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199e90614592565b60405180910390fd5b60006119b28361269c565b905060008151116119d257604051806020016040528060008152506119fd565b806119dc84612754565b6040516020016119ed92919061463a565b6040516020818303038152906040525b915050919050565b6000806000806000851415611a1a57600c5494505b6000600c54861115611a445760106000878152602001908152602001600020600001549050611a55565b600c54861415611a545760095490505b5b8060106000888152602001908152602001600020600001546010600089815260200190815260200160002060010154601060008a8152602001908152602001600020600201549450945094509450509193509193565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611b6d611d33565b73ffffffffffffffffffffffffffffffffffffffff16611b8b6113fe565b73ffffffffffffffffffffffffffffffffffffffff1614611be1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bd890613d94565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611c51576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c48906146db565b60405180910390fd5b611c5a81612450565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166004600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b8273ffffffffffffffffffffffffffffffffffffffff166004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611e8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e859061476d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611efe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ef5906147ff565b60405180910390fd5b60006004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611f52611d33565b73ffffffffffffffffffffffffffffffffffffffff161480611fae5750611f77611d33565b73ffffffffffffffffffffffffffffffffffffffff16611f9683610768565b73ffffffffffffffffffffffffffffffffffffffff16145b80611ff95750611ff86004600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16611ff3611d33565b611aab565b5b90508061203b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161203290614891565b60405180910390fd5b6120468484846128b5565b6120856000836004600086815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16611d3b565b6001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546120d591906148b1565b925050819055506001600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461212c91906143cc565b92505081905550826004600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46121eb8484846128ba565b50505050565b600080612710600a546122049190614914565b9050600c5481101561222b57612710600c546122209190614945565b600a81905550612244565b600a600081548092919061223e90613c6d565b91905055505b600a5491505090565b61225782826128bf565b6122736000838360405180602001604052806000815250612514565b6122b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122a990614a11565b60405180910390fd5b5050565b6122bf33612ac2565b6122fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122f590614a7d565b60405180910390fd5b600b339080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b60003384604051602001612378929190614b06565b60405160208183030381529060405280519060200120905061241460116000600c54815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168285858080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050612b71565b61244a576040517f8baa579f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60006125358473ffffffffffffffffffffffffffffffffffffffff16612d56565b1561268f578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261255e611d33565b8786866040518563ffffffff1660e01b81526004016125809493929190614b87565b6020604051808303816000875af19250505080156125bc57506040513d601f19601f820116820180604052508101906125b99190614be8565b60015b61263f573d80600081146125ec576040519150601f19603f3d011682016040523d82523d6000602084013e6125f1565b606091505b50600081511415612637576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161262e90614a11565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612694565b600190505b949350505050565b60606000612710836126ae9190614914565b9050600f600082815260200190815260200160002080546126ce90613995565b80601f01602080910402602001604051908101604052809291908181526020018280546126fa90613995565b80156127475780601f1061271c57610100808354040283529160200191612747565b820191906000526020600020905b81548152906001019060200180831161272a57829003601f168201915b5050505050915050919050565b6060600082141561279c576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506128b0565b600082905060005b600082146127ce5780806127b790613c6d565b915050600a826127c79190614914565b91506127a4565b60008167ffffffffffffffff8111156127ea576127e9613402565b5b6040519080825280601f01601f19166020018201604052801561281c5781602001600182028036833780820191505090505b5090505b600085146128a95760018261283591906148b1565b9150600a856128449190614c15565b603061285091906143cc565b60f81b81838151811061286657612865613c0f565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856128a29190614914565b9450612820565b8093505050505b919050565b505050565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561292f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161292690614c92565b60405180910390fd5b61293881611cc7565b15612978576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161296f90614cfe565b60405180910390fd5b612984600083836128b5565b6001600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546129d491906143cc565b92505081905550816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506003819080600181540180825580915050600190039060005260206000200160009091909190915055808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612abe600083836128ba565b5050565b600080600090505b600b80549050811015612b6657600b8181548110612aeb57612aea613c0f565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612b53576000915050612b6c565b8080612b5e90613c6d565b915050612aca565b50600190505b919050565b6000806000612b808585612d79565b9150915060006004811115612b9857612b97614d1e565b5b816004811115612bab57612baa614d1e565b5b148015612be357508573ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b15612bf357600192505050612d4f565b6000808773ffffffffffffffffffffffffffffffffffffffff16631626ba7e60e01b8888604051602401612c28929190614d66565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050604051612c929190614dd2565b600060405180830381855afa9150503d8060008114612ccd576040519150601f19603f3d011682016040523d82523d6000602084013e612cd2565b606091505b5091509150818015612ce5575060208151145b8015612d485750631626ba7e60e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191681806020019051810190612d279190614be8565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9450505050505b9392505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600080604183511415612dbb5760008060006020860151925060408601519150606086015160001a9050612daf87828585612dfc565b94509450505050612df5565b604083511415612dec576000806020850151915060408501519050612de1868383612f09565b935093505050612df5565b60006002915091505b9250929050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c1115612e37576000600391509150612f00565b601b8560ff1614158015612e4f5750601c8560ff1614155b15612e61576000600491509150612f00565b600060018787878760405160008152602001604052604051612e869493929190614e05565b6020604051602081039080840390855afa158015612ea8573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612ef757600060019250925050612f00565b80600092509250505b94509492505050565b60008060007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60001b841690506000601b60ff8660001c901c612f4c91906143cc565b9050612f5a87828885612dfc565b935093505050935093915050565b828054612f7490613995565b90600052602060002090601f016020900481019282612f965760008555612fdd565b82601f10612faf57803560ff1916838001178555612fdd565b82800160010185558215612fdd579182015b82811115612fdc578235825591602001919060010190612fc1565b5b509050612fea9190612fee565b5090565b5b80821115613007576000816000905550600101612fef565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6130548161301f565b811461305f57600080fd5b50565b6000813590506130718161304b565b92915050565b60006020828403121561308d5761308c613015565b5b600061309b84828501613062565b91505092915050565b60008115159050919050565b6130b9816130a4565b82525050565b60006020820190506130d460008301846130b0565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156131145780820151818401526020810190506130f9565b83811115613123576000848401525b50505050565b6000601f19601f8301169050919050565b6000613145826130da565b61314f81856130e5565b935061315f8185602086016130f6565b61316881613129565b840191505092915050565b6000602082019050818103600083015261318d818461313a565b905092915050565b6000819050919050565b6131a881613195565b81146131b357600080fd5b50565b6000813590506131c58161319f565b92915050565b6000602082840312156131e1576131e0613015565b5b60006131ef848285016131b6565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613223826131f8565b9050919050565b61323381613218565b82525050565b600060208201905061324e600083018461322a565b92915050565b61325d81613218565b811461326857600080fd5b50565b60008135905061327a81613254565b92915050565b6000806040838503121561329757613296613015565b5b60006132a58582860161326b565b92505060206132b6858286016131b6565b9150509250929050565b6132c981613195565b82525050565b60006020820190506132e460008301846132c0565b92915050565b60008060006060848603121561330357613302613015565b5b60006133118682870161326b565b93505060206133228682870161326b565b9250506040613333868287016131b6565b9150509250925092565b600080fd5b600080fd5b600080fd5b60008083601f8401126133625761336161333d565b5b8235905067ffffffffffffffff81111561337f5761337e613342565b5b60208301915083600182028301111561339b5761339a613347565b5b9250929050565b6000806000604084860312156133bb576133ba613015565b5b60006133c9868287016131b6565b935050602084013567ffffffffffffffff8111156133ea576133e961301a565b5b6133f68682870161334c565b92509250509250925092565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61343a82613129565b810181811067ffffffffffffffff8211171561345957613458613402565b5b80604052505050565b600061346c61300b565b90506134788282613431565b919050565b600067ffffffffffffffff82111561349857613497613402565b5b602082029050602081019050919050565b60006134bc6134b78461347d565b613462565b905080838252602082019050602084028301858111156134df576134de613347565b5b835b8181101561350857806134f4888261326b565b8452602084019350506020810190506134e1565b5050509392505050565b600082601f8301126135275761352661333d565b5b81356135378482602086016134a9565b91505092915050565b60006020828403121561355657613555613015565b5b600082013567ffffffffffffffff8111156135745761357361301a565b5b61358084828501613512565b91505092915050565b600080fd5b613597816130a4565b81146135a257600080fd5b50565b6000813590506135b48161358e565b92915050565b600060a082840312156135d0576135cf613589565b5b6135da60a0613462565b905060006135ea848285016131b6565b60008301525060206135fe848285016131b6565b6020830152506040613612848285016131b6565b6040830152506060613626848285016135a5565b606083015250608061363a848285016135a5565b60808301525092915050565b60008060c0838503121561365d5761365c613015565b5b600061366b858286016131b6565b925050602061367c858286016135ba565b9150509250929050565b60008083601f84011261369c5761369b61333d565b5b8235905067ffffffffffffffff8111156136b9576136b8613342565b5b6020830191508360018202830111156136d5576136d4613347565b5b9250929050565b6000806000604084860312156136f5576136f4613015565b5b6000613703868287016131b6565b935050602084013567ffffffffffffffff8111156137245761372361301a565b5b61373086828701613686565b92509250509250925092565b60006020828403121561375257613751613015565b5b60006137608482850161326b565b91505092915050565b600080604083850312156137805761377f613015565b5b600061378e8582860161326b565b925050602061379f858286016135a5565b9150509250929050565b600080fd5b600067ffffffffffffffff8211156137c9576137c8613402565b5b6137d282613129565b9050602081019050919050565b82818337600083830152505050565b60006138016137fc846137ae565b613462565b90508281526020810184848401111561381d5761381c6137a9565b5b6138288482856137df565b509392505050565b600082601f8301126138455761384461333d565b5b81356138558482602086016137ee565b91505092915050565b6000806000806080858703121561387857613877613015565b5b60006138868782880161326b565b94505060206138978782880161326b565b93505060406138a8878288016131b6565b925050606085013567ffffffffffffffff8111156138c9576138c861301a565b5b6138d587828801613830565b91505092959194509250565b60006080820190506138f660008301876132c0565b61390360208301866132c0565b61391060408301856132c0565b61391d60608301846132c0565b95945050505050565b6000806040838503121561393d5761393c613015565b5b600061394b8582860161326b565b925050602061395c8582860161326b565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806139ad57607f821691505b602082108114156139c1576139c0613966565b5b50919050565b7f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560008201527f78697374656e7420746f6b656e00000000000000000000000000000000000000602082015250565b6000613a23602d836130e5565b9150613a2e826139c7565b604082019050919050565b60006020820190508181036000830152613a5281613a16565b9050919050565b7f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60008201527f6572000000000000000000000000000000000000000000000000000000000000602082015250565b6000613ab56022836130e5565b9150613ac082613a59565b604082019050919050565b60006020820190508181036000830152613ae481613aa8565b9050919050565b7f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f76656420666f7220616c6c00000000000000602082015250565b6000613b476039836130e5565b9150613b5282613aeb565b604082019050919050565b60006020820190508181036000830152613b7681613b3a565b9050919050565b7f455243373231413a206f776e657220696e646578206f7574206f6620626f756e60008201527f6473000000000000000000000000000000000000000000000000000000000000602082015250565b6000613bd96022836130e5565b9150613be482613b7d565b604082019050919050565b60006020820190508181036000830152613c0881613bcc565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613c7882613195565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613cab57613caa613c3e565b5b600182019050919050565b7f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060008201527f6f776e657220627920696e646578000000000000000000000000000000000000602082015250565b6000613d12602e836130e5565b9150613d1d82613cb6565b604082019050919050565b60006020820190508181036000830152613d4181613d05565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613d7e6020836130e5565b9150613d8982613d48565b602082019050919050565b60006020820190508181036000830152613dad81613d71565b9050919050565b7f54686973206163746976697479206861736e2774207374617274656420796574600082015250565b6000613dea6020836130e5565b9150613df582613db4565b602082019050919050565b60006020820190508181036000830152613e1981613ddd565b9050919050565b7f436f6e666967204572726f720000000000000000000000000000000000000000600082015250565b6000613e56600c836130e5565b9150613e6182613e20565b602082019050919050565b60006020820190508181036000830152613e8581613e49565b9050919050565b7f5468652050616765494420686173207374617274656400000000000000000000600082015250565b6000613ec26016836130e5565b9150613ecd82613e8c565b602082019050919050565b60006020820190508181036000830152613ef181613eb5565b9050919050565b7f496e636f727265637420636f6e66696775726174696f6e20666f726d61740000600082015250565b6000613f2e601e836130e5565b9150613f3982613ef8565b602082019050919050565b60006020820190508181036000830152613f5d81613f21565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000613fc0602c836130e5565b9150613fcb82613f64565b604082019050919050565b60006020820190508181036000830152613fef81613fb3565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b60006140526029836130e5565b915061405d82613ff6565b604082019050919050565b6000602082019050818103600083015261408181614045565b9050919050565b7f5468652063616c6c657220697320616e6f7468657220636f6e74726163740000600082015250565b60006140be601e836130e5565b91506140c982614088565b602082019050919050565b600060208201905081810360008301526140ed816140b1565b9050919050565b7f4e6f74204d656574204d696e742054696d650000000000000000000000000000600082015250565b600061412a6012836130e5565b9150614135826140f4565b602082019050919050565b600060208201905081810360008301526141598161411d565b9050919050565b7f4e6f7420656e6f75676820666f72206d696e7400000000000000000000000000600082015250565b60006141966013836130e5565b91506141a182614160565b602082019050919050565b600060208201905081810360008301526141c581614189565b9050919050565b60006141d782613195565b915060008214156141eb576141ea613c3e565b5b600182039050919050565b7f455243373231413a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b6000614252602b836130e5565b915061425d826141f6565b604082019050919050565b6000602082019050818103600083015261428181614245565b9050919050565b7f455243373231413a20617070726f766520746f2063616c6c6572000000000000600082015250565b60006142be601a836130e5565b91506142c982614288565b602082019050919050565b600060208201905081810360008301526142ed816142b1565b9050919050565b7f506167654944204e4551206e6f77205061676500000000000000000000000000600082015250565b600061432a6013836130e5565b9150614335826142f4565b602082019050919050565b600060208201905081810360008301526143598161431d565b9050919050565b7f436f6e666967204d697373696e67204f72204572726f72000000000000000000600082015250565b60006143966017836130e5565b91506143a182614360565b602082019050919050565b600060208201905081810360008301526143c581614389565b9050919050565b60006143d782613195565b91506143e283613195565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561441757614416613c3e565b5b828201905092915050565b7f4d6f7265204d415820746f74616c537570706c79000000000000000000000000600082015250565b60006144586014836130e5565b915061446382614422565b602082019050919050565b600060208201905081810360008301526144878161444b565b9050919050565b7f455243373231413a207472616e7366657220746f206e6f6e204552433732315260008201527f6563656976657220696d706c656d656e74657200000000000000000000000000602082015250565b60006144ea6033836130e5565b91506144f58261448e565b604082019050919050565b60006020820190508181036000830152614519816144dd565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b600061457c602f836130e5565b915061458782614520565b604082019050919050565b600060208201905081810360008301526145ab8161456f565b9050919050565b600081905092915050565b60006145c8826130da565b6145d281856145b2565b93506145e28185602086016130f6565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b60006146246005836145b2565b915061462f826145ee565b600582019050919050565b600061464682856145bd565b915061465282846145bd565b915061465d82614617565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006146c56026836130e5565b91506146d082614669565b604082019050919050565b600060208201905081810360008301526146f4816146b8565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b60006147576025836130e5565b9150614762826146fb565b604082019050919050565b600060208201905081810360008301526147868161474a565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006147e96024836130e5565b91506147f48261478d565b604082019050919050565b60006020820190508181036000830152614818816147dc565b9050919050565b7f455243373231413a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b600061487b6032836130e5565b91506148868261481f565b604082019050919050565b600060208201905081810360008301526148aa8161486e565b9050919050565b60006148bc82613195565b91506148c783613195565b9250828210156148da576148d9613c3e565b5b828203905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061491f82613195565b915061492a83613195565b92508261493a576149396148e5565b5b828204905092915050565b600061495082613195565b915061495b83613195565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561499457614993613c3e565b5b828202905092915050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006149fb6032836130e5565b9150614a068261499f565b604082019050919050565b60006020820190508181036000830152614a2a816149ee565b9050919050565b7f4d757374204f6e6c79204f6e6500000000000000000000000000000000000000600082015250565b6000614a67600d836130e5565b9150614a7282614a31565b602082019050919050565b60006020820190508181036000830152614a9681614a5a565b9050919050565b60008160601b9050919050565b6000614ab582614a9d565b9050919050565b6000614ac782614aaa565b9050919050565b614adf614ada82613218565b614abc565b82525050565b6000819050919050565b614b00614afb82613195565b614ae5565b82525050565b6000614b128285614ace565b601482019150614b228284614aef565b6020820191508190509392505050565b600081519050919050565b600082825260208201905092915050565b6000614b5982614b32565b614b638185614b3d565b9350614b738185602086016130f6565b614b7c81613129565b840191505092915050565b6000608082019050614b9c600083018761322a565b614ba9602083018661322a565b614bb660408301856132c0565b8181036060830152614bc88184614b4e565b905095945050505050565b600081519050614be28161304b565b92915050565b600060208284031215614bfe57614bfd613015565b5b6000614c0c84828501614bd3565b91505092915050565b6000614c2082613195565b9150614c2b83613195565b925082614c3b57614c3a6148e5565b5b828206905092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000614c7c6020836130e5565b9150614c8782614c46565b602082019050919050565b60006020820190508181036000830152614cab81614c6f565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000614ce8601c836130e5565b9150614cf382614cb2565b602082019050919050565b60006020820190508181036000830152614d1781614cdb565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6000819050919050565b614d6081614d4d565b82525050565b6000604082019050614d7b6000830185614d57565b8181036020830152614d8d8184614b4e565b90509392505050565b600081905092915050565b6000614dac82614b32565b614db68185614d96565b9350614dc68185602086016130f6565b80840191505092915050565b6000614dde8284614da1565b915081905092915050565b600060ff82169050919050565b614dff81614de9565b82525050565b6000608082019050614e1a6000830187614d57565b614e276020830186614df6565b614e346040830185614d57565b614e416060830184614d57565b9594505050505056fea2646970667358221220b53ec153bbac54fedd55343e9aecc7a4e48ecae828a0073bd62fe391e8c9568164736f6c634300080a0033

Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.