Contract 0xd0BA6A92561B04C1caB13D89AAbD5b673215e43D 4

Token Contract 
 
 
Txn Hash
Method
Block
From
To
Value
0xd9c5e16b735ccccd2e3ee623f4838167c0762c7aa623b832abe4c7413ca094aaSet Approval For...160795912022-11-30 1:42:236 hrs agoENS Name spheniscidae.eth IN  SoulZ Monogatari: SLZM Token0 Ether0.00047006 10.17531851
0x4e1094a064b2f31b9927e0d4762bda56ff863b06b82a06f903e748623026f85eSet Approval For...160772062022-11-29 17:41:5914 hrs 1 min agoENS Name rinako.eth IN  SoulZ Monogatari: SLZM Token0 Ether0.0006144 13.32391677
0xfb2b98d0a087a84c4cee79573790832903341b221061fccf8b370faceec7ff12Set Approval For...160757702022-11-29 12:52:4718 hrs 50 mins ago0x3fc5c83ae2fd646cf9dea45e55827bd7a6d67bdd IN  SoulZ Monogatari: SLZM Token0 Ether0.0002776 11.43130079
0xb14f1ce5afeb2078e21dda472b8cea9d1b93eb51cca6246c2ee8aef487016aaaSet Approval For...160756392022-11-29 12:26:3519 hrs 16 mins ago0x02e0893d6b46481c826c9db4099f08d181b13531 IN  SoulZ Monogatari: SLZM Token0 Ether0.00058814 12.73113914
0x8ea832a3bbac670274d04df8fbc4b6e0c60300d0b209a89b97d6514fb2bb74dcSet Approval For...160738332022-11-29 6:23:351 day 1 hr ago0x1ba9c2eaeae7e4bc3ac9578dd6145c4e0d428fb6 IN  SoulZ Monogatari: SLZM Token0 Ether0.00053121 11.51989307
0x9f60569d83dc19d89e3432cdc4afdc1ca4df5849c7ee9df23697d7e48a056574Set Approval For...160737092022-11-29 5:58:351 day 1 hr agoENS Name 8975.eth IN  SoulZ Monogatari: SLZM Token0 Ether0.0005145 11.13718276
0xbeee4a771576283412b5bd4243cb9caa074d99ea52bffa2b5fbc1949986d9803Safe Transfer Fr...160730302022-11-29 3:41:471 day 4 hrs ago0xf73d67dd62c1edc4a0341f995946903731a93c87 IN  SoulZ Monogatari: SLZM Token0 Ether0.00040194 8.80705072
0x9650a24df81e73b6c2089f39fe5a854ee1cde47f3e0ff036721e708da65e35edSafe Transfer Fr...160714882022-11-28 22:31:231 day 9 hrs ago0xfa2039d1ef99cb3f4cf14b427f708d6f11c61fc8 IN  SoulZ Monogatari: SLZM Token0 Ether0.00076502 12.19840133
0x915041001fea4aa98819d9f8ea5016cda24a7baaef6f093bd7c04d636516db3dSet Approval For...160705762022-11-28 19:28:231 day 12 hrs ago0xea194c8ccf97b5ba9943ec88b0073b1f887aa07e IN  SoulZ Monogatari: SLZM Token0 Ether0.00067875 14.69257508
0xef50deba2ba7bf85766b595cc381567838ef8cb02dec49a1d94f9e48a290f92cSet Approval For...160701322022-11-28 17:58:351 day 13 hrs ago0x889884d3a1b6097c7f8f4f0a4046f107866f9769 IN  SoulZ Monogatari: SLZM Token0 Ether0.00071354 15.47374322
0x43640bc8646c36f12087d62f2dcfdd16165af82902346bc637ade50401f8e060Set Approval For...160683232022-11-28 11:55:471 day 19 hrs ago0xf02df97ea80e4b00f4ad077cef7e349202686a8f IN  SoulZ Monogatari: SLZM Token0 Ether0.00047637 10.33056496
0xde43f53d2640aa8a95afc129bc8564f2d4a975ab42361214052e9459f154ce0dSet Approval For...160664482022-11-28 5:39:352 days 2 hrs ago0x839b2afa39dea35a3825ff720ad9be26117c6cf0 IN  SoulZ Monogatari: SLZM Token0 Ether0.00045401 9.84567053
0x8508ab78bcd28ac8fca40778116f8181e0b4a57550d928e8fb87dec73fbc1462Set Approval For...160662522022-11-28 5:00:232 days 2 hrs agoENS Name deadregime.eth IN  SoulZ Monogatari: SLZM Token0 Ether0.00051927 11.26081677
0x930fa5d9c5b861deb6e58484815f7de9b5ff864217f97497d2561d881df6c226Set Approval For...160638812022-11-27 21:03:112 days 10 hrs ago0x72cfe5abb435bac1552f310e4e42666ccfb98a72 IN  SoulZ Monogatari: SLZM Token0 Ether0.00048795 10.58179481
0x83129d7e8d3e2b4a31ef6986022feb5b1fdc43cfe7e1dc28300383428cfb13a5Set Approval For...160630582022-11-27 18:17:112 days 13 hrs ago0xd3305c87b0d7d1c8dd80c5b6a9f5c93451114a99 IN  SoulZ Monogatari: SLZM Token0 Ether0.00049452 10.70460821
0x82f8e50e9467dbf94754ae13cd76414a05416de245c70252a507da27df5d7968Set Approval For...160626992022-11-27 17:04:472 days 14 hrs ago0x2c24863601d07417c4af46c4bb1fb841de5257c7 IN  SoulZ Monogatari: SLZM Token0 Ether0.00067701 14.68160681
0x8144b8728807f851df80c9907d17f3785dcd55c833ae72b11865b07b4a7b0354Set Approval For...160595762022-11-27 6:37:353 days 1 hr ago0x572a2304d79ebb74e66779f8689904c538193ff1 IN  SoulZ Monogatari: SLZM Token0 Ether0.00027094 11.15702676
0xdb2101b19908ae9588687b40216e78b4e487a804d5a365fb51d431dc3baacf4bSet Approval For...160589532022-11-27 4:32:353 days 3 hrs ago0x6c6547f194057018b3a3eaed919d7039ec37d51d IN  SoulZ Monogatari: SLZM Token0 Ether0.00050228 10.89242938
0xe3575f5c135d0b6a25e5e2a1091b40b6bddf7b35a30b25798cd1b2d5982420d1Set Approval For...160584262022-11-27 2:47:113 days 4 hrs agoENS Name kaijuking779.eth IN  SoulZ Monogatari: SLZM Token0 Ether0.00046499 10.06553908
0xbff3737e67b2f2759d176844f06efe89c9d35495967a22201c0a7294259b2216Set Approval For...160574742022-11-26 23:35:353 days 8 hrs ago0xbe1c70c5a177986c9463429493a117b3e56ef3b3 IN  SoulZ Monogatari: SLZM Token0 Ether0.00056151 12.17696175
0x4f2680e98e604a7fbbfea43138f759c8fdd53bb70d4863faadfdc7ef20f83e98Set Approval For...160541742022-11-26 12:31:113 days 19 hrs ago0x942515c6d180196b83764013980484fc7524e80c IN  SoulZ Monogatari: SLZM Token0 Ether0.00053004 11.49442321
0x0a11f68fb6156b35986eb1493c54d4518f7a0d5e19b0b4f6af085b0b48407966Set Approval For...160523952022-11-26 6:33:234 days 1 hr ago0x5f92d8461ca31c0d368a3b87591897f5cf8c8847 IN  SoulZ Monogatari: SLZM Token0 Ether0.00052092 11.29661948
0xc64c0c606c1008a37f270d243269b1d152cfa7ae3c64da410269fdb8e4597886Set Approval For...160514872022-11-26 3:30:474 days 4 hrs ago0x5c5d1c68957ef6e9e46303e3cb02a0e3aece1678 IN  SoulZ Monogatari: SLZM Token0 Ether0.00050022 10.82807546
0x8e4c3f203b2bc5b5de3c95d74b43596e2e7cb39fd49127f93770b54a21076c79Set Approval For...160489962022-11-25 19:10:474 days 12 hrs ago0x76c5bb46a9a899baf5279edf396e78b7ae353c9a IN  SoulZ Monogatari: SLZM Token0 Ether0.00052756 11.41982695
0x9a63abd8eb11062029409bb3aa8991182f05a60e87a73909198bf137c10d83e3Set Approval For...160488202022-11-25 18:35:114 days 13 hrs ago0x24d7beaee5e0b050875cdd9bd2de76f4cf3ce1d5 IN  SoulZ Monogatari: SLZM Token0 Ether0.00054606 11.82027467
[ Download CSV Export 
View more zero value Internal Transactions in Advanced View mode
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
SoulZ

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

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

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/Pausable.sol";

interface IERC721A {
    function ownerOf(uint256 tokenId) external view returns (address);
}
contract SoulZ is ERC721, Ownable, Pausable {
    using Strings for uint256;
    IERC721A public oldCollection;
    string private _baseTokenURI =
        "https://ipfs.io/ipfs/QmPcp8s3mC3nZ6iojuThjSCaVQ4YejXSYhik5e7SBYM8Fk/";
    uint256 public totalSupply;

    constructor() ERC721("SoulZ Monogatari", "SLZM") {
        oldCollection = IERC721A(0xA5c807A62CD6774d6BF518dD2dEc0aE17446Ad8d);
    }

    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(), ".json"))
                : "";
    }

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

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

    function claimNFT(uint256[] memory tokenIds) external {
        for (uint256 i = 0; i < tokenIds.length; i++) {
            uint256 tokenId = tokenIds[i];
            totalSupply += 1;
            _mint(oldCollection.ownerOf(tokenId), tokenId);
        }
    }

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

    function withdrawToSender() external onlyOwner {
        uint256 balance = address(this).balance;
        payable(msg.sender).transfer(balance);
    }

    function withdraw() external onlyOwner {
        address[8] memory addresses = [
            0x2bC46E31a324AB9a208B3B0Fb91958E390DC0797,
            0x897C456868d4888c258528f8660b932804Cb6948,
            0xc0524078b6ABC601158bFc328c9A2B64Ee376e23,
            0x8FE4A152939Ece65f1fC651e57b8aA84cFc137C2,
            0x29d54F704a4253B5c3a8aE6CBDFDb01472119713,
            0x896baBEE76dBdF3F6d3b7470ad1e47e8c2016BDB,
            0xE892C48B5CdD20F50dbFdF4A949c649Aee9F24Da,
            0x24e21ae83ccB58EbAE990Cf1e014e062F6bb7B19
        ];

        uint256[8] memory shares = [
            uint256(2),
            uint256(2),
            uint256(3),
            uint256(3),
            uint256(10),
            uint256(60),
            uint256(60),
            uint256(60)
        ];

        uint256 balance = address(this).balance;

        for (uint256 i = 0; i < addresses.length; i++) {
            uint256 amount = i == addresses.length - 1
                ? address(this).balance
                : (balance * shares[i]) / 200;
            payable(addresses[i]).transfer(amount);
        }
    }

    function pause() external onlyOwner {
        _pause();
    }

    function unpause() external onlyOwner {
        _unpause();
    }
}

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

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 4 of 12 : Pausable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/Pausable.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor() {
        _paused = false;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        require(!paused(), "Pausable: paused");
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        require(paused(), "Pausable: not paused");
        _;
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

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

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

File 10 of 12 : 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 11 of 12 : 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 12 of 12 : 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":[],"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":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"claimNFT","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"oldCollection","outputs":[{"internalType":"contract IERC721A","name":"","type":"address"}],"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":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","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"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawToSender","outputs":[],"stateMutability":"nonpayable","type":"function"}]

61010060405260446080818152906200200060a03980516200002a916008916020909101906200014f565b503480156200003857600080fd5b50604080518082018252601081526f536f756c5a204d6f6e6f67617461726960801b602080830191825283518085019094526004845263534c5a4d60e01b9084015281519192916200008d916000916200014f565b508051620000a39060019060208401906200014f565b505050620000c0620000ba620000f960201b60201c565b620000fd565b6006805460ff60a01b19169055600780546001600160a01b03191673a5c807a62cd6774d6bf518dd2dec0ae17446ad8d17905562000232565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200015d90620001f5565b90600052602060002090601f016020900481019282620001815760008555620001cc565b82601f106200019c57805160ff1916838001178555620001cc565b82800160010185558215620001cc579182015b82811115620001cc578251825591602001919060010190620001af565b50620001da929150620001de565b5090565b5b80821115620001da5760008155600101620001df565b600181811c908216806200020a57607f821691505b602082108114156200022c57634e487b7160e01b600052602260045260246000fd5b50919050565b611dbe80620002426000396000f3fe608060405234801561001057600080fd5b50600436106101735760003560e01c80636352211e116100de578063a22cb46511610097578063c87b56dd11610071578063c87b56dd146102f7578063d03b415d1461030a578063e985e9c51461031d578063f2fde38b1461035957600080fd5b8063a22cb465146102be578063ac2cbbd7146102d1578063b88d4fde146102e457600080fd5b80636352211e1461026f57806370a0823114610282578063715018a6146102955780638456cb591461029d5780638da5cb5b146102a557806395d89b41146102b657600080fd5b806323b872dd1161013057806323b872dd146102145780633ccfd60b146102275780633f4ba83a1461022f57806342842e0e1461023757806355f804b31461024a5780635c975abb1461025d57600080fd5b806301ffc9a71461017857806306fdde03146101a0578063077af430146101b5578063081812fc146101bf578063095ea7b3146101ea57806318160ddd146101fd575b600080fd5b61018b610186366004611984565b61036c565b60405190151581526020015b60405180910390f35b6101a86103be565b6040516101979190611af1565b6101bd610450565b005b6101d26101cd366004611a30565b6104b6565b6040516001600160a01b039091168152602001610197565b6101bd6101f83660046118ab565b61054b565b61020660095481565b604051908152602001610197565b6101bd610222366004611773565b610661565b6101bd610692565b6101bd6108a9565b6101bd610245366004611773565b6108dd565b6101bd6102583660046119be565b6108f8565b600654600160a01b900460ff1661018b565b6101d261027d366004611a30565b61092e565b610206610290366004611700565b6109a5565b6101bd610a2c565b6101bd610a60565b6006546001600160a01b03166101d2565b6101a8610a92565b6101bd6102cc366004611878565b610aa1565b6007546101d2906001600160a01b031681565b6101bd6102f23660046117b4565b610aac565b6101a8610305366004611a30565b610ade565b6101bd6103183660046118d7565b610bb9565b61018b61032b36600461173a565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6101bd610367366004611700565b610c92565b60006001600160e01b031982166380ac58cd60e01b148061039d57506001600160e01b03198216635b5e139f60e01b145b806103b857506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600080546103cd90611c9b565b80601f01602080910402602001604051908101604052809291908181526020018280546103f990611c9b565b80156104465780601f1061041b57610100808354040283529160200191610446565b820191906000526020600020905b81548152906001019060200180831161042957829003601f168201915b5050505050905090565b6006546001600160a01b031633146104835760405162461bcd60e51b815260040161047a90611b56565b60405180910390fd5b6040514790339082156108fc029083906000818181858888f193505050501580156104b2573d6000803e3d6000fd5b5050565b6000818152600260205260408120546001600160a01b031661052f5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161047a565b506000908152600460205260409020546001600160a01b031690565b60006105568261092e565b9050806001600160a01b0316836001600160a01b031614156105c45760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b606482015260840161047a565b336001600160a01b03821614806105e057506105e0813361032b565b6106525760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606482015260840161047a565b61065c8383610d2d565b505050565b61066b3382610d9b565b6106875760405162461bcd60e51b815260040161047a90611b8b565b61065c838383610e92565b6006546001600160a01b031633146106bc5760405162461bcd60e51b815260040161047a90611b56565b604080516101008082018352732bc46e31a324ab9a208b3b0fb91958e390dc0797825273897c456868d4888c258528f8660b932804cb694860208084019190915273c0524078b6abc601158bfc328c9a2b64ee376e2383850152738fe4a152939ece65f1fc651e57b8aa84cfc137c26060808501919091527329d54f704a4253b5c3a8ae6cbdfdb0147211971360808086019190915273896babee76dbdf3f6d3b7470ad1e47e8c2016bdb60a08087019190915273e892c48b5cdd20f50dbfdf4a949c649aee9f24da60c0808801919091527324e21ae83ccb58ebae990cf1e014e062f6bb7b1960e08089019190915288519687018952600280885295870195909552600397860188905292850196909652600a90840152603c9483018590528201849052810192909252904760005b60088110156108a357600061080360016008611c58565b821461083b5760c884836008811061081d5761081d611d31565b602002015161082c9085611c39565b6108369190611c25565b61083d565b475b905084826008811061085157610851611d31565b60200201516001600160a01b03166108fc829081150290604051600060405180830381858888f1935050505015801561088e573d6000803e3d6000fd5b5050808061089b90611cd6565b9150506107ec565b50505050565b6006546001600160a01b031633146108d35760405162461bcd60e51b815260040161047a90611b56565b6108db611039565b565b61065c83838360405180602001604052806000815250610aac565b6006546001600160a01b031633146109225760405162461bcd60e51b815260040161047a90611b56565b61065c60088383611667565b6000818152600260205260408120546001600160a01b0316806103b85760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b606482015260840161047a565b60006001600160a01b038216610a105760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b606482015260840161047a565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b03163314610a565760405162461bcd60e51b815260040161047a90611b56565b6108db60006110d6565b6006546001600160a01b03163314610a8a5760405162461bcd60e51b815260040161047a90611b56565b6108db611128565b6060600180546103cd90611c9b565b6104b23383836111b0565b610ab63383610d9b565b610ad25760405162461bcd60e51b815260040161047a90611b8b565b6108a38484848461127f565b6000818152600260205260409020546060906001600160a01b0316610b5d5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b606482015260840161047a565b6000610b676112b2565b90506000815111610b875760405180602001604052806000815250610bb2565b80610b91846112c1565b604051602001610ba2929190611a75565b6040516020818303038152906040525b9392505050565b60005b81518110156104b2576000828281518110610bd957610bd9611d31565b60200260200101519050600160096000828254610bf69190611c0d565b90915550506007546040516331a9108f60e11b815260048101839052610c7f916001600160a01b031690636352211e9060240160206040518083038186803b158015610c4157600080fd5b505afa158015610c55573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c79919061171d565b826113bf565b5080610c8a81611cd6565b915050610bbc565b6006546001600160a01b03163314610cbc5760405162461bcd60e51b815260040161047a90611b56565b6001600160a01b038116610d215760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161047a565b610d2a816110d6565b50565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610d628261092e565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b0316610e145760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161047a565b6000610e1f8361092e565b9050806001600160a01b0316846001600160a01b03161480610e5a5750836001600160a01b0316610e4f846104b6565b6001600160a01b0316145b80610e8a57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316610ea58261092e565b6001600160a01b031614610f095760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b606482015260840161047a565b6001600160a01b038216610f6b5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161047a565b610f7683838361150d565b610f81600082610d2d565b6001600160a01b0383166000908152600360205260408120805460019290610faa908490611c58565b90915550506001600160a01b0382166000908152600360205260408120805460019290610fd8908490611c0d565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600654600160a01b900460ff166110895760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604482015260640161047a565b6006805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600654600160a01b900460ff16156111755760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015260640161047a565b6006805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586110b93390565b816001600160a01b0316836001600160a01b031614156112125760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161047a565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b61128a848484610e92565b6112968484848461155a565b6108a35760405162461bcd60e51b815260040161047a90611b04565b6060600880546103cd90611c9b565b6060816112e55750506040805180820190915260018152600360fc1b602082015290565b8160005b811561130f57806112f981611cd6565b91506113089050600a83611c25565b91506112e9565b60008167ffffffffffffffff81111561132a5761132a611d47565b6040519080825280601f01601f191660200182016040528015611354576020820181803683370190505b5090505b8415610e8a57611369600183611c58565b9150611376600a86611cf1565b611381906030611c0d565b60f81b81838151811061139657611396611d31565b60200101906001600160f81b031916908160001a9053506113b8600a86611c25565b9450611358565b6001600160a01b0382166114155760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161047a565b6000818152600260205260409020546001600160a01b03161561147a5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161047a565b6114866000838361150d565b6001600160a01b03821660009081526003602052604081208054600192906114af908490611c0d565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600654600160a01b900460ff161561065c5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015260640161047a565b60006001600160a01b0384163b1561165c57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061159e903390899088908890600401611ab4565b602060405180830381600087803b1580156115b857600080fd5b505af19250505080156115e8575060408051601f3d908101601f191682019092526115e5918101906119a1565b60015b611642573d808015611616576040519150601f19603f3d011682016040523d82523d6000602084013e61161b565b606091505b50805161163a5760405162461bcd60e51b815260040161047a90611b04565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610e8a565b506001949350505050565b82805461167390611c9b565b90600052602060002090601f01602090048101928261169557600085556116db565b82601f106116ae5782800160ff198235161785556116db565b828001600101855582156116db579182015b828111156116db5782358255916020019190600101906116c0565b506116e79291506116eb565b5090565b5b808211156116e757600081556001016116ec565b60006020828403121561171257600080fd5b8135610bb281611d5d565b60006020828403121561172f57600080fd5b8151610bb281611d5d565b6000806040838503121561174d57600080fd5b823561175881611d5d565b9150602083013561176881611d5d565b809150509250929050565b60008060006060848603121561178857600080fd5b833561179381611d5d565b925060208401356117a381611d5d565b929592945050506040919091013590565b600080600080608085870312156117ca57600080fd5b84356117d581611d5d565b93506020858101356117e681611d5d565b935060408601359250606086013567ffffffffffffffff8082111561180a57600080fd5b818801915088601f83011261181e57600080fd5b81358181111561183057611830611d47565b611842601f8201601f19168501611bdc565b9150808252898482850101111561185857600080fd5b808484018584013760008482840101525080935050505092959194509250565b6000806040838503121561188b57600080fd5b823561189681611d5d565b91506020830135801515811461176857600080fd5b600080604083850312156118be57600080fd5b82356118c981611d5d565b946020939093013593505050565b600060208083850312156118ea57600080fd5b823567ffffffffffffffff8082111561190257600080fd5b818501915085601f83011261191657600080fd5b81358181111561192857611928611d47565b8060051b9150611939848301611bdc565b8181528481019084860184860187018a101561195457600080fd5b600095505b83861015611977578035835260019590950194918601918601611959565b5098975050505050505050565b60006020828403121561199657600080fd5b8135610bb281611d72565b6000602082840312156119b357600080fd5b8151610bb281611d72565b600080602083850312156119d157600080fd5b823567ffffffffffffffff808211156119e957600080fd5b818501915085601f8301126119fd57600080fd5b813581811115611a0c57600080fd5b866020828501011115611a1e57600080fd5b60209290920196919550909350505050565b600060208284031215611a4257600080fd5b5035919050565b60008151808452611a61816020860160208601611c6f565b601f01601f19169290920160200192915050565b60008351611a87818460208801611c6f565b835190830190611a9b818360208801611c6f565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611ae790830184611a49565b9695505050505050565b602081526000610bb26020830184611a49565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b604051601f8201601f1916810167ffffffffffffffff81118282101715611c0557611c05611d47565b604052919050565b60008219821115611c2057611c20611d05565b500190565b600082611c3457611c34611d1b565b500490565b6000816000190483118215151615611c5357611c53611d05565b500290565b600082821015611c6a57611c6a611d05565b500390565b60005b83811015611c8a578181015183820152602001611c72565b838111156108a35750506000910152565b600181811c90821680611caf57607f821691505b60208210811415611cd057634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611cea57611cea611d05565b5060010190565b600082611d0057611d00611d1b565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610d2a57600080fd5b6001600160e01b031981168114610d2a57600080fdfea26469706673582212207cb58a1c7e1a5fbf68efaf296b616cc840fe70180ca6b7ba02637509afbd2d9664736f6c6343000807003368747470733a2f2f697066732e696f2f697066732f516d5063703873336d43336e5a36696f6a7554686a53436156513459656a58535968696b3565375342594d38466b2f

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.