ETH Price: $2,763.73 (+1.51%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Approval For...214250602024-12-17 21:51:5950 days ago1734472319IN
0x40645B36...5E130031e
0 ETH0.0008148517.69074545
Set Approval For...206290702024-08-28 19:06:59161 days ago1724872019IN
0x40645B36...5E130031e
0 ETH0.000192864.18722746
Set Approval For...206287962024-08-28 18:12:11161 days ago1724868731IN
0x40645B36...5E130031e
0 ETH0.000119872.60263145
Safe Transfer Fr...167316902023-03-01 5:27:35707 days ago1677648455IN
0x40645B36...5E130031e
0 ETH0.0018767116.41528849
Set Approval For...167270622023-02-28 13:50:11708 days ago1677592211IN
0x40645B36...5E130031e
0 ETH0.0006270423.90295863
Set Approval For...167270582023-02-28 13:49:23708 days ago1677592163IN
0x40645B36...5E130031e
0 ETH0.0006202323.64331144
Set Approval For...167270442023-02-28 13:46:35708 days ago1677591995IN
0x40645B36...5E130031e
0 ETH0.0006024224.85961796
Set Approval For...165315172023-02-01 4:15:11735 days ago1675224911IN
0x40645B36...5E130031e
0 ETH0.0004057216.74257189
Set Approval For...164463892023-01-20 7:01:35747 days ago1674198095IN
0x40645B36...5E130031e
0 ETH0.0003788615.63441806
Set Approval For...163827452023-01-11 9:42:23756 days ago1673430143IN
0x40645B36...5E130031e
0 ETH0.0006564414.25156068
Set Approval For...163683762023-01-09 9:34:23758 days ago1673256863IN
0x40645B36...5E130031e
0 ETH0.0004059716.75295668
Set Approval For...163080992022-12-31 23:41:59767 days ago1672530119IN
0x40645B36...5E130031e
0 ETH0.0007064715.33785963
Set Approval For...162711812022-12-26 20:01:11772 days ago1672084871IN
0x40645B36...5E130031e
0 ETH0.0005469811.85676037
Set Approval For...162350802022-12-21 19:11:11777 days ago1671649871IN
0x40645B36...5E130031e
0 ETH0.0007370515.97252194
Set Approval For...162286672022-12-20 21:43:11778 days ago1671572591IN
0x40645B36...5E130031e
0 ETH0.0007033215.26939113
Set Approval For...162069942022-12-17 21:06:47781 days ago1671311207IN
0x40645B36...5E130031e
0 ETH0.0005964512.9290305
Set Approval For...161624342022-12-11 15:42:11787 days ago1670773331IN
0x40645B36...5E130031e
0 ETH0.0006750714.63325824
Set Approval For...161469812022-12-09 11:55:59789 days ago1670586959IN
0x40645B36...5E130031e
0 ETH0.0008482418.41578582
Set Approval For...158459022022-10-28 10:16:47831 days ago1666952207IN
0x40645B36...5E130031e
0 ETH0.0004791210.40196985
Set Approval For...158308842022-10-26 7:54:59833 days ago1666770899IN
0x40645B36...5E130031e
0 ETH0.0005570712.09428592
Set Approval For...158227142022-10-25 4:29:23834 days ago1666672163IN
0x40645B36...5E130031e
0 ETH0.0005669112.30802123
Set Approval For...158143322022-10-24 0:16:47836 days ago1666570607IN
0x40645B36...5E130031e
0 ETH0.0005516511.97666016
Set Approval For...156052722022-09-24 19:21:47865 days ago1664047307IN
0x40645B36...5E130031e
0 ETH0.000298646.483663
Set Approval For...155874392022-09-22 7:38:23867 days ago1663832303IN
0x40645B36...5E130031e
0 ETH0.000288456.26239611
Set Approval For...153784582022-08-20 15:44:14900 days ago1661010254IN
0x40645B36...5E130031e
0 ETH0.0005650512.24527526
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block
From
To
142770652022-02-25 19:10:011076 days ago1645816201
0x40645B36...5E130031e
0.035 ETH
142758272022-02-25 14:34:441076 days ago1645799684
0x40645B36...5E130031e
0.245 ETH
142712142022-02-24 21:19:211077 days ago1645737561
0x40645B36...5E130031e
0.035 ETH
142705432022-02-24 18:52:131077 days ago1645728733
0x40645B36...5E130031e
0.035 ETH
142705102022-02-24 18:45:251077 days ago1645728325
0x40645B36...5E130031e
0.035 ETH
142693112022-02-24 14:24:051077 days ago1645712645
0x40645B36...5E130031e
0.35 ETH
142628092022-02-23 14:15:201078 days ago1645625720
0x40645B36...5E130031e
0.105 ETH
142617262022-02-23 10:09:201078 days ago1645610960
0x40645B36...5E130031e
0.07 ETH
142616372022-02-23 9:50:491078 days ago1645609849
0x40645B36...5E130031e
0.35 ETH
142614062022-02-23 9:03:021078 days ago1645606982
0x40645B36...5E130031e
0.035 ETH
142608452022-02-23 6:54:511078 days ago1645599291
0x40645B36...5E130031e
0.035 ETH
142606622022-02-23 6:13:461078 days ago1645596826
0x40645B36...5E130031e
0.105 ETH
142606262022-02-23 6:02:321078 days ago1645596152
0x40645B36...5E130031e
0.035 ETH
142604032022-02-23 5:16:011078 days ago1645593361
0x40645B36...5E130031e
0.07 ETH
142603432022-02-23 5:04:021078 days ago1645592642
0x40645B36...5E130031e
0.035 ETH
142603012022-02-23 4:54:331078 days ago1645592073
0x40645B36...5E130031e
0.035 ETH
142603002022-02-23 4:54:311078 days ago1645592071
0x40645B36...5E130031e
0.035 ETH
142602972022-02-23 4:54:151078 days ago1645592055
0x40645B36...5E130031e
0.035 ETH
142602972022-02-23 4:54:151078 days ago1645592055
0x40645B36...5E130031e
0.035 ETH
142602552022-02-23 4:43:281078 days ago1645591408
0x40645B36...5E130031e
0.175 ETH
142599462022-02-23 3:33:061078 days ago1645587186
0x40645B36...5E130031e
0.14 ETH
142599132022-02-23 3:24:501078 days ago1645586690
0x40645B36...5E130031e
0.035 ETH
142598122022-02-23 3:01:121078 days ago1645585272
0x40645B36...5E130031e
0.035 ETH
142586182022-02-22 22:43:211079 days ago1645569801
0x40645B36...5E130031e
0.035 ETH
142569072022-02-22 16:23:361079 days ago1645547016
0x40645B36...5E130031e
0.035 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
GrinderMfers

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 500 runs

Other Settings:
default evmVersion
File 1 of 11 : GrinderMfers.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "erc721a/contracts/ERC721A.sol";

contract GrinderMfers is ERC721A {
    address public immutable owner;

    uint64 public price = 0.02 ether;
    uint64 forOwner = 100;
    uint64 public firstCount = 2000;
    uint64 public secondCount = 7900;
    uint64 maxPerTransaction = 20;

    bool firstFinished = false;
    bool allFinished = false;

    constructor(address _owner) ERC721A("GrinderMfers", "GMF") {
        owner = _owner;
        _safeMint(_owner, forOwner);
    }

    function _baseURI() internal pure override returns (string memory) {
        return "ipfs://QmRWVAhVT7qy2ghownLYUBB31RKcabaDR6WFc1M1AhYVPA/";
    }

    function firstMint(uint256 quantity) external payable {
        require(!firstFinished, "Initial tokens have already been minted!");
        require(quantity <= maxPerTransaction, "Too many tokens requested!");
        require(quantity <= firstCount, "Trying to mint more than available");
        require(msg.value >= price * quantity, "Paying less");

        if (firstCount == quantity) {
            firstFinished = true;
            price = 0.035 ether;
        }

        payable(owner).transfer(msg.value);

        firstCount -= uint64(quantity);
        _safeMint(msg.sender, quantity);
    }

    function secondMint(uint256 quantity) external payable {
        require(firstFinished, "Initial tokens need to be minted!");
        require(!allFinished, "No tokens to mint!");
        require(quantity <= maxPerTransaction, "Too many tokens requested!");
        require(quantity <= secondCount, "Trying to mint more than available");
        require(msg.value >= price * quantity, "Paying less");

        if (secondCount == quantity) {
            allFinished = true;
        }

        payable(owner).transfer(msg.value);

        secondCount -= uint64(quantity);
        _safeMint(msg.sender, quantity);
    }

    function tokenURI(uint256 tokenId) public view override returns (string memory) {
        return string(abi.encodePacked(super.tokenURI(tokenId), ".json"));
    }
}

File 2 of 11 : ERC721A.sol
// SPDX-License-Identifier: MIT
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import '@openzeppelin/contracts/token/ERC721/IERC721.sol';
import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol';
import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol';
import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol';
import '@openzeppelin/contracts/utils/Address.sol';
import '@openzeppelin/contracts/utils/Context.sol';
import '@openzeppelin/contracts/utils/Strings.sol';
import '@openzeppelin/contracts/utils/introspection/ERC165.sol';

error ApprovalCallerNotOwnerNorApproved();
error ApprovalQueryForNonexistentToken();
error ApproveToCaller();
error ApprovalToCurrentOwner();
error BalanceQueryForZeroAddress();
error MintedQueryForZeroAddress();
error BurnedQueryForZeroAddress();
error MintToZeroAddress();
error MintZeroQuantity();
error OwnerIndexOutOfBounds();
error OwnerQueryForNonexistentToken();
error TokenIndexOutOfBounds();
error TransferCallerNotOwnerNorApproved();
error TransferFromIncorrectOwner();
error TransferToNonERC721ReceiverImplementer();
error TransferToZeroAddress();
error URIQueryForNonexistentToken();

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata and Enumerable extension. Built to optimize for lower gas during batch mints.
 *
 * Assumes serials are sequentially minted starting at 0 (e.g. 0, 1, 2, 3..).
 *
 * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
 *
 * Assumes that the maximum token id cannot exceed 2**128 - 1 (max value of uint128).
 */
contract ERC721A is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable {
    using Address for address;
    using Strings for uint256;

    // Compiler will pack this into a single 256bit word.
    struct TokenOwnership {
        // The address of the owner.
        address addr;
        // Keeps track of the start time of ownership with minimal overhead for tokenomics.
        uint64 startTimestamp;
        // Whether the token has been burned.
        bool burned;
    }

    // Compiler will pack this into a single 256bit word.
    struct AddressData {
        // Realistically, 2**64-1 is more than enough.
        uint64 balance;
        // Keeps track of mint count with minimal overhead for tokenomics.
        uint64 numberMinted;
        // Keeps track of burn count with minimal overhead for tokenomics.
        uint64 numberBurned;
    }

    // Compiler will pack the following 
    // _currentIndex and _burnCounter into a single 256bit word.
    
    // The tokenId of the next token to be minted.
    uint128 internal _currentIndex;

    // The number of tokens burned.
    uint128 internal _burnCounter;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to ownership details
    // An empty struct value does not necessarily mean the token is unowned. See ownershipOf implementation for details.
    mapping(uint256 => TokenOwnership) internal _ownerships;

    // Mapping owner address to address data
    mapping(address => AddressData) private _addressData;

    // 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;

    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     */
    function totalSupply() public view override returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than _currentIndex times
        unchecked {
            return _currentIndex - _burnCounter;    
        }
    }

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     * This read function is O(totalSupply). If calling from a separate contract, be sure to test gas first.
     * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case.
     */
    function tokenByIndex(uint256 index) public view override returns (uint256) {
        uint256 numMintedSoFar = _currentIndex;
        uint256 tokenIdsIdx;

        // Counter overflow is impossible as the loop breaks when
        // uint256 i is equal to another uint256 numMintedSoFar.
        unchecked {
            for (uint256 i; i < numMintedSoFar; i++) {
                TokenOwnership memory ownership = _ownerships[i];
                if (!ownership.burned) {
                    if (tokenIdsIdx == index) {
                        return i;
                    }
                    tokenIdsIdx++;
                }
            }
        }
        revert TokenIndexOutOfBounds();
    }

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     * This read function is O(totalSupply). If calling from a separate contract, be sure to test gas first.
     * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view override returns (uint256) {
        if (index >= balanceOf(owner)) revert OwnerIndexOutOfBounds();
        uint256 numMintedSoFar = _currentIndex;
        uint256 tokenIdsIdx;
        address currOwnershipAddr;

        // Counter overflow is impossible as the loop breaks when
        // uint256 i is equal to another uint256 numMintedSoFar.
        unchecked {
            for (uint256 i; i < numMintedSoFar; i++) {
                TokenOwnership memory ownership = _ownerships[i];
                if (ownership.burned) {
                    continue;
                }
                if (ownership.addr != address(0)) {
                    currOwnershipAddr = ownership.addr;
                }
                if (currOwnershipAddr == owner) {
                    if (tokenIdsIdx == index) {
                        return i;
                    }
                    tokenIdsIdx++;
                }
            }
        }

        // Execution should never reach this point.
        revert();
    }

    /**
     * @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 ||
            interfaceId == type(IERC721Enumerable).interfaceId ||
            super.supportsInterface(interfaceId);
    }

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view override returns (uint256) {
        if (owner == address(0)) revert BalanceQueryForZeroAddress();
        return uint256(_addressData[owner].balance);
    }

    function _numberMinted(address owner) internal view returns (uint256) {
        if (owner == address(0)) revert MintedQueryForZeroAddress();
        return uint256(_addressData[owner].numberMinted);
    }

    function _numberBurned(address owner) internal view returns (uint256) {
        if (owner == address(0)) revert BurnedQueryForZeroAddress();
        return uint256(_addressData[owner].numberBurned);
    }

    /**
     * Gas spent here starts off proportional to the maximum mint batch size.
     * It gradually moves to O(1) as tokens get transferred around in the collection over time.
     */
    function ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) {
        uint256 curr = tokenId;

        unchecked {
            if (curr < _currentIndex) {
                TokenOwnership memory ownership = _ownerships[curr];
                if (!ownership.burned) {
                    if (ownership.addr != address(0)) {
                        return ownership;
                    }
                    // Invariant: 
                    // There will always be an ownership that has an address and is not burned 
                    // before an ownership that does not have an address and is not burned.
                    // Hence, curr will not underflow.
                    while (true) {
                        curr--;
                        ownership = _ownerships[curr];
                        if (ownership.addr != address(0)) {
                            return ownership;
                        }
                    }
                }
            }
        }
        revert OwnerQueryForNonexistentToken();
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view override returns (address) {
        return ownershipOf(tokenId).addr;
    }

    /**
     * @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) {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

        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 override {
        address owner = ERC721A.ownerOf(tokenId);
        if (to == owner) revert ApprovalToCurrentOwner();

        if (_msgSender() != owner && !isApprovedForAll(owner, _msgSender())) {
            revert ApprovalCallerNotOwnerNorApproved();
        }

        _approve(to, tokenId, owner);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view override returns (address) {
        if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public override {
        if (operator == _msgSender()) revert ApproveToCaller();

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

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

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        _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 {
        _transfer(from, to, tokenId);
        if (!_checkOnERC721Received(from, to, tokenId, _data)) {
            revert TransferToNonERC721ReceiverImplementer();
        }
    }

    /**
     * @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`),
     */
    function _exists(uint256 tokenId) internal view returns (bool) {
        return tokenId < _currentIndex && !_ownerships[tokenId].burned;
    }

    function _safeMint(address to, uint256 quantity) internal {
        _safeMint(to, quantity, '');
    }

    /**
     * @dev Safely mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called for each safe transfer.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(
        address to,
        uint256 quantity,
        bytes memory _data
    ) internal {
        _mint(to, quantity, _data, true);
    }

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event.
     */
    function _mint(
        address to,
        uint256 quantity,
        bytes memory _data,
        bool safe
    ) internal {
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();

        _beforeTokenTransfers(address(0), to, startTokenId, quantity);

        // Overflows are incredibly unrealistic.
        // balance or numberMinted overflow if current value of either + quantity > 3.4e38 (2**128) - 1
        // updatedIndex overflows if _currentIndex + quantity > 3.4e38 (2**128) - 1
        unchecked {
            _addressData[to].balance += uint64(quantity);
            _addressData[to].numberMinted += uint64(quantity);

            _ownerships[startTokenId].addr = to;
            _ownerships[startTokenId].startTimestamp = uint64(block.timestamp);

            uint256 updatedIndex = startTokenId;

            for (uint256 i; i < quantity; i++) {
                emit Transfer(address(0), to, updatedIndex);
                if (safe && !_checkOnERC721Received(address(0), to, updatedIndex, _data)) {
                    revert TransferToNonERC721ReceiverImplementer();
                }
                updatedIndex++;
            }

            _currentIndex = uint128(updatedIndex);
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * 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
    ) private {
        TokenOwnership memory prevOwnership = ownershipOf(tokenId);

        bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr ||
            isApprovedForAll(prevOwnership.addr, _msgSender()) ||
            getApproved(tokenId) == _msgSender());

        if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        if (prevOwnership.addr != from) revert TransferFromIncorrectOwner();
        if (to == address(0)) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

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

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as tokenId would have to be 2**128.
        unchecked {
            _addressData[from].balance -= 1;
            _addressData[to].balance += 1;

            _ownerships[tokenId].addr = to;
            _ownerships[tokenId].startTimestamp = uint64(block.timestamp);

            // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it.
            // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
            uint256 nextTokenId = tokenId + 1;
            if (_ownerships[nextTokenId].addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId < _currentIndex) {
                    _ownerships[nextTokenId].addr = prevOwnership.addr;
                    _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

        emit Transfer(from, to, tokenId);
        _afterTokenTransfers(from, to, tokenId, 1);
    }

    /**
     * @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 {
        TokenOwnership memory prevOwnership = ownershipOf(tokenId);

        _beforeTokenTransfers(prevOwnership.addr, address(0), tokenId, 1);

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

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as tokenId would have to be 2**128.
        unchecked {
            _addressData[prevOwnership.addr].balance -= 1;
            _addressData[prevOwnership.addr].numberBurned += 1;

            // Keep track of who burned the token, and the timestamp of burning.
            _ownerships[tokenId].addr = prevOwnership.addr;
            _ownerships[tokenId].startTimestamp = uint64(block.timestamp);
            _ownerships[tokenId].burned = true;

            // If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it.
            // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
            uint256 nextTokenId = tokenId + 1;
            if (_ownerships[nextTokenId].addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId < _currentIndex) {
                    _ownerships[nextTokenId].addr = prevOwnership.addr;
                    _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

        emit Transfer(prevOwnership.addr, address(0), tokenId);
        _afterTokenTransfers(prevOwnership.addr, address(0), tokenId, 1);

        // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times.
        unchecked { 
            _burnCounter++;
        }
    }

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

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

    /**
     * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting.
     * And also called before burning one token.
     *
     * startTokenId - the first token id to be transferred
     * quantity - the amount to be transferred
     *
     * 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, `tokenId` will be burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _beforeTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}

    /**
     * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes
     * minting.
     * And also called after one token has been burned.
     *
     * startTokenId - the first token id to be transferred
     * quantity - the amount to be transferred
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been
     * transferred to `to`.
     * - When `from` is zero, `tokenId` has been minted for `to`.
     * - When `to` is zero, `tokenId` has been burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _afterTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}
}

File 3 of 11 : 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 4 of 11 : 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 5 of 11 : 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 6 of 11 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 7 of 11 : 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 8 of 11 : 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 9 of 11 : 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 10 of 11 : 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 11 of 11 : 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": 500
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerIndexOutOfBounds","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TokenIndexOutOfBounds","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"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":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"firstCount","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"firstMint","outputs":[],"stateMutability":"payable","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":"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":"price","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"secondCount","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"secondMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60a0604052791edc00000000000007d0000000000000006400470de4df820000600755600880546001600160501b03191660141790553480156200004257600080fd5b5060405162002243380380620022438339810160408190526200006591620004b9565b604080518082018252600c81526b4772696e6465724d6665727360a01b60208083019182528351808501909452600384526223a6a360e91b908401528151919291620000b49160019162000413565b508051620000ca90600290602084019062000413565b505050606081901b6001600160601b031916608052600754620001049082906801000000000000000090046001600160401b03166200010b565b50620005c9565b6200012d8282604051806020016040528060008152506200013160201b60201c565b5050565b62000140838383600162000145565b505050565b6000546001600160801b03166001600160a01b0385166200017857604051622e076360e81b815260040160405180910390fd5b83620001975760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260046020908152604080832080546001600160801b031981166001600160401b038083168c018116918217680100000000000000006001600160401b031990941690921783900481168c018116909202179091558584526003909252822080546001600160e01b031916909317600160a01b42909216919091021790915581905b85811015620002ae5760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4838015620002825750620002806000888488620002de565b155b15620002a1576040516368d2bf6b60e11b815260040160405180910390fd5b6001918201910162000227565b50600080546001600160801b0319166001600160801b0392909216919091178155620002d79050565b5050505050565b6000620002ff846001600160a01b03166200040d60201b62000edd1760201c565b156200040157604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906200033990339089908890889060040162000513565b602060405180830381600087803b1580156200035457600080fd5b505af192505050801562000387575060408051601f3d908101601f191682019092526200038491810190620004e9565b60015b620003e6573d808015620003b8576040519150601f19603f3d011682016040523d82523d6000602084013e620003bd565b606091505b508051620003de576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905062000405565b5060015b949350505050565b3b151590565b82805462000421906200058c565b90600052602060002090601f01602090048101928262000445576000855562000490565b82601f106200046057805160ff191683800117855562000490565b8280016001018555821562000490579182015b828111156200049057825182559160200191906001019062000473565b506200049e929150620004a2565b5090565b5b808211156200049e5760008155600101620004a3565b600060208284031215620004cb578081fd5b81516001600160a01b0381168114620004e2578182fd5b9392505050565b600060208284031215620004fb578081fd5b81516001600160e01b031981168114620004e2578182fd5b600060018060a01b0380871683526020818716818501528560408501526080606085015284519150816080850152825b82811015620005615785810182015185820160a00152810162000543565b8281111562000573578360a084870101525b5050601f01601f19169190910160a00195945050505050565b600181811c90821680620005a157607f821691505b60208210811415620005c357634e487b7160e01b600052602260045260246000fd5b50919050565b60805160601c611c4d620005f66000396000818161036e01528181610a940152610e6f0152611c4d6000f3fe6080604052600436106101555760003560e01c8063721a1db4116100bb578063a22cb4651161007f578063e56c18f011610059578063e56c18f014610426578063e985e9c514610439578063f74b5dfd1461048257600080fd5b8063a22cb465146103c6578063b88d4fde146103e6578063c87b56dd1461040657600080fd5b8063721a1db4146103085780638aab879a1461031b5780638da5cb5b1461035c57806395d89b4114610390578063a035b1fe146103a557600080fd5b806323b872dd1161011d5780634f6ccce7116100f75780634f6ccce7146102a85780636352211e146102c857806370a08231146102e857600080fd5b806323b872dd146102485780632f745c591461026857806342842e0e1461028857600080fd5b806301ffc9a71461015a57806306fdde031461018f578063081812fc146101b1578063095ea7b3146101e957806318160ddd1461020b575b600080fd5b34801561016657600080fd5b5061017a610175366004611945565b6104aa565b60405190151581526020015b60405180910390f35b34801561019b57600080fd5b506101a4610517565b6040516101869190611a55565b3480156101bd57600080fd5b506101d16101cc36600461197d565b6105a9565b6040516001600160a01b039091168152602001610186565b3480156101f557600080fd5b5061020961020436600461191c565b6105ed565b005b34801561021757600080fd5b5061023a6000546001600160801b03600160801b82048116918116919091031690565b604051908152602001610186565b34801561025457600080fd5b506102096102633660046117d2565b61067b565b34801561027457600080fd5b5061023a61028336600461191c565b610686565b34801561029457600080fd5b506102096102a33660046117d2565b610783565b3480156102b457600080fd5b5061023a6102c336600461197d565b61079e565b3480156102d457600080fd5b506101d16102e336600461197d565b610849565b3480156102f457600080fd5b5061023a610303366004611786565b61085b565b61020961031636600461197d565b6108aa565b34801561032757600080fd5b5060075461034390600160801b900467ffffffffffffffff1681565b60405167ffffffffffffffff9091168152602001610186565b34801561036857600080fd5b506101d17f000000000000000000000000000000000000000000000000000000000000000081565b34801561039c57600080fd5b506101a4610b35565b3480156103b157600080fd5b506007546103439067ffffffffffffffff1681565b3480156103d257600080fd5b506102096103e13660046118e2565b610b44565b3480156103f257600080fd5b5061020961040136600461180d565b610bda565b34801561041257600080fd5b506101a461042136600461197d565b610c14565b61020961043436600461197d565b610c45565b34801561044557600080fd5b5061017a6104543660046117a0565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b34801561048e57600080fd5b5060075461034390600160c01b900467ffffffffffffffff1681565b60006001600160e01b031982166380ac58cd60e01b14806104db57506001600160e01b03198216635b5e139f60e01b145b806104f657506001600160e01b0319821663780e9d6360e01b145b8061051157506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606001805461052690611b1f565b80601f016020809104026020016040519081016040528092919081815260200182805461055290611b1f565b801561059f5780601f106105745761010080835404028352916020019161059f565b820191906000526020600020905b81548152906001019060200180831161058257829003601f168201915b5050505050905090565b60006105b482610ee3565b6105d1576040516333d1c03960e21b815260040160405180910390fd5b506000908152600560205260409020546001600160a01b031690565b60006105f882610849565b9050806001600160a01b0316836001600160a01b0316141561062d5760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b0382161480159061064d575061064b8133610454565b155b1561066b576040516367d9dca160e11b815260040160405180910390fd5b610676838383610f17565b505050565b610676838383610f80565b60006106918361085b565b82106106b0576040516306ed618760e11b815260040160405180910390fd5b600080546001600160801b03169080805b8381101561077d57600081815260036020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff1615801592820192909252906107295750610775565b80516001600160a01b03161561073e57805192505b876001600160a01b0316836001600160a01b03161415610773578684141561076c5750935061051192505050565b6001909301925b505b6001016106c1565b50600080fd5b61067683838360405180602001604052806000815250610bda565b600080546001600160801b031681805b8281101561082f57600081815260036020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff16151591810182905290610826578583141561081f5750949350505050565b6001909201915b506001016107ae565b506040516329c8c00760e21b815260040160405180910390fd5b60006108548261119f565b5192915050565b60006001600160a01b038216610884576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526004602052604090205467ffffffffffffffff1690565b600854600160401b900460ff161561091a5760405162461bcd60e51b815260206004820152602860248201527f496e697469616c20746f6b656e73206861766520616c7265616479206265656e604482015267206d696e7465642160c01b60648201526084015b60405180910390fd5b60085467ffffffffffffffff168111156109765760405162461bcd60e51b815260206004820152601a60248201527f546f6f206d616e7920746f6b656e7320726571756573746564210000000000006044820152606401610911565b600754600160801b900467ffffffffffffffff168111156109e45760405162461bcd60e51b815260206004820152602260248201527f547279696e6720746f206d696e74206d6f7265207468616e20617661696c61626044820152616c6560f01b6064820152608401610911565b6007546109fc90829067ffffffffffffffff16611a94565b341015610a395760405162461bcd60e51b815260206004820152600b60248201526a506179696e67206c65737360a81b6044820152606401610911565b600754600160801b900467ffffffffffffffff16811415610a87576008805468ff00000000000000001916600160401b1790556007805467ffffffffffffffff1916667c5850872380001790555b6040516001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016903480156108fc02916000818181858888f19350505050158015610adc573d6000803e3d6000fd5b5080600760108282829054906101000a900467ffffffffffffffff16610b029190611aca565b92506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550610b3233826112c3565b50565b60606002805461052690611b1f565b6001600160a01b038216331415610b6e5760405163b06307db60e01b815260040160405180910390fd5b3360008181526006602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610be5848484610f80565b610bf1848484846112e1565b610c0e576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610c1f826113f0565b604051602001610c2f91906119f0565b6040516020818303038152906040529050919050565b600854600160401b900460ff16610ca85760405162461bcd60e51b815260206004820152602160248201527f496e697469616c20746f6b656e73206e65656420746f206265206d696e7465646044820152602160f81b6064820152608401610911565b6008546901000000000000000000900460ff1615610d085760405162461bcd60e51b815260206004820152601260248201527f4e6f20746f6b656e7320746f206d696e742100000000000000000000000000006044820152606401610911565b60085467ffffffffffffffff16811115610d645760405162461bcd60e51b815260206004820152601a60248201527f546f6f206d616e7920746f6b656e7320726571756573746564210000000000006044820152606401610911565b600754600160c01b900467ffffffffffffffff16811115610dd25760405162461bcd60e51b815260206004820152602260248201527f547279696e6720746f206d696e74206d6f7265207468616e20617661696c61626044820152616c6560f01b6064820152608401610911565b600754610dea90829067ffffffffffffffff16611a94565b341015610e275760405162461bcd60e51b815260206004820152600b60248201526a506179696e67206c65737360a81b6044820152606401610911565b600754600160c01b900467ffffffffffffffff16811415610e62576008805469ff000000000000000000191669010000000000000000001790555b6040516001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016903480156108fc02916000818181858888f19350505050158015610eb7573d6000803e3d6000fd5b5080600760188282829054906101000a900467ffffffffffffffff16610b029190611aca565b3b151590565b600080546001600160801b031682108015610511575050600090815260036020526040902054600160e01b900460ff161590565b600082815260056020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000610f8b8261119f565b80519091506000906001600160a01b0316336001600160a01b03161480610fb957508151610fb99033610454565b80610fd4575033610fc9846105a9565b6001600160a01b0316145b905080610ff457604051632ce44b5f60e11b815260040160405180910390fd5b846001600160a01b031682600001516001600160a01b0316146110295760405162a1148160e81b815260040160405180910390fd5b6001600160a01b03841661105057604051633a954ecd60e21b815260040160405180910390fd5b6110606000848460000151610f17565b6001600160a01b038581166000908152600460209081526040808320805467ffffffffffffffff1980821667ffffffffffffffff92831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600390945282852080546001600160e01b031916909417600160a01b429092169190910217909255908601808352912054909116611155576000546001600160801b0316811015611155578251600082815260036020908152604090912080549186015167ffffffffffffffff16600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b60408051606081018252600080825260208201819052918101829052905482906001600160801b03168110156112aa57600081815260036020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff161515918101829052906112a85780516001600160a01b03161561123e579392505050565b5060001901600081815260036020908152604091829020825160608101845290546001600160a01b038116808352600160a01b820467ffffffffffffffff1693830193909352600160e01b900460ff16151592810192909252156112a3579392505050565b61123e565b505b604051636f96cda160e11b815260040160405180910390fd5b6112dd828260405180602001604052806000815250611475565b5050565b60006001600160a01b0384163b156113e457604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611325903390899088908890600401611a19565b602060405180830381600087803b15801561133f57600080fd5b505af192505050801561136f575060408051601f3d908101601f1916820190925261136c91810190611961565b60015b6113ca573d80801561139d576040519150601f19603f3d011682016040523d82523d6000602084013e6113a2565b606091505b5080516113c2576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506113e8565b5060015b949350505050565b60606113fb82610ee3565b61141857604051630a14c4b560e41b815260040160405180910390fd5b6000611422611482565b9050805160001415611443576040518060200160405280600081525061146e565b8061144d846114a2565b60405160200161145e9291906119c1565b6040516020818303038152906040525b9392505050565b61067683838360016115d4565b6060604051806060016040528060368152602001611be260369139905090565b6060816114c65750506040805180820190915260018152600360fc1b602082015290565b8160005b81156114f057806114da81611b5a565b91506114e99050600a83611a80565b91506114ca565b60008167ffffffffffffffff81111561151957634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611543576020820181803683370190505b5090505b84156113e857611558600183611ab3565b9150611565600a86611b75565b611570906030611a68565b60f81b81838151811061159357634e487b7160e01b600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506115cd600a86611a80565b9450611547565b6000546001600160801b03166001600160a01b03851661160657604051622e076360e81b815260040160405180910390fd5b836116245760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260046020908152604080832080546fffffffffffffffffffffffffffffffff19811667ffffffffffffffff8083168c018116918217600160401b67ffffffffffffffff1990941690921783900481168c018116909202179091558584526003909252822080546001600160e01b031916909317600160a01b42909216919091021790915581905b8581101561173b5760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4838015611711575061170f60008884886112e1565b155b1561172f576040516368d2bf6b60e11b815260040160405180910390fd5b600191820191016116ba565b50600080546fffffffffffffffffffffffffffffffff19166001600160801b0392909216919091179055611198565b80356001600160a01b038116811461178157600080fd5b919050565b600060208284031215611797578081fd5b61146e8261176a565b600080604083850312156117b2578081fd5b6117bb8361176a565b91506117c96020840161176a565b90509250929050565b6000806000606084860312156117e6578081fd5b6117ef8461176a565b92506117fd6020850161176a565b9150604084013590509250925092565b60008060008060808587031215611822578081fd5b61182b8561176a565b93506118396020860161176a565b925060408501359150606085013567ffffffffffffffff8082111561185c578283fd5b818701915087601f83011261186f578283fd5b81358181111561188157611881611bb5565b604051601f8201601f19908116603f011681019083821181831017156118a9576118a9611bb5565b816040528281528a60208487010111156118c1578586fd5b82602086016020830137918201602001949094529598949750929550505050565b600080604083850312156118f4578182fd5b6118fd8361176a565b915060208301358015158114611911578182fd5b809150509250929050565b6000806040838503121561192e578182fd5b6119378361176a565b946020939093013593505050565b600060208284031215611956578081fd5b813561146e81611bcb565b600060208284031215611972578081fd5b815161146e81611bcb565b60006020828403121561198e578081fd5b5035919050565b600081518084526119ad816020860160208601611af3565b601f01601f19169290920160200192915050565b600083516119d3818460208801611af3565b8351908301906119e7818360208801611af3565b01949350505050565b60008251611a02818460208701611af3565b64173539b7b760d91b920191825250600501919050565b60006001600160a01b03808716835280861660208401525083604083015260806060830152611a4b6080830184611995565b9695505050505050565b60208152600061146e6020830184611995565b60008219821115611a7b57611a7b611b89565b500190565b600082611a8f57611a8f611b9f565b500490565b6000816000190483118215151615611aae57611aae611b89565b500290565b600082821015611ac557611ac5611b89565b500390565b600067ffffffffffffffff83811690831681811015611aeb57611aeb611b89565b039392505050565b60005b83811015611b0e578181015183820152602001611af6565b83811115610c0e5750506000910152565b600181811c90821680611b3357607f821691505b60208210811415611b5457634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611b6e57611b6e611b89565b5060010190565b600082611b8457611b84611b9f565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610b3257600080fdfe697066733a2f2f516d525756416856543771793267686f776e4c595542423331524b63616261445236574663314d314168595650412fa26469706673582212203ef78df530d219d676b9d98b6e6da71d326648125e991491b79b56ed231ffe5164736f6c63430008040033000000000000000000000000e22cd49db15209d019abec77505ac0c55c262062

Deployed Bytecode

0x6080604052600436106101555760003560e01c8063721a1db4116100bb578063a22cb4651161007f578063e56c18f011610059578063e56c18f014610426578063e985e9c514610439578063f74b5dfd1461048257600080fd5b8063a22cb465146103c6578063b88d4fde146103e6578063c87b56dd1461040657600080fd5b8063721a1db4146103085780638aab879a1461031b5780638da5cb5b1461035c57806395d89b4114610390578063a035b1fe146103a557600080fd5b806323b872dd1161011d5780634f6ccce7116100f75780634f6ccce7146102a85780636352211e146102c857806370a08231146102e857600080fd5b806323b872dd146102485780632f745c591461026857806342842e0e1461028857600080fd5b806301ffc9a71461015a57806306fdde031461018f578063081812fc146101b1578063095ea7b3146101e957806318160ddd1461020b575b600080fd5b34801561016657600080fd5b5061017a610175366004611945565b6104aa565b60405190151581526020015b60405180910390f35b34801561019b57600080fd5b506101a4610517565b6040516101869190611a55565b3480156101bd57600080fd5b506101d16101cc36600461197d565b6105a9565b6040516001600160a01b039091168152602001610186565b3480156101f557600080fd5b5061020961020436600461191c565b6105ed565b005b34801561021757600080fd5b5061023a6000546001600160801b03600160801b82048116918116919091031690565b604051908152602001610186565b34801561025457600080fd5b506102096102633660046117d2565b61067b565b34801561027457600080fd5b5061023a61028336600461191c565b610686565b34801561029457600080fd5b506102096102a33660046117d2565b610783565b3480156102b457600080fd5b5061023a6102c336600461197d565b61079e565b3480156102d457600080fd5b506101d16102e336600461197d565b610849565b3480156102f457600080fd5b5061023a610303366004611786565b61085b565b61020961031636600461197d565b6108aa565b34801561032757600080fd5b5060075461034390600160801b900467ffffffffffffffff1681565b60405167ffffffffffffffff9091168152602001610186565b34801561036857600080fd5b506101d17f000000000000000000000000e22cd49db15209d019abec77505ac0c55c26206281565b34801561039c57600080fd5b506101a4610b35565b3480156103b157600080fd5b506007546103439067ffffffffffffffff1681565b3480156103d257600080fd5b506102096103e13660046118e2565b610b44565b3480156103f257600080fd5b5061020961040136600461180d565b610bda565b34801561041257600080fd5b506101a461042136600461197d565b610c14565b61020961043436600461197d565b610c45565b34801561044557600080fd5b5061017a6104543660046117a0565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b34801561048e57600080fd5b5060075461034390600160c01b900467ffffffffffffffff1681565b60006001600160e01b031982166380ac58cd60e01b14806104db57506001600160e01b03198216635b5e139f60e01b145b806104f657506001600160e01b0319821663780e9d6360e01b145b8061051157506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606001805461052690611b1f565b80601f016020809104026020016040519081016040528092919081815260200182805461055290611b1f565b801561059f5780601f106105745761010080835404028352916020019161059f565b820191906000526020600020905b81548152906001019060200180831161058257829003601f168201915b5050505050905090565b60006105b482610ee3565b6105d1576040516333d1c03960e21b815260040160405180910390fd5b506000908152600560205260409020546001600160a01b031690565b60006105f882610849565b9050806001600160a01b0316836001600160a01b0316141561062d5760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b0382161480159061064d575061064b8133610454565b155b1561066b576040516367d9dca160e11b815260040160405180910390fd5b610676838383610f17565b505050565b610676838383610f80565b60006106918361085b565b82106106b0576040516306ed618760e11b815260040160405180910390fd5b600080546001600160801b03169080805b8381101561077d57600081815260036020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff1615801592820192909252906107295750610775565b80516001600160a01b03161561073e57805192505b876001600160a01b0316836001600160a01b03161415610773578684141561076c5750935061051192505050565b6001909301925b505b6001016106c1565b50600080fd5b61067683838360405180602001604052806000815250610bda565b600080546001600160801b031681805b8281101561082f57600081815260036020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff16151591810182905290610826578583141561081f5750949350505050565b6001909201915b506001016107ae565b506040516329c8c00760e21b815260040160405180910390fd5b60006108548261119f565b5192915050565b60006001600160a01b038216610884576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526004602052604090205467ffffffffffffffff1690565b600854600160401b900460ff161561091a5760405162461bcd60e51b815260206004820152602860248201527f496e697469616c20746f6b656e73206861766520616c7265616479206265656e604482015267206d696e7465642160c01b60648201526084015b60405180910390fd5b60085467ffffffffffffffff168111156109765760405162461bcd60e51b815260206004820152601a60248201527f546f6f206d616e7920746f6b656e7320726571756573746564210000000000006044820152606401610911565b600754600160801b900467ffffffffffffffff168111156109e45760405162461bcd60e51b815260206004820152602260248201527f547279696e6720746f206d696e74206d6f7265207468616e20617661696c61626044820152616c6560f01b6064820152608401610911565b6007546109fc90829067ffffffffffffffff16611a94565b341015610a395760405162461bcd60e51b815260206004820152600b60248201526a506179696e67206c65737360a81b6044820152606401610911565b600754600160801b900467ffffffffffffffff16811415610a87576008805468ff00000000000000001916600160401b1790556007805467ffffffffffffffff1916667c5850872380001790555b6040516001600160a01b037f000000000000000000000000e22cd49db15209d019abec77505ac0c55c26206216903480156108fc02916000818181858888f19350505050158015610adc573d6000803e3d6000fd5b5080600760108282829054906101000a900467ffffffffffffffff16610b029190611aca565b92506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550610b3233826112c3565b50565b60606002805461052690611b1f565b6001600160a01b038216331415610b6e5760405163b06307db60e01b815260040160405180910390fd5b3360008181526006602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610be5848484610f80565b610bf1848484846112e1565b610c0e576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610c1f826113f0565b604051602001610c2f91906119f0565b6040516020818303038152906040529050919050565b600854600160401b900460ff16610ca85760405162461bcd60e51b815260206004820152602160248201527f496e697469616c20746f6b656e73206e65656420746f206265206d696e7465646044820152602160f81b6064820152608401610911565b6008546901000000000000000000900460ff1615610d085760405162461bcd60e51b815260206004820152601260248201527f4e6f20746f6b656e7320746f206d696e742100000000000000000000000000006044820152606401610911565b60085467ffffffffffffffff16811115610d645760405162461bcd60e51b815260206004820152601a60248201527f546f6f206d616e7920746f6b656e7320726571756573746564210000000000006044820152606401610911565b600754600160c01b900467ffffffffffffffff16811115610dd25760405162461bcd60e51b815260206004820152602260248201527f547279696e6720746f206d696e74206d6f7265207468616e20617661696c61626044820152616c6560f01b6064820152608401610911565b600754610dea90829067ffffffffffffffff16611a94565b341015610e275760405162461bcd60e51b815260206004820152600b60248201526a506179696e67206c65737360a81b6044820152606401610911565b600754600160c01b900467ffffffffffffffff16811415610e62576008805469ff000000000000000000191669010000000000000000001790555b6040516001600160a01b037f000000000000000000000000e22cd49db15209d019abec77505ac0c55c26206216903480156108fc02916000818181858888f19350505050158015610eb7573d6000803e3d6000fd5b5080600760188282829054906101000a900467ffffffffffffffff16610b029190611aca565b3b151590565b600080546001600160801b031682108015610511575050600090815260036020526040902054600160e01b900460ff161590565b600082815260056020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000610f8b8261119f565b80519091506000906001600160a01b0316336001600160a01b03161480610fb957508151610fb99033610454565b80610fd4575033610fc9846105a9565b6001600160a01b0316145b905080610ff457604051632ce44b5f60e11b815260040160405180910390fd5b846001600160a01b031682600001516001600160a01b0316146110295760405162a1148160e81b815260040160405180910390fd5b6001600160a01b03841661105057604051633a954ecd60e21b815260040160405180910390fd5b6110606000848460000151610f17565b6001600160a01b038581166000908152600460209081526040808320805467ffffffffffffffff1980821667ffffffffffffffff92831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600390945282852080546001600160e01b031916909417600160a01b429092169190910217909255908601808352912054909116611155576000546001600160801b0316811015611155578251600082815260036020908152604090912080549186015167ffffffffffffffff16600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b60408051606081018252600080825260208201819052918101829052905482906001600160801b03168110156112aa57600081815260036020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff161515918101829052906112a85780516001600160a01b03161561123e579392505050565b5060001901600081815260036020908152604091829020825160608101845290546001600160a01b038116808352600160a01b820467ffffffffffffffff1693830193909352600160e01b900460ff16151592810192909252156112a3579392505050565b61123e565b505b604051636f96cda160e11b815260040160405180910390fd5b6112dd828260405180602001604052806000815250611475565b5050565b60006001600160a01b0384163b156113e457604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611325903390899088908890600401611a19565b602060405180830381600087803b15801561133f57600080fd5b505af192505050801561136f575060408051601f3d908101601f1916820190925261136c91810190611961565b60015b6113ca573d80801561139d576040519150601f19603f3d011682016040523d82523d6000602084013e6113a2565b606091505b5080516113c2576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506113e8565b5060015b949350505050565b60606113fb82610ee3565b61141857604051630a14c4b560e41b815260040160405180910390fd5b6000611422611482565b9050805160001415611443576040518060200160405280600081525061146e565b8061144d846114a2565b60405160200161145e9291906119c1565b6040516020818303038152906040525b9392505050565b61067683838360016115d4565b6060604051806060016040528060368152602001611be260369139905090565b6060816114c65750506040805180820190915260018152600360fc1b602082015290565b8160005b81156114f057806114da81611b5a565b91506114e99050600a83611a80565b91506114ca565b60008167ffffffffffffffff81111561151957634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611543576020820181803683370190505b5090505b84156113e857611558600183611ab3565b9150611565600a86611b75565b611570906030611a68565b60f81b81838151811061159357634e487b7160e01b600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506115cd600a86611a80565b9450611547565b6000546001600160801b03166001600160a01b03851661160657604051622e076360e81b815260040160405180910390fd5b836116245760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260046020908152604080832080546fffffffffffffffffffffffffffffffff19811667ffffffffffffffff8083168c018116918217600160401b67ffffffffffffffff1990941690921783900481168c018116909202179091558584526003909252822080546001600160e01b031916909317600160a01b42909216919091021790915581905b8581101561173b5760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4838015611711575061170f60008884886112e1565b155b1561172f576040516368d2bf6b60e11b815260040160405180910390fd5b600191820191016116ba565b50600080546fffffffffffffffffffffffffffffffff19166001600160801b0392909216919091179055611198565b80356001600160a01b038116811461178157600080fd5b919050565b600060208284031215611797578081fd5b61146e8261176a565b600080604083850312156117b2578081fd5b6117bb8361176a565b91506117c96020840161176a565b90509250929050565b6000806000606084860312156117e6578081fd5b6117ef8461176a565b92506117fd6020850161176a565b9150604084013590509250925092565b60008060008060808587031215611822578081fd5b61182b8561176a565b93506118396020860161176a565b925060408501359150606085013567ffffffffffffffff8082111561185c578283fd5b818701915087601f83011261186f578283fd5b81358181111561188157611881611bb5565b604051601f8201601f19908116603f011681019083821181831017156118a9576118a9611bb5565b816040528281528a60208487010111156118c1578586fd5b82602086016020830137918201602001949094529598949750929550505050565b600080604083850312156118f4578182fd5b6118fd8361176a565b915060208301358015158114611911578182fd5b809150509250929050565b6000806040838503121561192e578182fd5b6119378361176a565b946020939093013593505050565b600060208284031215611956578081fd5b813561146e81611bcb565b600060208284031215611972578081fd5b815161146e81611bcb565b60006020828403121561198e578081fd5b5035919050565b600081518084526119ad816020860160208601611af3565b601f01601f19169290920160200192915050565b600083516119d3818460208801611af3565b8351908301906119e7818360208801611af3565b01949350505050565b60008251611a02818460208701611af3565b64173539b7b760d91b920191825250600501919050565b60006001600160a01b03808716835280861660208401525083604083015260806060830152611a4b6080830184611995565b9695505050505050565b60208152600061146e6020830184611995565b60008219821115611a7b57611a7b611b89565b500190565b600082611a8f57611a8f611b9f565b500490565b6000816000190483118215151615611aae57611aae611b89565b500290565b600082821015611ac557611ac5611b89565b500390565b600067ffffffffffffffff83811690831681811015611aeb57611aeb611b89565b039392505050565b60005b83811015611b0e578181015183820152602001611af6565b83811115610c0e5750506000910152565b600181811c90821680611b3357607f821691505b60208210811415611b5457634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611b6e57611b6e611b89565b5060010190565b600082611b8457611b84611b9f565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610b3257600080fdfe697066733a2f2f516d525756416856543771793267686f776e4c595542423331524b63616261445236574663314d314168595650412fa26469706673582212203ef78df530d219d676b9d98b6e6da71d326648125e991491b79b56ed231ffe5164736f6c63430008040033

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

000000000000000000000000e22cd49db15209d019abec77505ac0c55c262062

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

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000e22cd49db15209d019abec77505ac0c55c262062


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

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.