Contract 0x45E74A18C6C2Bd151cd056647adb525a8Dd3F994 1

 
 
Txn Hash
Method
Block
From
To
Value
0x253aa4cf266e185b7fa512ce5eb5f708261f814566c548f9da1a3fa588235babSet Approval For...151839222022-07-21 4:54:1521 days 13 hrs ago0x10e1aa7baf98d58f8a4eec3cbd38f64eb3862b27 IN  0x45e74a18c6c2bd151cd056647adb525a8dd3f9940 Ether0.‍00062362 13.‍35810549
0x8d541a98dd05ad81aacb33585505be0cc2f5e50fa91ae892fc8614e3c42331cfSet Approval For...148826102022-06-01 3:38:2871 days 14 hrs ago0xd026eb9d57d5856c3e67695fd424132ad2865172 IN  0x45e74a18c6c2bd151cd056647adb525a8dd3f9940 Ether0.‍00087774 35.‍31182016
0x05bfa49ea14b12da196c86027919152c27655331036613eeb6a6428ab79e2275Set Approval For...142389102022-02-19 21:33:27172 days 20 hrs agoENS Name teddybomber.eth IN  0x45e74a18c6c2bd151cd056647adb525a8dd3f9940 Ether0.‍00259406 55.‍46539542
0x186b0cf8f74beab714a7dfca7de979b5cdcfa69454913fd467eed746d901c0b4Set Approval For...142216622022-02-17 5:10:43175 days 13 hrs ago0x101f4c1944e1f15d3dec809cec589921ed56d006 IN  0x45e74a18c6c2bd151cd056647adb525a8dd3f9940 Ether0.‍0023175 49.‍55222065
0xdbeabc3feecb2047b7dbc17246db45a2c8af6ee28c57ebde00af2bdb7e4984f0Set Approval For...142188782022-02-16 18:49:25175 days 23 hrs ago0xd026eb9d57d5856c3e67695fd424132ad2865172 IN  0x45e74a18c6c2bd151cd056647adb525a8dd3f9940 Ether0.‍00349498 74.‍72871759
0xee0958fbeace9b6dfb0fa75e4516d175f993bca345f584c2c422a0b5bd9385feSet Approval For...142138692022-02-16 0:01:55176 days 18 hrs ago0x23c45c4ab53d8b4edad1a77e200ff12d5ddf13f4 IN  0x45e74a18c6c2bd151cd056647adb525a8dd3f9940 Ether0.‍00749006 160.‍1501965
0x1f5109035a211599c7f9d1dd6a35da27b5c34d7bc4d5306fc36e5db0f6d2915fSet Approval For...142134482022-02-15 22:31:59176 days 19 hrs ago0x92950e5f7169b2dfc923807ffd61de3cf0e8cb09 IN  0x45e74a18c6c2bd151cd056647adb525a8dd3f9940 Ether0.‍00290409 62.‍0943966
0x7f5a93892ce85e065e5b059fb68cc7247a9dff3f4dc4bf0ae5ffd87a2e4062b7Set Approval For...139941472022-01-13 1:15:11210 days 16 hrs ago0x35d5a45918a1fb518dc4f749b2e3dfeb4eee7a4a IN  0x45e74a18c6c2bd151cd056647adb525a8dd3f9940 Ether0.‍00835285 178.‍59807931
0x694f8bdd170e616b79aec4eddba8a00ae2c1b44df8b05b233f54f4343969765aSet Approval For...139148962021-12-31 19:12:36222 days 23 hrs ago0x575693f565865f3b15e0d9e39fa526780a8a31e2 IN  0x45e74a18c6c2bd151cd056647adb525a8dd3f9940 Ether0.‍00347452 74.‍31028982
0x7e1a1a41016d34c9a639a6f81c30274cce78ee2f94a9a133e27954d52189109dSet Approval For...138663412021-12-24 6:41:12230 days 11 hrs agoENS Name arilithill.eth IN  0x45e74a18c6c2bd151cd056647adb525a8dd3f9940 Ether0.‍0036913 78.‍94660281
0xeb620e9a7adee28c5d0bc7012c9c5a969e41a6ae20408d30300850a8060d5d9cSet Approval For...136948932021-11-27 7:57:32257 days 10 hrs agoENS Name froldier.eth IN  0x45e74a18c6c2bd151cd056647adb525a8dd3f9940 Ether0.‍00402696 86.‍12540975
0x4f778e2db784115b1f2579be572bd0bb0f5fc8e3aa9498f4c510838d98d05434Set Approval For...135051992021-10-28 10:31:28287 days 7 hrs agoENS Name soulnft.eth IN  0x45e74a18c6c2bd151cd056647adb525a8dd3f9940 Ether0.‍00617511 132.‍03435269
0xdbe0496576b68c40a7bdd7804defde71d5bb00f27d1bc5e8350e266b985adf36Withdraw All134103882021-10-13 13:57:51302 days 4 hrs agoENS Name copydao.eth IN  0x45e74a18c6c2bd151cd056647adb525a8dd3f9940 Ether0.‍00266021 87.‍48695892
0x95bd708c19c62ac4cb5f4e5bd67f019c7e5874c56a41a2293e1c022b4b4ab53aSet Approval For...134033432021-10-12 11:30:25303 days 6 hrs agoENS Name jesson.eth IN  0x45e74a18c6c2bd151cd056647adb525a8dd3f9940 Ether0.‍00375929 80.‍38005414
0xb5359e9fe9e93e146739fd54bd2b4011a160ebbede6dcc48e3ba64b006601feeMint134022972021-10-12 7:23:54303 days 10 hrs agoENS Name froldier.eth IN  0x45e74a18c6c2bd151cd056647adb525a8dd3f9940.‍1 Ether0.‍02666589 98.‍84273386
0x19737cb89eb29cb4ecbc322f0d58dbef62af64ca3a34045fb46d81768c6a5148Mint134021522021-10-12 6:48:36303 days 11 hrs ago0x360ab036d46f6ad326f662783e629b6b8745f65d IN  0x45e74a18c6c2bd151cd056647adb525a8dd3f9940.‍1 Ether0.‍02528052 93.‍70757602
0x077e95b9e0fd4d5aa076bc0eeda8a1c9e0105f7f88a7c5fcc9ee03540f5297aaMint133999842021-10-11 22:31:30303 days 19 hrs ago0x09eab44014e7dca26a8a446015aee1b7933f88f7 IN  0x45e74a18c6c2bd151cd056647adb525a8dd3f9940.‍15 Ether0.‍03738837 97.‍03201788
0x9a028525bce662ac1f1ee231c1e30908785ba5e7f5f5d94525d4c28a4b25c753Mint133997742021-10-11 21:49:50303 days 20 hrs agoENS Name empanalga.eth IN  0x45e74a18c6c2bd151cd056647adb525a8dd3f9940.‍05 Ether0.‍0213156 138.‍19585343
0xa362123ae151273cc1f1f0b8f36d15c011cbefb4db6e334cfa52430e5344e118Mint133903272021-10-10 10:15:41305 days 7 hrs agoENS Name soulnft.eth IN  0x45e74a18c6c2bd151cd056647adb525a8dd3f9940.‍05 Ether0.‍00728252 47.‍21491872
0xe8a0b114bf680fc66325afbced1b4de506e7234194cc6cc3d5c5eef019c133a2Set Approval For...133867482021-10-09 20:43:32305 days 21 hrs ago0x33da53f5d563695518c539f289867cd00337a49f IN  0x45e74a18c6c2bd151cd056647adb525a8dd3f9940 Ether0.‍00464798 99.‍3818441
0x224e543ed6d9a83e7e377d1c8455815bab2560420c12e4b17034a04aafa8a9ddMint133858602021-10-09 17:23:19306 days 51 mins agoENS Name 4thpaul.eth IN  0x45e74a18c6c2bd151cd056647adb525a8dd3f9940.‍1 Ether0.‍02233167 82.‍77704864
0x55e24abfe918224d9fa98f596342f2fb9c1b43f50a665ca0eb5af373301b73b8Mint133854952021-10-09 16:01:39306 days 2 hrs ago0x49c608a70dcf6128e50d85815ae7e5a5341f6446 IN  0x45e74a18c6c2bd151cd056647adb525a8dd3f9940.‍05 Ether0.‍00419721 85.‍23645703
0x4fb28ba701c4b778a1174d6fecfe87f30cfe9da25460349f31f86552282ba205Withdraw All133843412021-10-09 11:41:52306 days 6 hrs agoENS Name copydao.eth IN  0x45e74a18c6c2bd151cd056647adb525a8dd3f9940 Ether0.‍0019105 62.‍83116978
0x9fba3a3f9e45e2c33abab079fde68422f29c3b1a8ff679be343c5879231d4a7fSet Approval For...133834922021-10-09 8:34:48306 days 9 hrs agoENS Name juicecounty.eth IN  0x45e74a18c6c2bd151cd056647adb525a8dd3f9940 Ether0.‍00397511 84.‍99458115
0xfc2832c1914250899444400120e6243e060f90a32d4f23f44b0cbc1cb64bafa6Mint133831812021-10-09 7:23:51306 days 10 hrs agoENS Name sgv45.eth IN  0x45e74a18c6c2bd151cd056647adb525a8dd3f9940.‍1 Ether0.‍01675216 62.‍09543231
[ Download CSV Export 
Latest 2 internal transactions
Parent Txn Hash Block From To Value
0xdbe0496576b68c40a7bdd7804defde71d5bb00f27d1bc5e8350e266b985adf36134103882021-10-13 13:57:51302 days 4 hrs ago 0x45e74a18c6c2bd151cd056647adb525a8dd3f994ENS Name copydao.eth0.‍55 Ether
0x4fb28ba701c4b778a1174d6fecfe87f30cfe9da25460349f31f86552282ba205133843412021-10-09 11:41:52306 days 6 hrs ago 0x45e74a18c6c2bd151cd056647adb525a8dd3f994ENS Name copydao.eth15.‍2 Ether
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
CopyCats

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 13 : CopyCats.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import '@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol';
import '@openzeppelin/contracts/access/Ownable.sol';

contract CopyCats is ERC721Enumerable, Ownable {
    string _baseTokenURI;
    uint256 private _maxMint = 20;
    uint256 private _price = 5 * 10**16; //0.05 ETH;
    bool public _paused = true;
    uint public constant MAX_ENTRIES = 9999;

    constructor(string memory baseURI) ERC721("CopyCats", "COPYCATS")  {
        setBaseURI(baseURI);
    }

    function mint(address _to, uint256 num) public payable {
        uint256 supply = totalSupply();
        if(msg.sender != owner()) {
          require(!_paused, "Sale Paused");
          require( num < (_maxMint+1),"You can mint a maximum of _maxMint CopyCats" );
          require( msg.value >= _price * num,"Ether sent is not correct" );
        }

        require( supply + num < MAX_ENTRIES + 1,            "Exceeds maximum supply" );
        for(uint256 i; i < num; i++){
          _safeMint( _to, supply + i );
        }
    }

    function walletOfOwner(address _owner) public view returns(uint256[] memory) {
        uint256 tokenCount = balanceOf(_owner);

        uint256[] memory tokensId = new uint256[](tokenCount);
        for(uint256 i; i < tokenCount; i++){
            tokensId[i] = tokenOfOwnerByIndex(_owner, i);
        }
        return tokensId;
    }

    function getPrice() public view returns (uint256){
        if(msg.sender == owner()) {
            return 0;
        }
        return _price;
    }

    // Just in case Eth does some crazy stuff
    function setPrice(uint256 _newPrice) public onlyOwner() {
        _price = _newPrice;
    }

    function getMaxMint() public view returns (uint256){
        return _maxMint;
    }

    function setMaxMint(uint256 _newMaxMint) public onlyOwner() {
        _maxMint = _newMaxMint;
    }

    function _baseURI() internal view virtual override returns (string memory) {
        return _baseTokenURI;
    }

    function setBaseURI(string memory baseURI) public onlyOwner {
        _baseTokenURI = baseURI;
    }

    function pause(bool val) public onlyOwner {
        _paused = val;
    }

    function withdrawAll() public payable onlyOwner {
        require(payable(msg.sender).send(address(this).balance));
    }
}

File 2 of 13 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT

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 3 of 13 : Ownable.sol
// SPDX-License-Identifier: MIT

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() {
        _setOwner(_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 {
        _setOwner(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");
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 4 of 13 : ERC721.sol
// SPDX-License-Identifier: MIT

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 {
        require(operator != _msgSender(), "ERC721: approve to caller");

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_msgSender(), operator, approved);
    }

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

    /**
     * @dev 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(to).onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

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

File 5 of 13 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT

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 tokenId);

    /**
     * @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 6 of 13 : IERC721.sol
// SPDX-License-Identifier: MIT

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 7 of 13 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT

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 8 of 13 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 9 of 13 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    function _verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) private pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

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

File 10 of 13 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

File 11 of 13 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

File 12 of 13 : ERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 13 of 13 : IERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_ENTRIES","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMaxMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"num","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"val","type":"bool"}],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMaxMint","type":"uint256"}],"name":"setMaxMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"payable","type":"function"}]

60806040526014600c5566b1a2bc2ec50000600d556001600e60006101000a81548160ff0219169083151502179055503480156200003c57600080fd5b50604051620047673803806200476783398181016040528101906200006291906200040b565b6040518060400160405280600881526020017f436f7079436174730000000000000000000000000000000000000000000000008152506040518060400160405280600881526020017f434f5059434154530000000000000000000000000000000000000000000000008152508160009080519060200190620000e6929190620002dd565b508060019080519060200190620000ff929190620002dd565b50505062000122620001166200013a60201b60201c565b6200014260201b60201c565b62000133816200020860201b60201c565b5062000663565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620002186200013a60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff166200023e620002b360201b60201c565b73ffffffffffffffffffffffffffffffffffffffff161462000297576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200028e9062000483565b60405180910390fd5b80600b9080519060200190620002af929190620002dd565b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b828054620002eb906200054b565b90600052602060002090601f0160209004810192826200030f57600085556200035b565b82601f106200032a57805160ff19168380011785556200035b565b828001600101855582156200035b579182015b828111156200035a5782518255916020019190600101906200033d565b5b5090506200036a91906200036e565b5090565b5b80821115620003895760008160009055506001016200036f565b5090565b6000620003a46200039e84620004ce565b620004a5565b905082815260208101848484011115620003c357620003c26200061a565b5b620003d084828562000515565b509392505050565b600082601f830112620003f057620003ef62000615565b5b8151620004028482602086016200038d565b91505092915050565b60006020828403121562000424576200042362000624565b5b600082015167ffffffffffffffff8111156200044557620004446200061f565b5b6200045384828501620003d8565b91505092915050565b60006200046b60208362000504565b915062000478826200063a565b602082019050919050565b600060208201905081810360008301526200049e816200045c565b9050919050565b6000620004b1620004c4565b9050620004bf828262000581565b919050565b6000604051905090565b600067ffffffffffffffff821115620004ec57620004eb620005e6565b5b620004f78262000629565b9050602081019050919050565b600082825260208201905092915050565b60005b838110156200053557808201518184015260208101905062000518565b8381111562000545576000848401525b50505050565b600060028204905060018216806200056457607f821691505b602082108114156200057b576200057a620005b7565b5b50919050565b6200058c8262000629565b810181811067ffffffffffffffff82111715620005ae57620005ad620005e6565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6140f480620006736000396000f3fe6080604052600436106101cd5760003560e01c806355f804b3116100f757806391b7f5ed11610095578063b88d4fde11610064578063b88d4fde1461065a578063c87b56dd14610683578063e985e9c5146106c0578063f2fde38b146106fd576101cd565b806391b7f5ed146105b257806395d89b41146105db57806398d5fdca14610606578063a22cb46514610631576101cd565b8063715018a6116100d1578063715018a61461053b5780637d4cb96414610552578063853828b61461057d5780638da5cb5b14610587576101cd565b806355f804b3146104985780636352211e146104c157806370a08231146104fe576101cd565b80631f46452f1161016f57806342842e0e1161013e57806342842e0e146103cc578063438b6300146103f55780634f6ccce714610432578063547520fe1461046f576101cd565b80631f46452f1461031f57806323b872dd1461034a5780632f745c591461037357806340c10f19146103b0576101cd565b8063081812fc116101ab578063081812fc14610263578063095ea7b3146102a057806316c61ccc146102c957806318160ddd146102f4576101cd565b806301ffc9a7146101d257806302329a291461020f57806306fdde0314610238575b600080fd5b3480156101de57600080fd5b506101f960048036038101906101f49190612ccc565b610726565b60405161020691906132a0565b60405180910390f35b34801561021b57600080fd5b5061023660048036038101906102319190612c9f565b6107a0565b005b34801561024457600080fd5b5061024d610839565b60405161025a91906132bb565b60405180910390f35b34801561026f57600080fd5b5061028a60048036038101906102859190612d6f565b6108cb565b6040516102979190613217565b60405180910390f35b3480156102ac57600080fd5b506102c760048036038101906102c29190612c5f565b610950565b005b3480156102d557600080fd5b506102de610a68565b6040516102eb91906132a0565b60405180910390f35b34801561030057600080fd5b50610309610a7b565b604051610316919061359d565b60405180910390f35b34801561032b57600080fd5b50610334610a88565b604051610341919061359d565b60405180910390f35b34801561035657600080fd5b50610371600480360381019061036c9190612b49565b610a92565b005b34801561037f57600080fd5b5061039a60048036038101906103959190612c5f565b610af2565b6040516103a7919061359d565b60405180910390f35b6103ca60048036038101906103c59190612c5f565b610b97565b005b3480156103d857600080fd5b506103f360048036038101906103ee9190612b49565b610d62565b005b34801561040157600080fd5b5061041c60048036038101906104179190612adc565b610d82565b604051610429919061327e565b60405180910390f35b34801561043e57600080fd5b5061045960048036038101906104549190612d6f565b610e30565b604051610466919061359d565b60405180910390f35b34801561047b57600080fd5b5061049660048036038101906104919190612d6f565b610ea1565b005b3480156104a457600080fd5b506104bf60048036038101906104ba9190612d26565b610f27565b005b3480156104cd57600080fd5b506104e860048036038101906104e39190612d6f565b610fbd565b6040516104f59190613217565b60405180910390f35b34801561050a57600080fd5b5061052560048036038101906105209190612adc565b61106f565b604051610532919061359d565b60405180910390f35b34801561054757600080fd5b50610550611127565b005b34801561055e57600080fd5b506105676111af565b604051610574919061359d565b60405180910390f35b6105856111b5565b005b34801561059357600080fd5b5061059c611271565b6040516105a99190613217565b60405180910390f35b3480156105be57600080fd5b506105d960048036038101906105d49190612d6f565b61129b565b005b3480156105e757600080fd5b506105f0611321565b6040516105fd91906132bb565b60405180910390f35b34801561061257600080fd5b5061061b6113b3565b604051610628919061359d565b60405180910390f35b34801561063d57600080fd5b5061065860048036038101906106539190612c1f565b611402565b005b34801561066657600080fd5b50610681600480360381019061067c9190612b9c565b611583565b005b34801561068f57600080fd5b506106aa60048036038101906106a59190612d6f565b6115e5565b6040516106b791906132bb565b60405180910390f35b3480156106cc57600080fd5b506106e760048036038101906106e29190612b09565b61168c565b6040516106f491906132a0565b60405180910390f35b34801561070957600080fd5b50610724600480360381019061071f9190612adc565b611720565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610799575061079882611818565b5b9050919050565b6107a86118fa565b73ffffffffffffffffffffffffffffffffffffffff166107c6611271565b73ffffffffffffffffffffffffffffffffffffffff161461081c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108139061347d565b60405180910390fd5b80600e60006101000a81548160ff02191690831515021790555050565b60606000805461084890613886565b80601f016020809104026020016040519081016040528092919081815260200182805461087490613886565b80156108c15780601f10610896576101008083540402835291602001916108c1565b820191906000526020600020905b8154815290600101906020018083116108a457829003601f168201915b5050505050905090565b60006108d682611902565b610915576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161090c9061345d565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061095b82610fbd565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156109cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109c3906134dd565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166109eb6118fa565b73ffffffffffffffffffffffffffffffffffffffff161480610a1a5750610a1981610a146118fa565b61168c565b5b610a59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a50906133bd565b60405180910390fd5b610a63838361196e565b505050565b600e60009054906101000a900460ff1681565b6000600880549050905090565b6000600c54905090565b610aa3610a9d6118fa565b82611a27565b610ae2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ad99061353d565b60405180910390fd5b610aed838383611b05565b505050565b6000610afd8361106f565b8210610b3e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b35906132dd565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6000610ba1610a7b565b9050610bab611271565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610cce57600e60009054906101000a900460ff1615610c2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c249061343d565b60405180910390fd5b6001600c54610c3c91906136bb565b8210610c7d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c749061357d565b60405180910390fd5b81600d54610c8b9190613742565b341015610ccd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cc49061351d565b60405180910390fd5b5b600161270f610cdd91906136bb565b8282610ce991906136bb565b10610d29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d20906134fd565b60405180910390fd5b60005b82811015610d5c57610d49848284610d4491906136bb565b611d61565b8080610d54906138e9565b915050610d2c565b50505050565b610d7d83838360405180602001604052806000815250611583565b505050565b60606000610d8f8361106f565b905060008167ffffffffffffffff811115610dad57610dac613a4e565b5b604051908082528060200260200182016040528015610ddb5781602001602082028036833780820191505090505b50905060005b82811015610e2557610df38582610af2565b828281518110610e0657610e05613a1f565b5b6020026020010181815250508080610e1d906138e9565b915050610de1565b508092505050919050565b6000610e3a610a7b565b8210610e7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e729061355d565b60405180910390fd5b60088281548110610e8f57610e8e613a1f565b5b90600052602060002001549050919050565b610ea96118fa565b73ffffffffffffffffffffffffffffffffffffffff16610ec7611271565b73ffffffffffffffffffffffffffffffffffffffff1614610f1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f149061347d565b60405180910390fd5b80600c8190555050565b610f2f6118fa565b73ffffffffffffffffffffffffffffffffffffffff16610f4d611271565b73ffffffffffffffffffffffffffffffffffffffff1614610fa3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9a9061347d565b60405180910390fd5b80600b9080519060200190610fb99291906128f0565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611066576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161105d906133fd565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156110e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d7906133dd565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61112f6118fa565b73ffffffffffffffffffffffffffffffffffffffff1661114d611271565b73ffffffffffffffffffffffffffffffffffffffff16146111a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119a9061347d565b60405180910390fd5b6111ad6000611d7f565b565b61270f81565b6111bd6118fa565b73ffffffffffffffffffffffffffffffffffffffff166111db611271565b73ffffffffffffffffffffffffffffffffffffffff1614611231576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112289061347d565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f1935050505061126f57600080fd5b565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6112a36118fa565b73ffffffffffffffffffffffffffffffffffffffff166112c1611271565b73ffffffffffffffffffffffffffffffffffffffff1614611317576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130e9061347d565b60405180910390fd5b80600d8190555050565b60606001805461133090613886565b80601f016020809104026020016040519081016040528092919081815260200182805461135c90613886565b80156113a95780601f1061137e576101008083540402835291602001916113a9565b820191906000526020600020905b81548152906001019060200180831161138c57829003601f168201915b5050505050905090565b60006113bd611271565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156113f957600090506113ff565b600d5490505b90565b61140a6118fa565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611478576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161146f9061337d565b60405180910390fd5b80600560006114856118fa565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166115326118fa565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161157791906132a0565b60405180910390a35050565b61159461158e6118fa565b83611a27565b6115d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ca9061353d565b60405180910390fd5b6115df84848484611e45565b50505050565b60606115f082611902565b61162f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611626906134bd565b60405180910390fd5b6000611639611ea1565b905060008151116116595760405180602001604052806000815250611684565b8061166384611f33565b6040516020016116749291906131f3565b6040516020818303038152906040525b915050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6117286118fa565b73ffffffffffffffffffffffffffffffffffffffff16611746611271565b73ffffffffffffffffffffffffffffffffffffffff161461179c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117939061347d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561180c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118039061331d565b60405180910390fd5b61181581611d7f565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806118e357507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806118f357506118f282612094565b5b9050919050565b600033905090565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166119e183610fbd565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611a3282611902565b611a71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a689061339d565b60405180910390fd5b6000611a7c83610fbd565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611aeb57508373ffffffffffffffffffffffffffffffffffffffff16611ad3846108cb565b73ffffffffffffffffffffffffffffffffffffffff16145b80611afc5750611afb818561168c565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611b2582610fbd565b73ffffffffffffffffffffffffffffffffffffffff1614611b7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b729061349d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611beb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611be29061335d565b60405180910390fd5b611bf68383836120fe565b611c0160008261196e565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611c51919061379c565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611ca891906136bb565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b611d7b828260405180602001604052806000815250612212565b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b611e50848484611b05565b611e5c8484848461226d565b611e9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e92906132fd565b60405180910390fd5b50505050565b6060600b8054611eb090613886565b80601f0160208091040260200160405190810160405280929190818152602001828054611edc90613886565b8015611f295780601f10611efe57610100808354040283529160200191611f29565b820191906000526020600020905b815481529060010190602001808311611f0c57829003601f168201915b5050505050905090565b60606000821415611f7b576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061208f565b600082905060005b60008214611fad578080611f96906138e9565b915050600a82611fa69190613711565b9150611f83565b60008167ffffffffffffffff811115611fc957611fc8613a4e565b5b6040519080825280601f01601f191660200182016040528015611ffb5781602001600182028036833780820191505090505b5090505b6000851461208857600182612014919061379c565b9150600a856120239190613932565b603061202f91906136bb565b60f81b81838151811061204557612044613a1f565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856120819190613711565b9450611fff565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612109838383612404565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561214c5761214781612409565b61218b565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461218a576121898382612452565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156121ce576121c9816125bf565b61220d565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461220c5761220b8282612690565b5b5b505050565b61221c838361270f565b612229600084848461226d565b612268576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161225f906132fd565b60405180910390fd5b505050565b600061228e8473ffffffffffffffffffffffffffffffffffffffff166128dd565b156123f7578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026122b76118fa565b8786866040518563ffffffff1660e01b81526004016122d99493929190613232565b602060405180830381600087803b1580156122f357600080fd5b505af192505050801561232457506040513d601f19601f820116820180604052508101906123219190612cf9565b60015b6123a7573d8060008114612354576040519150601f19603f3d011682016040523d82523d6000602084013e612359565b606091505b5060008151141561239f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612396906132fd565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506123fc565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161245f8461106f565b612469919061379c565b905060006007600084815260200190815260200160002054905081811461254e576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506125d3919061379c565b905060006009600084815260200190815260200160002054905060006008838154811061260357612602613a1f565b5b90600052602060002001549050806008838154811061262557612624613a1f565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480612674576126736139f0565b5b6001900381819060005260206000200160009055905550505050565b600061269b8361106f565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561277f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127769061341d565b60405180910390fd5b61278881611902565b156127c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127bf9061333d565b60405180910390fd5b6127d4600083836120fe565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461282491906136bb565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b8280546128fc90613886565b90600052602060002090601f01602090048101928261291e5760008555612965565b82601f1061293757805160ff1916838001178555612965565b82800160010185558215612965579182015b82811115612964578251825591602001919060010190612949565b5b5090506129729190612976565b5090565b5b8082111561298f576000816000905550600101612977565b5090565b60006129a66129a1846135dd565b6135b8565b9050828152602081018484840111156129c2576129c1613a82565b5b6129cd848285613844565b509392505050565b60006129e86129e38461360e565b6135b8565b905082815260208101848484011115612a0457612a03613a82565b5b612a0f848285613844565b509392505050565b600081359050612a2681614062565b92915050565b600081359050612a3b81614079565b92915050565b600081359050612a5081614090565b92915050565b600081519050612a6581614090565b92915050565b600082601f830112612a8057612a7f613a7d565b5b8135612a90848260208601612993565b91505092915050565b600082601f830112612aae57612aad613a7d565b5b8135612abe8482602086016129d5565b91505092915050565b600081359050612ad6816140a7565b92915050565b600060208284031215612af257612af1613a8c565b5b6000612b0084828501612a17565b91505092915050565b60008060408385031215612b2057612b1f613a8c565b5b6000612b2e85828601612a17565b9250506020612b3f85828601612a17565b9150509250929050565b600080600060608486031215612b6257612b61613a8c565b5b6000612b7086828701612a17565b9350506020612b8186828701612a17565b9250506040612b9286828701612ac7565b9150509250925092565b60008060008060808587031215612bb657612bb5613a8c565b5b6000612bc487828801612a17565b9450506020612bd587828801612a17565b9350506040612be687828801612ac7565b925050606085013567ffffffffffffffff811115612c0757612c06613a87565b5b612c1387828801612a6b565b91505092959194509250565b60008060408385031215612c3657612c35613a8c565b5b6000612c4485828601612a17565b9250506020612c5585828601612a2c565b9150509250929050565b60008060408385031215612c7657612c75613a8c565b5b6000612c8485828601612a17565b9250506020612c9585828601612ac7565b9150509250929050565b600060208284031215612cb557612cb4613a8c565b5b6000612cc384828501612a2c565b91505092915050565b600060208284031215612ce257612ce1613a8c565b5b6000612cf084828501612a41565b91505092915050565b600060208284031215612d0f57612d0e613a8c565b5b6000612d1d84828501612a56565b91505092915050565b600060208284031215612d3c57612d3b613a8c565b5b600082013567ffffffffffffffff811115612d5a57612d59613a87565b5b612d6684828501612a99565b91505092915050565b600060208284031215612d8557612d84613a8c565b5b6000612d9384828501612ac7565b91505092915050565b6000612da883836131d5565b60208301905092915050565b612dbd816137d0565b82525050565b6000612dce8261364f565b612dd8818561367d565b9350612de38361363f565b8060005b83811015612e14578151612dfb8882612d9c565b9750612e0683613670565b925050600181019050612de7565b5085935050505092915050565b612e2a816137e2565b82525050565b6000612e3b8261365a565b612e45818561368e565b9350612e55818560208601613853565b612e5e81613a91565b840191505092915050565b6000612e7482613665565b612e7e818561369f565b9350612e8e818560208601613853565b612e9781613a91565b840191505092915050565b6000612ead82613665565b612eb781856136b0565b9350612ec7818560208601613853565b80840191505092915050565b6000612ee0602b8361369f565b9150612eeb82613aa2565b604082019050919050565b6000612f0360328361369f565b9150612f0e82613af1565b604082019050919050565b6000612f2660268361369f565b9150612f3182613b40565b604082019050919050565b6000612f49601c8361369f565b9150612f5482613b8f565b602082019050919050565b6000612f6c60248361369f565b9150612f7782613bb8565b604082019050919050565b6000612f8f60198361369f565b9150612f9a82613c07565b602082019050919050565b6000612fb2602c8361369f565b9150612fbd82613c30565b604082019050919050565b6000612fd560388361369f565b9150612fe082613c7f565b604082019050919050565b6000612ff8602a8361369f565b915061300382613cce565b604082019050919050565b600061301b60298361369f565b915061302682613d1d565b604082019050919050565b600061303e60208361369f565b915061304982613d6c565b602082019050919050565b6000613061600b8361369f565b915061306c82613d95565b602082019050919050565b6000613084602c8361369f565b915061308f82613dbe565b604082019050919050565b60006130a760208361369f565b91506130b282613e0d565b602082019050919050565b60006130ca60298361369f565b91506130d582613e36565b604082019050919050565b60006130ed602f8361369f565b91506130f882613e85565b604082019050919050565b600061311060218361369f565b915061311b82613ed4565b604082019050919050565b600061313360168361369f565b915061313e82613f23565b602082019050919050565b600061315660198361369f565b915061316182613f4c565b602082019050919050565b600061317960318361369f565b915061318482613f75565b604082019050919050565b600061319c602c8361369f565b91506131a782613fc4565b604082019050919050565b60006131bf602b8361369f565b91506131ca82614013565b604082019050919050565b6131de8161383a565b82525050565b6131ed8161383a565b82525050565b60006131ff8285612ea2565b915061320b8284612ea2565b91508190509392505050565b600060208201905061322c6000830184612db4565b92915050565b60006080820190506132476000830187612db4565b6132546020830186612db4565b61326160408301856131e4565b81810360608301526132738184612e30565b905095945050505050565b600060208201905081810360008301526132988184612dc3565b905092915050565b60006020820190506132b56000830184612e21565b92915050565b600060208201905081810360008301526132d58184612e69565b905092915050565b600060208201905081810360008301526132f681612ed3565b9050919050565b6000602082019050818103600083015261331681612ef6565b9050919050565b6000602082019050818103600083015261333681612f19565b9050919050565b6000602082019050818103600083015261335681612f3c565b9050919050565b6000602082019050818103600083015261337681612f5f565b9050919050565b6000602082019050818103600083015261339681612f82565b9050919050565b600060208201905081810360008301526133b681612fa5565b9050919050565b600060208201905081810360008301526133d681612fc8565b9050919050565b600060208201905081810360008301526133f681612feb565b9050919050565b600060208201905081810360008301526134168161300e565b9050919050565b6000602082019050818103600083015261343681613031565b9050919050565b6000602082019050818103600083015261345681613054565b9050919050565b6000602082019050818103600083015261347681613077565b9050919050565b600060208201905081810360008301526134968161309a565b9050919050565b600060208201905081810360008301526134b6816130bd565b9050919050565b600060208201905081810360008301526134d6816130e0565b9050919050565b600060208201905081810360008301526134f681613103565b9050919050565b6000602082019050818103600083015261351681613126565b9050919050565b6000602082019050818103600083015261353681613149565b9050919050565b600060208201905081810360008301526135568161316c565b9050919050565b600060208201905081810360008301526135768161318f565b9050919050565b60006020820190508181036000830152613596816131b2565b9050919050565b60006020820190506135b260008301846131e4565b92915050565b60006135c26135d3565b90506135ce82826138b8565b919050565b6000604051905090565b600067ffffffffffffffff8211156135f8576135f7613a4e565b5b61360182613a91565b9050602081019050919050565b600067ffffffffffffffff82111561362957613628613a4e565b5b61363282613a91565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006136c68261383a565b91506136d18361383a565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561370657613705613963565b5b828201905092915050565b600061371c8261383a565b91506137278361383a565b92508261373757613736613992565b5b828204905092915050565b600061374d8261383a565b91506137588361383a565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561379157613790613963565b5b828202905092915050565b60006137a78261383a565b91506137b28361383a565b9250828210156137c5576137c4613963565b5b828203905092915050565b60006137db8261381a565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613871578082015181840152602081019050613856565b83811115613880576000848401525b50505050565b6000600282049050600182168061389e57607f821691505b602082108114156138b2576138b16139c1565b5b50919050565b6138c182613a91565b810181811067ffffffffffffffff821117156138e0576138df613a4e565b5b80604052505050565b60006138f48261383a565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561392757613926613963565b5b600182019050919050565b600061393d8261383a565b91506139488361383a565b92508261395857613957613992565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f53616c6520506175736564000000000000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f45786365656473206d6178696d756d20737570706c7900000000000000000000600082015250565b7f45746865722073656e74206973206e6f7420636f727265637400000000000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f596f752063616e206d696e742061206d6178696d756d206f66205f6d61784d6960008201527f6e7420436f707943617473000000000000000000000000000000000000000000602082015250565b61406b816137d0565b811461407657600080fd5b50565b614082816137e2565b811461408d57600080fd5b50565b614099816137ee565b81146140a457600080fd5b50565b6140b08161383a565b81146140bb57600080fd5b5056fea26469706673582212209b2b4504b054f53b873b7b2d68f5cf61fcc584917d2ee1e6d6066d29bd8e3b4164736f6c634300080700330000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002368747470733a2f2f636f7079636174736e66742e636f2f6170692f636f70796361742f0000000000000000000000000000000000000000000000000000000000

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

0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002368747470733a2f2f636f7079636174736e66742e636f2f6170692f636f70796361742f0000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : baseURI (string): https://copycatsnft.co/api/copycat/

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000023
Arg [2] : 68747470733a2f2f636f7079636174736e66742e636f2f6170692f636f707963
Arg [3] : 61742f0000000000000000000000000000000000000000000000000000000000


Block Transaction Difficulty Gas Used Reward
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.