ETH Price: $3,398.09 (+1.90%)

Token

The Quest (QUEST)
 

Overview

Max Total Supply

4,001 QUEST

Holders

988

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
2 QUEST
0x336abcd351f585a30fa9c67dd477922e59a22a57
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:
TheQuest

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 14 : TheQuest.sol
//SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "base64-sol/base64.sol";

interface IRenderer {
    function render(uint256 seed) external view returns (string calldata);
}

contract TheQuest is ERC721, ERC721Enumerable, Ownable {
    uint256 public supply;
    bool public isOpen;
    IRenderer public renderer;

    mapping(uint256 => uint8) public team;

    constructor() ERC721("The Quest", "QUEST") {
        isOpen = false;
    }

    function setRender(address _contract) external onlyOwner {
        renderer = IRenderer(_contract);
    }

    // half goes to the team, the other half will be used for airdrops to the community.
    function communityMint(uint256 qty, uint8 _team) public onlyOwner {
        require(supply <= 4269, "!max reached");

        for (uint256 i = 0; i < qty; i++) {
            _mint(msg.sender, supply);
            team[supply] = _team;

            supply = supply + 1;
        }
    }

    // qty to mint and team 0 or 1 you want to belong to.
    function mint(uint256 qty, uint8 _team) public {
        require(tx.origin == msg.sender, "!contract");
        require(_team == 0 || _team == 1, "!!!");
        require(isOpen || owner() == msg.sender, "!start");
        require(qty <= 3, "!count limit");
        require(supply <= 4000, "!max reached");

        for (uint256 i = 0; i < qty; i++) {
            _mint(msg.sender, supply);

            team[supply] = _team;

            supply = supply + 1;
        }
    }

    function open() public onlyOwner {
        isOpen = true;
    }

    function getTeam(uint256 _tokenID) public view returns (string memory) {
        uint8 _team = team[_tokenID];
        if (_team == 0) {
            return "Sword";
        } else {
            return "Shield";
        }
    }

    function getScore(uint256 _tokenID) public pure returns (uint256) {
        uint256 score = uint256(keccak256(abi.encodePacked(_tokenID))) % 100;
        return score;
    }

    function tokenURI(uint256 _tokenId)
        public
        view
        virtual
        override
        returns (string memory)
    {
        string memory image = (renderer.render(_tokenId));
        string memory attributes = string(
            abi.encodePacked(
                '", "attributes":[{ "trait_type": "Team","value":"',
                getTeam(_tokenId),
                '"}]}'
            )
        );
        return
            string(
                abi.encodePacked(
                    "data:application/json;base64,",
                    (
                        Base64.encode(
                            bytes(
                                (
                                    abi.encodePacked(
                                        '{"name":"The Quest #',
                                        uint2str(_tokenId),
                                        '","image": ',
                                        '"',
                                        "data:image/svg+xml;base64,",
                                        Base64.encode(bytes(image)),
                                        attributes
                                    )
                                )
                            )
                        )
                    )
                )
            );
    }

    receive() external payable {}

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

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

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

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

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
     * token will be the concatenation of the `baseURI` and the `tokenId`. Empty
     * by default, can be 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 owner nor approved for all"
        );

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

    /**
     * @dev Returns whether `spender` is allowed to manage `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
        require(_exists(tokenId), "ERC721: operator query for nonexistent token");
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || 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 a {Approval} event.
     */
    function _approve(address to, uint256 tokenId) internal virtual {
        _tokenApprovals[tokenId] = to;
        emit Approval(ERC721.ownerOf(tokenId), to, tokenId);
    }

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 6 of 14 : base64.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0;

/// @title Base64
/// @author Brecht Devos - <[email protected]>
/// @notice Provides functions for encoding/decoding base64
library Base64 {
    string internal constant TABLE_ENCODE = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';
    bytes  internal constant TABLE_DECODE = hex"0000000000000000000000000000000000000000000000000000000000000000"
                                            hex"00000000000000000000003e0000003f3435363738393a3b3c3d000000000000"
                                            hex"00000102030405060708090a0b0c0d0e0f101112131415161718190000000000"
                                            hex"001a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132330000000000";

    function encode(bytes memory data) internal pure returns (string memory) {
        if (data.length == 0) return '';

        // load the table into memory
        string memory table = TABLE_ENCODE;

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

        // add some extra buffer at the end required for the writing
        string memory result = new string(encodedLen + 32);

        assembly {
            // set the actual output length
            mstore(result, encodedLen)

            // prepare the lookup table
            let tablePtr := add(table, 1)

            // input ptr
            let dataPtr := data
            let endPtr := add(dataPtr, mload(data))

            // result ptr, jump over length
            let resultPtr := add(result, 32)

            // run over the input, 3 bytes at a time
            for {} lt(dataPtr, endPtr) {}
            {
                // read 3 bytes
                dataPtr := add(dataPtr, 3)
                let input := mload(dataPtr)

                // write 4 characters
                mstore8(resultPtr, mload(add(tablePtr, and(shr(18, input), 0x3F))))
                resultPtr := add(resultPtr, 1)
                mstore8(resultPtr, mload(add(tablePtr, and(shr(12, input), 0x3F))))
                resultPtr := add(resultPtr, 1)
                mstore8(resultPtr, mload(add(tablePtr, and(shr( 6, input), 0x3F))))
                resultPtr := add(resultPtr, 1)
                mstore8(resultPtr, mload(add(tablePtr, and(        input,  0x3F))))
                resultPtr := add(resultPtr, 1)
            }

            // padding with '='
            switch mod(mload(data), 3)
            case 1 { mstore(sub(resultPtr, 2), shl(240, 0x3d3d)) }
            case 2 { mstore(sub(resultPtr, 1), shl(248, 0x3d)) }
        }

        return result;
    }

    function decode(string memory _data) internal pure returns (bytes memory) {
        bytes memory data = bytes(_data);

        if (data.length == 0) return new bytes(0);
        require(data.length % 4 == 0, "invalid base64 decoder input");

        // load the table into memory
        bytes memory table = TABLE_DECODE;

        // every 4 characters represent 3 bytes
        uint256 decodedLen = (data.length / 4) * 3;

        // add some extra buffer at the end required for the writing
        bytes memory result = new bytes(decodedLen + 32);

        assembly {
            // padding with '='
            let lastBytes := mload(add(data, mload(data)))
            if eq(and(lastBytes, 0xFF), 0x3d) {
                decodedLen := sub(decodedLen, 1)
                if eq(and(lastBytes, 0xFFFF), 0x3d3d) {
                    decodedLen := sub(decodedLen, 1)
                }
            }

            // set the actual output length
            mstore(result, decodedLen)

            // prepare the lookup table
            let tablePtr := add(table, 1)

            // input ptr
            let dataPtr := data
            let endPtr := add(dataPtr, mload(data))

            // result ptr, jump over length
            let resultPtr := add(result, 32)

            // run over the input, 4 characters at a time
            for {} lt(dataPtr, endPtr) {}
            {
               // read 4 characters
               dataPtr := add(dataPtr, 4)
               let input := mload(dataPtr)

               // write 3 bytes
               let output := add(
                   add(
                       shl(18, and(mload(add(tablePtr, and(shr(24, input), 0xFF))), 0xFF)),
                       shl(12, and(mload(add(tablePtr, and(shr(16, input), 0xFF))), 0xFF))),
                   add(
                       shl( 6, and(mload(add(tablePtr, and(shr( 8, input), 0xFF))), 0xFF)),
                               and(mload(add(tablePtr, and(        input , 0xFF))), 0xFF)
                    )
                )
                mstore(resultPtr, shl(232, output))
                resultPtr := add(resultPtr, 3)
            }
        }

        return result;
    }
}

File 7 of 14 : 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 8 of 14 : 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 9 of 14 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

File 12 of 14 : 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 14 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"qty","type":"uint256"},{"internalType":"uint8","name":"_team","type":"uint8"}],"name":"communityMint","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":"_tokenID","type":"uint256"}],"name":"getScore","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenID","type":"uint256"}],"name":"getTeam","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"isOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"qty","type":"uint256"},{"internalType":"uint8","name":"_team","type":"uint8"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"open","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renderer","outputs":[{"internalType":"contract IRenderer","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_contract","type":"address"}],"name":"setRender","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"supply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"","type":"uint256"}],"name":"team","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040523480156200001157600080fd5b506040518060400160405280600981526020017f54686520517565737400000000000000000000000000000000000000000000008152506040518060400160405280600581526020017f5155455354000000000000000000000000000000000000000000000000000000815250816000908051906020019062000096929190620001c1565b508060019080519060200190620000af929190620001c1565b505050620000d2620000c6620000f360201b60201c565b620000fb60201b60201c565b6000600c60006101000a81548160ff021916908315150217905550620002d6565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620001cf9062000271565b90600052602060002090601f016020900481019282620001f357600085556200023f565b82601f106200020e57805160ff19168380011785556200023f565b828001600101855582156200023f579182015b828111156200023e57825182559160200191906001019062000221565b5b5090506200024e919062000252565b5090565b5b808211156200026d57600081600090555060010162000253565b5090565b600060028204905060018216806200028a57607f821691505b60208210811415620002a157620002a0620002a7565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b61459780620002e66000396000f3fe6080604052600436106101c55760003560e01c80636352211e116100f7578063a22cb46511610095578063f0c136cb11610064578063f0c136cb146106aa578063f2fde38b146106d3578063fb2f1ffb146106fc578063fcfff16f14610725576101cc565b8063a22cb465146105de578063b88d4fde14610607578063c87b56dd14610630578063e985e9c51461066d576101cc565b806388672f0f116100d157806388672f0f146105345780638ada6b0f1461055d5780638da5cb5b1461058857806395d89b41146105b3576101cc565b80636352211e146104a357806370a08231146104e0578063715018a61461051d576101cc565b806318160ddd116101645780632f745c591161013e5780632f745c59146103d557806342842e0e1461041257806347535d7b1461043b5780634f6ccce714610466576101cc565b806318160ddd14610344578063197ebd531461036f57806323b872dd146103ac576101cc565b806306fdde03116101a057806306fdde0314610276578063081812fc146102a1578063095ea7b3146102de5780630e1af57b14610307576101cc565b80628e0f1b146101d157806301ffc9a71461020e578063047fc9aa1461024b576101cc565b366101cc57005b600080fd5b3480156101dd57600080fd5b506101f860048036038101906101f39190612f67565b61073c565b604051610205919061362c565b60405180910390f35b34801561021a57600080fd5b5061023560048036038101906102309190612ed4565b6107ec565b60405161024291906135f6565b60405180910390f35b34801561025757600080fd5b506102606107fe565b60405161026d919061390e565b60405180910390f35b34801561028257600080fd5b5061028b610804565b604051610298919061362c565b60405180910390f35b3480156102ad57600080fd5b506102c860048036038101906102c39190612f67565b610896565b6040516102d5919061358f565b60405180910390f35b3480156102ea57600080fd5b5061030560048036038101906103009190612e98565b61091b565b005b34801561031357600080fd5b5061032e60048036038101906103299190612f67565b610a33565b60405161033b919061390e565b60405180910390f35b34801561035057600080fd5b50610359610a77565b604051610366919061390e565b60405180910390f35b34801561037b57600080fd5b5061039660048036038101906103919190612f67565b610a84565b6040516103a39190613929565b60405180910390f35b3480156103b857600080fd5b506103d360048036038101906103ce9190612d92565b610aa4565b005b3480156103e157600080fd5b506103fc60048036038101906103f79190612e98565b610b04565b604051610409919061390e565b60405180910390f35b34801561041e57600080fd5b5061043960048036038101906104349190612d92565b610ba9565b005b34801561044757600080fd5b50610450610bc9565b60405161045d91906135f6565b60405180910390f35b34801561047257600080fd5b5061048d60048036038101906104889190612f67565b610bdc565b60405161049a919061390e565b60405180910390f35b3480156104af57600080fd5b506104ca60048036038101906104c59190612f67565b610c73565b6040516104d7919061358f565b60405180910390f35b3480156104ec57600080fd5b5061050760048036038101906105029190612d2d565b610d25565b604051610514919061390e565b60405180910390f35b34801561052957600080fd5b50610532610ddd565b005b34801561054057600080fd5b5061055b60048036038101906105569190612f90565b610e65565b005b34801561056957600080fd5b50610572610f9a565b60405161057f9190613611565b60405180910390f35b34801561059457600080fd5b5061059d610fc0565b6040516105aa919061358f565b60405180910390f35b3480156105bf57600080fd5b506105c8610fea565b6040516105d5919061362c565b60405180910390f35b3480156105ea57600080fd5b5061060560048036038101906106009190612e5c565b61107c565b005b34801561061357600080fd5b5061062e60048036038101906106299190612de1565b611092565b005b34801561063c57600080fd5b5061065760048036038101906106529190612f67565b6110f4565b604051610664919061362c565b60405180910390f35b34801561067957600080fd5b50610694600480360381019061068f9190612d56565b61123a565b6040516106a191906135f6565b60405180910390f35b3480156106b657600080fd5b506106d160048036038101906106cc9190612d2d565b6112ce565b005b3480156106df57600080fd5b506106fa60048036038101906106f59190612d2d565b61138e565b005b34801561070857600080fd5b50610723600480360381019061071e9190612f90565b611486565b005b34801561073157600080fd5b5061073a6116d1565b005b60606000600d600084815260200190815260200160002060009054906101000a900460ff16905060008160ff1614156107ad576040518060400160405280600581526020017f53776f72640000000000000000000000000000000000000000000000000000008152509150506107e7565b6040518060400160405280600681526020017f536869656c6400000000000000000000000000000000000000000000000000008152509150505b919050565b60006107f78261176a565b9050919050565b600b5481565b60606000805461081390613c41565b80601f016020809104026020016040519081016040528092919081815260200182805461083f90613c41565b801561088c5780601f106108615761010080835404028352916020019161088c565b820191906000526020600020905b81548152906001019060200180831161086f57829003601f168201915b5050505050905090565b60006108a1826117e4565b6108e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108d79061382e565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061092682610c73565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610997576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161098e906138ae565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166109b6611850565b73ffffffffffffffffffffffffffffffffffffffff1614806109e557506109e4816109df611850565b61123a565b5b610a24576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a1b9061376e565b60405180910390fd5b610a2e8383611858565b505050565b600080606483604051602001610a499190613574565b6040516020818303038152906040528051906020012060001c610a6c9190613cf7565b905080915050919050565b6000600880549050905090565b600d6020528060005260406000206000915054906101000a900460ff1681565b610ab5610aaf611850565b82611911565b610af4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aeb906138ce565b60405180910390fd5b610aff8383836119ef565b505050565b6000610b0f83610d25565b8210610b50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b479061364e565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610bc483838360405180602001604052806000815250611092565b505050565b600c60009054906101000a900460ff1681565b6000610be6610a77565b8210610c27576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c1e906138ee565b60405180910390fd5b60088281548110610c61577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610d1c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d13906137ae565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610d96576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d8d9061378e565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610de5611850565b73ffffffffffffffffffffffffffffffffffffffff16610e03610fc0565b73ffffffffffffffffffffffffffffffffffffffff1614610e59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e509061386e565b60405180910390fd5b610e636000611c56565b565b610e6d611850565b73ffffffffffffffffffffffffffffffffffffffff16610e8b610fc0565b73ffffffffffffffffffffffffffffffffffffffff1614610ee1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed89061386e565b60405180910390fd5b6110ad600b541115610f28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1f9061384e565b60405180910390fd5b60005b82811015610f9557610f3f33600b54611d1c565b81600d6000600b54815260200190815260200160002060006101000a81548160ff021916908360ff1602179055506001600b54610f7c9190613a0e565b600b819055508080610f8d90613ca4565b915050610f2b565b505050565b600c60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054610ff990613c41565b80601f016020809104026020016040519081016040528092919081815260200182805461102590613c41565b80156110725780601f1061104757610100808354040283529160200191611072565b820191906000526020600020905b81548152906001019060200180831161105557829003601f168201915b5050505050905090565b61108e611087611850565b8383611ef6565b5050565b6110a361109d611850565b83611911565b6110e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d9906138ce565b60405180910390fd5b6110ee84848484612063565b50505050565b60606000600c60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c321118c846040518263ffffffff1660e01b8152600401611153919061390e565b60006040518083038186803b15801561116b57600080fd5b505afa15801561117f573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906111a89190612f26565b905060006111b58461073c565b6040516020016111c591906134c8565b60405160208183030381529060405290506112126111e2856120bf565b6111eb84612294565b836040516020016111fe939291906134f5565b604051602081830303815290604052612294565b6040516020016112229190613552565b60405160208183030381529060405292505050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6112d6611850565b73ffffffffffffffffffffffffffffffffffffffff166112f4610fc0565b73ffffffffffffffffffffffffffffffffffffffff161461134a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113419061386e565b60405180910390fd5b80600c60016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b611396611850565b73ffffffffffffffffffffffffffffffffffffffff166113b4610fc0565b73ffffffffffffffffffffffffffffffffffffffff161461140a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114019061386e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561147a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114719061368e565b60405180910390fd5b61148381611c56565b50565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16146114f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114eb906136ce565b60405180910390fd5b60008160ff161480611509575060018160ff16145b611548576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153f9061380e565b60405180910390fd5b600c60009054906101000a900460ff168061159557503373ffffffffffffffffffffffffffffffffffffffff1661157d610fc0565b73ffffffffffffffffffffffffffffffffffffffff16145b6115d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115cb906137ee565b60405180910390fd5b6003821115611618576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161160f9061388e565b60405180910390fd5b610fa0600b54111561165f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116569061384e565b60405180910390fd5b60005b828110156116cc5761167633600b54611d1c565b81600d6000600b54815260200190815260200160002060006101000a81548160ff021916908360ff1602179055506001600b546116b39190613a0e565b600b8190555080806116c490613ca4565b915050611662565b505050565b6116d9611850565b73ffffffffffffffffffffffffffffffffffffffff166116f7610fc0565b73ffffffffffffffffffffffffffffffffffffffff161461174d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117449061386e565b60405180910390fd5b6001600c60006101000a81548160ff021916908315150217905550565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806117dd57506117dc82612433565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166118cb83610c73565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061191c826117e4565b61195b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119529061374e565b60405180910390fd5b600061196683610c73565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806119a857506119a7818561123a565b5b806119e657508373ffffffffffffffffffffffffffffffffffffffff166119ce84610896565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611a0f82610c73565b73ffffffffffffffffffffffffffffffffffffffff1614611a65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a5c906136ae565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611ad5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611acc9061370e565b60405180910390fd5b611ae0838383612515565b611aeb600082611858565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611b3b9190613b26565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611b929190613a0e565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611c51838383612525565b505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611d8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d83906137ce565b60405180910390fd5b611d95816117e4565b15611dd5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dcc906136ee565b60405180910390fd5b611de160008383612515565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611e319190613a0e565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611ef260008383612525565b5050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611f65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f5c9061372e565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161205691906135f6565b60405180910390a3505050565b61206e8484846119ef565b61207a8484848461252a565b6120b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120b09061366e565b60405180910390fd5b50505050565b60606000821415612107576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061228f565b600082905060005b6000821461213957808061212290613ca4565b915050600a826121329190613a9b565b915061210f565b60008167ffffffffffffffff81111561217b577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156121ad5781602001600182028036833780820191505090505b50905060008290505b60008614612287576001816121cb9190613b26565b90506000600a80886121dd9190613a9b565b6121e79190613acc565b876121f29190613b26565b60306121fe9190613a64565b905060008160f81b905080848481518110612242577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8861227e9190613a9b565b975050506121b6565b819450505050505b919050565b60606000825114156122b75760405180602001604052806000815250905061242e565b600060405180606001604052806040815260200161452260409139905060006003600285516122e69190613a0e565b6122f09190613a9b565b60046122fc9190613acc565b9050600060208261230d9190613a0e565b67ffffffffffffffff81111561234c577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561237e5781602001600182028036833780820191505090505b509050818152600183018586518101602084015b818310156123ed576003830192508251603f8160121c168501518253600182019150603f81600c1c168501518253600182019150603f8160061c168501518253600182019150603f8116850151825360018201915050612392565b600389510660018114612407576002811461241757612422565b613d3d60f01b6002830352612422565b603d60f81b60018303525b50505050508093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806124fe57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061250e575061250d826126c1565b5b9050919050565b61252083838361272b565b505050565b505050565b600061254b8473ffffffffffffffffffffffffffffffffffffffff1661283f565b156126b4578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612574611850565b8786866040518563ffffffff1660e01b815260040161259694939291906135aa565b602060405180830381600087803b1580156125b057600080fd5b505af19250505080156125e157506040513d601f19601f820116820180604052508101906125de9190612efd565b60015b612664573d8060008114612611576040519150601f19603f3d011682016040523d82523d6000602084013e612616565b606091505b5060008151141561265c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126539061366e565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506126b9565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612736838383612862565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156127795761277481612867565b6127b8565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146127b7576127b683826128b0565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156127fb576127f681612a1d565b61283a565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612839576128388282612b60565b5b5b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016128bd84610d25565b6128c79190613b26565b90506000600760008481526020019081526020016000205490508181146129ac576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050612a319190613b26565b9050600060096000848152602001908152602001600020549050600060088381548110612a87577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110612acf577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480612b44577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000612b6b83610d25565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b6000612bf2612bed84613969565b613944565b905082815260208101848484011115612c0a57600080fd5b612c15848285613bff565b509392505050565b6000612c30612c2b8461399a565b613944565b905082815260208101848484011115612c4857600080fd5b612c53848285613c0e565b509392505050565b600081359050612c6a816144ae565b92915050565b600081359050612c7f816144c5565b92915050565b600081359050612c94816144dc565b92915050565b600081519050612ca9816144dc565b92915050565b600082601f830112612cc057600080fd5b8135612cd0848260208601612bdf565b91505092915050565b600082601f830112612cea57600080fd5b8151612cfa848260208601612c1d565b91505092915050565b600081359050612d12816144f3565b92915050565b600081359050612d278161450a565b92915050565b600060208284031215612d3f57600080fd5b6000612d4d84828501612c5b565b91505092915050565b60008060408385031215612d6957600080fd5b6000612d7785828601612c5b565b9250506020612d8885828601612c5b565b9150509250929050565b600080600060608486031215612da757600080fd5b6000612db586828701612c5b565b9350506020612dc686828701612c5b565b9250506040612dd786828701612d03565b9150509250925092565b60008060008060808587031215612df757600080fd5b6000612e0587828801612c5b565b9450506020612e1687828801612c5b565b9350506040612e2787828801612d03565b925050606085013567ffffffffffffffff811115612e4457600080fd5b612e5087828801612caf565b91505092959194509250565b60008060408385031215612e6f57600080fd5b6000612e7d85828601612c5b565b9250506020612e8e85828601612c70565b9150509250929050565b60008060408385031215612eab57600080fd5b6000612eb985828601612c5b565b9250506020612eca85828601612d03565b9150509250929050565b600060208284031215612ee657600080fd5b6000612ef484828501612c85565b91505092915050565b600060208284031215612f0f57600080fd5b6000612f1d84828501612c9a565b91505092915050565b600060208284031215612f3857600080fd5b600082015167ffffffffffffffff811115612f5257600080fd5b612f5e84828501612cd9565b91505092915050565b600060208284031215612f7957600080fd5b6000612f8784828501612d03565b91505092915050565b60008060408385031215612fa357600080fd5b6000612fb185828601612d03565b9250506020612fc285828601612d18565b9150509250929050565b612fd581613b5a565b82525050565b612fe481613b6c565b82525050565b6000612ff5826139cb565b612fff81856139e1565b935061300f818560208601613c0e565b61301881613de4565b840191505092915050565b61302c81613bdb565b82525050565b600061303d826139d6565b61304781856139f2565b9350613057818560208601613c0e565b61306081613de4565b840191505092915050565b6000613076826139d6565b6130808185613a03565b9350613090818560208601613c0e565b80840191505092915050565b60006130a9602b836139f2565b91506130b482613df5565b604082019050919050565b60006130cc6032836139f2565b91506130d782613e44565b604082019050919050565b60006130ef6026836139f2565b91506130fa82613e93565b604082019050919050565b60006131126025836139f2565b915061311d82613ee2565b604082019050919050565b60006131356009836139f2565b915061314082613f31565b602082019050919050565b6000613158601c836139f2565b915061316382613f5a565b602082019050919050565b600061317b6024836139f2565b915061318682613f83565b604082019050919050565b600061319e6019836139f2565b91506131a982613fd2565b602082019050919050565b60006131c1602c836139f2565b91506131cc82613ffb565b604082019050919050565b60006131e4603183613a03565b91506131ef8261404a565b603182019050919050565b60006132076038836139f2565b915061321282614099565b604082019050919050565b600061322a600183613a03565b9150613235826140e8565b600182019050919050565b600061324d602a836139f2565b915061325882614111565b604082019050919050565b6000613270601483613a03565b915061327b82614160565b601482019050919050565b60006132936029836139f2565b915061329e82614189565b604082019050919050565b60006132b66020836139f2565b91506132c1826141d8565b602082019050919050565b60006132d96006836139f2565b91506132e482614201565b602082019050919050565b60006132fc6003836139f2565b91506133078261422a565b602082019050919050565b600061331f602c836139f2565b915061332a82614253565b604082019050919050565b6000613342600c836139f2565b915061334d826142a2565b602082019050919050565b60006133656020836139f2565b9150613370826142cb565b602082019050919050565b6000613388600c836139f2565b9150613393826142f4565b602082019050919050565b60006133ab600b83613a03565b91506133b68261431d565b600b82019050919050565b60006133ce6021836139f2565b91506133d982614346565b604082019050919050565b60006133f1601d83613a03565b91506133fc82614395565b601d82019050919050565b60006134146031836139f2565b915061341f826143be565b604082019050919050565b6000613437602c836139f2565b91506134428261440d565b604082019050919050565b600061345a600483613a03565b91506134658261445c565b600482019050919050565b600061347d601a83613a03565b915061348882614485565b601a82019050919050565b61349c81613bc4565b82525050565b6134b36134ae82613bc4565b613ced565b82525050565b6134c281613bce565b82525050565b60006134d3826131d7565b91506134df828461306b565b91506134ea8261344d565b915081905092915050565b600061350082613263565b915061350c828661306b565b91506135178261339e565b91506135228261321d565b915061352d82613470565b9150613539828561306b565b9150613545828461306b565b9150819050949350505050565b600061355d826133e4565b9150613569828461306b565b915081905092915050565b600061358082846134a2565b60208201915081905092915050565b60006020820190506135a46000830184612fcc565b92915050565b60006080820190506135bf6000830187612fcc565b6135cc6020830186612fcc565b6135d96040830185613493565b81810360608301526135eb8184612fea565b905095945050505050565b600060208201905061360b6000830184612fdb565b92915050565b60006020820190506136266000830184613023565b92915050565b600060208201905081810360008301526136468184613032565b905092915050565b600060208201905081810360008301526136678161309c565b9050919050565b60006020820190508181036000830152613687816130bf565b9050919050565b600060208201905081810360008301526136a7816130e2565b9050919050565b600060208201905081810360008301526136c781613105565b9050919050565b600060208201905081810360008301526136e781613128565b9050919050565b600060208201905081810360008301526137078161314b565b9050919050565b600060208201905081810360008301526137278161316e565b9050919050565b6000602082019050818103600083015261374781613191565b9050919050565b60006020820190508181036000830152613767816131b4565b9050919050565b60006020820190508181036000830152613787816131fa565b9050919050565b600060208201905081810360008301526137a781613240565b9050919050565b600060208201905081810360008301526137c781613286565b9050919050565b600060208201905081810360008301526137e7816132a9565b9050919050565b60006020820190508181036000830152613807816132cc565b9050919050565b60006020820190508181036000830152613827816132ef565b9050919050565b6000602082019050818103600083015261384781613312565b9050919050565b6000602082019050818103600083015261386781613335565b9050919050565b6000602082019050818103600083015261388781613358565b9050919050565b600060208201905081810360008301526138a78161337b565b9050919050565b600060208201905081810360008301526138c7816133c1565b9050919050565b600060208201905081810360008301526138e781613407565b9050919050565b600060208201905081810360008301526139078161342a565b9050919050565b60006020820190506139236000830184613493565b92915050565b600060208201905061393e60008301846134b9565b92915050565b600061394e61395f565b905061395a8282613c73565b919050565b6000604051905090565b600067ffffffffffffffff82111561398457613983613db5565b5b61398d82613de4565b9050602081019050919050565b600067ffffffffffffffff8211156139b5576139b4613db5565b5b6139be82613de4565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000613a1982613bc4565b9150613a2483613bc4565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613a5957613a58613d28565b5b828201905092915050565b6000613a6f82613bce565b9150613a7a83613bce565b92508260ff03821115613a9057613a8f613d28565b5b828201905092915050565b6000613aa682613bc4565b9150613ab183613bc4565b925082613ac157613ac0613d57565b5b828204905092915050565b6000613ad782613bc4565b9150613ae283613bc4565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613b1b57613b1a613d28565b5b828202905092915050565b6000613b3182613bc4565b9150613b3c83613bc4565b925082821015613b4f57613b4e613d28565b5b828203905092915050565b6000613b6582613ba4565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b6000613be682613bed565b9050919050565b6000613bf882613ba4565b9050919050565b82818337600083830152505050565b60005b83811015613c2c578082015181840152602081019050613c11565b83811115613c3b576000848401525b50505050565b60006002820490506001821680613c5957607f821691505b60208210811415613c6d57613c6c613d86565b5b50919050565b613c7c82613de4565b810181811067ffffffffffffffff82111715613c9b57613c9a613db5565b5b80604052505050565b6000613caf82613bc4565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613ce257613ce1613d28565b5b600182019050919050565b6000819050919050565b6000613d0282613bc4565b9150613d0d83613bc4565b925082613d1d57613d1c613d57565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f21636f6e74726163740000000000000000000000000000000000000000000000600082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f222c202261747472696275746573223a5b7b202274726169745f74797065223a60008201527f20225465616d222c2276616c7565223a22000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f2200000000000000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f7b226e616d65223a225468652051756573742023000000000000000000000000600082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f2173746172740000000000000000000000000000000000000000000000000000600082015250565b7f2121210000000000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f216d617820726561636865640000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f21636f756e74206c696d69740000000000000000000000000000000000000000600082015250565b7f222c22696d616765223a20000000000000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f227d5d7d00000000000000000000000000000000000000000000000000000000600082015250565b7f646174613a696d6167652f7376672b786d6c3b6261736536342c000000000000600082015250565b6144b781613b5a565b81146144c257600080fd5b50565b6144ce81613b6c565b81146144d957600080fd5b50565b6144e581613b78565b81146144f057600080fd5b50565b6144fc81613bc4565b811461450757600080fd5b50565b61451381613bce565b811461451e57600080fd5b5056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220e23877e017f5263dbde0fc6c4d1db1362b30b4e29d29f1b971ccb082532e394b64736f6c63430008040033

Deployed Bytecode

0x6080604052600436106101c55760003560e01c80636352211e116100f7578063a22cb46511610095578063f0c136cb11610064578063f0c136cb146106aa578063f2fde38b146106d3578063fb2f1ffb146106fc578063fcfff16f14610725576101cc565b8063a22cb465146105de578063b88d4fde14610607578063c87b56dd14610630578063e985e9c51461066d576101cc565b806388672f0f116100d157806388672f0f146105345780638ada6b0f1461055d5780638da5cb5b1461058857806395d89b41146105b3576101cc565b80636352211e146104a357806370a08231146104e0578063715018a61461051d576101cc565b806318160ddd116101645780632f745c591161013e5780632f745c59146103d557806342842e0e1461041257806347535d7b1461043b5780634f6ccce714610466576101cc565b806318160ddd14610344578063197ebd531461036f57806323b872dd146103ac576101cc565b806306fdde03116101a057806306fdde0314610276578063081812fc146102a1578063095ea7b3146102de5780630e1af57b14610307576101cc565b80628e0f1b146101d157806301ffc9a71461020e578063047fc9aa1461024b576101cc565b366101cc57005b600080fd5b3480156101dd57600080fd5b506101f860048036038101906101f39190612f67565b61073c565b604051610205919061362c565b60405180910390f35b34801561021a57600080fd5b5061023560048036038101906102309190612ed4565b6107ec565b60405161024291906135f6565b60405180910390f35b34801561025757600080fd5b506102606107fe565b60405161026d919061390e565b60405180910390f35b34801561028257600080fd5b5061028b610804565b604051610298919061362c565b60405180910390f35b3480156102ad57600080fd5b506102c860048036038101906102c39190612f67565b610896565b6040516102d5919061358f565b60405180910390f35b3480156102ea57600080fd5b5061030560048036038101906103009190612e98565b61091b565b005b34801561031357600080fd5b5061032e60048036038101906103299190612f67565b610a33565b60405161033b919061390e565b60405180910390f35b34801561035057600080fd5b50610359610a77565b604051610366919061390e565b60405180910390f35b34801561037b57600080fd5b5061039660048036038101906103919190612f67565b610a84565b6040516103a39190613929565b60405180910390f35b3480156103b857600080fd5b506103d360048036038101906103ce9190612d92565b610aa4565b005b3480156103e157600080fd5b506103fc60048036038101906103f79190612e98565b610b04565b604051610409919061390e565b60405180910390f35b34801561041e57600080fd5b5061043960048036038101906104349190612d92565b610ba9565b005b34801561044757600080fd5b50610450610bc9565b60405161045d91906135f6565b60405180910390f35b34801561047257600080fd5b5061048d60048036038101906104889190612f67565b610bdc565b60405161049a919061390e565b60405180910390f35b3480156104af57600080fd5b506104ca60048036038101906104c59190612f67565b610c73565b6040516104d7919061358f565b60405180910390f35b3480156104ec57600080fd5b5061050760048036038101906105029190612d2d565b610d25565b604051610514919061390e565b60405180910390f35b34801561052957600080fd5b50610532610ddd565b005b34801561054057600080fd5b5061055b60048036038101906105569190612f90565b610e65565b005b34801561056957600080fd5b50610572610f9a565b60405161057f9190613611565b60405180910390f35b34801561059457600080fd5b5061059d610fc0565b6040516105aa919061358f565b60405180910390f35b3480156105bf57600080fd5b506105c8610fea565b6040516105d5919061362c565b60405180910390f35b3480156105ea57600080fd5b5061060560048036038101906106009190612e5c565b61107c565b005b34801561061357600080fd5b5061062e60048036038101906106299190612de1565b611092565b005b34801561063c57600080fd5b5061065760048036038101906106529190612f67565b6110f4565b604051610664919061362c565b60405180910390f35b34801561067957600080fd5b50610694600480360381019061068f9190612d56565b61123a565b6040516106a191906135f6565b60405180910390f35b3480156106b657600080fd5b506106d160048036038101906106cc9190612d2d565b6112ce565b005b3480156106df57600080fd5b506106fa60048036038101906106f59190612d2d565b61138e565b005b34801561070857600080fd5b50610723600480360381019061071e9190612f90565b611486565b005b34801561073157600080fd5b5061073a6116d1565b005b60606000600d600084815260200190815260200160002060009054906101000a900460ff16905060008160ff1614156107ad576040518060400160405280600581526020017f53776f72640000000000000000000000000000000000000000000000000000008152509150506107e7565b6040518060400160405280600681526020017f536869656c6400000000000000000000000000000000000000000000000000008152509150505b919050565b60006107f78261176a565b9050919050565b600b5481565b60606000805461081390613c41565b80601f016020809104026020016040519081016040528092919081815260200182805461083f90613c41565b801561088c5780601f106108615761010080835404028352916020019161088c565b820191906000526020600020905b81548152906001019060200180831161086f57829003601f168201915b5050505050905090565b60006108a1826117e4565b6108e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108d79061382e565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061092682610c73565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610997576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161098e906138ae565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166109b6611850565b73ffffffffffffffffffffffffffffffffffffffff1614806109e557506109e4816109df611850565b61123a565b5b610a24576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a1b9061376e565b60405180910390fd5b610a2e8383611858565b505050565b600080606483604051602001610a499190613574565b6040516020818303038152906040528051906020012060001c610a6c9190613cf7565b905080915050919050565b6000600880549050905090565b600d6020528060005260406000206000915054906101000a900460ff1681565b610ab5610aaf611850565b82611911565b610af4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aeb906138ce565b60405180910390fd5b610aff8383836119ef565b505050565b6000610b0f83610d25565b8210610b50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b479061364e565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610bc483838360405180602001604052806000815250611092565b505050565b600c60009054906101000a900460ff1681565b6000610be6610a77565b8210610c27576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c1e906138ee565b60405180910390fd5b60088281548110610c61577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610d1c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d13906137ae565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610d96576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d8d9061378e565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610de5611850565b73ffffffffffffffffffffffffffffffffffffffff16610e03610fc0565b73ffffffffffffffffffffffffffffffffffffffff1614610e59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e509061386e565b60405180910390fd5b610e636000611c56565b565b610e6d611850565b73ffffffffffffffffffffffffffffffffffffffff16610e8b610fc0565b73ffffffffffffffffffffffffffffffffffffffff1614610ee1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed89061386e565b60405180910390fd5b6110ad600b541115610f28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1f9061384e565b60405180910390fd5b60005b82811015610f9557610f3f33600b54611d1c565b81600d6000600b54815260200190815260200160002060006101000a81548160ff021916908360ff1602179055506001600b54610f7c9190613a0e565b600b819055508080610f8d90613ca4565b915050610f2b565b505050565b600c60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054610ff990613c41565b80601f016020809104026020016040519081016040528092919081815260200182805461102590613c41565b80156110725780601f1061104757610100808354040283529160200191611072565b820191906000526020600020905b81548152906001019060200180831161105557829003601f168201915b5050505050905090565b61108e611087611850565b8383611ef6565b5050565b6110a361109d611850565b83611911565b6110e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d9906138ce565b60405180910390fd5b6110ee84848484612063565b50505050565b60606000600c60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c321118c846040518263ffffffff1660e01b8152600401611153919061390e565b60006040518083038186803b15801561116b57600080fd5b505afa15801561117f573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906111a89190612f26565b905060006111b58461073c565b6040516020016111c591906134c8565b60405160208183030381529060405290506112126111e2856120bf565b6111eb84612294565b836040516020016111fe939291906134f5565b604051602081830303815290604052612294565b6040516020016112229190613552565b60405160208183030381529060405292505050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6112d6611850565b73ffffffffffffffffffffffffffffffffffffffff166112f4610fc0565b73ffffffffffffffffffffffffffffffffffffffff161461134a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113419061386e565b60405180910390fd5b80600c60016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b611396611850565b73ffffffffffffffffffffffffffffffffffffffff166113b4610fc0565b73ffffffffffffffffffffffffffffffffffffffff161461140a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114019061386e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561147a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114719061368e565b60405180910390fd5b61148381611c56565b50565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16146114f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114eb906136ce565b60405180910390fd5b60008160ff161480611509575060018160ff16145b611548576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153f9061380e565b60405180910390fd5b600c60009054906101000a900460ff168061159557503373ffffffffffffffffffffffffffffffffffffffff1661157d610fc0565b73ffffffffffffffffffffffffffffffffffffffff16145b6115d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115cb906137ee565b60405180910390fd5b6003821115611618576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161160f9061388e565b60405180910390fd5b610fa0600b54111561165f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116569061384e565b60405180910390fd5b60005b828110156116cc5761167633600b54611d1c565b81600d6000600b54815260200190815260200160002060006101000a81548160ff021916908360ff1602179055506001600b546116b39190613a0e565b600b8190555080806116c490613ca4565b915050611662565b505050565b6116d9611850565b73ffffffffffffffffffffffffffffffffffffffff166116f7610fc0565b73ffffffffffffffffffffffffffffffffffffffff161461174d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117449061386e565b60405180910390fd5b6001600c60006101000a81548160ff021916908315150217905550565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806117dd57506117dc82612433565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166118cb83610c73565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061191c826117e4565b61195b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119529061374e565b60405180910390fd5b600061196683610c73565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806119a857506119a7818561123a565b5b806119e657508373ffffffffffffffffffffffffffffffffffffffff166119ce84610896565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611a0f82610c73565b73ffffffffffffffffffffffffffffffffffffffff1614611a65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a5c906136ae565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611ad5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611acc9061370e565b60405180910390fd5b611ae0838383612515565b611aeb600082611858565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611b3b9190613b26565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611b929190613a0e565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611c51838383612525565b505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611d8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d83906137ce565b60405180910390fd5b611d95816117e4565b15611dd5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dcc906136ee565b60405180910390fd5b611de160008383612515565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611e319190613a0e565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611ef260008383612525565b5050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611f65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f5c9061372e565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161205691906135f6565b60405180910390a3505050565b61206e8484846119ef565b61207a8484848461252a565b6120b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120b09061366e565b60405180910390fd5b50505050565b60606000821415612107576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061228f565b600082905060005b6000821461213957808061212290613ca4565b915050600a826121329190613a9b565b915061210f565b60008167ffffffffffffffff81111561217b577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156121ad5781602001600182028036833780820191505090505b50905060008290505b60008614612287576001816121cb9190613b26565b90506000600a80886121dd9190613a9b565b6121e79190613acc565b876121f29190613b26565b60306121fe9190613a64565b905060008160f81b905080848481518110612242577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8861227e9190613a9b565b975050506121b6565b819450505050505b919050565b60606000825114156122b75760405180602001604052806000815250905061242e565b600060405180606001604052806040815260200161452260409139905060006003600285516122e69190613a0e565b6122f09190613a9b565b60046122fc9190613acc565b9050600060208261230d9190613a0e565b67ffffffffffffffff81111561234c577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561237e5781602001600182028036833780820191505090505b509050818152600183018586518101602084015b818310156123ed576003830192508251603f8160121c168501518253600182019150603f81600c1c168501518253600182019150603f8160061c168501518253600182019150603f8116850151825360018201915050612392565b600389510660018114612407576002811461241757612422565b613d3d60f01b6002830352612422565b603d60f81b60018303525b50505050508093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806124fe57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061250e575061250d826126c1565b5b9050919050565b61252083838361272b565b505050565b505050565b600061254b8473ffffffffffffffffffffffffffffffffffffffff1661283f565b156126b4578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612574611850565b8786866040518563ffffffff1660e01b815260040161259694939291906135aa565b602060405180830381600087803b1580156125b057600080fd5b505af19250505080156125e157506040513d601f19601f820116820180604052508101906125de9190612efd565b60015b612664573d8060008114612611576040519150601f19603f3d011682016040523d82523d6000602084013e612616565b606091505b5060008151141561265c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126539061366e565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506126b9565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612736838383612862565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156127795761277481612867565b6127b8565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146127b7576127b683826128b0565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156127fb576127f681612a1d565b61283a565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612839576128388282612b60565b5b5b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016128bd84610d25565b6128c79190613b26565b90506000600760008481526020019081526020016000205490508181146129ac576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050612a319190613b26565b9050600060096000848152602001908152602001600020549050600060088381548110612a87577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110612acf577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480612b44577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000612b6b83610d25565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b6000612bf2612bed84613969565b613944565b905082815260208101848484011115612c0a57600080fd5b612c15848285613bff565b509392505050565b6000612c30612c2b8461399a565b613944565b905082815260208101848484011115612c4857600080fd5b612c53848285613c0e565b509392505050565b600081359050612c6a816144ae565b92915050565b600081359050612c7f816144c5565b92915050565b600081359050612c94816144dc565b92915050565b600081519050612ca9816144dc565b92915050565b600082601f830112612cc057600080fd5b8135612cd0848260208601612bdf565b91505092915050565b600082601f830112612cea57600080fd5b8151612cfa848260208601612c1d565b91505092915050565b600081359050612d12816144f3565b92915050565b600081359050612d278161450a565b92915050565b600060208284031215612d3f57600080fd5b6000612d4d84828501612c5b565b91505092915050565b60008060408385031215612d6957600080fd5b6000612d7785828601612c5b565b9250506020612d8885828601612c5b565b9150509250929050565b600080600060608486031215612da757600080fd5b6000612db586828701612c5b565b9350506020612dc686828701612c5b565b9250506040612dd786828701612d03565b9150509250925092565b60008060008060808587031215612df757600080fd5b6000612e0587828801612c5b565b9450506020612e1687828801612c5b565b9350506040612e2787828801612d03565b925050606085013567ffffffffffffffff811115612e4457600080fd5b612e5087828801612caf565b91505092959194509250565b60008060408385031215612e6f57600080fd5b6000612e7d85828601612c5b565b9250506020612e8e85828601612c70565b9150509250929050565b60008060408385031215612eab57600080fd5b6000612eb985828601612c5b565b9250506020612eca85828601612d03565b9150509250929050565b600060208284031215612ee657600080fd5b6000612ef484828501612c85565b91505092915050565b600060208284031215612f0f57600080fd5b6000612f1d84828501612c9a565b91505092915050565b600060208284031215612f3857600080fd5b600082015167ffffffffffffffff811115612f5257600080fd5b612f5e84828501612cd9565b91505092915050565b600060208284031215612f7957600080fd5b6000612f8784828501612d03565b91505092915050565b60008060408385031215612fa357600080fd5b6000612fb185828601612d03565b9250506020612fc285828601612d18565b9150509250929050565b612fd581613b5a565b82525050565b612fe481613b6c565b82525050565b6000612ff5826139cb565b612fff81856139e1565b935061300f818560208601613c0e565b61301881613de4565b840191505092915050565b61302c81613bdb565b82525050565b600061303d826139d6565b61304781856139f2565b9350613057818560208601613c0e565b61306081613de4565b840191505092915050565b6000613076826139d6565b6130808185613a03565b9350613090818560208601613c0e565b80840191505092915050565b60006130a9602b836139f2565b91506130b482613df5565b604082019050919050565b60006130cc6032836139f2565b91506130d782613e44565b604082019050919050565b60006130ef6026836139f2565b91506130fa82613e93565b604082019050919050565b60006131126025836139f2565b915061311d82613ee2565b604082019050919050565b60006131356009836139f2565b915061314082613f31565b602082019050919050565b6000613158601c836139f2565b915061316382613f5a565b602082019050919050565b600061317b6024836139f2565b915061318682613f83565b604082019050919050565b600061319e6019836139f2565b91506131a982613fd2565b602082019050919050565b60006131c1602c836139f2565b91506131cc82613ffb565b604082019050919050565b60006131e4603183613a03565b91506131ef8261404a565b603182019050919050565b60006132076038836139f2565b915061321282614099565b604082019050919050565b600061322a600183613a03565b9150613235826140e8565b600182019050919050565b600061324d602a836139f2565b915061325882614111565b604082019050919050565b6000613270601483613a03565b915061327b82614160565b601482019050919050565b60006132936029836139f2565b915061329e82614189565b604082019050919050565b60006132b66020836139f2565b91506132c1826141d8565b602082019050919050565b60006132d96006836139f2565b91506132e482614201565b602082019050919050565b60006132fc6003836139f2565b91506133078261422a565b602082019050919050565b600061331f602c836139f2565b915061332a82614253565b604082019050919050565b6000613342600c836139f2565b915061334d826142a2565b602082019050919050565b60006133656020836139f2565b9150613370826142cb565b602082019050919050565b6000613388600c836139f2565b9150613393826142f4565b602082019050919050565b60006133ab600b83613a03565b91506133b68261431d565b600b82019050919050565b60006133ce6021836139f2565b91506133d982614346565b604082019050919050565b60006133f1601d83613a03565b91506133fc82614395565b601d82019050919050565b60006134146031836139f2565b915061341f826143be565b604082019050919050565b6000613437602c836139f2565b91506134428261440d565b604082019050919050565b600061345a600483613a03565b91506134658261445c565b600482019050919050565b600061347d601a83613a03565b915061348882614485565b601a82019050919050565b61349c81613bc4565b82525050565b6134b36134ae82613bc4565b613ced565b82525050565b6134c281613bce565b82525050565b60006134d3826131d7565b91506134df828461306b565b91506134ea8261344d565b915081905092915050565b600061350082613263565b915061350c828661306b565b91506135178261339e565b91506135228261321d565b915061352d82613470565b9150613539828561306b565b9150613545828461306b565b9150819050949350505050565b600061355d826133e4565b9150613569828461306b565b915081905092915050565b600061358082846134a2565b60208201915081905092915050565b60006020820190506135a46000830184612fcc565b92915050565b60006080820190506135bf6000830187612fcc565b6135cc6020830186612fcc565b6135d96040830185613493565b81810360608301526135eb8184612fea565b905095945050505050565b600060208201905061360b6000830184612fdb565b92915050565b60006020820190506136266000830184613023565b92915050565b600060208201905081810360008301526136468184613032565b905092915050565b600060208201905081810360008301526136678161309c565b9050919050565b60006020820190508181036000830152613687816130bf565b9050919050565b600060208201905081810360008301526136a7816130e2565b9050919050565b600060208201905081810360008301526136c781613105565b9050919050565b600060208201905081810360008301526136e781613128565b9050919050565b600060208201905081810360008301526137078161314b565b9050919050565b600060208201905081810360008301526137278161316e565b9050919050565b6000602082019050818103600083015261374781613191565b9050919050565b60006020820190508181036000830152613767816131b4565b9050919050565b60006020820190508181036000830152613787816131fa565b9050919050565b600060208201905081810360008301526137a781613240565b9050919050565b600060208201905081810360008301526137c781613286565b9050919050565b600060208201905081810360008301526137e7816132a9565b9050919050565b60006020820190508181036000830152613807816132cc565b9050919050565b60006020820190508181036000830152613827816132ef565b9050919050565b6000602082019050818103600083015261384781613312565b9050919050565b6000602082019050818103600083015261386781613335565b9050919050565b6000602082019050818103600083015261388781613358565b9050919050565b600060208201905081810360008301526138a78161337b565b9050919050565b600060208201905081810360008301526138c7816133c1565b9050919050565b600060208201905081810360008301526138e781613407565b9050919050565b600060208201905081810360008301526139078161342a565b9050919050565b60006020820190506139236000830184613493565b92915050565b600060208201905061393e60008301846134b9565b92915050565b600061394e61395f565b905061395a8282613c73565b919050565b6000604051905090565b600067ffffffffffffffff82111561398457613983613db5565b5b61398d82613de4565b9050602081019050919050565b600067ffffffffffffffff8211156139b5576139b4613db5565b5b6139be82613de4565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000613a1982613bc4565b9150613a2483613bc4565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613a5957613a58613d28565b5b828201905092915050565b6000613a6f82613bce565b9150613a7a83613bce565b92508260ff03821115613a9057613a8f613d28565b5b828201905092915050565b6000613aa682613bc4565b9150613ab183613bc4565b925082613ac157613ac0613d57565b5b828204905092915050565b6000613ad782613bc4565b9150613ae283613bc4565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613b1b57613b1a613d28565b5b828202905092915050565b6000613b3182613bc4565b9150613b3c83613bc4565b925082821015613b4f57613b4e613d28565b5b828203905092915050565b6000613b6582613ba4565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b6000613be682613bed565b9050919050565b6000613bf882613ba4565b9050919050565b82818337600083830152505050565b60005b83811015613c2c578082015181840152602081019050613c11565b83811115613c3b576000848401525b50505050565b60006002820490506001821680613c5957607f821691505b60208210811415613c6d57613c6c613d86565b5b50919050565b613c7c82613de4565b810181811067ffffffffffffffff82111715613c9b57613c9a613db5565b5b80604052505050565b6000613caf82613bc4565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613ce257613ce1613d28565b5b600182019050919050565b6000819050919050565b6000613d0282613bc4565b9150613d0d83613bc4565b925082613d1d57613d1c613d57565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f21636f6e74726163740000000000000000000000000000000000000000000000600082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f222c202261747472696275746573223a5b7b202274726169745f74797065223a60008201527f20225465616d222c2276616c7565223a22000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f2200000000000000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f7b226e616d65223a225468652051756573742023000000000000000000000000600082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f2173746172740000000000000000000000000000000000000000000000000000600082015250565b7f2121210000000000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f216d617820726561636865640000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f21636f756e74206c696d69740000000000000000000000000000000000000000600082015250565b7f222c22696d616765223a20000000000000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f227d5d7d00000000000000000000000000000000000000000000000000000000600082015250565b7f646174613a696d6167652f7376672b786d6c3b6261736536342c000000000000600082015250565b6144b781613b5a565b81146144c257600080fd5b50565b6144ce81613b6c565b81146144d957600080fd5b50565b6144e581613b78565b81146144f057600080fd5b50565b6144fc81613bc4565b811461450757600080fd5b50565b61451381613bce565b811461451e57600080fd5b5056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220e23877e017f5263dbde0fc6c4d1db1362b30b4e29d29f1b971ccb082532e394b64736f6c63430008040033

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.