ETH Price: $2,737.58 (+1.92%)

Token

WWIII (Rest In Peace)
 

Overview

Max Total Supply

10 Rest In Peace

Holders

10

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
204030.eth
Balance
1 Rest In Peace
0x0579a2612842c8aDFc9a635Ac7852a18828F8534
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
WWIII

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2023-09-10
*/

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.4;


/**
 * @dev Interface of ERC721A.
 */
interface IERC721A {
    /**
     * The caller must own the token or be an approved operator.
     */
    error ApprovalCallerNotOwnerNorApproved();

    /**
     * The token does not exist.
     */
    error ApprovalQueryForNonexistentToken();

    /**
     * Cannot query the balance for the zero address.
     */
    error BalanceQueryForZeroAddress();

    /**
     * Cannot mint to the zero address.
     */
    error MintToZeroAddress();

    /**
     * The quantity of tokens minted must be more than zero.
     */
    error MintZeroQuantity();

    /**
     * The token does not exist.
     */
    error OwnerQueryForNonexistentToken();

    /**
     * The caller must own the token or be an approved operator.
     */
    error TransferCallerNotOwnerNorApproved();

    /**
     * The token must be owned by `from`.
     */
    error TransferFromIncorrectOwner();

    /**
     * Cannot safely transfer to a contract that does not implement the
     * ERC721Receiver interface.
     */
    error TransferToNonERC721ReceiverImplementer();

    /**
     * Cannot transfer to the zero address.
     */
    error TransferToZeroAddress();

    /**
     * The token does not exist.
     */
    error URIQueryForNonexistentToken();

    /**
     * The `quantity` minted with ERC2309 exceeds the safety limit.
     */
    error MintERC2309QuantityExceedsLimit();

    /**
     * The `extraData` cannot be set on an unintialized ownership slot.
     */
    error OwnershipNotInitializedForExtraData();

    // =============================================================
    //                            STRUCTS
    // =============================================================

    struct TokenOwnership {
        // The address of the owner.
        address addr;
        // Stores the start time of ownership with minimal overhead for tokenomics.
        uint64 startTimestamp;
        // Whether the token has been burned.
        bool burned;
        // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}.
        uint24 extraData;
    }

    // =============================================================
    //                         TOKEN COUNTERS
    // =============================================================

    /**
     * @dev Returns the total number of tokens in existence.
     * Burned tokens will reduce the count.
     * To get the total number of tokens minted, please see {_totalMinted}.
     */
    function totalSupply() external view returns (uint256);

    // =============================================================
    //                            IERC165
    // =============================================================

    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified)
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);

    // =============================================================
    //                            IERC721
    // =============================================================

    /**
     * @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,
        bytes calldata data
    ) external payable;

    /**
     * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external payable;

    /**
     * @dev Transfers `tokenId` 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 payable;

    /**
     * @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 payable;

    /**
     * @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 the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @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);

    // =============================================================
    //                        IERC721Metadata
    // =============================================================

    /**
     * @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);

    // =============================================================
    //                           IERC2309
    // =============================================================

    /**
     * @dev Emitted when tokens in `fromTokenId` to `toTokenId`
     * (inclusive) is transferred from `from` to `to`, as defined in the
     * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard.
     *
     * See {_mintERC2309} for more details.
     */
    event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to);
}


/**
 * @dev Interface of ERC721 token receiver.
 */
interface ERC721A__IERC721Receiver {
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

/**
 * @title ERC721A
 *
 * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721)
 * Non-Fungible Token Standard, including the Metadata extension.
 * Optimized for lower gas during batch mints.
 *
 * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...)
 * starting from `_startTokenId()`.
 *
 * Assumptions:
 *
 * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
 * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256).
 */
contract ERC721A is IERC721A {
    // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364).
    struct TokenApprovalRef {
        address value;
    }

    // =============================================================
    //                           CONSTANTS
    // =============================================================

    // Mask of an entry in packed address data.
    uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1;

    // The bit position of `numberMinted` in packed address data.
    uint256 private constant _BITPOS_NUMBER_MINTED = 64;

    // The bit position of `numberBurned` in packed address data.
    uint256 private constant _BITPOS_NUMBER_BURNED = 128;

    // The bit position of `aux` in packed address data.
    uint256 private constant _BITPOS_AUX = 192;

    // Mask of all 256 bits in packed address data except the 64 bits for `aux`.
    uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1;

    // The bit position of `startTimestamp` in packed ownership.
    uint256 private constant _BITPOS_START_TIMESTAMP = 160;

    // The bit mask of the `burned` bit in packed ownership.
    uint256 private constant _BITMASK_BURNED = 1 << 224;

    // The bit position of the `nextInitialized` bit in packed ownership.
    uint256 private constant _BITPOS_NEXT_INITIALIZED = 225;

    // The bit mask of the `nextInitialized` bit in packed ownership.
    uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225;

    // The bit position of `extraData` in packed ownership.
    uint256 private constant _BITPOS_EXTRA_DATA = 232;

    // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`.
    uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1;

    // The mask of the lower 160 bits for addresses.
    uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1;

    // The maximum `quantity` that can be minted with {_mintERC2309}.
    // This limit is to prevent overflows on the address data entries.
    // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309}
    // is required to cause an overflow, which is unrealistic.
    uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000;

    // The `Transfer` event signature is given by:
    // `keccak256(bytes("Transfer(address,address,uint256)"))`.
    bytes32 private constant _TRANSFER_EVENT_SIGNATURE =
        0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef;

    // =============================================================
    //                            STORAGE
    // =============================================================

    // The next token ID to be minted.
    uint256 private _currentIndex;

    // The number of tokens burned.
    uint256 private _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 {_packedOwnershipOf} implementation for details.
    //
    // Bits Layout:
    // - [0..159]   `addr`
    // - [160..223] `startTimestamp`
    // - [224]      `burned`
    // - [225]      `nextInitialized`
    // - [232..255] `extraData`
    mapping(uint256 => uint256) private _packedOwnerships;

    // Mapping owner address to address data.
    //
    // Bits Layout:
    // - [0..63]    `balance`
    // - [64..127]  `numberMinted`
    // - [128..191] `numberBurned`
    // - [192..255] `aux`
    mapping(address => uint256) private _packedAddressData;

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

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

    // =============================================================
    //                          CONSTRUCTOR
    // =============================================================

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

    // =============================================================
    //                   TOKEN COUNTING OPERATIONS
    // =============================================================

    /**
     * @dev Returns the starting token ID.
     * To change the starting token ID, please override this function.
     */
    function _startTokenId() internal view virtual returns (uint256) {
        return 0;
    }

    /**
     * @dev Returns the next token ID to be minted.
     */
    function _nextTokenId() internal view virtual returns (uint256) {
        return _currentIndex;
    }

    /**
     * @dev Returns the total number of tokens in existence.
     * Burned tokens will reduce the count.
     * To get the total number of tokens minted, please see {_totalMinted}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than `_currentIndex - _startTokenId()` times.
        unchecked {
            return _currentIndex - _burnCounter - _startTokenId();
        }
    }

    /**
     * @dev Returns the total amount of tokens minted in the contract.
     */
    function _totalMinted() internal view virtual returns (uint256) {
        // Counter underflow is impossible as `_currentIndex` does not decrement,
        // and it is initialized to `_startTokenId()`.
        unchecked {
            return _currentIndex - _startTokenId();
        }
    }

    /**
     * @dev Returns the total number of tokens burned.
     */
    function _totalBurned() internal view virtual returns (uint256) {
        return _burnCounter;
    }

    // =============================================================
    //                    ADDRESS DATA OPERATIONS
    // =============================================================

    /**
     * @dev Returns the number of tokens in `owner`'s account.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        if (owner == address(0)) revert BalanceQueryForZeroAddress();
        return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the number of tokens minted by `owner`.
     */
    function _numberMinted(address owner) internal view returns (uint256) {
        return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the number of tokens burned by or on behalf of `owner`.
     */
    function _numberBurned(address owner) internal view returns (uint256) {
        return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used).
     */
    function _getAux(address owner) internal view returns (uint64) {
        return uint64(_packedAddressData[owner] >> _BITPOS_AUX);
    }

    /**
     * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used).
     * If there are multiple variables, please pack them into a uint64.
     */
    function _setAux(address owner, uint64 aux) internal virtual {
        uint256 packed = _packedAddressData[owner];
        uint256 auxCasted;
        // Cast `aux` with assembly to avoid redundant masking.
        assembly {
            auxCasted := aux
        }
        packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX);
        _packedAddressData[owner] = packed;
    }

    // =============================================================
    //                            IERC165
    // =============================================================

    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified)
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30000 gas.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        // The interface IDs are constants representing the first 4 bytes
        // of the XOR of all function selectors in the interface.
        // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165)
        // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`)
        return
            interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165.
            interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721.
            interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata.
    }

    // =============================================================
    //                        IERC721Metadata
    // =============================================================

    /**
     * @dev Returns the token collection name.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    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, _toString(tokenId))) : '';
    }

    /**
     * @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, it can be overridden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return '';
    }

    // =============================================================
    //                     OWNERSHIPS OPERATIONS
    // =============================================================

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        return address(uint160(_packedOwnershipOf(tokenId)));
    }

    /**
     * @dev Gas spent here starts off proportional to the maximum mint batch size.
     * It gradually moves to O(1) as tokens get transferred around over time.
     */
    function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) {
        return _unpackedOwnership(_packedOwnershipOf(tokenId));
    }

    /**
     * @dev Returns the unpacked `TokenOwnership` struct at `index`.
     */
    function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) {
        return _unpackedOwnership(_packedOwnerships[index]);
    }

    /**
     * @dev Initializes the ownership slot minted at `index` for efficiency purposes.
     */
    function _initializeOwnershipAt(uint256 index) internal virtual {
        if (_packedOwnerships[index] == 0) {
            _packedOwnerships[index] = _packedOwnershipOf(index);
        }
    }

    /**
     * Returns the packed ownership data of `tokenId`.
     */
    function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) {
        uint256 curr = tokenId;

        unchecked {
            if (_startTokenId() <= curr)
                if (curr < _currentIndex) {
                    uint256 packed = _packedOwnerships[curr];
                    // If not burned.
                    if (packed & _BITMASK_BURNED == 0) {
                        // Invariant:
                        // There will always be an initialized ownership slot
                        // (i.e. `ownership.addr != address(0) && ownership.burned == false`)
                        // before an unintialized ownership slot
                        // (i.e. `ownership.addr == address(0) && ownership.burned == false`)
                        // Hence, `curr` will not underflow.
                        //
                        // We can directly compare the packed value.
                        // If the address is zero, packed will be zero.
                        while (packed == 0) {
                            packed = _packedOwnerships[--curr];
                        }
                        return packed;
                    }
                }
        }
        revert OwnerQueryForNonexistentToken();
    }

    /**
     * @dev Returns the unpacked `TokenOwnership` struct from `packed`.
     */
    function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) {
        ownership.addr = address(uint160(packed));
        ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP);
        ownership.burned = packed & _BITMASK_BURNED != 0;
        ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA);
    }

    /**
     * @dev Packs ownership data into a single uint256.
     */
    function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) {
        assembly {
            // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean.
            owner := and(owner, _BITMASK_ADDRESS)
            // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`.
            result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags))
        }
    }

    /**
     * @dev Returns the `nextInitialized` flag set if `quantity` equals 1.
     */
    function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) {
        // For branchless setting of the `nextInitialized` flag.
        assembly {
            // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`.
            result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1))
        }
    }

    // =============================================================
    //                      APPROVAL OPERATIONS
    // =============================================================

    /**
     * @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) public payable virtual override {
        address owner = ownerOf(tokenId);

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

        _tokenApprovals[tokenId].value = to;
        emit Approval(owner, to, tokenId);
    }

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();

        return _tokenApprovals[tokenId].value;
    }

    /**
     * @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) public virtual override {
        _operatorApprovals[_msgSenderERC721A()][operator] = approved;
        emit ApprovalForAll(_msgSenderERC721A(), operator, approved);
    }

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

    /**
     * @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. See {_mint}.
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return
            _startTokenId() <= tokenId &&
            tokenId < _currentIndex && // If within bounds,
            _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned.
    }

    /**
     * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`.
     */
    function _isSenderApprovedOrOwner(
        address approvedAddress,
        address owner,
        address msgSender
    ) private pure returns (bool result) {
        assembly {
            // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean.
            owner := and(owner, _BITMASK_ADDRESS)
            // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean.
            msgSender := and(msgSender, _BITMASK_ADDRESS)
            // `msgSender == owner || msgSender == approvedAddress`.
            result := or(eq(msgSender, owner), eq(msgSender, approvedAddress))
        }
    }

    /**
     * @dev Returns the storage slot and value for the approved address of `tokenId`.
     */
    function _getApprovedSlotAndAddress(uint256 tokenId)
        private
        view
        returns (uint256 approvedAddressSlot, address approvedAddress)
    {
        TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId];
        // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`.
        assembly {
            approvedAddressSlot := tokenApproval.slot
            approvedAddress := sload(approvedAddressSlot)
        }
    }

    // =============================================================
    //                      TRANSFER OPERATIONS
    // =============================================================

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * 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
    ) public payable virtual override {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

        if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner();

        (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId);

        // The nested ifs save around 20+ gas over a compound boolean condition.
        if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A()))
            if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved();

        if (to == address(0)) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

        // Clear approvals from the previous owner.
        assembly {
            if approvedAddress {
                // This is equivalent to `delete _tokenApprovals[tokenId]`.
                sstore(approvedAddressSlot, 0)
            }
        }

        // 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**256.
        unchecked {
            // We can directly increment and decrement the balances.
            --_packedAddressData[from]; // Updates: `balance -= 1`.
            ++_packedAddressData[to]; // Updates: `balance += 1`.

            // Updates:
            // - `address` to the next owner.
            // - `startTimestamp` to the timestamp of transfering.
            // - `burned` to `false`.
            // - `nextInitialized` to `true`.
            _packedOwnerships[tokenId] = _packOwnershipData(
                to,
                _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked)
            );

            // If the next slot may not have been initialized (i.e. `nextInitialized == false`) .
            if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) {
                uint256 nextTokenId = tokenId + 1;
                // If the next slot's address is zero and not burned (i.e. packed value is zero).
                if (_packedOwnerships[nextTokenId] == 0) {
                    // If the next slot is within bounds.
                    if (nextTokenId != _currentIndex) {
                        // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`.
                        _packedOwnerships[nextTokenId] = prevOwnershipPacked;
                    }
                }
            }
        }

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

    /**
     * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public payable virtual override {
        safeTransferFrom(from, to, tokenId, '');
    }

    /**
     * @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 memory _data
    ) public payable virtual override {
        transferFrom(from, to, tokenId);
        if (to.code.length != 0)
            if (!_checkContractOnERC721Received(from, to, tokenId, _data)) {
                revert TransferToNonERC721ReceiverImplementer();
            }
    }

    /**
     * @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 {}

    /**
     * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract.
     *
     * `from` - Previous owner of the given token ID.
     * `to` - Target address that will receive the token.
     * `tokenId` - Token ID to be transferred.
     * `_data` - Optional data to send along with the call.
     *
     * Returns whether the call correctly returned the expected magic value.
     */
    function _checkContractOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns (
            bytes4 retval
        ) {
            return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector;
        } catch (bytes memory reason) {
            if (reason.length == 0) {
                revert TransferToNonERC721ReceiverImplementer();
            } else {
                assembly {
                    revert(add(32, reason), mload(reason))
                }
            }
        }
    }

    // =============================================================
    //                        MINT OPERATIONS
    // =============================================================

    /**
     * @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 for each mint.
     */
    function _mint(address to, uint256 quantity) internal virtual {
        uint256 startTokenId = _currentIndex;
        if (quantity == 0) revert MintZeroQuantity();

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

        // Overflows are incredibly unrealistic.
        // `balance` and `numberMinted` have a maximum limit of 2**64.
        // `tokenId` has a maximum limit of 2**256.
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the `balance` and `numberMinted`.
            _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1);

            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `quantity == 1`.
            _packedOwnerships[startTokenId] = _packOwnershipData(
                to,
                _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0)
            );

            uint256 toMasked;
            uint256 end = startTokenId + quantity;

            // Use assembly to loop and emit the `Transfer` event for gas savings.
            // The duplicated `log4` removes an extra check and reduces stack juggling.
            // The assembly, together with the surrounding Solidity code, have been
            // delicately arranged to nudge the compiler into producing optimized opcodes.
            assembly {
                // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean.
                toMasked := and(to, _BITMASK_ADDRESS)
                // Emit the `Transfer` event.
                log4(
                    0, // Start of data (0, since no data).
                    0, // End of data (0, since no data).
                    _TRANSFER_EVENT_SIGNATURE, // Signature.
                    0, // `address(0)`.
                    toMasked, // `to`.
                    startTokenId // `tokenId`.
                )

                // The `iszero(eq(,))` check ensures that large values of `quantity`
                // that overflows uint256 will make the loop run out of gas.
                // The compiler will optimize the `iszero` away for performance.
                for {
                    let tokenId := add(startTokenId, 1)
                } iszero(eq(tokenId, end)) {
                    tokenId := add(tokenId, 1)
                } {
                    // Emit the `Transfer` event. Similar to above.
                    log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId)
                }
            }
            if (toMasked == 0) revert MintToZeroAddress();

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

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * This function is intended for efficient minting only during contract creation.
     *
     * It emits only one {ConsecutiveTransfer} as defined in
     * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309),
     * instead of a sequence of {Transfer} event(s).
     *
     * Calling this function outside of contract creation WILL make your contract
     * non-compliant with the ERC721 standard.
     * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309
     * {ConsecutiveTransfer} event is only permissible during contract creation.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {ConsecutiveTransfer} event.
     */
    function _mintERC2309(address to, uint256 quantity) internal virtual {
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();
        if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit();

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

        // Overflows are unrealistic due to the above check for `quantity` to be below the limit.
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the `balance` and `numberMinted`.
            _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1);

            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `quantity == 1`.
            _packedOwnerships[startTokenId] = _packOwnershipData(
                to,
                _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0)
            );

            emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to);

            _currentIndex = startTokenId + quantity;
        }
        _afterTokenTransfers(address(0), to, startTokenId, 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.
     *
     * See {_mint}.
     *
     * Emits a {Transfer} event for each mint.
     */
    function _safeMint(
        address to,
        uint256 quantity,
        bytes memory _data
    ) internal virtual {
        _mint(to, quantity);

        unchecked {
            if (to.code.length != 0) {
                uint256 end = _currentIndex;
                uint256 index = end - quantity;
                do {
                    if (!_checkContractOnERC721Received(address(0), to, index++, _data)) {
                        revert TransferToNonERC721ReceiverImplementer();
                    }
                } while (index < end);
                // Reentrancy protection.
                if (_currentIndex != end) revert();
            }
        }
    }

    /**
     * @dev Equivalent to `_safeMint(to, quantity, '')`.
     */
    function _safeMint(address to, uint256 quantity) internal virtual {
        _safeMint(to, quantity, '');
    }

    // =============================================================
    //                        BURN OPERATIONS
    // =============================================================

    /**
     * @dev Equivalent to `_burn(tokenId, false)`.
     */
    function _burn(uint256 tokenId) internal virtual {
        _burn(tokenId, false);
    }

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

        address from = address(uint160(prevOwnershipPacked));

        (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId);

        if (approvalCheck) {
            // The nested ifs save around 20+ gas over a compound boolean condition.
            if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A()))
                if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved();
        }

        _beforeTokenTransfers(from, address(0), tokenId, 1);

        // Clear approvals from the previous owner.
        assembly {
            if approvedAddress {
                // This is equivalent to `delete _tokenApprovals[tokenId]`.
                sstore(approvedAddressSlot, 0)
            }
        }

        // 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**256.
        unchecked {
            // Updates:
            // - `balance -= 1`.
            // - `numberBurned += 1`.
            //
            // We can directly decrement the balance, and increment the number burned.
            // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`.
            _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1;

            // Updates:
            // - `address` to the last owner.
            // - `startTimestamp` to the timestamp of burning.
            // - `burned` to `true`.
            // - `nextInitialized` to `true`.
            _packedOwnerships[tokenId] = _packOwnershipData(
                from,
                (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked)
            );

            // If the next slot may not have been initialized (i.e. `nextInitialized == false`) .
            if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) {
                uint256 nextTokenId = tokenId + 1;
                // If the next slot's address is zero and not burned (i.e. packed value is zero).
                if (_packedOwnerships[nextTokenId] == 0) {
                    // If the next slot is within bounds.
                    if (nextTokenId != _currentIndex) {
                        // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`.
                        _packedOwnerships[nextTokenId] = prevOwnershipPacked;
                    }
                }
            }
        }

        emit Transfer(from, address(0), tokenId);
        _afterTokenTransfers(from, address(0), tokenId, 1);

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

    // =============================================================
    //                     EXTRA DATA OPERATIONS
    // =============================================================

    /**
     * @dev Directly sets the extra data for the ownership data `index`.
     */
    function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual {
        uint256 packed = _packedOwnerships[index];
        if (packed == 0) revert OwnershipNotInitializedForExtraData();
        uint256 extraDataCasted;
        // Cast `extraData` with assembly to avoid redundant masking.
        assembly {
            extraDataCasted := extraData
        }
        packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA);
        _packedOwnerships[index] = packed;
    }

    /**
     * @dev Called during each token transfer to set the 24bit `extraData` field.
     * Intended to be overridden by the cosumer contract.
     *
     * `previousExtraData` - the value of `extraData` before transfer.
     *
     * 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 _extraData(
        address from,
        address to,
        uint24 previousExtraData
    ) internal view virtual returns (uint24) {}

    /**
     * @dev Returns the next extra data for the packed ownership data.
     * The returned result is shifted into position.
     */
    function _nextExtraData(
        address from,
        address to,
        uint256 prevOwnershipPacked
    ) private view returns (uint256) {
        uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA);
        return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA;
    }

    // =============================================================
    //                       OTHER OPERATIONS
    // =============================================================

    /**
     * @dev Returns the message sender (defaults to `msg.sender`).
     *
     * If you are writing GSN compatible contracts, you need to override this function.
     */
    function _msgSenderERC721A() internal view virtual returns (address) {
        return msg.sender;
    }

    /**
     * @dev Converts a uint256 to its ASCII string decimal representation.
     */
    function _toString(uint256 value) internal pure virtual returns (string memory str) {
        assembly {
            // The maximum value of a uint256 contains 78 digits (1 byte per digit), but
            // we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned.
            // We will need 1 word for the trailing zeros padding, 1 word for the length,
            // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0.
            let m := add(mload(0x40), 0xa0)
            // Update the free memory pointer to allocate.
            mstore(0x40, m)
            // Assign the `str` to the end.
            str := sub(m, 0x20)
            // Zeroize the slot after the string.
            mstore(str, 0)

            // Cache the end of the memory to calculate the length later.
            let end := str

            // We write the string from rightmost digit to leftmost digit.
            // The following is essentially a do-while loop that also handles the zero case.
            // prettier-ignore
            for { let temp := value } 1 {} {
                str := sub(str, 1)
                // Write the character to the pointer.
                // The ASCII index of the '0' character is 48.
                mstore8(str, add(48, mod(temp, 10)))
                // Keep dividing `temp` until zero.
                temp := div(temp, 10)
                // prettier-ignore
                if iszero(temp) { break }
            }

            let length := sub(end, str)
            // Move the pointer 32 bytes leftwards to make room for the length.
            str := sub(str, 0x20)
            // Store the length.
            mstore(str, length)
        }
    }
}


contract WWIII is ERC721A {

    address payable owner;
    uint256 public MAX_SUPPLY = 10;
    string public baseURI;

    modifier onlyOwner { 
        require(msg.sender == owner); 
        _; 
    }
    
    constructor(string memory _name, string memory _symbol) ERC721A(_name, _symbol) payable {
        _mint(msg.sender, 1);
        owner = payable(msg.sender);
    }

    function mint() public payable {
        require(_totalMinted() <= MAX_SUPPLY);
        _safeMint(msg.sender, 1);
    }

    function overrideMaxSupply(uint _newMax) public onlyOwner payable {
        MAX_SUPPLY = _newMax;
    }

    function setBaseURI(string calldata _newBaseURI) public onlyOwner payable {
        baseURI = _newBaseURI;
    }

    function withdrawETH() public onlyOwner payable {
        (bool suc, ) = owner.call{value: address(this).balance}("");
        require(suc);

    }

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


}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"}],"stateMutability":"payable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","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":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMax","type":"uint256"}],"name":"overrideMaxSupply","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"payable","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":"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":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"payable","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":"payable","type":"function"},{"inputs":[],"name":"withdrawETH","outputs":[],"stateMutability":"payable","type":"function"}]

6080604052600a60095560405162001676380380620016768339810160408190526200002b9162000222565b818160026200003b83826200031a565b5060036200004a82826200031a565b505060008055506200005e33600162000078565b5050600880546001600160a01b03191633179055620003e6565b60008054908290036200009e5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b17831790558284019083908390600080516020620016568339815191528180a4600183015b8181146200012d578083600060008051602062001656833981519152600080a460010162000104565b50816000036200014f57604051622e076360e81b815260040160405180910390fd5b60005550505050565b505050565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200018557600080fd5b81516001600160401b0380821115620001a257620001a26200015d565b604051601f8301601f19908116603f01168101908282118183101715620001cd57620001cd6200015d565b81604052838152602092508683858801011115620001ea57600080fd5b600091505b838210156200020e5785820183015181830184015290820190620001ef565b600093810190920192909252949350505050565b600080604083850312156200023657600080fd5b82516001600160401b03808211156200024e57600080fd5b6200025c8683870162000173565b935060208501519150808211156200027357600080fd5b50620002828582860162000173565b9150509250929050565b600181811c90821680620002a157607f821691505b602082108103620002c257634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200015857600081815260208120601f850160051c81016020861015620002f15750805b601f850160051c820191505b818110156200031257828155600101620002fd565b505050505050565b81516001600160401b038111156200033657620003366200015d565b6200034e816200034784546200028c565b84620002c8565b602080601f8311600181146200038657600084156200036d5750858301515b600019600386901b1c1916600185901b17855562000312565b600085815260208120601f198616915b82811015620003b75788860151825594840194600190910190840162000396565b5085821015620003d65787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b61126080620003f66000396000f3fe60806040526004361061011f5760003560e01c80636352211e116100a0578063b35bc2c711610064578063b35bc2c7146102cc578063b88d4fde146102df578063c87b56dd146102f2578063e086e5ec14610312578063e985e9c51461031a57600080fd5b80636352211e146102425780636c0360eb1461026257806370a082311461027757806395d89b4114610297578063a22cb465146102ac57600080fd5b806318160ddd116100e757806318160ddd146101d057806323b872dd146101f357806332cb6b0c1461020657806342842e0e1461021c57806355f804b31461022f57600080fd5b806301ffc9a71461012457806306fdde0314610159578063081812fc1461017b578063095ea7b3146101b35780631249c58b146101c8575b600080fd5b34801561013057600080fd5b5061014461013f366004610d58565b610363565b60405190151581526020015b60405180910390f35b34801561016557600080fd5b5061016e6103b5565b6040516101509190610dc5565b34801561018757600080fd5b5061019b610196366004610dd8565b610447565b6040516001600160a01b039091168152602001610150565b6101c66101c1366004610e0d565b61048b565b005b6101c661052b565b3480156101dc57600080fd5b50600154600054035b604051908152602001610150565b6101c6610201366004610e37565b610549565b34801561021257600080fd5b506101e560095481565b6101c661022a366004610e37565b6106e2565b6101c661023d366004610e73565b610702565b34801561024e57600080fd5b5061019b61025d366004610dd8565b610726565b34801561026e57600080fd5b5061016e610731565b34801561028357600080fd5b506101e5610292366004610ee5565b6107bf565b3480156102a357600080fd5b5061016e61080e565b3480156102b857600080fd5b506101c66102c7366004610f00565b61081d565b6101c66102da366004610dd8565b610889565b6101c66102ed366004610f52565b6108a5565b3480156102fe57600080fd5b5061016e61030d366004610dd8565b6108ef565b6101c6610973565b34801561032657600080fd5b5061014461033536600461102e565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b60006301ffc9a760e01b6001600160e01b03198316148061039457506380ac58cd60e01b6001600160e01b03198316145b806103af5750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546103c490611061565b80601f01602080910402602001604051908101604052809291908181526020018280546103f090611061565b801561043d5780601f106104125761010080835404028352916020019161043d565b820191906000526020600020905b81548152906001019060200180831161042057829003601f168201915b5050505050905090565b6000610452826109ed565b61046f576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061049682610726565b9050336001600160a01b038216146104cf576104b28133610335565b6104cf576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600954600054111561053c57600080fd5b610547336001610a14565b565b600061055482610a32565b9050836001600160a01b0316816001600160a01b0316146105875760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b038816909114176105d4576105b78633610335565b6105d457604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166105fb57604051633a954ecd60e21b815260040160405180910390fd5b801561060657600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003610698576001840160008181526004602052604081205490036106965760005481146106965760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b6106fd838383604051806020016040528060008152506108a5565b505050565b6008546001600160a01b0316331461071957600080fd5b600a6106fd8284836110e1565b60006103af82610a32565b600a805461073e90611061565b80601f016020809104026020016040519081016040528092919081815260200182805461076a90611061565b80156107b75780601f1061078c576101008083540402835291602001916107b7565b820191906000526020600020905b81548152906001019060200180831161079a57829003601f168201915b505050505081565b60006001600160a01b0382166107e8576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6060600380546103c490611061565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6008546001600160a01b031633146108a057600080fd5b600955565b6108b0848484610549565b6001600160a01b0383163b156108e9576108cc84848484610a99565b6108e9576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b60606108fa826109ed565b61091757604051630a14c4b560e41b815260040160405180910390fd5b6000610921610b84565b90508051600003610941576040518060200160405280600081525061096c565b8061094b84610b93565b60405160200161095c9291906111a1565b6040516020818303038152906040525b9392505050565b6008546001600160a01b0316331461098a57600080fd5b6008546040516000916001600160a01b03169047908381818185875af1925050503d80600081146109d7576040519150601f19603f3d011682016040523d82523d6000602084013e6109dc565b606091505b50509050806109ea57600080fd5b50565b60008054821080156103af575050600090815260046020526040902054600160e01b161590565b610a2e828260405180602001604052806000815250610bd7565b5050565b600081600054811015610a805760008181526004602052604081205490600160e01b82169003610a7e575b8060000361096c575060001901600081815260046020526040902054610a5d565b505b604051636f96cda160e11b815260040160405180910390fd5b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290610ace9033908990889088906004016111d0565b6020604051808303816000875af1925050508015610b09575060408051601f3d908101601f19168201909252610b069181019061120d565b60015b610b67573d808015610b37576040519150601f19603f3d011682016040523d82523d6000602084013e610b3c565b606091505b508051600003610b5f576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b6060600a80546103c490611061565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a900480610bad5750819003601f19909101908152919050565b610be18383610c44565b6001600160a01b0383163b156106fd576000548281035b610c0b6000868380600101945086610a99565b610c28576040516368d2bf6b60e11b815260040160405180910390fd5b818110610bf8578160005414610c3d57600080fd5b5050505050565b6000805490829003610c695760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114610d1857808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101610ce0565b5081600003610d3957604051622e076360e81b815260040160405180910390fd5b60005550505050565b6001600160e01b0319811681146109ea57600080fd5b600060208284031215610d6a57600080fd5b813561096c81610d42565b60005b83811015610d90578181015183820152602001610d78565b50506000910152565b60008151808452610db1816020860160208601610d75565b601f01601f19169290920160200192915050565b60208152600061096c6020830184610d99565b600060208284031215610dea57600080fd5b5035919050565b80356001600160a01b0381168114610e0857600080fd5b919050565b60008060408385031215610e2057600080fd5b610e2983610df1565b946020939093013593505050565b600080600060608486031215610e4c57600080fd5b610e5584610df1565b9250610e6360208501610df1565b9150604084013590509250925092565b60008060208385031215610e8657600080fd5b823567ffffffffffffffff80821115610e9e57600080fd5b818501915085601f830112610eb257600080fd5b813581811115610ec157600080fd5b866020828501011115610ed357600080fd5b60209290920196919550909350505050565b600060208284031215610ef757600080fd5b61096c82610df1565b60008060408385031215610f1357600080fd5b610f1c83610df1565b915060208301358015158114610f3157600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b60008060008060808587031215610f6857600080fd5b610f7185610df1565b9350610f7f60208601610df1565b925060408501359150606085013567ffffffffffffffff80821115610fa357600080fd5b818701915087601f830112610fb757600080fd5b813581811115610fc957610fc9610f3c565b604051601f8201601f19908116603f01168101908382118183101715610ff157610ff1610f3c565b816040528281528a602084870101111561100a57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806040838503121561104157600080fd5b61104a83610df1565b915061105860208401610df1565b90509250929050565b600181811c9082168061107557607f821691505b60208210810361109557634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156106fd57600081815260208120601f850160051c810160208610156110c25750805b601f850160051c820191505b818110156106da578281556001016110ce565b67ffffffffffffffff8311156110f9576110f9610f3c565b61110d836111078354611061565b8361109b565b6000601f84116001811461114157600085156111295750838201355b600019600387901b1c1916600186901b178355610c3d565b600083815260209020601f19861690835b828110156111725786850135825560209485019460019092019101611152565b508682101561118f5760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b600083516111b3818460208801610d75565b8351908301906111c7818360208801610d75565b01949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061120390830184610d99565b9695505050505050565b60006020828403121561121f57600080fd5b815161096c81610d4256fea264697066735822122017e0cf2f0b8a03ef3e82250fbca9053be1012cbde159d2aa5dd519ddd5f2590464736f6c63430008110033ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000055757494949000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000d5265737420496e20506561636500000000000000000000000000000000000000

Deployed Bytecode

0x60806040526004361061011f5760003560e01c80636352211e116100a0578063b35bc2c711610064578063b35bc2c7146102cc578063b88d4fde146102df578063c87b56dd146102f2578063e086e5ec14610312578063e985e9c51461031a57600080fd5b80636352211e146102425780636c0360eb1461026257806370a082311461027757806395d89b4114610297578063a22cb465146102ac57600080fd5b806318160ddd116100e757806318160ddd146101d057806323b872dd146101f357806332cb6b0c1461020657806342842e0e1461021c57806355f804b31461022f57600080fd5b806301ffc9a71461012457806306fdde0314610159578063081812fc1461017b578063095ea7b3146101b35780631249c58b146101c8575b600080fd5b34801561013057600080fd5b5061014461013f366004610d58565b610363565b60405190151581526020015b60405180910390f35b34801561016557600080fd5b5061016e6103b5565b6040516101509190610dc5565b34801561018757600080fd5b5061019b610196366004610dd8565b610447565b6040516001600160a01b039091168152602001610150565b6101c66101c1366004610e0d565b61048b565b005b6101c661052b565b3480156101dc57600080fd5b50600154600054035b604051908152602001610150565b6101c6610201366004610e37565b610549565b34801561021257600080fd5b506101e560095481565b6101c661022a366004610e37565b6106e2565b6101c661023d366004610e73565b610702565b34801561024e57600080fd5b5061019b61025d366004610dd8565b610726565b34801561026e57600080fd5b5061016e610731565b34801561028357600080fd5b506101e5610292366004610ee5565b6107bf565b3480156102a357600080fd5b5061016e61080e565b3480156102b857600080fd5b506101c66102c7366004610f00565b61081d565b6101c66102da366004610dd8565b610889565b6101c66102ed366004610f52565b6108a5565b3480156102fe57600080fd5b5061016e61030d366004610dd8565b6108ef565b6101c6610973565b34801561032657600080fd5b5061014461033536600461102e565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b60006301ffc9a760e01b6001600160e01b03198316148061039457506380ac58cd60e01b6001600160e01b03198316145b806103af5750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546103c490611061565b80601f01602080910402602001604051908101604052809291908181526020018280546103f090611061565b801561043d5780601f106104125761010080835404028352916020019161043d565b820191906000526020600020905b81548152906001019060200180831161042057829003601f168201915b5050505050905090565b6000610452826109ed565b61046f576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061049682610726565b9050336001600160a01b038216146104cf576104b28133610335565b6104cf576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600954600054111561053c57600080fd5b610547336001610a14565b565b600061055482610a32565b9050836001600160a01b0316816001600160a01b0316146105875760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b038816909114176105d4576105b78633610335565b6105d457604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166105fb57604051633a954ecd60e21b815260040160405180910390fd5b801561060657600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003610698576001840160008181526004602052604081205490036106965760005481146106965760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b6106fd838383604051806020016040528060008152506108a5565b505050565b6008546001600160a01b0316331461071957600080fd5b600a6106fd8284836110e1565b60006103af82610a32565b600a805461073e90611061565b80601f016020809104026020016040519081016040528092919081815260200182805461076a90611061565b80156107b75780601f1061078c576101008083540402835291602001916107b7565b820191906000526020600020905b81548152906001019060200180831161079a57829003601f168201915b505050505081565b60006001600160a01b0382166107e8576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6060600380546103c490611061565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6008546001600160a01b031633146108a057600080fd5b600955565b6108b0848484610549565b6001600160a01b0383163b156108e9576108cc84848484610a99565b6108e9576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b60606108fa826109ed565b61091757604051630a14c4b560e41b815260040160405180910390fd5b6000610921610b84565b90508051600003610941576040518060200160405280600081525061096c565b8061094b84610b93565b60405160200161095c9291906111a1565b6040516020818303038152906040525b9392505050565b6008546001600160a01b0316331461098a57600080fd5b6008546040516000916001600160a01b03169047908381818185875af1925050503d80600081146109d7576040519150601f19603f3d011682016040523d82523d6000602084013e6109dc565b606091505b50509050806109ea57600080fd5b50565b60008054821080156103af575050600090815260046020526040902054600160e01b161590565b610a2e828260405180602001604052806000815250610bd7565b5050565b600081600054811015610a805760008181526004602052604081205490600160e01b82169003610a7e575b8060000361096c575060001901600081815260046020526040902054610a5d565b505b604051636f96cda160e11b815260040160405180910390fd5b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290610ace9033908990889088906004016111d0565b6020604051808303816000875af1925050508015610b09575060408051601f3d908101601f19168201909252610b069181019061120d565b60015b610b67573d808015610b37576040519150601f19603f3d011682016040523d82523d6000602084013e610b3c565b606091505b508051600003610b5f576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b6060600a80546103c490611061565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a900480610bad5750819003601f19909101908152919050565b610be18383610c44565b6001600160a01b0383163b156106fd576000548281035b610c0b6000868380600101945086610a99565b610c28576040516368d2bf6b60e11b815260040160405180910390fd5b818110610bf8578160005414610c3d57600080fd5b5050505050565b6000805490829003610c695760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114610d1857808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101610ce0565b5081600003610d3957604051622e076360e81b815260040160405180910390fd5b60005550505050565b6001600160e01b0319811681146109ea57600080fd5b600060208284031215610d6a57600080fd5b813561096c81610d42565b60005b83811015610d90578181015183820152602001610d78565b50506000910152565b60008151808452610db1816020860160208601610d75565b601f01601f19169290920160200192915050565b60208152600061096c6020830184610d99565b600060208284031215610dea57600080fd5b5035919050565b80356001600160a01b0381168114610e0857600080fd5b919050565b60008060408385031215610e2057600080fd5b610e2983610df1565b946020939093013593505050565b600080600060608486031215610e4c57600080fd5b610e5584610df1565b9250610e6360208501610df1565b9150604084013590509250925092565b60008060208385031215610e8657600080fd5b823567ffffffffffffffff80821115610e9e57600080fd5b818501915085601f830112610eb257600080fd5b813581811115610ec157600080fd5b866020828501011115610ed357600080fd5b60209290920196919550909350505050565b600060208284031215610ef757600080fd5b61096c82610df1565b60008060408385031215610f1357600080fd5b610f1c83610df1565b915060208301358015158114610f3157600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b60008060008060808587031215610f6857600080fd5b610f7185610df1565b9350610f7f60208601610df1565b925060408501359150606085013567ffffffffffffffff80821115610fa357600080fd5b818701915087601f830112610fb757600080fd5b813581811115610fc957610fc9610f3c565b604051601f8201601f19908116603f01168101908382118183101715610ff157610ff1610f3c565b816040528281528a602084870101111561100a57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806040838503121561104157600080fd5b61104a83610df1565b915061105860208401610df1565b90509250929050565b600181811c9082168061107557607f821691505b60208210810361109557634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156106fd57600081815260208120601f850160051c810160208610156110c25750805b601f850160051c820191505b818110156106da578281556001016110ce565b67ffffffffffffffff8311156110f9576110f9610f3c565b61110d836111078354611061565b8361109b565b6000601f84116001811461114157600085156111295750838201355b600019600387901b1c1916600186901b178355610c3d565b600083815260209020601f19861690835b828110156111725786850135825560209485019460019092019101611152565b508682101561118f5760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b600083516111b3818460208801610d75565b8351908301906111c7818360208801610d75565b01949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061120390830184610d99565b9695505050505050565b60006020828403121561121f57600080fd5b815161096c81610d4256fea264697066735822122017e0cf2f0b8a03ef3e82250fbca9053be1012cbde159d2aa5dd519ddd5f2590464736f6c63430008110033

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

0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000055757494949000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000d5265737420496e20506561636500000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _name (string): WWIII
Arg [1] : _symbol (string): Rest In Peace

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [3] : 5757494949000000000000000000000000000000000000000000000000000000
Arg [4] : 000000000000000000000000000000000000000000000000000000000000000d
Arg [5] : 5265737420496e20506561636500000000000000000000000000000000000000


Deployed Bytecode Sourcemap

51248:1035:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18215:639;;;;;;;;;;-1:-1:-1;18215:639:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;18215:639:0;;;;;;;;19117:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;25608:218::-;;;;;;;;;;-1:-1:-1;25608:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1697:32:1;;;1679:51;;1667:2;1652:18;25608:218:0;1533:203:1;25041:408:0;;;;;;:::i;:::-;;:::i;:::-;;51644:122;;;:::i;14868:323::-;;;;;;;;;;-1:-1:-1;15142:12:0;;14929:7;15126:13;:28;14868:323;;;2324:25:1;;;2312:2;2297:18;14868:323:0;2178:177:1;29247:2825:0;;;;;;:::i;:::-;;:::i;51311:30::-;;;;;;;;;;;;;;;;32168:193;;;;;;:::i;:::-;;:::i;51887:114::-;;;;;;:::i;:::-;;:::i;20510:152::-;;;;;;;;;;-1:-1:-1;20510:152:0;;;;;:::i;:::-;;:::i;51348:21::-;;;;;;;;;;;;;:::i;16052:233::-;;;;;;;;;;-1:-1:-1;16052:233:0;;;;;:::i;:::-;;:::i;19293:104::-;;;;;;;;;;;;;:::i;26166:234::-;;;;;;;;;;-1:-1:-1;26166:234:0;;;;;:::i;:::-;;:::i;51774:105::-;;;;;;:::i;:::-;;:::i;32959:407::-;;;;;;:::i;:::-;;:::i;19503:318::-;;;;;;;;;;-1:-1:-1;19503:318:0;;;;;:::i;:::-;;:::i;52009:151::-;;;:::i;26557:164::-;;;;;;;;;;-1:-1:-1;26557:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;26678:25:0;;;26654:4;26678:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;26557:164;18215:639;18300:4;-1:-1:-1;;;;;;;;;18624:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;18701:25:0;;;18624:102;:179;;;-1:-1:-1;;;;;;;;;;18778:25:0;;;18624:179;18604:199;18215:639;-1:-1:-1;;18215:639:0:o;19117:100::-;19171:13;19204:5;19197:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19117:100;:::o;25608:218::-;25684:7;25709:16;25717:7;25709;:16::i;:::-;25704:64;;25734:34;;-1:-1:-1;;;25734:34:0;;;;;;;;;;;25704:64;-1:-1:-1;25788:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;25788:30:0;;25608:218::o;25041:408::-;25130:13;25146:16;25154:7;25146;:16::i;:::-;25130:32;-1:-1:-1;49374:10:0;-1:-1:-1;;;;;25179:28:0;;;25175:175;;25227:44;25244:5;49374:10;26557:164;:::i;25227:44::-;25222:128;;25299:35;;-1:-1:-1;;;25299:35:0;;;;;;;;;;;25222:128;25362:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;25362:35:0;-1:-1:-1;;;;;25362:35:0;;;;;;;;;25413:28;;25362:24;;25413:28;;;;;;;25119:330;25041:408;;:::o;51644:122::-;51712:10;;15344:7;15535:13;51694:28;;51686:37;;;;;;51734:24;51744:10;51756:1;51734:9;:24::i;:::-;51644:122::o;29247:2825::-;29389:27;29419;29438:7;29419:18;:27::i;:::-;29389:57;;29504:4;-1:-1:-1;;;;;29463:45:0;29479:19;-1:-1:-1;;;;;29463:45:0;;29459:86;;29517:28;;-1:-1:-1;;;29517:28:0;;;;;;;;;;;29459:86;29559:27;28355:24;;;:15;:24;;;;;28583:26;;49374:10;27980:30;;;-1:-1:-1;;;;;27673:28:0;;27958:20;;;27955:56;29745:180;;29838:43;29855:4;49374:10;26557:164;:::i;29838:43::-;29833:92;;29890:35;;-1:-1:-1;;;29890:35:0;;;;;;;;;;;29833:92;-1:-1:-1;;;;;29942:16:0;;29938:52;;29967:23;;-1:-1:-1;;;29967:23:0;;;;;;;;;;;29938:52;30139:15;30136:160;;;30279:1;30258:19;30251:30;30136:160;-1:-1:-1;;;;;30676:24:0;;;;;;;:18;:24;;;;;;30674:26;;-1:-1:-1;;30674:26:0;;;30745:22;;;;;;;;;30743:24;;-1:-1:-1;30743:24:0;;;23899:11;23874:23;23870:41;23857:63;-1:-1:-1;;;23857:63:0;31038:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;31333:47:0;;:52;;31329:627;;31438:1;31428:11;;31406:19;31561:30;;;:17;:30;;;;;;:35;;31557:384;;31699:13;;31684:11;:28;31680:242;;31846:30;;;;:17;:30;;;;;:52;;;31680:242;31387:569;31329:627;32003:7;31999:2;-1:-1:-1;;;;;31984:27:0;31993:4;-1:-1:-1;;;;;31984:27:0;;;;;;;;;;;32022:42;29378:2694;;;29247:2825;;;:::o;32168:193::-;32314:39;32331:4;32337:2;32341:7;32314:39;;;;;;;;;;;;:16;:39::i;:::-;32168:193;;;:::o;51887:114::-;51431:5;;-1:-1:-1;;;;;51431:5:0;51417:10;:19;51409:28;;;;;;51972:7:::1;:21;51982:11:::0;;51972:7;:21:::1;:::i;20510:152::-:0;20582:7;20625:27;20644:7;20625:18;:27::i;51348:21::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;16052:233::-;16124:7;-1:-1:-1;;;;;16148:19:0;;16144:60;;16176:28;;-1:-1:-1;;;16176:28:0;;;;;;;;;;;16144:60;-1:-1:-1;;;;;;16222:25:0;;;;;:18;:25;;;;;;10211:13;16222:55;;16052:233::o;19293:104::-;19349:13;19382:7;19375:14;;;;;:::i;26166:234::-;49374:10;26261:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;26261:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;26261:60:0;;;;;;;;;;26337:55;;540:41:1;;;26261:49:0;;49374:10;26337:55;;513:18:1;26337:55:0;;;;;;;26166:234;;:::o;51774:105::-;51431:5;;-1:-1:-1;;;;;51431:5:0;51417:10;:19;51409:28;;;;;;51851:10:::1;:20:::0;51774:105::o;32959:407::-;33134:31;33147:4;33153:2;33157:7;33134:12;:31::i;:::-;-1:-1:-1;;;;;33180:14:0;;;:19;33176:183;;33219:56;33250:4;33256:2;33260:7;33269:5;33219:30;:56::i;:::-;33214:145;;33303:40;;-1:-1:-1;;;33303:40:0;;;;;;;;;;;33214:145;32959:407;;;;:::o;19503:318::-;19576:13;19607:16;19615:7;19607;:16::i;:::-;19602:59;;19632:29;;-1:-1:-1;;;19632:29:0;;;;;;;;;;;19602:59;19674:21;19698:10;:8;:10::i;:::-;19674:34;;19732:7;19726:21;19751:1;19726:26;:87;;;;;;;;;;;;;;;;;19779:7;19788:18;19798:7;19788:9;:18::i;:::-;19762:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;19726:87;19719:94;19503:318;-1:-1:-1;;;19503:318:0:o;52009:151::-;51431:5;;-1:-1:-1;;;;;51431:5:0;51417:10;:19;51409:28;;;;;;52083:5:::1;::::0;:44:::1;::::0;52069:8:::1;::::0;-1:-1:-1;;;;;52083:5:0::1;::::0;52101:21:::1;::::0;52069:8;52083:44;52069:8;52083:44;52101:21;52083:5;:44:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52068:59;;;52146:3;52138:12;;;::::0;::::1;;52057:103;52009:151::o:0;26979:282::-;27044:4;27134:13;;27124:7;:23;27081:153;;;;-1:-1:-1;;27185:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;27185:44:0;:49;;26979:282::o;43119:112::-;43196:27;43206:2;43210:8;43196:27;;;;;;;;;;;;:9;:27::i;:::-;43119:112;;:::o;21665:1275::-;21732:7;21767;21869:13;;21862:4;:20;21858:1015;;;21907:14;21924:23;;;:17;:23;;;;;;;-1:-1:-1;;;22013:24:0;;:29;;22009:845;;22678:113;22685:6;22695:1;22685:11;22678:113;;-1:-1:-1;;;22756:6:0;22738:25;;;;:17;:25;;;;;;22678:113;;22009:845;21884:989;21858:1015;22901:31;;-1:-1:-1;;;22901:31:0;;;;;;;;;;;35450:716;35634:88;;-1:-1:-1;;;35634:88:0;;35613:4;;-1:-1:-1;;;;;35634:45:0;;;;;:88;;49374:10;;35701:4;;35707:7;;35716:5;;35634:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35634:88:0;;;;;;;;-1:-1:-1;;35634:88:0;;;;;;;;;;;;:::i;:::-;;;35630:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35917:6;:13;35934:1;35917:18;35913:235;;35963:40;;-1:-1:-1;;;35963:40:0;;;;;;;;;;;35913:235;36106:6;36100:13;36091:6;36087:2;36083:15;36076:38;35630:529;-1:-1:-1;;;;;;35793:64:0;-1:-1:-1;;;35793:64:0;;-1:-1:-1;35450:716:0;;;;;;:::o;52168:108::-;52228:13;52261:7;52254:14;;;;;:::i;49494:1745::-;49559:17;49993:4;49986;49980:11;49976:22;50085:1;50079:4;50072:15;50160:4;50157:1;50153:12;50146:19;;;50242:1;50237:3;50230:14;50346:3;50585:5;50567:428;50633:1;50628:3;50624:11;50617:18;;50804:2;50798:4;50794:13;50790:2;50786:22;50781:3;50773:36;50898:2;50888:13;;50955:25;50567:428;50955:25;-1:-1:-1;51025:13:0;;;-1:-1:-1;;51140:14:0;;;51202:19;;;51140:14;49494:1745;-1:-1:-1;49494:1745:0:o;42346:689::-;42477:19;42483:2;42487:8;42477:5;:19::i;:::-;-1:-1:-1;;;;;42538:14:0;;;:19;42534:483;;42578:11;42592:13;42640:14;;;42673:233;42704:62;42743:1;42747:2;42751:7;;;;;;42760:5;42704:30;:62::i;:::-;42699:167;;42802:40;;-1:-1:-1;;;42802:40:0;;;;;;;;;;;42699:167;42901:3;42893:5;:11;42673:233;;42988:3;42971:13;;:20;42967:34;;42993:8;;;42967:34;42559:458;;42346:689;;;:::o;36628:2966::-;36701:20;36724:13;;;36752;;;36748:44;;36774:18;;-1:-1:-1;;;36774:18:0;;;;;;;;;;;36748:44;-1:-1:-1;;;;;37280:22:0;;;;;;:18;:22;;;;10349:2;37280:22;;;:71;;37318:32;37306:45;;37280:71;;;37594:31;;;:17;:31;;;;;-1:-1:-1;24330:15:0;;24304:24;24300:46;23899:11;23874:23;23870:41;23867:52;23857:63;;37594:173;;37829:23;;;;37594:31;;37280:22;;38594:25;37280:22;;38447:335;39108:1;39094:12;39090:20;39048:346;39149:3;39140:7;39137:16;39048:346;;39367:7;39357:8;39354:1;39327:25;39324:1;39321;39316:59;39202:1;39189:15;39048:346;;;39052:77;39427:8;39439:1;39427:13;39423:45;;39449:19;;-1:-1:-1;;;39449:19:0;;;;;;;;;;;39423:45;39485:13;:19;-1:-1:-1;32168:193:0;;;:::o;14:131:1:-;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:250::-;677:1;687:113;701:6;698:1;695:13;687:113;;;777:11;;;771:18;758:11;;;751:39;723:2;716:10;687:113;;;-1:-1:-1;;834:1:1;816:16;;809:27;592:250::o;847:271::-;889:3;927:5;921:12;954:6;949:3;942:19;970:76;1039:6;1032:4;1027:3;1023:14;1016:4;1009:5;1005:16;970:76;:::i;:::-;1100:2;1079:15;-1:-1:-1;;1075:29:1;1066:39;;;;1107:4;1062:50;;847:271;-1:-1:-1;;847:271:1:o;1123:220::-;1272:2;1261:9;1254:21;1235:4;1292:45;1333:2;1322:9;1318:18;1310:6;1292:45;:::i;1348:180::-;1407:6;1460:2;1448:9;1439:7;1435:23;1431:32;1428:52;;;1476:1;1473;1466:12;1428:52;-1:-1:-1;1499:23:1;;1348:180;-1:-1:-1;1348:180:1:o;1741:173::-;1809:20;;-1:-1:-1;;;;;1858:31:1;;1848:42;;1838:70;;1904:1;1901;1894:12;1838:70;1741:173;;;:::o;1919:254::-;1987:6;1995;2048:2;2036:9;2027:7;2023:23;2019:32;2016:52;;;2064:1;2061;2054:12;2016:52;2087:29;2106:9;2087:29;:::i;:::-;2077:39;2163:2;2148:18;;;;2135:32;;-1:-1:-1;;;1919:254:1:o;2360:328::-;2437:6;2445;2453;2506:2;2494:9;2485:7;2481:23;2477:32;2474:52;;;2522:1;2519;2512:12;2474:52;2545:29;2564:9;2545:29;:::i;:::-;2535:39;;2593:38;2627:2;2616:9;2612:18;2593:38;:::i;:::-;2583:48;;2678:2;2667:9;2663:18;2650:32;2640:42;;2360:328;;;;;:::o;2693:592::-;2764:6;2772;2825:2;2813:9;2804:7;2800:23;2796:32;2793:52;;;2841:1;2838;2831:12;2793:52;2881:9;2868:23;2910:18;2951:2;2943:6;2940:14;2937:34;;;2967:1;2964;2957:12;2937:34;3005:6;2994:9;2990:22;2980:32;;3050:7;3043:4;3039:2;3035:13;3031:27;3021:55;;3072:1;3069;3062:12;3021:55;3112:2;3099:16;3138:2;3130:6;3127:14;3124:34;;;3154:1;3151;3144:12;3124:34;3199:7;3194:2;3185:6;3181:2;3177:15;3173:24;3170:37;3167:57;;;3220:1;3217;3210:12;3167:57;3251:2;3243:11;;;;;3273:6;;-1:-1:-1;2693:592:1;;-1:-1:-1;;;;2693:592:1:o;3290:186::-;3349:6;3402:2;3390:9;3381:7;3377:23;3373:32;3370:52;;;3418:1;3415;3408:12;3370:52;3441:29;3460:9;3441:29;:::i;3481:347::-;3546:6;3554;3607:2;3595:9;3586:7;3582:23;3578:32;3575:52;;;3623:1;3620;3613:12;3575:52;3646:29;3665:9;3646:29;:::i;:::-;3636:39;;3725:2;3714:9;3710:18;3697:32;3772:5;3765:13;3758:21;3751:5;3748:32;3738:60;;3794:1;3791;3784:12;3738:60;3817:5;3807:15;;;3481:347;;;;;:::o;3833:127::-;3894:10;3889:3;3885:20;3882:1;3875:31;3925:4;3922:1;3915:15;3949:4;3946:1;3939:15;3965:1138;4060:6;4068;4076;4084;4137:3;4125:9;4116:7;4112:23;4108:33;4105:53;;;4154:1;4151;4144:12;4105:53;4177:29;4196:9;4177:29;:::i;:::-;4167:39;;4225:38;4259:2;4248:9;4244:18;4225:38;:::i;:::-;4215:48;;4310:2;4299:9;4295:18;4282:32;4272:42;;4365:2;4354:9;4350:18;4337:32;4388:18;4429:2;4421:6;4418:14;4415:34;;;4445:1;4442;4435:12;4415:34;4483:6;4472:9;4468:22;4458:32;;4528:7;4521:4;4517:2;4513:13;4509:27;4499:55;;4550:1;4547;4540:12;4499:55;4586:2;4573:16;4608:2;4604;4601:10;4598:36;;;4614:18;;:::i;:::-;4689:2;4683:9;4657:2;4743:13;;-1:-1:-1;;4739:22:1;;;4763:2;4735:31;4731:40;4719:53;;;4787:18;;;4807:22;;;4784:46;4781:72;;;4833:18;;:::i;:::-;4873:10;4869:2;4862:22;4908:2;4900:6;4893:18;4948:7;4943:2;4938;4934;4930:11;4926:20;4923:33;4920:53;;;4969:1;4966;4959:12;4920:53;5025:2;5020;5016;5012:11;5007:2;4999:6;4995:15;4982:46;5070:1;5065:2;5060;5052:6;5048:15;5044:24;5037:35;5091:6;5081:16;;;;;;;3965:1138;;;;;;;:::o;5108:260::-;5176:6;5184;5237:2;5225:9;5216:7;5212:23;5208:32;5205:52;;;5253:1;5250;5243:12;5205:52;5276:29;5295:9;5276:29;:::i;:::-;5266:39;;5324:38;5358:2;5347:9;5343:18;5324:38;:::i;:::-;5314:48;;5108:260;;;;;:::o;5373:380::-;5452:1;5448:12;;;;5495;;;5516:61;;5570:4;5562:6;5558:17;5548:27;;5516:61;5623:2;5615:6;5612:14;5592:18;5589:38;5586:161;;5669:10;5664:3;5660:20;5657:1;5650:31;5704:4;5701:1;5694:15;5732:4;5729:1;5722:15;5586:161;;5373:380;;;:::o;5884:545::-;5986:2;5981:3;5978:11;5975:448;;;6022:1;6047:5;6043:2;6036:17;6092:4;6088:2;6078:19;6162:2;6150:10;6146:19;6143:1;6139:27;6133:4;6129:38;6198:4;6186:10;6183:20;6180:47;;;-1:-1:-1;6221:4:1;6180:47;6276:2;6271:3;6267:12;6264:1;6260:20;6254:4;6250:31;6240:41;;6331:82;6349:2;6342:5;6339:13;6331:82;;;6394:17;;;6375:1;6364:13;6331:82;;6605:1206;6729:18;6724:3;6721:27;6718:53;;;6751:18;;:::i;:::-;6780:94;6870:3;6830:38;6862:4;6856:11;6830:38;:::i;:::-;6824:4;6780:94;:::i;:::-;6900:1;6925:2;6920:3;6917:11;6942:1;6937:616;;;;7597:1;7614:3;7611:93;;;-1:-1:-1;7670:19:1;;;7657:33;7611:93;-1:-1:-1;;6562:1:1;6558:11;;;6554:24;6550:29;6540:40;6586:1;6582:11;;;6537:57;7717:78;;6910:895;;6937:616;5831:1;5824:14;;;5868:4;5855:18;;-1:-1:-1;;6973:17:1;;;7074:9;7096:229;7110:7;7107:1;7104:14;7096:229;;;7199:19;;;7186:33;7171:49;;7306:4;7291:20;;;;7259:1;7247:14;;;;7126:12;7096:229;;;7100:3;7353;7344:7;7341:16;7338:159;;;7477:1;7473:6;7467:3;7461;7458:1;7454:11;7450:21;7446:34;7442:39;7429:9;7424:3;7420:19;7407:33;7403:79;7395:6;7388:95;7338:159;;;7540:1;7534:3;7531:1;7527:11;7523:19;7517:4;7510:33;6910:895;;6605:1206;;;:::o;7816:496::-;7995:3;8033:6;8027:13;8049:66;8108:6;8103:3;8096:4;8088:6;8084:17;8049:66;:::i;:::-;8178:13;;8137:16;;;;8200:70;8178:13;8137:16;8247:4;8235:17;;8200:70;:::i;:::-;8286:20;;7816:496;-1:-1:-1;;;;7816:496:1:o;8527:489::-;-1:-1:-1;;;;;8796:15:1;;;8778:34;;8848:15;;8843:2;8828:18;;8821:43;8895:2;8880:18;;8873:34;;;8943:3;8938:2;8923:18;;8916:31;;;8721:4;;8964:46;;8990:19;;8982:6;8964:46;:::i;:::-;8956:54;8527:489;-1:-1:-1;;;;;;8527:489:1:o;9021:249::-;9090:6;9143:2;9131:9;9122:7;9118:23;9114:32;9111:52;;;9159:1;9156;9149:12;9111:52;9191:9;9185:16;9210:30;9234:5;9210:30;:::i

Swarm Source

ipfs://17e0cf2f0b8a03ef3e82250fbca9053be1012cbde159d2aa5dd519ddd5f25904
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.