ETH Price: $3,489.37 (+4.29%)

Token

Creatures (CRT)
 

Overview

Max Total Supply

1,302 CRT

Holders

506

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
14 CRT
0x6d621AE05e58F3216E783B619dC9CCd81D5Db9F6
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:
Creatures

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 18 : Creatures.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "operator-filter-registry/src/DefaultOperatorFilterer.sol";

contract Creatures is
    ERC721,
    ERC721Enumerable,
    ERC721Burnable,
    Ownable,
    DefaultOperatorFilterer
{
    using Counters for Counters.Counter;

    Counters.Counter private _tokenIdCounter;

    mapping(uint256 => bool) claimedMoonwalker; // records if moonwalkers have been claimed
    address public tosContract;
    string public baseURI;
    uint256 public MAX_SUPPLY = 8888;
    bool public isMintActive;

    constructor() ERC721("Creatures", "CRT") {}

    // ==== MINT FUNCTIONS ====

    function _mintInternal() internal {
        uint256 tokenId = _tokenIdCounter.current();
        _tokenIdCounter.increment();
        _safeMint(msg.sender, tokenId);
    }

    function teamMint(uint256 _quantity)
        public
        onlyOwner
        withinQuantity(_quantity)
    {
        for (uint256 i = 0; i < _quantity; i++) {
            _mintInternal();
        }
    }

    function publicMint(uint256[] calldata _tokenIds)
        external
        withinQuantity(_tokenIds.length)
        mintActive
    {
        for (uint8 i = 0; i < _tokenIds.length; i++) {
            require(
                !claimedMoonwalker[_tokenIds[i]],
                "Moonwalker already claimed"
            );
            require(
                TOSContract(tosContract).ownerOf(_tokenIds[i]) == msg.sender,
                "You do not own the moon walker"
            );
            _mintInternal();
            claimedMoonwalker[_tokenIds[i]] = true;
        }
    }

    // ==== BURN ====

    function batchBurn(uint256[] calldata _tokenIds) external {
        for (uint256 i = 0; i < _tokenIds.length; i++) {
            _burn(_tokenIds[i]);
        }
    }

    // ==== SETTERS ====

    function setBaseURI(string calldata _uri) external onlyOwner {
        baseURI = _uri;
    }

    function setIsMintActive(bool _isActive) external onlyOwner {
        isMintActive = _isActive;
    }

    function setTosContract(address _address) external onlyOwner {
        tosContract = _address;
    }

    function setMaxSupply(uint256 _supply) external onlyOwner {
        MAX_SUPPLY = _supply;
    }

    // ==== GETTERS ====

    function getHasMinted(uint256[] calldata _tokens)
        external
        view
        returns (bool[] memory)
    {
        bool[] memory hasMinted = new bool[](_tokens.length);
        for (uint256 i = 0; i < _tokens.length; i++) {
            hasMinted[i] = claimedMoonwalker[_tokens[i]];
        }
        return hasMinted;
    }

    // ==== MODIFIER ====

    modifier withinQuantity(uint256 _qty) {
        require(totalSupply() + _qty <= MAX_SUPPLY, "Exceed max supply");
        _;
    }

    modifier mintActive() {
        require(isMintActive, "Mint not active");
        _;
    }

    // ==== OVERRIDES ====

    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal override(ERC721, ERC721Enumerable) {
        super._beforeTokenTransfer(from, to, tokenId);
    }

    function tokenURI(uint256 _id)
        public
        view
        virtual
        override
        returns (string memory)
    {
        require(_exists(_id), "Token does not exist");
        return
            string(abi.encodePacked(baseURI, Strings.toString(_id), ".json"));
    }

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

    function setApprovalForAll(address operator, bool approved)
        public
        override(ERC721, IERC721)
        onlyAllowedOperatorApproval(operator)
    {
        super.setApprovalForAll(operator, approved);
    }

    function approve(address operator, uint256 tokenId)
        public
        override(ERC721, IERC721)
        onlyAllowedOperatorApproval(operator)
    {
        super.approve(operator, tokenId);
    }

    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public override(ERC721, IERC721) onlyAllowedOperator(from) {
        super.transferFrom(from, to, tokenId);
    }

    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public override(ERC721, IERC721) onlyAllowedOperator(from) {
        super.safeTransferFrom(from, to, tokenId);
    }

    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory data
    ) public override(ERC721, IERC721) onlyAllowedOperator(from) {
        super.safeTransferFrom(from, to, tokenId, data);
    }
}

interface TOSContract {
    function ownerOf(uint256) external view returns (address);
}

File 2 of 18 : DefaultOperatorFilterer.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

import {OperatorFilterer} from "./OperatorFilterer.sol";

/**
 * @title  DefaultOperatorFilterer
 * @notice Inherits from OperatorFilterer and automatically subscribes to the default OpenSea subscription.
 */
abstract contract DefaultOperatorFilterer is OperatorFilterer {
    address constant DEFAULT_SUBSCRIPTION = address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6);

    constructor() OperatorFilterer(DEFAULT_SUBSCRIPTION, true) {}
}

File 3 of 18 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

File 5 of 18 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (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 Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        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 6 of 18 : ERC721Burnable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/extensions/ERC721Burnable.sol)

pragma solidity ^0.8.0;

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

/**
 * @title ERC721 Burnable Token
 * @dev ERC721 Token that can be burned (destroyed).
 */
abstract contract ERC721Burnable is Context, ERC721 {
    /**
     * @dev Burns `tokenId`. See {ERC721-_burn}.
     *
     * Requirements:
     *
     * - The caller must own `tokenId` or be an approved operator.
     */
    function burn(uint256 tokenId) public virtual {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner nor approved");
        _burn(tokenId);
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 8 of 18 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _owners[tokenId];
        require(owner != address(0), "ERC721: invalid token ID");
        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) {
        _requireMinted(tokenId);

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

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

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

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

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        _requireMinted(tokenId);

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

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

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

    /**
     * @dev Reverts if the `tokenId` has not been minted yet.
     */
    function _requireMinted(uint256 tokenId) internal view virtual {
        require(_exists(tokenId), "ERC721: invalid token ID");
    }

    /**
     * @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 {
                    /// @solidity memory-safe-assembly
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

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

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

File 9 of 18 : OperatorFilterer.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

import {IOperatorFilterRegistry} from "./IOperatorFilterRegistry.sol";

/**
 * @title  OperatorFilterer
 * @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another
 *         registrant's entries in the OperatorFilterRegistry.
 * @dev    This smart contract is meant to be inherited by token contracts so they can use the following:
 *         - `onlyAllowedOperator` modifier for `transferFrom` and `safeTransferFrom` methods.
 *         - `onlyAllowedOperatorApproval` modifier for `approve` and `setApprovalForAll` methods.
 */
abstract contract OperatorFilterer {
    error OperatorNotAllowed(address operator);

    IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY =
        IOperatorFilterRegistry(0x000000000000AAeB6D7670E522A718067333cd4E);

    constructor(address subscriptionOrRegistrantToCopy, bool subscribe) {
        // If an inheriting token contract is deployed to a network without the registry deployed, the modifier
        // will not revert, but the contract will need to be registered with the registry once it is deployed in
        // order for the modifier to filter addresses.
        if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) {
            if (subscribe) {
                OPERATOR_FILTER_REGISTRY.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy);
            } else {
                if (subscriptionOrRegistrantToCopy != address(0)) {
                    OPERATOR_FILTER_REGISTRY.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy);
                } else {
                    OPERATOR_FILTER_REGISTRY.register(address(this));
                }
            }
        }
    }

    modifier onlyAllowedOperator(address from) virtual {
        // Allow spending tokens from addresses with balance
        // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred
        // from an EOA.
        if (from != msg.sender) {
            _checkFilterOperator(msg.sender);
        }
        _;
    }

    modifier onlyAllowedOperatorApproval(address operator) virtual {
        _checkFilterOperator(operator);
        _;
    }

    function _checkFilterOperator(address operator) internal view virtual {
        // Check registry code length to facilitate testing in environments without a deployed registry.
        if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) {
            if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), operator)) {
                revert OperatorNotAllowed(operator);
            }
        }
    }
}

File 10 of 18 : 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 11 of 18 : 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 12 of 18 : 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 13 of 18 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.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
                /// @solidity memory-safe-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 14 of 18 : 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 15 of 18 : 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 16 of 18 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.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 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 17 of 18 : IOperatorFilterRegistry.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

interface IOperatorFilterRegistry {
    function isOperatorAllowed(address registrant, address operator) external view returns (bool);
    function register(address registrant) external;
    function registerAndSubscribe(address registrant, address subscription) external;
    function registerAndCopyEntries(address registrant, address registrantToCopy) external;
    function unregister(address addr) external;
    function updateOperator(address registrant, address operator, bool filtered) external;
    function updateOperators(address registrant, address[] calldata operators, bool filtered) external;
    function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external;
    function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external;
    function subscribe(address registrant, address registrantToSubscribe) external;
    function unsubscribe(address registrant, bool copyExistingEntries) external;
    function subscriptionOf(address addr) external returns (address registrant);
    function subscribers(address registrant) external returns (address[] memory);
    function subscriberAt(address registrant, uint256 index) external returns (address);
    function copyEntriesOf(address registrant, address registrantToCopy) external;
    function isOperatorFiltered(address registrant, address operator) external returns (bool);
    function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool);
    function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool);
    function filteredOperators(address addr) external returns (address[] memory);
    function filteredCodeHashes(address addr) external returns (bytes32[] memory);
    function filteredOperatorAt(address registrant, uint256 index) external returns (address);
    function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32);
    function isRegistered(address addr) external returns (bool);
    function codeHashOf(address addr) external returns (bytes32);
}

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

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","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":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"}],"name":"batchBurn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","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":"_tokens","type":"uint256[]"}],"name":"getHasMinted","outputs":[{"internalType":"bool[]","name":"","type":"bool[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isMintActive","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":"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":[{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"}],"name":"publicMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isActive","type":"bool"}],"name":"setIsMintActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_supply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"setTosContract","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":"_quantity","type":"uint256"}],"name":"teamMint","outputs":[],"stateMutability":"nonpayable","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":"_id","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tosContract","outputs":[{"internalType":"address","name":"","type":"address"}],"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"}]

60806040526122b8600f553480156200001757600080fd5b50733cc6cdda760b79bafa08df41ecfa224f810dceb660016040518060400160405280600981526020017f43726561747572657300000000000000000000000000000000000000000000008152506040518060400160405280600381526020017f43525400000000000000000000000000000000000000000000000000000000008152508160009081620000ac919062000626565b508060019081620000be919062000626565b505050620000e1620000d5620002de60201b60201c565b620002e660201b60201c565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115620002d65780156200019c576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16637d3e3dbe30846040518363ffffffff1660e01b81526004016200016292919062000752565b600060405180830381600087803b1580156200017d57600080fd5b505af115801562000192573d6000803e3d6000fd5b50505050620002d5565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161462000256576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663a0af290330846040518363ffffffff1660e01b81526004016200021c92919062000752565b600060405180830381600087803b1580156200023757600080fd5b505af11580156200024c573d6000803e3d6000fd5b50505050620002d4565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16634420e486306040518263ffffffff1660e01b81526004016200029f91906200077f565b600060405180830381600087803b158015620002ba57600080fd5b505af1158015620002cf573d6000803e3d6000fd5b505050505b5b5b50506200079c565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200042e57607f821691505b602082108103620004445762000443620003e6565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620004ae7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826200046f565b620004ba86836200046f565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b60006200050762000501620004fb84620004d2565b620004dc565b620004d2565b9050919050565b6000819050919050565b6200052383620004e6565b6200053b62000532826200050e565b8484546200047c565b825550505050565b600090565b6200055262000543565b6200055f81848462000518565b505050565b5b8181101562000587576200057b60008262000548565b60018101905062000565565b5050565b601f821115620005d657620005a0816200044a565b620005ab846200045f565b81016020851015620005bb578190505b620005d3620005ca856200045f565b83018262000564565b50505b505050565b600082821c905092915050565b6000620005fb60001984600802620005db565b1980831691505092915050565b6000620006168383620005e8565b9150826002028217905092915050565b6200063182620003ac565b67ffffffffffffffff8111156200064d576200064c620003b7565b5b62000659825462000415565b620006668282856200058b565b600060209050601f8311600181146200069e576000841562000689578287015190505b62000695858262000608565b86555062000705565b601f198416620006ae866200044a565b60005b82811015620006d857848901518255600182019150602085019450602081019050620006b1565b86831015620006f85784890151620006f4601f891682620005e8565b8355505b6001600288020188555050505b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200073a826200070d565b9050919050565b6200074c816200072d565b82525050565b600060408201905062000769600083018562000741565b62000778602083018462000741565b9392505050565b600060208201905062000796600083018462000741565b92915050565b61453e80620007ac6000396000f3fe608060405234801561001057600080fd5b50600436106101fb5760003560e01c806355f804b31161011a5780638da5cb5b116100ad578063c87b56dd1161007c578063c87b56dd1461059c578063dc8e92ea146105cc578063e985e9c5146105e8578063f2fde38b14610618578063fa4e25b414610634576101fb565b80638da5cb5b1461052857806395d89b4114610546578063a22cb46514610564578063b88d4fde14610580576101fb565b80636f8b44b0116100e95780636f8b44b0146104b457806370a08231146104d0578063715018a61461050057806383a2f7071461050a576101fb565b806355f804b31461042c5780635b92ac0d146104485780636352211e146104665780636c0360eb14610496576101fb565b80632f745c591161019257806341f434341161016157806341f43434146103a657806342842e0e146103c457806342966c68146103e05780634f6ccce7146103fc576101fb565b80632f745c59146103205780632fbba1151461035057806332cb6b0c1461036c578063389c88a11461038a576101fb565b80630e394a9e116101ce5780630e394a9e1461029a57806318160ddd146102b65780631d78b5c5146102d457806323b872dd14610304576101fb565b806301ffc9a71461020057806306fdde0314610230578063081812fc1461024e578063095ea7b31461027e575b600080fd5b61021a60048036038101906102159190612b4c565b610650565b6040516102279190612b94565b60405180910390f35b610238610662565b6040516102459190612c3f565b60405180910390f35b61026860048036038101906102639190612c97565b6106f4565b6040516102759190612d05565b60405180910390f35b61029860048036038101906102939190612d4c565b61073a565b005b6102b460048036038101906102af9190612d8c565b610753565b005b6102be61079f565b6040516102cb9190612dc8565b60405180910390f35b6102ee60048036038101906102e99190612e48565b6107ac565b6040516102fb9190612f53565b60405180910390f35b61031e60048036038101906103199190612f75565b610889565b005b61033a60048036038101906103359190612d4c565b6108d8565b6040516103479190612dc8565b60405180910390f35b61036a60048036038101906103659190612c97565b61097d565b005b610374610a08565b6040516103819190612dc8565b60405180910390f35b6103a4600480360381019061039f9190612e48565b610a0e565b005b6103ae610cd4565b6040516103bb9190613027565b60405180910390f35b6103de60048036038101906103d99190612f75565b610ce6565b005b6103fa60048036038101906103f59190612c97565b610d35565b005b61041660048036038101906104119190612c97565b610d91565b6040516104239190612dc8565b60405180910390f35b61044660048036038101906104419190613098565b610e02565b005b610450610e20565b60405161045d9190612b94565b60405180910390f35b610480600480360381019061047b9190612c97565b610e33565b60405161048d9190612d05565b60405180910390f35b61049e610ee4565b6040516104ab9190612c3f565b60405180910390f35b6104ce60048036038101906104c99190612c97565b610f72565b005b6104ea60048036038101906104e59190612d8c565b610f84565b6040516104f79190612dc8565b60405180910390f35b61050861103b565b005b61051261104f565b60405161051f9190612d05565b60405180910390f35b610530611075565b60405161053d9190612d05565b60405180910390f35b61054e61109f565b60405161055b9190612c3f565b60405180910390f35b61057e60048036038101906105799190613111565b611131565b005b61059a60048036038101906105959190613281565b61114a565b005b6105b660048036038101906105b19190612c97565b61119b565b6040516105c39190612c3f565b60405180910390f35b6105e660048036038101906105e19190612e48565b611217565b005b61060260048036038101906105fd9190613304565b61125f565b60405161060f9190612b94565b60405180910390f35b610632600480360381019061062d9190612d8c565b6112f3565b005b61064e60048036038101906106499190613344565b611376565b005b600061065b8261139b565b9050919050565b606060008054610671906133a0565b80601f016020809104026020016040519081016040528092919081815260200182805461069d906133a0565b80156106ea5780601f106106bf576101008083540402835291602001916106ea565b820191906000526020600020905b8154815290600101906020018083116106cd57829003601f168201915b5050505050905090565b60006106ff82611415565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b8161074481611460565b61074e838361155d565b505050565b61075b611674565b80600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600880549050905090565b606060008383905067ffffffffffffffff8111156107cd576107cc613156565b5b6040519080825280602002602001820160405280156107fb5781602001602082028036833780820191505090505b50905060005b8484905081101561087e57600c6000868684818110610823576108226133d1565b5b90506020020135815260200190815260200160002060009054906101000a900460ff16828281518110610859576108586133d1565b5b60200260200101901515908115158152505080806108769061342f565b915050610801565b508091505092915050565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146108c7576108c633611460565b5b6108d28484846116f2565b50505050565b60006108e383610f84565b8210610924576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161091b906134e9565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610985611674565b80600f548161099261079f565b61099c9190613509565b11156109dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109d490613589565b60405180910390fd5b60005b82811015610a03576109f0611752565b80806109fb9061342f565b9150506109e0565b505050565b600f5481565b81819050600f5481610a1e61079f565b610a289190613509565b1115610a69576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a6090613589565b60405180910390fd5b601060009054906101000a900460ff16610ab8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aaf906135f5565b60405180910390fd5b60005b838390508160ff161015610cce57600c600085858460ff16818110610ae357610ae26133d1565b5b90506020020135815260200190815260200160002060009054906101000a900460ff1615610b46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3d90613661565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff16600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e86868560ff16818110610bb157610bb06133d1565b5b905060200201356040518263ffffffff1660e01b8152600401610bd49190612dc8565b602060405180830381865afa158015610bf1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c159190613696565b73ffffffffffffffffffffffffffffffffffffffff1614610c6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c629061370f565b60405180910390fd5b610c73611752565b6001600c600086868560ff16818110610c8f57610c8e6133d1565b5b90506020020135815260200190815260200160002060006101000a81548160ff0219169083151502179055508080610cc69061373c565b915050610abb565b50505050565b6daaeb6d7670e522a718067333cd4e81565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610d2457610d2333611460565b5b610d2f848484611777565b50505050565b610d46610d40611797565b8261179f565b610d85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7c906137d7565b60405180910390fd5b610d8e81611834565b50565b6000610d9b61079f565b8210610ddc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dd390613869565b60405180910390fd5b60088281548110610df057610def6133d1565b5b90600052602060002001549050919050565b610e0a611674565b8181600e9182610e1b929190613a36565b505050565b601060009054906101000a900460ff1681565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610edb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed290613b52565b60405180910390fd5b80915050919050565b600e8054610ef1906133a0565b80601f0160208091040260200160405190810160405280929190818152602001828054610f1d906133a0565b8015610f6a5780601f10610f3f57610100808354040283529160200191610f6a565b820191906000526020600020905b815481529060010190602001808311610f4d57829003601f168201915b505050505081565b610f7a611674565b80600f8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610ff4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610feb90613be4565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611043611674565b61104d6000611951565b565b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546110ae906133a0565b80601f01602080910402602001604051908101604052809291908181526020018280546110da906133a0565b80156111275780601f106110fc57610100808354040283529160200191611127565b820191906000526020600020905b81548152906001019060200180831161110a57829003601f168201915b5050505050905090565b8161113b81611460565b6111458383611a17565b505050565b833373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146111885761118733611460565b5b61119485858585611a2d565b5050505050565b60606111a682611a8f565b6111e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111dc90613c50565b60405180910390fd5b600e6111f083611afb565b604051602001611201929190613d7b565b6040516020818303038152906040529050919050565b60005b8282905081101561125a5761124783838381811061123b5761123a6133d1565b5b90506020020135611834565b80806112529061342f565b91505061121a565b505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6112fb611674565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361136a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136190613e1c565b60405180910390fd5b61137381611951565b50565b61137e611674565b80601060006101000a81548160ff02191690831515021790555050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061140e575061140d82611c5b565b5b9050919050565b61141e81611a8f565b61145d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161145490613b52565b60405180910390fd5b50565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b111561155a576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b81526004016114d7929190613e3c565b602060405180830381865afa1580156114f4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115189190613e7a565b61155957806040517fede71dcc0000000000000000000000000000000000000000000000000000000081526004016115509190612d05565b60405180910390fd5b5b50565b600061156882610e33565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036115d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115cf90613f19565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166115f7611797565b73ffffffffffffffffffffffffffffffffffffffff161480611626575061162581611620611797565b61125f565b5b611665576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161165c90613fab565b60405180910390fd5b61166f8383611d3d565b505050565b61167c611797565b73ffffffffffffffffffffffffffffffffffffffff1661169a611075565b73ffffffffffffffffffffffffffffffffffffffff16146116f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116e790614017565b60405180910390fd5b565b6117036116fd611797565b8261179f565b611742576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611739906137d7565b60405180910390fd5b61174d838383611df6565b505050565b600061175e600b61205c565b905061176a600b61206a565b6117743382612080565b50565b6117928383836040518060200160405280600081525061114a565b505050565b600033905090565b6000806117ab83610e33565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806117ed57506117ec818561125f565b5b8061182b57508373ffffffffffffffffffffffffffffffffffffffff16611813846106f4565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b600061183f82610e33565b905061184d8160008461209e565b611858600083611d3d565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546118a89190614037565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461194d816000846120ae565b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b611a29611a22611797565b83836120b3565b5050565b611a3e611a38611797565b8361179f565b611a7d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a74906137d7565b60405180910390fd5b611a898484848461221f565b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b606060008203611b42576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611c56565b600082905060005b60008214611b74578080611b5d9061342f565b915050600a82611b6d919061409a565b9150611b4a565b60008167ffffffffffffffff811115611b9057611b8f613156565b5b6040519080825280601f01601f191660200182016040528015611bc25781602001600182028036833780820191505090505b5090505b60008514611c4f57600182611bdb9190614037565b9150600a85611bea91906140cb565b6030611bf69190613509565b60f81b818381518110611c0c57611c0b6133d1565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85611c48919061409a565b9450611bc6565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611d2657507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611d365750611d358261227b565b5b9050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611db083610e33565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b8273ffffffffffffffffffffffffffffffffffffffff16611e1682610e33565b73ffffffffffffffffffffffffffffffffffffffff1614611e6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e639061416e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611edb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ed290614200565b60405180910390fd5b611ee683838361209e565b611ef1600082611d3d565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611f419190614037565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611f989190613509565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46120578383836120ae565b505050565b600081600001549050919050565b6001816000016000828254019250508190555050565b61209a8282604051806020016040528060008152506122e5565b5050565b6120a9838383612340565b505050565b505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612121576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121189061426c565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516122129190612b94565b60405180910390a3505050565b61222a848484611df6565b61223684848484612452565b612275576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161226c906142fe565b60405180910390fd5b50505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6122ef83836125d9565b6122fc6000848484612452565b61233b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612332906142fe565b60405180910390fd5b505050565b61234b8383836127b2565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361238d57612388816127b7565b6123cc565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146123cb576123ca8382612800565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361240e576124098161296d565b61244d565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461244c5761244b8282612a3e565b5b5b505050565b60006124738473ffffffffffffffffffffffffffffffffffffffff16612abd565b156125cc578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261249c611797565b8786866040518563ffffffff1660e01b81526004016124be9493929190614373565b6020604051808303816000875af19250505080156124fa57506040513d601f19601f820116820180604052508101906124f791906143d4565b60015b61257c573d806000811461252a576040519150601f19603f3d011682016040523d82523d6000602084013e61252f565b606091505b506000815103612574576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161256b906142fe565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506125d1565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612648576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161263f9061444d565b60405180910390fd5b61265181611a8f565b15612691576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612688906144b9565b60405180910390fd5b61269d6000838361209e565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546126ed9190613509565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46127ae600083836120ae565b5050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161280d84610f84565b6128179190614037565b90506000600760008481526020019081526020016000205490508181146128fc576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506129819190614037565b90506000600960008481526020019081526020016000205490506000600883815481106129b1576129b06133d1565b5b9060005260206000200154905080600883815481106129d3576129d26133d1565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480612a2257612a216144d9565b5b6001900381819060005260206000200160009055905550505050565b6000612a4983610f84565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612b2981612af4565b8114612b3457600080fd5b50565b600081359050612b4681612b20565b92915050565b600060208284031215612b6257612b61612aea565b5b6000612b7084828501612b37565b91505092915050565b60008115159050919050565b612b8e81612b79565b82525050565b6000602082019050612ba96000830184612b85565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612be9578082015181840152602081019050612bce565b60008484015250505050565b6000601f19601f8301169050919050565b6000612c1182612baf565b612c1b8185612bba565b9350612c2b818560208601612bcb565b612c3481612bf5565b840191505092915050565b60006020820190508181036000830152612c598184612c06565b905092915050565b6000819050919050565b612c7481612c61565b8114612c7f57600080fd5b50565b600081359050612c9181612c6b565b92915050565b600060208284031215612cad57612cac612aea565b5b6000612cbb84828501612c82565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612cef82612cc4565b9050919050565b612cff81612ce4565b82525050565b6000602082019050612d1a6000830184612cf6565b92915050565b612d2981612ce4565b8114612d3457600080fd5b50565b600081359050612d4681612d20565b92915050565b60008060408385031215612d6357612d62612aea565b5b6000612d7185828601612d37565b9250506020612d8285828601612c82565b9150509250929050565b600060208284031215612da257612da1612aea565b5b6000612db084828501612d37565b91505092915050565b612dc281612c61565b82525050565b6000602082019050612ddd6000830184612db9565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f840112612e0857612e07612de3565b5b8235905067ffffffffffffffff811115612e2557612e24612de8565b5b602083019150836020820283011115612e4157612e40612ded565b5b9250929050565b60008060208385031215612e5f57612e5e612aea565b5b600083013567ffffffffffffffff811115612e7d57612e7c612aef565b5b612e8985828601612df2565b92509250509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b612eca81612b79565b82525050565b6000612edc8383612ec1565b60208301905092915050565b6000602082019050919050565b6000612f0082612e95565b612f0a8185612ea0565b9350612f1583612eb1565b8060005b83811015612f46578151612f2d8882612ed0565b9750612f3883612ee8565b925050600181019050612f19565b5085935050505092915050565b60006020820190508181036000830152612f6d8184612ef5565b905092915050565b600080600060608486031215612f8e57612f8d612aea565b5b6000612f9c86828701612d37565b9350506020612fad86828701612d37565b9250506040612fbe86828701612c82565b9150509250925092565b6000819050919050565b6000612fed612fe8612fe384612cc4565b612fc8565b612cc4565b9050919050565b6000612fff82612fd2565b9050919050565b600061301182612ff4565b9050919050565b61302181613006565b82525050565b600060208201905061303c6000830184613018565b92915050565b60008083601f84011261305857613057612de3565b5b8235905067ffffffffffffffff81111561307557613074612de8565b5b60208301915083600182028301111561309157613090612ded565b5b9250929050565b600080602083850312156130af576130ae612aea565b5b600083013567ffffffffffffffff8111156130cd576130cc612aef565b5b6130d985828601613042565b92509250509250929050565b6130ee81612b79565b81146130f957600080fd5b50565b60008135905061310b816130e5565b92915050565b6000806040838503121561312857613127612aea565b5b600061313685828601612d37565b9250506020613147858286016130fc565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61318e82612bf5565b810181811067ffffffffffffffff821117156131ad576131ac613156565b5b80604052505050565b60006131c0612ae0565b90506131cc8282613185565b919050565b600067ffffffffffffffff8211156131ec576131eb613156565b5b6131f582612bf5565b9050602081019050919050565b82818337600083830152505050565b600061322461321f846131d1565b6131b6565b9050828152602081018484840111156132405761323f613151565b5b61324b848285613202565b509392505050565b600082601f83011261326857613267612de3565b5b8135613278848260208601613211565b91505092915050565b6000806000806080858703121561329b5761329a612aea565b5b60006132a987828801612d37565b94505060206132ba87828801612d37565b93505060406132cb87828801612c82565b925050606085013567ffffffffffffffff8111156132ec576132eb612aef565b5b6132f887828801613253565b91505092959194509250565b6000806040838503121561331b5761331a612aea565b5b600061332985828601612d37565b925050602061333a85828601612d37565b9150509250929050565b60006020828403121561335a57613359612aea565b5b6000613368848285016130fc565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806133b857607f821691505b6020821081036133cb576133ca613371565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061343a82612c61565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361346c5761346b613400565b5b600182019050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b60006134d3602b83612bba565b91506134de82613477565b604082019050919050565b60006020820190508181036000830152613502816134c6565b9050919050565b600061351482612c61565b915061351f83612c61565b925082820190508082111561353757613536613400565b5b92915050565b7f457863656564206d617820737570706c79000000000000000000000000000000600082015250565b6000613573601183612bba565b915061357e8261353d565b602082019050919050565b600060208201905081810360008301526135a281613566565b9050919050565b7f4d696e74206e6f74206163746976650000000000000000000000000000000000600082015250565b60006135df600f83612bba565b91506135ea826135a9565b602082019050919050565b6000602082019050818103600083015261360e816135d2565b9050919050565b7f4d6f6f6e77616c6b657220616c726561647920636c61696d6564000000000000600082015250565b600061364b601a83612bba565b915061365682613615565b602082019050919050565b6000602082019050818103600083015261367a8161363e565b9050919050565b60008151905061369081612d20565b92915050565b6000602082840312156136ac576136ab612aea565b5b60006136ba84828501613681565b91505092915050565b7f596f7520646f206e6f74206f776e20746865206d6f6f6e2077616c6b65720000600082015250565b60006136f9601e83612bba565b9150613704826136c3565b602082019050919050565b60006020820190508181036000830152613728816136ec565b9050919050565b600060ff82169050919050565b60006137478261372f565b915060ff820361375a57613759613400565b5b600182019050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b60006137c1602e83612bba565b91506137cc82613765565b604082019050919050565b600060208201905081810360008301526137f0816137b4565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000613853602c83612bba565b915061385e826137f7565b604082019050919050565b6000602082019050818103600083015261388281613846565b9050919050565b600082905092915050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026138f67fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826138b9565b61390086836138b9565b95508019841693508086168417925050509392505050565b600061393361392e61392984612c61565b612fc8565b612c61565b9050919050565b6000819050919050565b61394d83613918565b6139616139598261393a565b8484546138c6565b825550505050565b600090565b613976613969565b613981818484613944565b505050565b5b818110156139a55761399a60008261396e565b600181019050613987565b5050565b601f8211156139ea576139bb81613894565b6139c4846138a9565b810160208510156139d3578190505b6139e76139df856138a9565b830182613986565b50505b505050565b600082821c905092915050565b6000613a0d600019846008026139ef565b1980831691505092915050565b6000613a2683836139fc565b9150826002028217905092915050565b613a408383613889565b67ffffffffffffffff811115613a5957613a58613156565b5b613a6382546133a0565b613a6e8282856139a9565b6000601f831160018114613a9d5760008415613a8b578287013590505b613a958582613a1a565b865550613afd565b601f198416613aab86613894565b60005b82811015613ad357848901358255600182019150602085019450602081019050613aae565b86831015613af05784890135613aec601f8916826139fc565b8355505b6001600288020188555050505b50505050505050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b6000613b3c601883612bba565b9150613b4782613b06565b602082019050919050565b60006020820190508181036000830152613b6b81613b2f565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b6000613bce602983612bba565b9150613bd982613b72565b604082019050919050565b60006020820190508181036000830152613bfd81613bc1565b9050919050565b7f546f6b656e20646f6573206e6f74206578697374000000000000000000000000600082015250565b6000613c3a601483612bba565b9150613c4582613c04565b602082019050919050565b60006020820190508181036000830152613c6981613c2d565b9050919050565b600081905092915050565b60008154613c88816133a0565b613c928186613c70565b94506001821660008114613cad5760018114613cc257613cf5565b60ff1983168652811515820286019350613cf5565b613ccb85613894565b60005b83811015613ced57815481890152600182019150602081019050613cce565b838801955050505b50505092915050565b6000613d0982612baf565b613d138185613c70565b9350613d23818560208601612bcb565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b6000613d65600583613c70565b9150613d7082613d2f565b600582019050919050565b6000613d878285613c7b565b9150613d938284613cfe565b9150613d9e82613d58565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613e06602683612bba565b9150613e1182613daa565b604082019050919050565b60006020820190508181036000830152613e3581613df9565b9050919050565b6000604082019050613e516000830185612cf6565b613e5e6020830184612cf6565b9392505050565b600081519050613e74816130e5565b92915050565b600060208284031215613e9057613e8f612aea565b5b6000613e9e84828501613e65565b91505092915050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000613f03602183612bba565b9150613f0e82613ea7565b604082019050919050565b60006020820190508181036000830152613f3281613ef6565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b6000613f95603e83612bba565b9150613fa082613f39565b604082019050919050565b60006020820190508181036000830152613fc481613f88565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614001602083612bba565b915061400c82613fcb565b602082019050919050565b6000602082019050818103600083015261403081613ff4565b9050919050565b600061404282612c61565b915061404d83612c61565b925082820390508181111561406557614064613400565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006140a582612c61565b91506140b083612c61565b9250826140c0576140bf61406b565b5b828204905092915050565b60006140d682612c61565b91506140e183612c61565b9250826140f1576140f061406b565b5b828206905092915050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000614158602583612bba565b9150614163826140fc565b604082019050919050565b600060208201905081810360008301526141878161414b565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006141ea602483612bba565b91506141f58261418e565b604082019050919050565b60006020820190508181036000830152614219816141dd565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000614256601983612bba565b915061426182614220565b602082019050919050565b6000602082019050818103600083015261428581614249565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006142e8603283612bba565b91506142f38261428c565b604082019050919050565b60006020820190508181036000830152614317816142db565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006143458261431e565b61434f8185614329565b935061435f818560208601612bcb565b61436881612bf5565b840191505092915050565b60006080820190506143886000830187612cf6565b6143956020830186612cf6565b6143a26040830185612db9565b81810360608301526143b4818461433a565b905095945050505050565b6000815190506143ce81612b20565b92915050565b6000602082840312156143ea576143e9612aea565b5b60006143f8848285016143bf565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000614437602083612bba565b915061444282614401565b602082019050919050565b600060208201905081810360008301526144668161442a565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b60006144a3601c83612bba565b91506144ae8261446d565b602082019050919050565b600060208201905081810360008301526144d281614496565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea26469706673582212207353edb86e845fa3efd93eb52ca9ea3f09da661b1a359c97dcda9aeab81f714f64736f6c63430008110033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101fb5760003560e01c806355f804b31161011a5780638da5cb5b116100ad578063c87b56dd1161007c578063c87b56dd1461059c578063dc8e92ea146105cc578063e985e9c5146105e8578063f2fde38b14610618578063fa4e25b414610634576101fb565b80638da5cb5b1461052857806395d89b4114610546578063a22cb46514610564578063b88d4fde14610580576101fb565b80636f8b44b0116100e95780636f8b44b0146104b457806370a08231146104d0578063715018a61461050057806383a2f7071461050a576101fb565b806355f804b31461042c5780635b92ac0d146104485780636352211e146104665780636c0360eb14610496576101fb565b80632f745c591161019257806341f434341161016157806341f43434146103a657806342842e0e146103c457806342966c68146103e05780634f6ccce7146103fc576101fb565b80632f745c59146103205780632fbba1151461035057806332cb6b0c1461036c578063389c88a11461038a576101fb565b80630e394a9e116101ce5780630e394a9e1461029a57806318160ddd146102b65780631d78b5c5146102d457806323b872dd14610304576101fb565b806301ffc9a71461020057806306fdde0314610230578063081812fc1461024e578063095ea7b31461027e575b600080fd5b61021a60048036038101906102159190612b4c565b610650565b6040516102279190612b94565b60405180910390f35b610238610662565b6040516102459190612c3f565b60405180910390f35b61026860048036038101906102639190612c97565b6106f4565b6040516102759190612d05565b60405180910390f35b61029860048036038101906102939190612d4c565b61073a565b005b6102b460048036038101906102af9190612d8c565b610753565b005b6102be61079f565b6040516102cb9190612dc8565b60405180910390f35b6102ee60048036038101906102e99190612e48565b6107ac565b6040516102fb9190612f53565b60405180910390f35b61031e60048036038101906103199190612f75565b610889565b005b61033a60048036038101906103359190612d4c565b6108d8565b6040516103479190612dc8565b60405180910390f35b61036a60048036038101906103659190612c97565b61097d565b005b610374610a08565b6040516103819190612dc8565b60405180910390f35b6103a4600480360381019061039f9190612e48565b610a0e565b005b6103ae610cd4565b6040516103bb9190613027565b60405180910390f35b6103de60048036038101906103d99190612f75565b610ce6565b005b6103fa60048036038101906103f59190612c97565b610d35565b005b61041660048036038101906104119190612c97565b610d91565b6040516104239190612dc8565b60405180910390f35b61044660048036038101906104419190613098565b610e02565b005b610450610e20565b60405161045d9190612b94565b60405180910390f35b610480600480360381019061047b9190612c97565b610e33565b60405161048d9190612d05565b60405180910390f35b61049e610ee4565b6040516104ab9190612c3f565b60405180910390f35b6104ce60048036038101906104c99190612c97565b610f72565b005b6104ea60048036038101906104e59190612d8c565b610f84565b6040516104f79190612dc8565b60405180910390f35b61050861103b565b005b61051261104f565b60405161051f9190612d05565b60405180910390f35b610530611075565b60405161053d9190612d05565b60405180910390f35b61054e61109f565b60405161055b9190612c3f565b60405180910390f35b61057e60048036038101906105799190613111565b611131565b005b61059a60048036038101906105959190613281565b61114a565b005b6105b660048036038101906105b19190612c97565b61119b565b6040516105c39190612c3f565b60405180910390f35b6105e660048036038101906105e19190612e48565b611217565b005b61060260048036038101906105fd9190613304565b61125f565b60405161060f9190612b94565b60405180910390f35b610632600480360381019061062d9190612d8c565b6112f3565b005b61064e60048036038101906106499190613344565b611376565b005b600061065b8261139b565b9050919050565b606060008054610671906133a0565b80601f016020809104026020016040519081016040528092919081815260200182805461069d906133a0565b80156106ea5780601f106106bf576101008083540402835291602001916106ea565b820191906000526020600020905b8154815290600101906020018083116106cd57829003601f168201915b5050505050905090565b60006106ff82611415565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b8161074481611460565b61074e838361155d565b505050565b61075b611674565b80600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600880549050905090565b606060008383905067ffffffffffffffff8111156107cd576107cc613156565b5b6040519080825280602002602001820160405280156107fb5781602001602082028036833780820191505090505b50905060005b8484905081101561087e57600c6000868684818110610823576108226133d1565b5b90506020020135815260200190815260200160002060009054906101000a900460ff16828281518110610859576108586133d1565b5b60200260200101901515908115158152505080806108769061342f565b915050610801565b508091505092915050565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146108c7576108c633611460565b5b6108d28484846116f2565b50505050565b60006108e383610f84565b8210610924576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161091b906134e9565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610985611674565b80600f548161099261079f565b61099c9190613509565b11156109dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109d490613589565b60405180910390fd5b60005b82811015610a03576109f0611752565b80806109fb9061342f565b9150506109e0565b505050565b600f5481565b81819050600f5481610a1e61079f565b610a289190613509565b1115610a69576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a6090613589565b60405180910390fd5b601060009054906101000a900460ff16610ab8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aaf906135f5565b60405180910390fd5b60005b838390508160ff161015610cce57600c600085858460ff16818110610ae357610ae26133d1565b5b90506020020135815260200190815260200160002060009054906101000a900460ff1615610b46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3d90613661565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff16600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e86868560ff16818110610bb157610bb06133d1565b5b905060200201356040518263ffffffff1660e01b8152600401610bd49190612dc8565b602060405180830381865afa158015610bf1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c159190613696565b73ffffffffffffffffffffffffffffffffffffffff1614610c6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c629061370f565b60405180910390fd5b610c73611752565b6001600c600086868560ff16818110610c8f57610c8e6133d1565b5b90506020020135815260200190815260200160002060006101000a81548160ff0219169083151502179055508080610cc69061373c565b915050610abb565b50505050565b6daaeb6d7670e522a718067333cd4e81565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610d2457610d2333611460565b5b610d2f848484611777565b50505050565b610d46610d40611797565b8261179f565b610d85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7c906137d7565b60405180910390fd5b610d8e81611834565b50565b6000610d9b61079f565b8210610ddc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dd390613869565b60405180910390fd5b60088281548110610df057610def6133d1565b5b90600052602060002001549050919050565b610e0a611674565b8181600e9182610e1b929190613a36565b505050565b601060009054906101000a900460ff1681565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610edb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed290613b52565b60405180910390fd5b80915050919050565b600e8054610ef1906133a0565b80601f0160208091040260200160405190810160405280929190818152602001828054610f1d906133a0565b8015610f6a5780601f10610f3f57610100808354040283529160200191610f6a565b820191906000526020600020905b815481529060010190602001808311610f4d57829003601f168201915b505050505081565b610f7a611674565b80600f8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610ff4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610feb90613be4565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611043611674565b61104d6000611951565b565b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546110ae906133a0565b80601f01602080910402602001604051908101604052809291908181526020018280546110da906133a0565b80156111275780601f106110fc57610100808354040283529160200191611127565b820191906000526020600020905b81548152906001019060200180831161110a57829003601f168201915b5050505050905090565b8161113b81611460565b6111458383611a17565b505050565b833373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146111885761118733611460565b5b61119485858585611a2d565b5050505050565b60606111a682611a8f565b6111e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111dc90613c50565b60405180910390fd5b600e6111f083611afb565b604051602001611201929190613d7b565b6040516020818303038152906040529050919050565b60005b8282905081101561125a5761124783838381811061123b5761123a6133d1565b5b90506020020135611834565b80806112529061342f565b91505061121a565b505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6112fb611674565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361136a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136190613e1c565b60405180910390fd5b61137381611951565b50565b61137e611674565b80601060006101000a81548160ff02191690831515021790555050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061140e575061140d82611c5b565b5b9050919050565b61141e81611a8f565b61145d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161145490613b52565b60405180910390fd5b50565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b111561155a576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b81526004016114d7929190613e3c565b602060405180830381865afa1580156114f4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115189190613e7a565b61155957806040517fede71dcc0000000000000000000000000000000000000000000000000000000081526004016115509190612d05565b60405180910390fd5b5b50565b600061156882610e33565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036115d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115cf90613f19565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166115f7611797565b73ffffffffffffffffffffffffffffffffffffffff161480611626575061162581611620611797565b61125f565b5b611665576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161165c90613fab565b60405180910390fd5b61166f8383611d3d565b505050565b61167c611797565b73ffffffffffffffffffffffffffffffffffffffff1661169a611075565b73ffffffffffffffffffffffffffffffffffffffff16146116f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116e790614017565b60405180910390fd5b565b6117036116fd611797565b8261179f565b611742576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611739906137d7565b60405180910390fd5b61174d838383611df6565b505050565b600061175e600b61205c565b905061176a600b61206a565b6117743382612080565b50565b6117928383836040518060200160405280600081525061114a565b505050565b600033905090565b6000806117ab83610e33565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806117ed57506117ec818561125f565b5b8061182b57508373ffffffffffffffffffffffffffffffffffffffff16611813846106f4565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b600061183f82610e33565b905061184d8160008461209e565b611858600083611d3d565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546118a89190614037565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461194d816000846120ae565b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b611a29611a22611797565b83836120b3565b5050565b611a3e611a38611797565b8361179f565b611a7d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a74906137d7565b60405180910390fd5b611a898484848461221f565b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b606060008203611b42576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611c56565b600082905060005b60008214611b74578080611b5d9061342f565b915050600a82611b6d919061409a565b9150611b4a565b60008167ffffffffffffffff811115611b9057611b8f613156565b5b6040519080825280601f01601f191660200182016040528015611bc25781602001600182028036833780820191505090505b5090505b60008514611c4f57600182611bdb9190614037565b9150600a85611bea91906140cb565b6030611bf69190613509565b60f81b818381518110611c0c57611c0b6133d1565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85611c48919061409a565b9450611bc6565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611d2657507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611d365750611d358261227b565b5b9050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611db083610e33565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b8273ffffffffffffffffffffffffffffffffffffffff16611e1682610e33565b73ffffffffffffffffffffffffffffffffffffffff1614611e6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e639061416e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611edb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ed290614200565b60405180910390fd5b611ee683838361209e565b611ef1600082611d3d565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611f419190614037565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611f989190613509565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46120578383836120ae565b505050565b600081600001549050919050565b6001816000016000828254019250508190555050565b61209a8282604051806020016040528060008152506122e5565b5050565b6120a9838383612340565b505050565b505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612121576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121189061426c565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516122129190612b94565b60405180910390a3505050565b61222a848484611df6565b61223684848484612452565b612275576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161226c906142fe565b60405180910390fd5b50505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6122ef83836125d9565b6122fc6000848484612452565b61233b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612332906142fe565b60405180910390fd5b505050565b61234b8383836127b2565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361238d57612388816127b7565b6123cc565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146123cb576123ca8382612800565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361240e576124098161296d565b61244d565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461244c5761244b8282612a3e565b5b5b505050565b60006124738473ffffffffffffffffffffffffffffffffffffffff16612abd565b156125cc578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261249c611797565b8786866040518563ffffffff1660e01b81526004016124be9493929190614373565b6020604051808303816000875af19250505080156124fa57506040513d601f19601f820116820180604052508101906124f791906143d4565b60015b61257c573d806000811461252a576040519150601f19603f3d011682016040523d82523d6000602084013e61252f565b606091505b506000815103612574576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161256b906142fe565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506125d1565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612648576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161263f9061444d565b60405180910390fd5b61265181611a8f565b15612691576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612688906144b9565b60405180910390fd5b61269d6000838361209e565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546126ed9190613509565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46127ae600083836120ae565b5050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161280d84610f84565b6128179190614037565b90506000600760008481526020019081526020016000205490508181146128fc576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506129819190614037565b90506000600960008481526020019081526020016000205490506000600883815481106129b1576129b06133d1565b5b9060005260206000200154905080600883815481106129d3576129d26133d1565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480612a2257612a216144d9565b5b6001900381819060005260206000200160009055905550505050565b6000612a4983610f84565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612b2981612af4565b8114612b3457600080fd5b50565b600081359050612b4681612b20565b92915050565b600060208284031215612b6257612b61612aea565b5b6000612b7084828501612b37565b91505092915050565b60008115159050919050565b612b8e81612b79565b82525050565b6000602082019050612ba96000830184612b85565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612be9578082015181840152602081019050612bce565b60008484015250505050565b6000601f19601f8301169050919050565b6000612c1182612baf565b612c1b8185612bba565b9350612c2b818560208601612bcb565b612c3481612bf5565b840191505092915050565b60006020820190508181036000830152612c598184612c06565b905092915050565b6000819050919050565b612c7481612c61565b8114612c7f57600080fd5b50565b600081359050612c9181612c6b565b92915050565b600060208284031215612cad57612cac612aea565b5b6000612cbb84828501612c82565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612cef82612cc4565b9050919050565b612cff81612ce4565b82525050565b6000602082019050612d1a6000830184612cf6565b92915050565b612d2981612ce4565b8114612d3457600080fd5b50565b600081359050612d4681612d20565b92915050565b60008060408385031215612d6357612d62612aea565b5b6000612d7185828601612d37565b9250506020612d8285828601612c82565b9150509250929050565b600060208284031215612da257612da1612aea565b5b6000612db084828501612d37565b91505092915050565b612dc281612c61565b82525050565b6000602082019050612ddd6000830184612db9565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f840112612e0857612e07612de3565b5b8235905067ffffffffffffffff811115612e2557612e24612de8565b5b602083019150836020820283011115612e4157612e40612ded565b5b9250929050565b60008060208385031215612e5f57612e5e612aea565b5b600083013567ffffffffffffffff811115612e7d57612e7c612aef565b5b612e8985828601612df2565b92509250509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b612eca81612b79565b82525050565b6000612edc8383612ec1565b60208301905092915050565b6000602082019050919050565b6000612f0082612e95565b612f0a8185612ea0565b9350612f1583612eb1565b8060005b83811015612f46578151612f2d8882612ed0565b9750612f3883612ee8565b925050600181019050612f19565b5085935050505092915050565b60006020820190508181036000830152612f6d8184612ef5565b905092915050565b600080600060608486031215612f8e57612f8d612aea565b5b6000612f9c86828701612d37565b9350506020612fad86828701612d37565b9250506040612fbe86828701612c82565b9150509250925092565b6000819050919050565b6000612fed612fe8612fe384612cc4565b612fc8565b612cc4565b9050919050565b6000612fff82612fd2565b9050919050565b600061301182612ff4565b9050919050565b61302181613006565b82525050565b600060208201905061303c6000830184613018565b92915050565b60008083601f84011261305857613057612de3565b5b8235905067ffffffffffffffff81111561307557613074612de8565b5b60208301915083600182028301111561309157613090612ded565b5b9250929050565b600080602083850312156130af576130ae612aea565b5b600083013567ffffffffffffffff8111156130cd576130cc612aef565b5b6130d985828601613042565b92509250509250929050565b6130ee81612b79565b81146130f957600080fd5b50565b60008135905061310b816130e5565b92915050565b6000806040838503121561312857613127612aea565b5b600061313685828601612d37565b9250506020613147858286016130fc565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61318e82612bf5565b810181811067ffffffffffffffff821117156131ad576131ac613156565b5b80604052505050565b60006131c0612ae0565b90506131cc8282613185565b919050565b600067ffffffffffffffff8211156131ec576131eb613156565b5b6131f582612bf5565b9050602081019050919050565b82818337600083830152505050565b600061322461321f846131d1565b6131b6565b9050828152602081018484840111156132405761323f613151565b5b61324b848285613202565b509392505050565b600082601f83011261326857613267612de3565b5b8135613278848260208601613211565b91505092915050565b6000806000806080858703121561329b5761329a612aea565b5b60006132a987828801612d37565b94505060206132ba87828801612d37565b93505060406132cb87828801612c82565b925050606085013567ffffffffffffffff8111156132ec576132eb612aef565b5b6132f887828801613253565b91505092959194509250565b6000806040838503121561331b5761331a612aea565b5b600061332985828601612d37565b925050602061333a85828601612d37565b9150509250929050565b60006020828403121561335a57613359612aea565b5b6000613368848285016130fc565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806133b857607f821691505b6020821081036133cb576133ca613371565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061343a82612c61565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361346c5761346b613400565b5b600182019050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b60006134d3602b83612bba565b91506134de82613477565b604082019050919050565b60006020820190508181036000830152613502816134c6565b9050919050565b600061351482612c61565b915061351f83612c61565b925082820190508082111561353757613536613400565b5b92915050565b7f457863656564206d617820737570706c79000000000000000000000000000000600082015250565b6000613573601183612bba565b915061357e8261353d565b602082019050919050565b600060208201905081810360008301526135a281613566565b9050919050565b7f4d696e74206e6f74206163746976650000000000000000000000000000000000600082015250565b60006135df600f83612bba565b91506135ea826135a9565b602082019050919050565b6000602082019050818103600083015261360e816135d2565b9050919050565b7f4d6f6f6e77616c6b657220616c726561647920636c61696d6564000000000000600082015250565b600061364b601a83612bba565b915061365682613615565b602082019050919050565b6000602082019050818103600083015261367a8161363e565b9050919050565b60008151905061369081612d20565b92915050565b6000602082840312156136ac576136ab612aea565b5b60006136ba84828501613681565b91505092915050565b7f596f7520646f206e6f74206f776e20746865206d6f6f6e2077616c6b65720000600082015250565b60006136f9601e83612bba565b9150613704826136c3565b602082019050919050565b60006020820190508181036000830152613728816136ec565b9050919050565b600060ff82169050919050565b60006137478261372f565b915060ff820361375a57613759613400565b5b600182019050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b60006137c1602e83612bba565b91506137cc82613765565b604082019050919050565b600060208201905081810360008301526137f0816137b4565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000613853602c83612bba565b915061385e826137f7565b604082019050919050565b6000602082019050818103600083015261388281613846565b9050919050565b600082905092915050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026138f67fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826138b9565b61390086836138b9565b95508019841693508086168417925050509392505050565b600061393361392e61392984612c61565b612fc8565b612c61565b9050919050565b6000819050919050565b61394d83613918565b6139616139598261393a565b8484546138c6565b825550505050565b600090565b613976613969565b613981818484613944565b505050565b5b818110156139a55761399a60008261396e565b600181019050613987565b5050565b601f8211156139ea576139bb81613894565b6139c4846138a9565b810160208510156139d3578190505b6139e76139df856138a9565b830182613986565b50505b505050565b600082821c905092915050565b6000613a0d600019846008026139ef565b1980831691505092915050565b6000613a2683836139fc565b9150826002028217905092915050565b613a408383613889565b67ffffffffffffffff811115613a5957613a58613156565b5b613a6382546133a0565b613a6e8282856139a9565b6000601f831160018114613a9d5760008415613a8b578287013590505b613a958582613a1a565b865550613afd565b601f198416613aab86613894565b60005b82811015613ad357848901358255600182019150602085019450602081019050613aae565b86831015613af05784890135613aec601f8916826139fc565b8355505b6001600288020188555050505b50505050505050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b6000613b3c601883612bba565b9150613b4782613b06565b602082019050919050565b60006020820190508181036000830152613b6b81613b2f565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b6000613bce602983612bba565b9150613bd982613b72565b604082019050919050565b60006020820190508181036000830152613bfd81613bc1565b9050919050565b7f546f6b656e20646f6573206e6f74206578697374000000000000000000000000600082015250565b6000613c3a601483612bba565b9150613c4582613c04565b602082019050919050565b60006020820190508181036000830152613c6981613c2d565b9050919050565b600081905092915050565b60008154613c88816133a0565b613c928186613c70565b94506001821660008114613cad5760018114613cc257613cf5565b60ff1983168652811515820286019350613cf5565b613ccb85613894565b60005b83811015613ced57815481890152600182019150602081019050613cce565b838801955050505b50505092915050565b6000613d0982612baf565b613d138185613c70565b9350613d23818560208601612bcb565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b6000613d65600583613c70565b9150613d7082613d2f565b600582019050919050565b6000613d878285613c7b565b9150613d938284613cfe565b9150613d9e82613d58565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613e06602683612bba565b9150613e1182613daa565b604082019050919050565b60006020820190508181036000830152613e3581613df9565b9050919050565b6000604082019050613e516000830185612cf6565b613e5e6020830184612cf6565b9392505050565b600081519050613e74816130e5565b92915050565b600060208284031215613e9057613e8f612aea565b5b6000613e9e84828501613e65565b91505092915050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000613f03602183612bba565b9150613f0e82613ea7565b604082019050919050565b60006020820190508181036000830152613f3281613ef6565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b6000613f95603e83612bba565b9150613fa082613f39565b604082019050919050565b60006020820190508181036000830152613fc481613f88565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614001602083612bba565b915061400c82613fcb565b602082019050919050565b6000602082019050818103600083015261403081613ff4565b9050919050565b600061404282612c61565b915061404d83612c61565b925082820390508181111561406557614064613400565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006140a582612c61565b91506140b083612c61565b9250826140c0576140bf61406b565b5b828204905092915050565b60006140d682612c61565b91506140e183612c61565b9250826140f1576140f061406b565b5b828206905092915050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000614158602583612bba565b9150614163826140fc565b604082019050919050565b600060208201905081810360008301526141878161414b565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006141ea602483612bba565b91506141f58261418e565b604082019050919050565b60006020820190508181036000830152614219816141dd565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000614256601983612bba565b915061426182614220565b602082019050919050565b6000602082019050818103600083015261428581614249565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006142e8603283612bba565b91506142f38261428c565b604082019050919050565b60006020820190508181036000830152614317816142db565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006143458261431e565b61434f8185614329565b935061435f818560208601612bcb565b61436881612bf5565b840191505092915050565b60006080820190506143886000830187612cf6565b6143956020830186612cf6565b6143a26040830185612db9565b81810360608301526143b4818461433a565b905095945050505050565b6000815190506143ce81612b20565b92915050565b6000602082840312156143ea576143e9612aea565b5b60006143f8848285016143bf565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000614437602083612bba565b915061444282614401565b602082019050919050565b600060208201905081810360008301526144668161442a565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b60006144a3601c83612bba565b91506144ae8261446d565b602082019050919050565b600060208201905081810360008301526144d281614496565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea26469706673582212207353edb86e845fa3efd93eb52ca9ea3f09da661b1a359c97dcda9aeab81f714f64736f6c63430008110033

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.