Contract 0x164724186c7394243a6f40d36c06aecef633f9af 1

Contract Overview

Balance:
0 MATIC
Txn Hash Method
Block
From
To
Value [Txn Fee]
0xf3eb7c4e71fa5bb2c18f8caeaedab730d2f55da47b28c8eaa96198f112137647Mint269881602022-07-01 15:01:3117 hrs 25 mins ago0x930f91f777cb09fe38f23da3eb941e68f5819a33 IN  0x164724186c7394243a6f40d36c06aecef633f9af0 MATIC0.008008324451 29.929270118
0xd25ffd26824319fefd0813b4afe93119f328ea782c6af3201a93d3a3cd692c70Approve269878282022-07-01 14:32:5017 hrs 54 mins ago0x930f91f777cb09fe38f23da3eb941e68f5819a33 IN  0x164724186c7394243a6f40d36c06aecef633f9af0 MATIC0.001621772885 32.962193563
0xd18eb3a752acca8ab955abee03110c3b90c7b901f3d98a6fd8fc7191d80fae53Approve269876302022-07-01 14:11:5218 hrs 15 mins ago0x930f91f777cb09fe38f23da3eb941e68f5819a33 IN  0x164724186c7394243a6f40d36c06aecef633f9af0 MATIC0.001548647773 31.475941
0xdb3130f2fe8847b9b380a69cb976442162a9ad213f61ebd3aca4d3793322bd22Mint269875992022-07-01 14:09:1718 hrs 17 mins ago0x930f91f777cb09fe38f23da3eb941e68f5819a33 IN  0x164724186c7394243a6f40d36c06aecef633f9af0 MATIC0.00981729407 36.689877867
0x1f36ee874cc5d2f0119626d414aec4f6d6435e733f5734c43b0111f65613a91cMint269875742022-07-01 14:07:1118 hrs 19 mins ago0x930f91f777cb09fe38f23da3eb941e68f5819a33 IN  0x164724186c7394243a6f40d36c06aecef633f9af0 MATIC0.010268077367 38.374576728
0x52324a0442120d147c62158bd72de9914763a08c034b8d5c448fe0408709919cApprove269871482022-07-01 13:31:3518 hrs 55 mins ago0x930f91f777cb09fe38f23da3eb941e68f5819a33 IN  0x164724186c7394243a6f40d36c06aecef633f9af0 MATIC0.001476489139 30.009331911
0xa8e79d5ea5f72af8002088241e26d76eb1570ac42f2b4db7850801aafdda66e8Mint269871072022-07-01 13:25:4919 hrs 1 min ago0x930f91f777cb09fe38f23da3eb941e68f5819a33 IN  0x164724186c7394243a6f40d36c06aecef633f9af0 MATIC0.008744685388 32.681249699
0xa087dc150c769490e8ac03c59454932161bc73ac4a2399fb500209d493a5147fApprove269871022022-07-01 13:24:5919 hrs 2 mins ago0x930f91f777cb09fe38f23da3eb941e68f5819a33 IN  0x164724186c7394243a6f40d36c06aecef633f9af0 MATIC0.001605372943 32.628868189
0xc06c984eebba601f05c80c35511121f8851762da2ba3c2b2e044da9ebb7128c0Mint269865332022-07-01 12:34:5019 hrs 52 mins ago0x930f91f777cb09fe38f23da3eb941e68f5819a33 IN  0x164724186c7394243a6f40d36c06aecef633f9af0 MATIC0.008457215233 31.606896136
0x28315757fc1c9284e56bf24eea50f46d70020bfc31e9df4253223b7086549ca0Approve269864982022-07-01 12:31:5519 hrs 55 mins ago0x930f91f777cb09fe38f23da3eb941e68f5819a33 IN  0x164724186c7394243a6f40d36c06aecef633f9af0 MATIC0.001540662382 31.313639621
0x6df6f3578c981cf3cd822e64bd194cfbcd77617fb8e0282141b147b82fda1a67Approve269864622022-07-01 12:28:5419 hrs 58 mins ago0x930f91f777cb09fe38f23da3eb941e68f5819a33 IN  0x164724186c7394243a6f40d36c06aecef633f9af0 MATIC0.001589582571 32.307932188
0xf018a0674a29eadd20e30b5f9d97d06ad7f9dfe651f0cc31d9cd6b2f41efffccMint269864182022-07-01 12:24:0820 hrs 2 mins ago0x930f91f777cb09fe38f23da3eb941e68f5819a33 IN  0x164724186c7394243a6f40d36c06aecef633f9af0 MATIC0.013111175 49
0x998787934f89f05e62117664724f106940d6ac03de0e7446cf72df2ee86da54bMint269864092022-07-01 12:22:3820 hrs 4 mins ago0x930f91f777cb09fe38f23da3eb941e68f5819a33 IN  0x164724186c7394243a6f40d36c06aecef633f9af0 MATIC0.008754440919 32.717708754
0x53ebce31d0b28ad8eb8511e2759b7373ed7f460c09662f46489f07a74d23058aApprove269860482022-07-01 11:48:5820 hrs 38 mins ago0xb3cfaaea97a75aca4e6e105ebec6e1ce775230f2 IN  0x164724186c7394243a6f40d36c06aecef633f9af0 MATIC0.001470227954 29.88207465
0xab8c1f1b0e6fe566450e68d0742e02ed0742a6f077edbf4d6db9b0e91486190fMint269853492022-07-01 10:45:1221 hrs 41 mins ago0xb39fe0195910735a2a1b83dc5686ff68bb378310 IN  0x164724186c7394243a6f40d36c06aecef633f9af0 MATIC0.0078182225 29.218807813
0xcd2476cde3a86a3e7d0a3cbae4318c7585bb350e9ef976582a51227a7d6c5c1eMint269853492022-07-01 10:45:1221 hrs 41 mins ago0xb39fe0195910735a2a1b83dc5686ff68bb378310 IN  0x164724186c7394243a6f40d36c06aecef633f9af0 MATIC0.007836940015 29.288760218
0xf59103db576d6f5f0f233a4a784ccbd3345f5700d55a0600ae4721a5387400b0Mint269853482022-07-01 10:45:0721 hrs 41 mins ago0xb3cfaaea97a75aca4e6e105ebec6e1ce775230f2 IN  0x164724186c7394243a6f40d36c06aecef633f9af0 MATIC0.007866607467 29.399635494
0xda6b395426d0b80dfe5b65f475f495411ea34d9798a11ddfad4e96f787a30390Mint269853472022-07-01 10:45:0221 hrs 41 mins ago0xb3cfaaea97a75aca4e6e105ebec6e1ce775230f2 IN  0x164724186c7394243a6f40d36c06aecef633f9af0 MATIC0.007889290005 29.484406263
0xcfdc3eb90a4267eb9ab6ba360785e6de41a5b16fc98ace1e828a5b1f3a87961fApprove269853472022-07-01 10:45:0221 hrs 41 mins ago0xeae795d22bdbaecad3e0fff2994e23c481059c67 IN  0x164724186c7394243a6f40d36c06aecef633f9af0 MATIC0.001452952419 29.530953021
0xcc9277ac3816f83591a2ec73a73b61a226d848922ee7614dcf37ef1f62b6a822Set Royalty269848442022-07-01 9:57:3922 hrs 29 mins ago0xeae795d22bdbaecad3e0fff2994e23c481059c67 IN  0x164724186c7394243a6f40d36c06aecef633f9af0 MATIC0.001682883588 32.234209093
0xa99fd07d0964486498ae785daf6c3d18eec26aba3dc7190d193fb68034df6692Mint269848312022-07-01 9:56:3322 hrs 30 mins ago0xeae795d22bdbaecad3e0fff2994e23c481059c67 IN  0x164724186c7394243a6f40d36c06aecef633f9af0 MATIC0.008769596188 33.120937356
0xb60fbd4023812f5529a4cd9764df8e95f08a9961a3ab9e4a96d80b625ddbc6b0Approve269846762022-07-01 9:43:3622 hrs 43 mins ago0xb3cfaaea97a75aca4e6e105ebec6e1ce775230f2 IN  0x164724186c7394243a6f40d36c06aecef633f9af0 MATIC0.000113418391 2.305205004
0xba601664fe64dd343ab791b1ef5f62cb7205bff0347512c743d63228cbc8c2f9Approve269846652022-07-01 9:42:4122 hrs 44 mins ago0xeae795d22bdbaecad3e0fff2994e23c481059c67 IN  0x164724186c7394243a6f40d36c06aecef633f9af0 MATIC0.000119312425 2.425000018
0x37e3f8c277bbe7fd9c24b3c77f8dfc772ac48d9330568acf2b46b3d89109ae6dMint269846632022-07-01 9:42:3122 hrs 44 mins ago0xb3cfaaea97a75aca4e6e105ebec6e1ce775230f2 IN  0x164724186c7394243a6f40d36c06aecef633f9af0 MATIC0.000401362505 1.500000022
0x149962bfa3a9d210d23be920198245a339cadf288f84b2b177fa09cae916f7a9Set Royalty269846582022-07-01 9:42:0622 hrs 44 mins ago0xeae795d22bdbaecad3e0fff2994e23c481059c67 IN  0x164724186c7394243a6f40d36c06aecef633f9af0 MATIC0.000126604401 2.425000025
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
OOMNFT

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 18 : OOMNFT.sol
//SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/interfaces/IERC2981.sol";
import "./interfaces/IOOMNFT.sol";

contract OOMNFT is IOOMNFT, ERC721Enumerable, ERC721URIStorage, IERC2981, Ownable {
    using Strings for uint256;
    // MAX supply of collection
    uint256 public maxSupply;

    // creators
    mapping(uint256 => address) public creators;

    struct RoyaltyInfo {
        address receiver; // The payment receiver of royalty
        uint16 rate; // The rate of the payment
    }

    // royalties
    mapping(uint256 => RoyaltyInfo) private royalties;

    // MAX royalty percent
    uint16 public constant MAX_ROYALTY = 500;

    event Minted(address indexed minter, address indexed to, string uri, uint256 tokenId);

    event AdminMinted(uint256 qty, address indexed to);

    event SetRoyalty(uint256 tokenId, address receiver, uint256 rate);

    event SetMaxSupply(uint256 maxSupply);

    /**
     * @dev Mapping of interface ids to whether or not it's supported.
     */
    mapping(bytes4 => bool) private _supportedInterfaces;

    bytes4 private constant _INTERFACE_ID_ERC2981 = 0x2a55205a;

    constructor(address _owner) ERC721("ONE_OF_THE_MINT", "OOMNFT")  {
        require(_owner != address(0), "Invalid owner address");
        _transferOwnership(_owner);

        _registerInterface(_INTERFACE_ID_ERC2981);

        maxSupply = 10000;
    }

    /**
     * @dev Registers the contract as an implementer of the interface defined by
     * `interfaceId`. Support of the actual ERC165 interface is automatic and
     * registering its interface id is not required.
     *
     * See {IERC165-supportsInterface}.
     *
     * Requirements:
     *
     * - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`).
     */
    function _registerInterface(bytes4 interfaceId) internal virtual {
        require(interfaceId != 0xffffffff, "ERC165: invalid interface id");
        _supportedInterfaces[interfaceId] = true;
    }

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

    /**************************
     ***** MINT FUNCTIONS *****
     *************************/
    function mint(address _to, string memory uri) external  {
        require(totalSupply() + 1 <= maxSupply, "NFT: out of stock");
        require(_to != address(0), "NFT: invalid address");

        // Using tokenId in the loop instead of totalSupply() + 1,
        // because totalSupply() changed after _safeMint function call.
        uint256 tokenId = totalSupply() + 1;
        _safeMint(_to, tokenId);
        _setTokenURI(tokenId, uri);
        if (msg.sender == tx.origin) {
            creators[tokenId] = msg.sender;
        } else {
            creators[tokenId] = address(0);
        }

        emit Minted(msg.sender, _to, uri, tokenId);
    }

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

    function tokensOfOwner(address _owner) public view returns (uint256[] memory) {
        uint256 balance = balanceOf(_owner);
        uint256[] memory ids = new uint256[](balance);
        for (uint256 i = 0; i < balance; i++) {
            ids[i] = tokenOfOwnerByIndex(_owner, i);
        }
        return ids;
    }

    function exists(uint256 _id) external view returns (bool) {
        return _exists(_id);
    }


    function clearStuckTokens(IERC20 erc20) external onlyOwner {
        uint256 balance = erc20.balanceOf(address(this));
        erc20.transfer(msg.sender, balance);
    }

    function royaltyInfo(uint256 _tokenId, uint256 _salePrice)
        external
        view
        override
        returns (address receiver, uint256 royaltyAmount)
    {
        receiver = royalties[_tokenId].receiver;
        if (royalties[_tokenId].rate > 0 && royalties[_tokenId].receiver != address(0)) {
            royaltyAmount = (_salePrice * royalties[_tokenId].rate) / 10000;
        }
    }
    function _beforeTokenTransfer(address from, address to, uint256 tokenId)
        internal
        override(ERC721, ERC721Enumerable)
    {
        super._beforeTokenTransfer(from, to, tokenId);
    }
    function _burn(uint256 tokenId) internal override(ERC721, ERC721URIStorage) {
        super._burn(tokenId);
    }

    function setRoyalty(
        uint256 _tokenId,
        address _receiver,
        uint16 _royalty
    ) external {
        require(creators[_tokenId] == msg.sender, "NFT: Invalid creator");
        require(creators[_tokenId] == ownerOf(_tokenId), "NFT: Cannot set royalty after transfer");
        require(_receiver != address(0), "NFT: invalid royalty receiver");
        require(_royalty <= MAX_ROYALTY, "NFT: Invalid royalty percentage");

        royalties[_tokenId].receiver = _receiver;
        royalties[_tokenId].rate = _royalty;

        emit SetRoyalty(_tokenId, _receiver, _royalty);
    }

    function setMaxSupply(uint256 _maxSupply) external onlyOwner {
        require(_maxSupply > maxSupply, "The max supply should larger than current value");
        maxSupply = _maxSupply;

        emit SetMaxSupply(_maxSupply);
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "../ERC721.sol";

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

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

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

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

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

        return super.tokenURI(tokenId);
    }

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

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

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

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

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `from` to `to` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

File 7 of 18 : IERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (interfaces/IERC2981.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Interface for the NFT Royalty Standard.
 *
 * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal
 * support for royalty payments across all NFT marketplaces and ecosystem participants.
 *
 * _Available since v4.5._
 */
interface IERC2981 is IERC165 {
    /**
     * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of
     * exchange. The royalty amount is denominated and should be payed in that same unit of exchange.
     */
    function royaltyInfo(uint256 tokenId, uint256 salePrice)
        external
        view
        returns (address receiver, uint256 royaltyAmount);
}

File 8 of 18 : IOOMNFT.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

interface IOOMNFT {
    function mint(address _to, string memory uri) external;
}

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

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

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

Contract ABI

[{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"qty","type":"uint256"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"AdminMinted","type":"event"},{"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":"minter","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"string","name":"uri","type":"string"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Minted","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":false,"internalType":"uint256","name":"maxSupply","type":"uint256"}],"name":"SetMaxSupply","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"address","name":"receiver","type":"address"},{"indexed":false,"internalType":"uint256","name":"rate","type":"uint256"}],"name":"SetRoyalty","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_ROYALTY","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"erc20","type":"address"}],"name":"clearStuckTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"creators","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"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":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"string","name":"uri","type":"string"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","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":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"address","name":"_receiver","type":"address"},{"internalType":"uint16","name":"_royalty","type":"uint16"}],"name":"setRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b50604051620050dd380380620050dd833981810160405281019062000037919062000464565b6040518060400160405280600f81526020017f4f4e455f4f465f5448455f4d494e5400000000000000000000000000000000008152506040518060400160405280600681526020017f4f4f4d4e465400000000000000000000000000000000000000000000000000008152508160009080519060200190620000bb9291906200034a565b508060019080519060200190620000d49291906200034a565b505050620000f7620000eb620001a360201b60201c565b620001ab60201b60201c565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156200016a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200016190620004f7565b60405180910390fd5b6200017b81620001ab60201b60201c565b62000193632a55205a60e01b6200027160201b60201c565b612710600c8190555050620005f0565b600033905090565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b63ffffffff60e01b817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161415620002dd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002d49062000569565b60405180910390fd5b6001600f6000837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b8280546200035890620005ba565b90600052602060002090601f0160209004810192826200037c5760008555620003c8565b82601f106200039757805160ff1916838001178555620003c8565b82800160010185558215620003c8579182015b82811115620003c7578251825591602001919060010190620003aa565b5b509050620003d79190620003db565b5090565b5b80821115620003f6576000816000905550600101620003dc565b5090565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200042c82620003ff565b9050919050565b6200043e816200041f565b81146200044a57600080fd5b50565b6000815190506200045e8162000433565b92915050565b6000602082840312156200047d576200047c620003fa565b5b60006200048d848285016200044d565b91505092915050565b600082825260208201905092915050565b7f496e76616c6964206f776e657220616464726573730000000000000000000000600082015250565b6000620004df60158362000496565b9150620004ec82620004a7565b602082019050919050565b600060208201905081810360008301526200051281620004d0565b9050919050565b7f4552433136353a20696e76616c696420696e7465726661636520696400000000600082015250565b600062000551601c8362000496565b91506200055e8262000519565b602082019050919050565b60006020820190508181036000830152620005848162000542565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620005d357607f821691505b60208210811415620005ea57620005e96200058b565b5b50919050565b614add80620006006000396000f3fe608060405234801561001057600080fd5b50600436106101cf5760003560e01c806370a0823111610104578063c87b56dd116100a2578063d83e5f4d11610071578063d83e5f4d14610565578063e065455c14610583578063e985e9c51461059f578063f2fde38b146105cf576101cf565b8063c87b56dd146104cb578063cd53d08e146104fb578063d0def5211461052b578063d5abeb0114610547576101cf565b80638da5cb5b116100de5780638da5cb5b1461045757806395d89b4114610475578063a22cb46514610493578063b88d4fde146104af576101cf565b806370a08231146103ed578063715018a61461041d5780638462151c14610427576101cf565b80632f745c59116101715780634f558e791161014b5780634f558e79146103415780634f6ccce7146103715780636352211e146103a15780636f8b44b0146103d1576101cf565b80632f745c59146102d9578063346cc7be1461030957806342842e0e14610325576101cf565b8063095ea7b3116101ad578063095ea7b31461025257806318160ddd1461026e57806323b872dd1461028c5780632a55205a146102a8576101cf565b806301ffc9a7146101d457806306fdde0314610204578063081812fc14610222575b600080fd5b6101ee60048036038101906101e99190612ec3565b6105eb565b6040516101fb9190612f0b565b60405180910390f35b61020c610663565b6040516102199190612fbf565b60405180910390f35b61023c60048036038101906102379190613017565b6106f5565b6040516102499190613085565b60405180910390f35b61026c600480360381019061026791906130cc565b61077a565b005b610276610892565b604051610283919061311b565b60405180910390f35b6102a660048036038101906102a19190613136565b61089f565b005b6102c260048036038101906102bd9190613189565b6108ff565b6040516102d09291906131c9565b60405180910390f35b6102f360048036038101906102ee91906130cc565b610a26565b604051610300919061311b565b60405180910390f35b610323600480360381019061031e9190613230565b610acb565b005b61033f600480360381019061033a9190613136565b610c66565b005b61035b60048036038101906103569190613017565b610c86565b6040516103689190612f0b565b60405180910390f35b61038b60048036038101906103869190613017565b610c98565b604051610398919061311b565b60405180910390f35b6103bb60048036038101906103b69190613017565b610d09565b6040516103c89190613085565b60405180910390f35b6103eb60048036038101906103e69190613017565b610dbb565b005b6104076004803603810190610402919061325d565b610ebc565b604051610414919061311b565b60405180910390f35b610425610f74565b005b610441600480360381019061043c919061325d565b610ffc565b60405161044e9190613348565b60405180910390f35b61045f6110aa565b60405161046c9190613085565b60405180910390f35b61047d6110d4565b60405161048a9190612fbf565b60405180910390f35b6104ad60048036038101906104a89190613396565b611166565b005b6104c960048036038101906104c4919061350b565b61117c565b005b6104e560048036038101906104e09190613017565b6111de565b6040516104f29190612fbf565b60405180910390f35b61051560048036038101906105109190613017565b6111f0565b6040516105229190613085565b60405180910390f35b6105456004803603810190610540919061362f565b611223565b005b61054f611462565b60405161055c919061311b565b60405180910390f35b61056d611468565b60405161057a91906136a8565b60405180910390f35b61059d600480360381019061059891906136ef565b61146e565b005b6105b960048036038101906105b49190613742565b61173b565b6040516105c69190612f0b565b60405180910390f35b6105e960048036038101906105e4919061325d565b6117cf565b005b60006105f6826118c7565b8061065c5750600f6000837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060009054906101000a900460ff165b9050919050565b606060008054610672906137b1565b80601f016020809104026020016040519081016040528092919081815260200182805461069e906137b1565b80156106eb5780601f106106c0576101008083540402835291602001916106eb565b820191906000526020600020905b8154815290600101906020018083116106ce57829003601f168201915b5050505050905090565b600061070082611941565b61073f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161073690613855565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061078582610d09565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156107f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107ed906138e7565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166108156119ad565b73ffffffffffffffffffffffffffffffffffffffff16148061084457506108438161083e6119ad565b61173b565b5b610883576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161087a90613979565b60405180910390fd5b61088d83836119b5565b505050565b6000600880549050905090565b6108b06108aa6119ad565b82611a6e565b6108ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108e690613a0b565b60405180910390fd5b6108fa838383611b4c565b505050565b600080600e600085815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1691506000600e600086815260200190815260200160002060000160149054906101000a900461ffff1661ffff161180156109d65750600073ffffffffffffffffffffffffffffffffffffffff16600e600086815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b15610a1f57612710600e600086815260200190815260200160002060000160149054906101000a900461ffff1661ffff1684610a129190613a5a565b610a1c9190613ae3565b90505b9250929050565b6000610a3183610ebc565b8210610a72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a6990613b86565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610ad36119ad565b73ffffffffffffffffffffffffffffffffffffffff16610af16110aa565b73ffffffffffffffffffffffffffffffffffffffff1614610b47576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3e90613bf2565b60405180910390fd5b60008173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610b829190613085565b60206040518083038186803b158015610b9a57600080fd5b505afa158015610bae573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bd29190613c27565b90508173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b8152600401610c0f9291906131c9565b602060405180830381600087803b158015610c2957600080fd5b505af1158015610c3d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c619190613c69565b505050565b610c818383836040518060200160405280600081525061117c565b505050565b6000610c9182611941565b9050919050565b6000610ca2610892565b8210610ce3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cda90613d08565b60405180910390fd5b60088281548110610cf757610cf6613d28565b5b90600052602060002001549050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610db2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da990613dc9565b60405180910390fd5b80915050919050565b610dc36119ad565b73ffffffffffffffffffffffffffffffffffffffff16610de16110aa565b73ffffffffffffffffffffffffffffffffffffffff1614610e37576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2e90613bf2565b60405180910390fd5b600c548111610e7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e7290613e5b565b60405180910390fd5b80600c819055507f3f8118fc46e72ecde0c5e090803cad8c88e817b2f1e93e820aa9bfbf51f2468d81604051610eb1919061311b565b60405180910390a150565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610f2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2490613eed565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610f7c6119ad565b73ffffffffffffffffffffffffffffffffffffffff16610f9a6110aa565b73ffffffffffffffffffffffffffffffffffffffff1614610ff0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fe790613bf2565b60405180910390fd5b610ffa6000611db3565b565b6060600061100983610ebc565b905060008167ffffffffffffffff811115611027576110266133e0565b5b6040519080825280602002602001820160405280156110555781602001602082028036833780820191505090505b50905060005b8281101561109f5761106d8582610a26565b8282815181106110805761107f613d28565b5b602002602001018181525050808061109790613f0d565b91505061105b565b508092505050919050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546110e3906137b1565b80601f016020809104026020016040519081016040528092919081815260200182805461110f906137b1565b801561115c5780601f106111315761010080835404028352916020019161115c565b820191906000526020600020905b81548152906001019060200180831161113f57829003601f168201915b5050505050905090565b6111786111716119ad565b8383611e79565b5050565b61118d6111876119ad565b83611a6e565b6111cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111c390613a0b565b60405180910390fd5b6111d884848484611fe6565b50505050565b60606111e982612042565b9050919050565b600d6020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600c546001611230610892565b61123a9190613f56565b111561127b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127290613ff8565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156112eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112e290614064565b60405180910390fd5b600060016112f7610892565b6113019190613f56565b905061130d8382612194565b61131781836121b2565b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156113a25733600d600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506113f6565b6000600d600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b8273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f25dd1b8fce65689a9addc4d9eb034856fc547999738b1d226968b4d9bd4a95038484604051611455929190614084565b60405180910390a3505050565b600c5481565b6101f481565b3373ffffffffffffffffffffffffffffffffffffffff16600d600085815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461150f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150690614100565b60405180910390fd5b61151883610d09565b73ffffffffffffffffffffffffffffffffffffffff16600d600085815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146115b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115af90614192565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611628576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161f906141fe565b60405180910390fd5b6101f461ffff168161ffff161115611675576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161166c9061426a565b60405180910390fd5b81600e600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600e600085815260200190815260200160002060000160146101000a81548161ffff021916908361ffff1602179055507fdcca22f295107e6117b181366b355281e48778fed7e9a60d7cf39b41b1ae27b083838360405161172e939291906142c5565b60405180910390a1505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6117d76119ad565b73ffffffffffffffffffffffffffffffffffffffff166117f56110aa565b73ffffffffffffffffffffffffffffffffffffffff161461184b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161184290613bf2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156118bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118b29061436e565b60405180910390fd5b6118c481611db3565b50565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061193a575061193982612226565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611a2883610d09565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611a7982611941565b611ab8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aaf90614400565b60405180910390fd5b6000611ac383610d09565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611b3257508373ffffffffffffffffffffffffffffffffffffffff16611b1a846106f5565b73ffffffffffffffffffffffffffffffffffffffff16145b80611b435750611b42818561173b565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611b6c82610d09565b73ffffffffffffffffffffffffffffffffffffffff1614611bc2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bb990614492565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611c32576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2990614524565b60405180910390fd5b611c3d838383612308565b611c486000826119b5565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611c989190614544565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611cef9190613f56565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611dae838383612318565b505050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611ee8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611edf906145c4565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611fd99190612f0b565b60405180910390a3505050565b611ff1848484611b4c565b611ffd8484848461231d565b61203c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161203390614656565b60405180910390fd5b50505050565b606061204d82611941565b61208c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612083906146e8565b60405180910390fd5b6000600a600084815260200190815260200160002080546120ac906137b1565b80601f01602080910402602001604051908101604052809291908181526020018280546120d8906137b1565b80156121255780601f106120fa57610100808354040283529160200191612125565b820191906000526020600020905b81548152906001019060200180831161210857829003601f168201915b5050505050905060006121366124b4565b905060008151141561214c57819250505061218f565b600082511115612181578082604051602001612169929190614744565b6040516020818303038152906040529250505061218f565b61218a846124cb565b925050505b919050565b6121ae828260405180602001604052806000815250612572565b5050565b6121bb82611941565b6121fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121f1906147da565b60405180910390fd5b80600a60008481526020019081526020016000209080519060200190612221929190612db4565b505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806122f157507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806123015750612300826125cd565b5b9050919050565b612313838383612637565b505050565b505050565b600061233e8473ffffffffffffffffffffffffffffffffffffffff1661274b565b156124a7578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026123676119ad565b8786866040518563ffffffff1660e01b8152600401612389949392919061484f565b602060405180830381600087803b1580156123a357600080fd5b505af19250505080156123d457506040513d601f19601f820116820180604052508101906123d191906148b0565b60015b612457573d8060008114612404576040519150601f19603f3d011682016040523d82523d6000602084013e612409565b606091505b5060008151141561244f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161244690614656565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506124ac565b600190505b949350505050565b606060405180602001604052806000815250905090565b60606124d682611941565b612515576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161250c9061494f565b60405180910390fd5b600061251f6124b4565b9050600081511161253f576040518060200160405280600081525061256a565b806125498461276e565b60405160200161255a929190614744565b6040516020818303038152906040525b915050919050565b61257c83836128cf565b612589600084848461231d565b6125c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125bf90614656565b60405180910390fd5b505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612642838383612aa9565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156126855761268081612aae565b6126c4565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146126c3576126c28382612af7565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156127075761270281612c64565b612746565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612745576127448282612d35565b5b5b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b606060008214156127b6576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506128ca565b600082905060005b600082146127e85780806127d190613f0d565b915050600a826127e19190613ae3565b91506127be565b60008167ffffffffffffffff811115612804576128036133e0565b5b6040519080825280601f01601f1916602001820160405280156128365781602001600182028036833780820191505090505b5090505b600085146128c35760018261284f9190614544565b9150600a8561285e919061496f565b603061286a9190613f56565b60f81b8183815181106128805761287f613d28565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856128bc9190613ae3565b945061283a565b8093505050505b919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561293f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612936906149ec565b60405180910390fd5b61294881611941565b15612988576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161297f90614a58565b60405180910390fd5b61299460008383612308565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546129e49190613f56565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612aa560008383612318565b5050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612b0484610ebc565b612b0e9190614544565b9050600060076000848152602001908152602001600020549050818114612bf3576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050612c789190614544565b9050600060096000848152602001908152602001600020549050600060088381548110612ca857612ca7613d28565b5b906000526020600020015490508060088381548110612cca57612cc9613d28565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480612d1957612d18614a78565b5b6001900381819060005260206000200160009055905550505050565b6000612d4083610ebc565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b828054612dc0906137b1565b90600052602060002090601f016020900481019282612de25760008555612e29565b82601f10612dfb57805160ff1916838001178555612e29565b82800160010185558215612e29579182015b82811115612e28578251825591602001919060010190612e0d565b5b509050612e369190612e3a565b5090565b5b80821115612e53576000816000905550600101612e3b565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612ea081612e6b565b8114612eab57600080fd5b50565b600081359050612ebd81612e97565b92915050565b600060208284031215612ed957612ed8612e61565b5b6000612ee784828501612eae565b91505092915050565b60008115159050919050565b612f0581612ef0565b82525050565b6000602082019050612f206000830184612efc565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612f60578082015181840152602081019050612f45565b83811115612f6f576000848401525b50505050565b6000601f19601f8301169050919050565b6000612f9182612f26565b612f9b8185612f31565b9350612fab818560208601612f42565b612fb481612f75565b840191505092915050565b60006020820190508181036000830152612fd98184612f86565b905092915050565b6000819050919050565b612ff481612fe1565b8114612fff57600080fd5b50565b60008135905061301181612feb565b92915050565b60006020828403121561302d5761302c612e61565b5b600061303b84828501613002565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061306f82613044565b9050919050565b61307f81613064565b82525050565b600060208201905061309a6000830184613076565b92915050565b6130a981613064565b81146130b457600080fd5b50565b6000813590506130c6816130a0565b92915050565b600080604083850312156130e3576130e2612e61565b5b60006130f1858286016130b7565b925050602061310285828601613002565b9150509250929050565b61311581612fe1565b82525050565b6000602082019050613130600083018461310c565b92915050565b60008060006060848603121561314f5761314e612e61565b5b600061315d868287016130b7565b935050602061316e868287016130b7565b925050604061317f86828701613002565b9150509250925092565b600080604083850312156131a05761319f612e61565b5b60006131ae85828601613002565b92505060206131bf85828601613002565b9150509250929050565b60006040820190506131de6000830185613076565b6131eb602083018461310c565b9392505050565b60006131fd82613064565b9050919050565b61320d816131f2565b811461321857600080fd5b50565b60008135905061322a81613204565b92915050565b60006020828403121561324657613245612e61565b5b60006132548482850161321b565b91505092915050565b60006020828403121561327357613272612e61565b5b6000613281848285016130b7565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6132bf81612fe1565b82525050565b60006132d183836132b6565b60208301905092915050565b6000602082019050919050565b60006132f58261328a565b6132ff8185613295565b935061330a836132a6565b8060005b8381101561333b57815161332288826132c5565b975061332d836132dd565b92505060018101905061330e565b5085935050505092915050565b6000602082019050818103600083015261336281846132ea565b905092915050565b61337381612ef0565b811461337e57600080fd5b50565b6000813590506133908161336a565b92915050565b600080604083850312156133ad576133ac612e61565b5b60006133bb858286016130b7565b92505060206133cc85828601613381565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61341882612f75565b810181811067ffffffffffffffff82111715613437576134366133e0565b5b80604052505050565b600061344a612e57565b9050613456828261340f565b919050565b600067ffffffffffffffff821115613476576134756133e0565b5b61347f82612f75565b9050602081019050919050565b82818337600083830152505050565b60006134ae6134a98461345b565b613440565b9050828152602081018484840111156134ca576134c96133db565b5b6134d584828561348c565b509392505050565b600082601f8301126134f2576134f16133d6565b5b813561350284826020860161349b565b91505092915050565b6000806000806080858703121561352557613524612e61565b5b6000613533878288016130b7565b9450506020613544878288016130b7565b935050604061355587828801613002565b925050606085013567ffffffffffffffff81111561357657613575612e66565b5b613582878288016134dd565b91505092959194509250565b600067ffffffffffffffff8211156135a9576135a86133e0565b5b6135b282612f75565b9050602081019050919050565b60006135d26135cd8461358e565b613440565b9050828152602081018484840111156135ee576135ed6133db565b5b6135f984828561348c565b509392505050565b600082601f830112613616576136156133d6565b5b81356136268482602086016135bf565b91505092915050565b6000806040838503121561364657613645612e61565b5b6000613654858286016130b7565b925050602083013567ffffffffffffffff81111561367557613674612e66565b5b61368185828601613601565b9150509250929050565b600061ffff82169050919050565b6136a28161368b565b82525050565b60006020820190506136bd6000830184613699565b92915050565b6136cc8161368b565b81146136d757600080fd5b50565b6000813590506136e9816136c3565b92915050565b60008060006060848603121561370857613707612e61565b5b600061371686828701613002565b9350506020613727868287016130b7565b9250506040613738868287016136da565b9150509250925092565b6000806040838503121561375957613758612e61565b5b6000613767858286016130b7565b9250506020613778858286016130b7565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806137c957607f821691505b602082108114156137dd576137dc613782565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b600061383f602c83612f31565b915061384a826137e3565b604082019050919050565b6000602082019050818103600083015261386e81613832565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006138d1602183612f31565b91506138dc82613875565b604082019050919050565b60006020820190508181036000830152613900816138c4565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b6000613963603883612f31565b915061396e82613907565b604082019050919050565b6000602082019050818103600083015261399281613956565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b60006139f5603183612f31565b9150613a0082613999565b604082019050919050565b60006020820190508181036000830152613a24816139e8565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613a6582612fe1565b9150613a7083612fe1565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613aa957613aa8613a2b565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613aee82612fe1565b9150613af983612fe1565b925082613b0957613b08613ab4565b5b828204905092915050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000613b70602b83612f31565b9150613b7b82613b14565b604082019050919050565b60006020820190508181036000830152613b9f81613b63565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613bdc602083612f31565b9150613be782613ba6565b602082019050919050565b60006020820190508181036000830152613c0b81613bcf565b9050919050565b600081519050613c2181612feb565b92915050565b600060208284031215613c3d57613c3c612e61565b5b6000613c4b84828501613c12565b91505092915050565b600081519050613c638161336a565b92915050565b600060208284031215613c7f57613c7e612e61565b5b6000613c8d84828501613c54565b91505092915050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000613cf2602c83612f31565b9150613cfd82613c96565b604082019050919050565b60006020820190508181036000830152613d2181613ce5565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000613db3602983612f31565b9150613dbe82613d57565b604082019050919050565b60006020820190508181036000830152613de281613da6565b9050919050565b7f546865206d617820737570706c792073686f756c64206c61726765722074686160008201527f6e2063757272656e742076616c75650000000000000000000000000000000000602082015250565b6000613e45602f83612f31565b9150613e5082613de9565b604082019050919050565b60006020820190508181036000830152613e7481613e38565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000613ed7602a83612f31565b9150613ee282613e7b565b604082019050919050565b60006020820190508181036000830152613f0681613eca565b9050919050565b6000613f1882612fe1565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613f4b57613f4a613a2b565b5b600182019050919050565b6000613f6182612fe1565b9150613f6c83612fe1565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613fa157613fa0613a2b565b5b828201905092915050565b7f4e46543a206f7574206f662073746f636b000000000000000000000000000000600082015250565b6000613fe2601183612f31565b9150613fed82613fac565b602082019050919050565b6000602082019050818103600083015261401181613fd5565b9050919050565b7f4e46543a20696e76616c69642061646472657373000000000000000000000000600082015250565b600061404e601483612f31565b915061405982614018565b602082019050919050565b6000602082019050818103600083015261407d81614041565b9050919050565b6000604082019050818103600083015261409e8185612f86565b90506140ad602083018461310c565b9392505050565b7f4e46543a20496e76616c69642063726561746f72000000000000000000000000600082015250565b60006140ea601483612f31565b91506140f5826140b4565b602082019050919050565b60006020820190508181036000830152614119816140dd565b9050919050565b7f4e46543a2043616e6e6f742073657420726f79616c747920616674657220747260008201527f616e736665720000000000000000000000000000000000000000000000000000602082015250565b600061417c602683612f31565b915061418782614120565b604082019050919050565b600060208201905081810360008301526141ab8161416f565b9050919050565b7f4e46543a20696e76616c696420726f79616c7479207265636569766572000000600082015250565b60006141e8601d83612f31565b91506141f3826141b2565b602082019050919050565b60006020820190508181036000830152614217816141db565b9050919050565b7f4e46543a20496e76616c696420726f79616c74792070657263656e7461676500600082015250565b6000614254601f83612f31565b915061425f8261421e565b602082019050919050565b6000602082019050818103600083015261428381614247565b9050919050565b6000819050919050565b60006142af6142aa6142a58461368b565b61428a565b612fe1565b9050919050565b6142bf81614294565b82525050565b60006060820190506142da600083018661310c565b6142e76020830185613076565b6142f460408301846142b6565b949350505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614358602683612f31565b9150614363826142fc565b604082019050919050565b600060208201905081810360008301526143878161434b565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b60006143ea602c83612f31565b91506143f58261438e565b604082019050919050565b60006020820190508181036000830152614419816143dd565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b600061447c602583612f31565b915061448782614420565b604082019050919050565b600060208201905081810360008301526144ab8161446f565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b600061450e602483612f31565b9150614519826144b2565b604082019050919050565b6000602082019050818103600083015261453d81614501565b9050919050565b600061454f82612fe1565b915061455a83612fe1565b92508282101561456d5761456c613a2b565b5b828203905092915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b60006145ae601983612f31565b91506145b982614578565b602082019050919050565b600060208201905081810360008301526145dd816145a1565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000614640603283612f31565b915061464b826145e4565b604082019050919050565b6000602082019050818103600083015261466f81614633565b9050919050565b7f45524337323155524953746f726167653a2055524920717565727920666f722060008201527f6e6f6e6578697374656e7420746f6b656e000000000000000000000000000000602082015250565b60006146d2603183612f31565b91506146dd82614676565b604082019050919050565b60006020820190508181036000830152614701816146c5565b9050919050565b600081905092915050565b600061471e82612f26565b6147288185614708565b9350614738818560208601612f42565b80840191505092915050565b60006147508285614713565b915061475c8284614713565b91508190509392505050565b7f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60008201527f6578697374656e7420746f6b656e000000000000000000000000000000000000602082015250565b60006147c4602e83612f31565b91506147cf82614768565b604082019050919050565b600060208201905081810360008301526147f3816147b7565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000614821826147fa565b61482b8185614805565b935061483b818560208601612f42565b61484481612f75565b840191505092915050565b60006080820190506148646000830187613076565b6148716020830186613076565b61487e604083018561310c565b81810360608301526148908184614816565b905095945050505050565b6000815190506148aa81612e97565b92915050565b6000602082840312156148c6576148c5612e61565b5b60006148d48482850161489b565b91505092915050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000614939602f83612f31565b9150614944826148dd565b604082019050919050565b600060208201905081810360008301526149688161492c565b9050919050565b600061497a82612fe1565b915061498583612fe1565b92508261499557614994613ab4565b5b828206905092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006149d6602083612f31565b91506149e1826149a0565b602082019050919050565b60006020820190508181036000830152614a05816149c9565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000614a42601c83612f31565b9150614a4d82614a0c565b602082019050919050565b60006020820190508181036000830152614a7181614a35565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea26469706673582212200e860e4852297d08aeb98cf71f1b6d2b4fcfdf6a15a892cf15e0f4f7d0f2d3d464736f6c63430008090033000000000000000000000000930f91f777cb09fe38f23da3eb941e68f5819a33

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000930f91f777cb09fe38f23da3eb941e68f5819a33

-----Decoded View---------------
Arg [0] : _owner (address): 0x930f91f777cb09fe38f23da3eb941e68f5819a33

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000930f91f777cb09fe38f23da3eb941e68f5819a33


Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading