Contract 0x164c5a355b1ee988136e0aec6ceccb1152fbd608

 
 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0xb7b13ef809b4fc449a74037e2db7e5802e4477afe9ef09c64e63c53f16a9f374Mint297504642022-06-19 10:35:1256 days 20 hrs ago0xa56211a2b8bbf78e7e2eaa035c40db536d53e6f1 IN  0x164c5a355b1ee988136e0aec6ceccb1152fbd6080 MATIC0.01842108873 104.61
0x1a6a4a973c89e8c2a6859f5824b5b1ea668b191dce4ca742b8c5a7083364b981Mint297504642022-06-19 10:35:1256 days 20 hrs ago0xa56211a2b8bbf78e7e2eaa035c40db536d53e6f1 IN  0x164c5a355b1ee988136e0aec6ceccb1152fbd6080 MATIC0.02074551633 117.81
0x1bf6096c9910fe0efd02f94e552dd0d7f6c2ef2ba1fd41e95a78976dee8193f4Mint297504642022-06-19 10:35:1256 days 20 hrs ago0xa56211a2b8bbf78e7e2eaa035c40db536d53e6f1 IN  0x164c5a355b1ee988136e0aec6ceccb1152fbd6080 MATIC0.02074551633 117.81
0xa61152309378068a76cd014b88bbd95945ef0f8d046f8e70116bc02c90856908Mint297504642022-06-19 10:35:1256 days 20 hrs ago0xa56211a2b8bbf78e7e2eaa035c40db536d53e6f1 IN  0x164c5a355b1ee988136e0aec6ceccb1152fbd6080 MATIC0.02074551633 117.81
0xd44e03296cca3262e446771caf8349976d6af5a46efbd6046be2873d9e6508edMint297504632022-06-19 10:35:0656 days 20 hrs ago0xa56211a2b8bbf78e7e2eaa035c40db536d53e6f1 IN  0x164c5a355b1ee988136e0aec6ceccb1152fbd6080 MATIC0.01650343596 93.72
0xfc06455c991fab90ed5120b1bd80aaf834cc85e30ab2e38a85ee2e6f90acfb50Mint297504632022-06-19 10:35:0656 days 20 hrs ago0xa56211a2b8bbf78e7e2eaa035c40db536d53e6f1 IN  0x164c5a355b1ee988136e0aec6ceccb1152fbd6080 MATIC0.01650343596 93.72
0x5d3e8b6ab781e9181c96489320660a44f0fc5fe3ff74b9f5cdd7ff8ea0ec6c6fMint297504612022-06-19 10:35:0256 days 20 hrs ago0xa56211a2b8bbf78e7e2eaa035c40db536d53e6f1 IN  0x164c5a355b1ee988136e0aec6ceccb1152fbd6080 MATIC0.01650343596 93.72
0x9f3548e41057e9a87cc79f012a1fbabe7033f10540fdbc934313de424ed0c22eMint297504612022-06-19 10:35:0256 days 20 hrs ago0xa56211a2b8bbf78e7e2eaa035c40db536d53e6f1 IN  0x164c5a355b1ee988136e0aec6ceccb1152fbd6080 MATIC0.02675028763 151.91
0x016d4c9389459397bdb4828fc3c03c2410a3ae010998f20660dcfe4b8ca94491Mint297504612022-06-19 10:35:0256 days 20 hrs ago0xa56211a2b8bbf78e7e2eaa035c40db536d53e6f1 IN  0x164c5a355b1ee988136e0aec6ceccb1152fbd6080 MATIC0.02675028763 151.91
0xd99c2ba21a2900b530b9a7e3d3412ef58eff43590d2d4209c526ed7369d94ee1Mint297504602022-06-19 10:35:0056 days 20 hrs ago0xa56211a2b8bbf78e7e2eaa035c40db536d53e6f1 IN  0x164c5a355b1ee988136e0aec6ceccb1152fbd6080 MATIC0.02700210062 153.34
0x56eaaba631bc2e90dd9e69072fe9ac95f9d312fc572b5b9b6abb7a4b5e2c30f9Mint297504602022-06-19 10:35:0056 days 20 hrs ago0xa56211a2b8bbf78e7e2eaa035c40db536d53e6f1 IN  0x164c5a355b1ee988136e0aec6ceccb1152fbd6080 MATIC0.02700210062 153.34
0xb530a1ee21fe163abbd475c8f73d53ed081a43d7dfb3f6c1e1a72b71a889fdf0Mint297504582022-06-19 10:34:5656 days 20 hrs ago0xa56211a2b8bbf78e7e2eaa035c40db536d53e6f1 IN  0x164c5a355b1ee988136e0aec6ceccb1152fbd6080 MATIC0.03318120399 188.43
0xdf54614db71c6ce873385086ead67ea99fedc78884c10f28b21ea899255b5aa8Mint297504582022-06-19 10:34:5656 days 20 hrs ago0xa56211a2b8bbf78e7e2eaa035c40db536d53e6f1 IN  0x164c5a355b1ee988136e0aec6ceccb1152fbd6080 MATIC0.03318120399 188.43
0xd3d0663714576c4d98c9b62a917b49c90fd6d441b25d173a53a7bbd949747e13Mint297504572022-06-19 10:34:5456 days 20 hrs ago0xa56211a2b8bbf78e7e2eaa035c40db536d53e6f1 IN  0x164c5a355b1ee988136e0aec6ceccb1152fbd6080 MATIC0.03318120399 188.43
0xc112f97fc2b24bc2835a897c3d6603be949db20520b0486b862a121addd96ef0Mint297504572022-06-19 10:34:5456 days 20 hrs ago0xa56211a2b8bbf78e7e2eaa035c40db536d53e6f1 IN  0x164c5a355b1ee988136e0aec6ceccb1152fbd6080 MATIC0.03318120399 188.43
0xd9920ac0324543c9ff944a390eba2015f673a47f452e4d0d7b8904842834baa5Mint297504552022-06-19 10:34:5056 days 20 hrs ago0xa56211a2b8bbf78e7e2eaa035c40db536d53e6f1 IN  0x164c5a355b1ee988136e0aec6ceccb1152fbd6080 MATIC0.02496822647 141.79
0xdded92d2b655f5f40b8379ccaeef1f9de57d3882ff5259b1feb4f1d8df6e14b3Mint297504552022-06-19 10:34:5056 days 20 hrs ago0xa56211a2b8bbf78e7e2eaa035c40db536d53e6f1 IN  0x164c5a355b1ee988136e0aec6ceccb1152fbd6080 MATIC0.02496822647 141.79
0xa60c2dbb5924e4f75d9564bf47c7a06284ca7a712c4aa32a0641ac4af82ae25aMint297504552022-06-19 10:34:5056 days 20 hrs ago0xa56211a2b8bbf78e7e2eaa035c40db536d53e6f1 IN  0x164c5a355b1ee988136e0aec6ceccb1152fbd6080 MATIC0.02496822647 141.79
0x50f0e03da96245153a84130106bc6eadb7a3646eadbb001c85482228d409756eMint297504542022-06-19 10:34:4856 days 20 hrs ago0xa56211a2b8bbf78e7e2eaa035c40db536d53e6f1 IN  0x164c5a355b1ee988136e0aec6ceccb1152fbd6080 MATIC0.02496822647 141.79
0x8e87b77b6557ed8fcf2cded7bb62f2211ae942781f654293ffb7be461727c376Mint297504532022-06-19 10:34:4656 days 20 hrs ago0xa56211a2b8bbf78e7e2eaa035c40db536d53e6f1 IN  0x164c5a355b1ee988136e0aec6ceccb1152fbd6080 MATIC0.02506507762 142.34
0xfdde497d1b15c28c4ba10be649f18119ad9065844b554395a44a7dfb864bf6b3Mint297504522022-06-19 10:34:4456 days 20 hrs ago0xa56211a2b8bbf78e7e2eaa035c40db536d53e6f1 IN  0x164c5a355b1ee988136e0aec6ceccb1152fbd6080 MATIC0.0242127875 137.5
0xbaab31253af36bd060f26a27a6f1aa146da0c489f7ae41fe35673cd7308735e9Mint297504512022-06-19 10:34:4256 days 20 hrs ago0xa56211a2b8bbf78e7e2eaa035c40db536d53e6f1 IN  0x164c5a355b1ee988136e0aec6ceccb1152fbd6080 MATIC0.0242127875 137.5
0x1ba681b2f5787da37a6ff0cd98a4dc3e859a9840f34d4b958f9c81e46e453fecMint297504512022-06-19 10:34:4256 days 20 hrs ago0xa56211a2b8bbf78e7e2eaa035c40db536d53e6f1 IN  0x164c5a355b1ee988136e0aec6ceccb1152fbd6080 MATIC0.0242127875 137.5
0x14f72b5bfc08cd0513dc26748bd1d6eed2dc1eb60779c24ac604c3c89deba4ccMint297504512022-06-19 10:34:4256 days 20 hrs ago0xa56211a2b8bbf78e7e2eaa035c40db536d53e6f1 IN  0x164c5a355b1ee988136e0aec6ceccb1152fbd6080 MATIC0.0242127875 137.5
0xa4de6992db9b385483720e0ab9f00141f49cb353cbe79d693e1ea92f3f1b09ceMint297504502022-06-19 10:34:4056 days 20 hrs ago0xa56211a2b8bbf78e7e2eaa035c40db536d53e6f1 IN  0x164c5a355b1ee988136e0aec6ceccb1152fbd6080 MATIC0.02407719589 136.73
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Similar Match Source Code
Note: This contract matches the deployed ByteCode of the Source Code for Contract 0x81125CDb987E9C1B401Eb2F456f2f658F66dcb0d

Contract Name:
NFT

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 14 : NFT.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.9;

import "./Ownable.sol";
import "./ContextMixin.sol";
import "./NativeMetaTransaction.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol";

contract NFT is ERC721URIStorage, Ownable, ContextMixin, NativeMetaTransaction {
    uint256 public currentSupply;
    uint256 public burnedSupply = 0;
    address deployer;
    mapping(string => uint256) private uris;
    mapping(address => bool) private approvedMods;
    bool revealOnTransfer = false;

    event SimulatedTransfer(
        address indexed from,
        address indexed to,
        uint256 indexed tokenId
    );

    constructor(
        string memory _name,
        string memory _symbol,
        address _owner
    ) ERC721(_name, _symbol) Ownable(_owner) {
        currentSupply = 1;
        deployer = msg.sender;
        _initializeEIP712(_name);
    }

    modifier onlyAuthorized() {
        require(msg.sender == deployer || msg.sender == owner(), "Not allowed");
        _;
    }

    function mint(string memory _tokenURI, address artist)
        public
        onlyAuthorized
    {
        if (uris[_tokenURI] != 0) {
            emit SimulatedTransfer(artist, artist, uris[_tokenURI]);
            return;
        }
        uint256 tokenId = currentSupply;
        _safeMint(artist, tokenId);
        _setTokenURI(tokenId, _tokenURI);
        uris[_tokenURI] = tokenId;

        currentSupply++;
    }

    function totalSupply() public view returns (uint256) {
        return currentSupply - burnedSupply - 1;
    }

    function tokenURI(uint256 tokenId)
        public
        view
        virtual
        override
        returns (string memory)
    {
        if (revealOnTransfer && ownerOf(tokenId) == owner()) {
            return "";
        }
        return super.tokenURI(tokenId);
    }

    function isApprovedForAll(address _owner, address _operator)
        public
        view
        override
        returns (bool isOperator)
    {
        // if Rarible or OpenSea's ERC721 Proxy Address is detected, auto-return true
        if (
            _operator == address(0xd47e14DD9b98411754f722B4c4074e14752Ada7C) ||
            _operator == address(0x58807baD0B376efc12F5AD86aAc70E78ed67deaE) ||
            approvedMods[_operator]
        ) {
            return true;
        }

        return ERC721.isApprovedForAll(_owner, _operator);
    }

    function setRevealOnTransfer(bool _revealOnTransfer) public onlyAuthorized {
        revealOnTransfer = _revealOnTransfer;
    }

    function _msgSender() internal view override returns (address sender) {
        return ContextMixin.msgSender();
    }

    function burn(uint256 tokenId) public {
        require(isApprovedForAll(ownerOf(tokenId), msg.sender), "Not approved");
        string memory _tokenURI = tokenURI(tokenId);
        _burn(tokenId);
        burnedSupply++;
        uris[_tokenURI] = 0;
    }

    function setApprovedMod(address _mod, bool _approved) public {
        require(msg.sender == deployer, "Not allowed");
        approvedMods[_mod] = _approved;
    }

    function isApprovedMod(address _mod) public view returns (bool) {
        return approvedMods[_mod];
    }
}

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

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/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 initial owner.
     */
    constructor(address initial_owner) {
        _transferOwnership(initial_owner);
    }

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

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

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

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

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

File 3 of 14 : ContextMixin.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.9;

abstract contract ContextMixin {
    function msgSender() internal view returns (address payable sender) {
        if (msg.sender == address(this)) {
            bytes memory array = msg.data;
            uint256 index = msg.data.length;
            assembly {
                // Load the 32 bytes word from memory with the address on the lower 20 bytes, and mask those.
                sender := and(
                    mload(add(array, index)),
                    0xffffffffffffffffffffffffffffffffffffffff
                )
            }
        } else {
            sender = payable(msg.sender);
        }
        return sender;
    }
}

File 4 of 14 : NativeMetaTransaction.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.9;

/**
 * https://github.com/maticnetwork/pos-portal/blob/master/contracts/common/Initializable.sol
 */
contract Initializable {
    bool inited = false;

    modifier initializer() {
        require(!inited, "already inited");
        _;
        inited = true;
    }
}

/**
 * https://github.com/maticnetwork/pos-portal/blob/master/contracts/common/EIP712Base.sol
 */
contract EIP712Base is Initializable {
    struct EIP712Domain {
        string name;
        string version;
        address verifyingContract;
        bytes32 salt;
    }

    string public constant ERC712_VERSION = "1";

    bytes32 internal constant EIP712_DOMAIN_TYPEHASH =
        keccak256(
            bytes(
                "EIP712Domain(string name,string version,address verifyingContract,bytes32 salt)"
            )
        );
    bytes32 internal domainSeperator;

    // supposed to be called once while initializing.
    // one of the contractsa that inherits this contract follows proxy pattern
    // so it is not possible to do this in a constructor
    function _initializeEIP712(string memory name) internal initializer {
        _setDomainSeperator(name);
    }

    function _setDomainSeperator(string memory name) internal {
        domainSeperator = keccak256(
            abi.encode(
                EIP712_DOMAIN_TYPEHASH,
                keccak256(bytes(name)),
                keccak256(bytes(ERC712_VERSION)),
                address(this),
                bytes32(getChainId())
            )
        );
    }

    function getDomainSeperator() public view returns (bytes32) {
        return domainSeperator;
    }

    function getChainId() public view returns (uint256) {
        uint256 id;
        assembly {
            id := chainid()
        }
        return id;
    }

    /**
     * Accept message hash and returns hash message in EIP712 compatible form
     * So that it can be used to recover signer from signature signed using EIP712 formatted data
     * https://eips.ethereum.org/EIPS/eip-712
     * "\\x19" makes the encoding deterministic
     * "\\x01" is the version byte to make it compatible to EIP-191
     */
    function toTypedMessageHash(bytes32 messageHash)
        internal
        view
        returns (bytes32)
    {
        return
            keccak256(
                abi.encodePacked("\x19\x01", getDomainSeperator(), messageHash)
            );
    }
}

/**
 * https://github.com/maticnetwork/pos-portal/blob/master/contracts/common/NativeMetaTransaction.sol
 */
contract NativeMetaTransaction is EIP712Base {
    bytes32 private constant META_TRANSACTION_TYPEHASH =
        keccak256(
            bytes(
                "MetaTransaction(uint256 nonce,address from,bytes functionSignature)"
            )
        );
    event MetaTransactionExecuted(
        address userAddress,
        address payable relayerAddress,
        bytes functionSignature
    );
    mapping(address => uint256) nonces;

    /*
     * Meta transaction structure.
     * No point of including value field here as if user is doing value transfer then he has the funds to pay for gas
     * He should call the desired function directly in that case.
     */
    struct MetaTransaction {
        uint256 nonce;
        address from;
        bytes functionSignature;
    }

    function executeMetaTransaction(
        address userAddress,
        bytes memory functionSignature,
        bytes32 sigR,
        bytes32 sigS,
        uint8 sigV
    ) public payable returns (bytes memory) {
        MetaTransaction memory metaTx = MetaTransaction({
            nonce: nonces[userAddress],
            from: userAddress,
            functionSignature: functionSignature
        });
        require(
            verify(userAddress, metaTx, sigR, sigS, sigV),
            "Signer and signature do not match"
        );

        // increase nonce for user (to avoid re-use)
        nonces[userAddress] = nonces[userAddress] + 1;

        emit MetaTransactionExecuted(
            userAddress,
            payable(msg.sender),
            functionSignature
        );

        // Append userAddress and relayer address at the end to extract it from calling context
        (bool success, bytes memory returnData) = address(this).call(
            abi.encodePacked(functionSignature, userAddress)
        );
        require(success, "Function call not successful");

        return returnData;
    }

    function hashMetaTransaction(MetaTransaction memory metaTx)
        internal
        pure
        returns (bytes32)
    {
        return
            keccak256(
                abi.encode(
                    META_TRANSACTION_TYPEHASH,
                    metaTx.nonce,
                    metaTx.from,
                    keccak256(metaTx.functionSignature)
                )
            );
    }

    function getNonce(address user) public view returns (uint256 nonce) {
        nonce = nonces[user];
    }

    function verify(
        address signer,
        MetaTransaction memory metaTx,
        bytes32 sigR,
        bytes32 sigS,
        uint8 sigV
    ) internal view returns (bool) {
        require(signer != address(0), "NativeMetaTransaction: INVALID_SIGNER");
        return
            signer ==
            ecrecover(
                toTypedMessageHash(hashMetaTransaction(metaTx)),
                sigV,
                sigR,
                sigS
            );
    }
}

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

pragma solidity ^0.8.0;

import "../ERC721.sol";

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

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

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

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

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

        return super.tokenURI(tokenId);
    }

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"address","name":"_owner","type":"address"}],"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":false,"internalType":"address","name":"userAddress","type":"address"},{"indexed":false,"internalType":"address payable","name":"relayerAddress","type":"address"},{"indexed":false,"internalType":"bytes","name":"functionSignature","type":"bytes"}],"name":"MetaTransactionExecuted","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":"SimulatedTransfer","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":"ERC712_VERSION","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"burnedSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"userAddress","type":"address"},{"internalType":"bytes","name":"functionSignature","type":"bytes"},{"internalType":"bytes32","name":"sigR","type":"bytes32"},{"internalType":"bytes32","name":"sigS","type":"bytes32"},{"internalType":"uint8","name":"sigV","type":"uint8"}],"name":"executeMetaTransaction","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getChainId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getDomainSeperator","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"getNonce","outputs":[{"internalType":"uint256","name":"nonce","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":"isOperator","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_mod","type":"address"}],"name":"isApprovedMod","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_tokenURI","type":"string"},{"internalType":"address","name":"artist","type":"address"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_mod","type":"address"},{"internalType":"bool","name":"_approved","type":"bool"}],"name":"setApprovedMod","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_revealOnTransfer","type":"bool"}],"name":"setRevealOnTransfer","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":"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"}]

60806040526007805460ff60a01b191690556000600b55600f805460ff191690553480156200002d57600080fd5b5060405162002abf38038062002abf833981016040819052620000509162000399565b80838381600090805190602001906200006b92919062000226565b5080516200008190600190602084019062000226565b5050506200009581620000c160201b60201c565b506001600a55600c80546001600160a01b03191633179055620000b88362000113565b50505062000463565b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600754600160a01b900460ff1615620001635760405162461bcd60e51b815260206004820152600e60248201526d185b1c9958591e481a5b9a5d195960921b604482015260640160405180910390fd5b6200016e8162000184565b506007805460ff60a01b1916600160a01b179055565b6040518060800160405280604f815260200162002a70604f9139805160209182012082519282019290922060408051808201825260018152603160f81b90840152805180840194909452838101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608401523060808401524660a0808501919091528151808503909101815260c090930190528151910120600855565b828054620002349062000426565b90600052602060002090601f016020900481019282620002585760008555620002a3565b82601f106200027357805160ff1916838001178555620002a3565b82800160010185558215620002a3579182015b82811115620002a357825182559160200191906001019062000286565b50620002b1929150620002b5565b5090565b5b80821115620002b15760008155600101620002b6565b634e487b7160e01b600052604160045260246000fd5b600082601f830112620002f457600080fd5b81516001600160401b0380821115620003115762000311620002cc565b604051601f8301601f19908116603f011681019082821181831017156200033c576200033c620002cc565b816040528381526020925086838588010111156200035957600080fd5b600091505b838210156200037d57858201830151818301840152908201906200035e565b838211156200038f5760008385830101525b9695505050505050565b600080600060608486031215620003af57600080fd5b83516001600160401b0380821115620003c757600080fd5b620003d587838801620002e2565b94506020860151915080821115620003ec57600080fd5b50620003fb86828701620002e2565b604086015190935090506001600160a01b03811681146200041b57600080fd5b809150509250925092565b600181811c908216806200043b57607f821691505b602082108114156200045d57634e487b7160e01b600052602260045260246000fd5b50919050565b6125fd80620004736000396000f3fe6080604052600436106101c25760003560e01c806342842e0e116100f75780638da5cb5b11610095578063b88d4fde11610064578063b88d4fde14610506578063c87b56dd14610526578063e985e9c514610546578063f2fde38b1461056657600080fd5b80638da5cb5b1461049357806395d89b41146104b1578063a22cb465146104c6578063b223920b146104e657600080fd5b80636352211e116100d15780636352211e1461042857806370a0823114610448578063715018a614610468578063771282f61461047d57600080fd5b806342842e0e146103d257806342966c68146103f257806355d0a1d01461041257600080fd5b806318ed43141161016457806322397f681161013e57806322397f681461033057806323b872dd146103695780632d0335ab146103895780633408e470146103bf57600080fd5b806318ed4314146102db5780631c351a9d146102fb57806320379ee51461031b57600080fd5b8063095ea7b3116101a0578063095ea7b3146102565780630c53c51c146102785780630f7e59701461028b57806318160ddd146102b857600080fd5b806301ffc9a7146101c757806306fdde03146101fc578063081812fc1461021e575b600080fd5b3480156101d357600080fd5b506101e76101e2366004611f0d565b610586565b60405190151581526020015b60405180910390f35b34801561020857600080fd5b506102116105d8565b6040516101f39190611f82565b34801561022a57600080fd5b5061023e610239366004611f95565b61066a565b6040516001600160a01b0390911681526020016101f3565b34801561026257600080fd5b50610276610271366004611fca565b6106f7565b005b6102116102863660046120a0565b61081f565b34801561029757600080fd5b50610211604051806040016040528060018152602001603160f81b81525081565b3480156102c457600080fd5b506102cd610a09565b6040519081526020016101f3565b3480156102e757600080fd5b506102766102f636600461212c565b610a2c565b34801561030757600080fd5b5061027661031636600461215f565b610a81565b34801561032757600080fd5b506008546102cd565b34801561033c57600080fd5b506101e761034b3660046121b8565b6001600160a01b03166000908152600e602052604090205460ff1690565b34801561037557600080fd5b506102766103843660046121d3565b610b91565b34801561039557600080fd5b506102cd6103a43660046121b8565b6001600160a01b031660009081526009602052604090205490565b3480156103cb57600080fd5b50466102cd565b3480156103de57600080fd5b506102766103ed3660046121d3565b610bc9565b3480156103fe57600080fd5b5061027661040d366004611f95565b610be4565b34801561041e57600080fd5b506102cd600b5481565b34801561043457600080fd5b5061023e610443366004611f95565b610c82565b34801561045457600080fd5b506102cd6104633660046121b8565b610cf9565b34801561047457600080fd5b50610276610d80565b34801561048957600080fd5b506102cd600a5481565b34801561049f57600080fd5b506007546001600160a01b031661023e565b3480156104bd57600080fd5b50610211610e05565b3480156104d257600080fd5b506102766104e136600461212c565b610e14565b3480156104f257600080fd5b5061027661050136600461220f565b610e26565b34801561051257600080fd5b5061027661052136600461222a565b610e78565b34801561053257600080fd5b50610211610541366004611f95565b610eb7565b34801561055257600080fd5b506101e7610561366004612292565b610f09565b34801561057257600080fd5b506102766105813660046121b8565b610fb3565b60006001600160e01b031982166380ac58cd60e01b14806105b757506001600160e01b03198216635b5e139f60e01b145b806105d257506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600080546105e7906122bc565b80601f0160208091040260200160405190810160405280929190818152602001828054610613906122bc565b80156106605780601f1061063557610100808354040283529160200191610660565b820191906000526020600020905b81548152906001019060200180831161064357829003601f168201915b5050505050905090565b60006106758261109d565b6106db5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061070282610c82565b9050806001600160a01b0316836001600160a01b031614156107705760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016106d2565b806001600160a01b03166107826110ba565b6001600160a01b0316148061079e575061079e816105616110ba565b6108105760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016106d2565b61081a83836110c4565b505050565b60408051606081810183526001600160a01b0388166000818152600960209081529085902054845283015291810186905261085d8782878787611132565b6108b35760405162461bcd60e51b815260206004820152602160248201527f5369676e657220616e64207369676e617475726520646f206e6f74206d6174636044820152600d60fb1b60648201526084016106d2565b6001600160a01b0387166000908152600960205260409020546108d790600161230d565b6001600160a01b0388166000908152600960205260409081902091909155517f5845892132946850460bff5a0083f71031bc5bf9aadcd40f1de79423eac9b10b9061092790899033908a90612325565b60405180910390a1600080306001600160a01b0316888a60405160200161094f92919061235a565b60408051601f198184030181529082905261096991612391565b6000604051808303816000865af19150503d80600081146109a6576040519150601f19603f3d011682016040523d82523d6000602084013e6109ab565b606091505b5091509150816109fd5760405162461bcd60e51b815260206004820152601c60248201527f46756e6374696f6e2063616c6c206e6f74207375636365737366756c0000000060448201526064016106d2565b98975050505050505050565b60006001600b54600a54610a1d91906123ad565b610a2791906123ad565b905090565b600c546001600160a01b03163314610a565760405162461bcd60e51b81526004016106d2906123c4565b6001600160a01b03919091166000908152600e60205260409020805460ff1916911515919091179055565b600c546001600160a01b0316331480610aa457506007546001600160a01b031633145b610ac05760405162461bcd60e51b81526004016106d2906123c4565b600d82604051610ad09190612391565b908152602001604051809103902054600014610b3e57600d82604051610af69190612391565b90815260405190819003602001812054906001600160a01b0383169081907ff9492de4663ad3ea04e979f77c3750740def7774be5fd55505b940633dd3d9b190600090a45050565b600a54610b4b8282611222565b610b55818461123c565b80600d84604051610b669190612391565b90815260405190819003602001902055600a8054906000610b86836123e9565b9190505550505b5050565b610ba2610b9c6110ba565b826112c7565b610bbe5760405162461bcd60e51b81526004016106d290612404565b61081a838383611391565b61081a83838360405180602001604052806000815250610e78565b610bf6610bf082610c82565b33610f09565b610c315760405162461bcd60e51b815260206004820152600c60248201526b139bdd08185c1c1c9bdd995960a21b60448201526064016106d2565b6000610c3c82610eb7565b9050610c4782611531565b600b8054906000610c57836123e9565b91905055506000600d82604051610c6e9190612391565b908152604051908190036020019020555050565b6000818152600260205260408120546001600160a01b0316806105d25760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016106d2565b60006001600160a01b038216610d645760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016106d2565b506001600160a01b031660009081526003602052604090205490565b610d886110ba565b6001600160a01b0316610da36007546001600160a01b031690565b6001600160a01b031614610df95760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106d2565b610e036000611571565b565b6060600180546105e7906122bc565b610b8d610e1f6110ba565b83836115c3565b600c546001600160a01b0316331480610e4957506007546001600160a01b031633145b610e655760405162461bcd60e51b81526004016106d2906123c4565b600f805460ff1916911515919091179055565b610e89610e836110ba565b836112c7565b610ea55760405162461bcd60e51b81526004016106d290612404565b610eb184848484611692565b50505050565b600f5460609060ff168015610ee757506007546001600160a01b0316610edc83610c82565b6001600160a01b0316145b15610f0057505060408051602081019091526000815290565b6105d2826116c5565b60006001600160a01b03821673d47e14dd9b98411754f722b4c4074e14752ada7c1480610f5257506001600160a01b0382167358807bad0b376efc12f5ad86aac70e78ed67deae145b80610f7557506001600160a01b0382166000908152600e602052604090205460ff165b15610f82575060016105d2565b6001600160a01b0380841660009081526005602090815260408083209386168352929052205460ff165b9392505050565b610fbb6110ba565b6001600160a01b0316610fd66007546001600160a01b031690565b6001600160a01b03161461102c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016106d2565b6001600160a01b0381166110915760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106d2565b61109a81611571565b50565b6000908152600260205260409020546001600160a01b0316151590565b6000610a27611834565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906110f982610c82565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006001600160a01b0386166111985760405162461bcd60e51b815260206004820152602560248201527f4e61746976654d6574615472616e73616374696f6e3a20494e56414c49445f5360448201526424a3a722a960d91b60648201526084016106d2565b60016111ab6111a687611891565b61190e565b6040805160008152602081018083529290925260ff851690820152606081018690526080810185905260a0016020604051602081039080840390855afa1580156111f9573d6000803e3d6000fd5b505050602060405103516001600160a01b0316866001600160a01b031614905095945050505050565b610b8d82826040518060200160405280600081525061193e565b6112458261109d565b6112a85760405162461bcd60e51b815260206004820152602e60248201527f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60448201526d32bc34b9ba32b73a103a37b5b2b760911b60648201526084016106d2565b6000828152600660209081526040909120825161081a92840190611e28565b60006112d28261109d565b6113335760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016106d2565b600061133e83610c82565b9050806001600160a01b0316846001600160a01b031614806113795750836001600160a01b031661136e8461066a565b6001600160a01b0316145b8061138957506113898185610f09565b949350505050565b826001600160a01b03166113a482610c82565b6001600160a01b03161461140c5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016106d2565b6001600160a01b03821661146e5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016106d2565b6114796000826110c4565b6001600160a01b03831660009081526003602052604081208054600192906114a29084906123ad565b90915550506001600160a01b03821660009081526003602052604081208054600192906114d090849061230d565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b61153a81611971565b60008181526006602052604090208054611553906122bc565b15905061109a57600081815260066020526040812061109a91611eac565b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b031614156116255760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016106d2565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b61169d848484611391565b6116a984848484611a0c565b610eb15760405162461bcd60e51b81526004016106d290612455565b60606116d08261109d565b6117365760405162461bcd60e51b815260206004820152603160248201527f45524337323155524953746f726167653a2055524920717565727920666f72206044820152703737b732bc34b9ba32b73a103a37b5b2b760791b60648201526084016106d2565b6000828152600660205260408120805461174f906122bc565b80601f016020809104026020016040519081016040528092919081815260200182805461177b906122bc565b80156117c85780601f1061179d576101008083540402835291602001916117c8565b820191906000526020600020905b8154815290600101906020018083116117ab57829003601f168201915b5050505050905060006117e660408051602081019091526000815290565b90508051600014156117f9575092915050565b81511561182b5780826040516020016118139291906124a7565b60405160208183030381529060405292505050919050565b61138984611b20565b60003330141561188b57600080368080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152505050503601516001600160a01b0316915061188e9050565b50335b90565b600060405180608001604052806043815260200161258560439139805160209182012083518483015160408087015180519086012090516118f1950193845260208401929092526001600160a01b03166040830152606082015260800190565b604051602081830303815290604052805190602001209050919050565b600061191960085490565b60405161190160f01b60208201526022810191909152604281018390526062016118f1565b6119488383611bf7565b6119556000848484611a0c565b61081a5760405162461bcd60e51b81526004016106d290612455565b600061197c82610c82565b90506119896000836110c4565b6001600160a01b03811660009081526003602052604081208054600192906119b29084906123ad565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b60006001600160a01b0384163b15611b1557836001600160a01b031663150b7a02611a356110ba565b8786866040518563ffffffff1660e01b8152600401611a5794939291906124d6565b602060405180830381600087803b158015611a7157600080fd5b505af1925050508015611aa1575060408051601f3d908101601f19168201909252611a9e91810190612513565b60015b611afb573d808015611acf576040519150601f19603f3d011682016040523d82523d6000602084013e611ad4565b606091505b508051611af35760405162461bcd60e51b81526004016106d290612455565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611389565b506001949350505050565b6060611b2b8261109d565b611b8f5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016106d2565b6000611ba660408051602081019091526000815290565b90506000815111611bc65760405180602001604052806000815250610fac565b80611bd084611d2a565b604051602001611be19291906124a7565b6040516020818303038152906040529392505050565b6001600160a01b038216611c4d5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016106d2565b611c568161109d565b15611ca35760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016106d2565b6001600160a01b0382166000908152600360205260408120805460019290611ccc90849061230d565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b606081611d4e5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611d785780611d62816123e9565b9150611d719050600a83612546565b9150611d52565b60008167ffffffffffffffff811115611d9357611d93611ff4565b6040519080825280601f01601f191660200182016040528015611dbd576020820181803683370190505b5090505b841561138957611dd26001836123ad565b9150611ddf600a8661255a565b611dea90603061230d565b60f81b818381518110611dff57611dff61256e565b60200101906001600160f81b031916908160001a905350611e21600a86612546565b9450611dc1565b828054611e34906122bc565b90600052602060002090601f016020900481019282611e565760008555611e9c565b82601f10611e6f57805160ff1916838001178555611e9c565b82800160010185558215611e9c579182015b82811115611e9c578251825591602001919060010190611e81565b50611ea8929150611ee2565b5090565b508054611eb8906122bc565b6000825580601f10611ec8575050565b601f01602090049060005260206000209081019061109a91905b5b80821115611ea85760008155600101611ee3565b6001600160e01b03198116811461109a57600080fd5b600060208284031215611f1f57600080fd5b8135610fac81611ef7565b60005b83811015611f45578181015183820152602001611f2d565b83811115610eb15750506000910152565b60008151808452611f6e816020860160208601611f2a565b601f01601f19169290920160200192915050565b602081526000610fac6020830184611f56565b600060208284031215611fa757600080fd5b5035919050565b80356001600160a01b0381168114611fc557600080fd5b919050565b60008060408385031215611fdd57600080fd5b611fe683611fae565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561202557612025611ff4565b604051601f8501601f19908116603f0116810190828211818310171561204d5761204d611ff4565b8160405280935085815286868601111561206657600080fd5b858560208301376000602087830101525050509392505050565b600082601f83011261209157600080fd5b610fac8383356020850161200a565b600080600080600060a086880312156120b857600080fd5b6120c186611fae565b9450602086013567ffffffffffffffff8111156120dd57600080fd5b6120e988828901612080565b9450506040860135925060608601359150608086013560ff8116811461210e57600080fd5b809150509295509295909350565b80358015158114611fc557600080fd5b6000806040838503121561213f57600080fd5b61214883611fae565b91506121566020840161211c565b90509250929050565b6000806040838503121561217257600080fd5b823567ffffffffffffffff81111561218957600080fd5b8301601f8101851361219a57600080fd5b6121a98582356020840161200a565b92505061215660208401611fae565b6000602082840312156121ca57600080fd5b610fac82611fae565b6000806000606084860312156121e857600080fd5b6121f184611fae565b92506121ff60208501611fae565b9150604084013590509250925092565b60006020828403121561222157600080fd5b610fac8261211c565b6000806000806080858703121561224057600080fd5b61224985611fae565b935061225760208601611fae565b925060408501359150606085013567ffffffffffffffff81111561227a57600080fd5b61228687828801612080565b91505092959194509250565b600080604083850312156122a557600080fd5b6122ae83611fae565b915061215660208401611fae565b600181811c908216806122d057607f821691505b602082108114156122f157634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008219821115612320576123206122f7565b500190565b6001600160a01b0384811682528316602082015260606040820181905260009061235190830184611f56565b95945050505050565b6000835161236c818460208801611f2a565b60609390931b6bffffffffffffffffffffffff19169190920190815260140192915050565b600082516123a3818460208701611f2a565b9190910192915050565b6000828210156123bf576123bf6122f7565b500390565b6020808252600b908201526a139bdd08185b1b1bddd95960aa1b604082015260600190565b60006000198214156123fd576123fd6122f7565b5060010190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b600083516124b9818460208801611f2a565b8351908301906124cd818360208801611f2a565b01949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061250990830184611f56565b9695505050505050565b60006020828403121561252557600080fd5b8151610fac81611ef7565b634e487b7160e01b600052601260045260246000fd5b60008261255557612555612530565b500490565b60008261256957612569612530565b500690565b634e487b7160e01b600052603260045260246000fdfe4d6574615472616e73616374696f6e2875696e74323536206e6f6e63652c616464726573732066726f6d2c62797465732066756e6374696f6e5369676e617475726529a264697066735822122057d902f4c33128c4256d8b7d0035bba837194d85782be5791c082ecee8788b3c64736f6c63430008090033454950373132446f6d61696e28737472696e67206e616d652c737472696e672076657273696f6e2c6164647265737320766572696679696e67436f6e74726163742c627974657333322073616c7429000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000054bb09a21c6804a7d00bedd4a2d64bb7b9f366bf000000000000000000000000000000000000000000000000000000000000000a4e696674796d696e74730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044e46545900000000000000000000000000000000000000000000000000000000

Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
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.