APE Price: $1.08 (-6.63%)

Apehands (APEHANDS)

Overview

TokenID

1002

Total Transfers

-

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information

Contract Source Code Verified (Exact Match)

Contract Name:
NftMint

Compiler Version
v0.8.26+commit.8a97fa7a

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at apescan.io on 2024-11-13
*/

// File: erc721a/contracts/IERC721A.sol


// ERC721A Contracts v4.3.0
// Creator: Chiru Labs

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

    /**
     * `_sequentialUpTo()` must be greater than `_startTokenId()`.
     */
    error SequentialUpToTooSmall();

    /**
     * The `tokenId` of a sequential mint exceeds `_sequentialUpTo()`.
     */
    error SequentialMintExceedsLimit();

    /**
     * Spot minting requires a `tokenId` greater than `_sequentialUpTo()`.
     */
    error SpotMintTokenIdTooSmall();

    /**
     * Cannot mint over a token that already exists.
     */
    error TokenAlreadyExists();

    /**
     * The feature is not compatible with spot mints.
     */
    error NotCompatibleWithSpotMints();

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

// File: erc721a/contracts/ERC721A.sol


// ERC721A Contracts v4.3.0
// Creator: Chiru Labs

pragma solidity ^0.8.4;


/**
 * @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()`.
 *
 * The `_sequentialUpTo()` function can be overriden to enable spot mints
 * (i.e. non-consecutive mints) for `tokenId`s greater than `_sequentialUpTo()`.
 *
 * 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;

    // The amount of tokens minted above `_sequentialUpTo()`.
    // We call these spot mints (i.e. non-sequential mints).
    uint256 private _spotMinted;

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

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

        if (_sequentialUpTo() < _startTokenId()) _revert(SequentialUpToTooSmall.selector);
    }

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

    /**
     * @dev Returns the starting token ID for sequential mints.
     *
     * Override this function to change the starting token ID for sequential mints.
     *
     * Note: The value returned must never change after any tokens have been minted.
     */
    function _startTokenId() internal view virtual returns (uint256) {
        return 0;
    }

    /**
     * @dev Returns the maximum token ID (inclusive) for sequential mints.
     *
     * Override this function to return a value less than 2**256 - 1,
     * but greater than `_startTokenId()`, to enable spot (non-sequential) mints.
     *
     * Note: The value returned must never change after any tokens have been minted.
     */
    function _sequentialUpTo() internal view virtual returns (uint256) {
        return type(uint256).max;
    }

    /**
     * @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 result) {
        // Counter underflow is impossible as `_burnCounter` cannot be incremented
        // more than `_currentIndex + _spotMinted - _startTokenId()` times.
        unchecked {
            // With spot minting, the intermediate `result` can be temporarily negative,
            // and the computation must be unchecked.
            result = _currentIndex - _burnCounter - _startTokenId();
            if (_sequentialUpTo() != type(uint256).max) result += _spotMinted;
        }
    }

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

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

    /**
     * @dev Returns the total number of tokens that are spot-minted.
     */
    function _totalSpotMinted() internal view virtual returns (uint256) {
        return _spotMinted;
    }

    // =============================================================
    //                    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.selector);
        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.selector);

        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 Returns whether the ownership slot at `index` is initialized.
     * An uninitialized slot does not necessarily mean that the slot has no owner.
     */
    function _ownershipIsInitialized(uint256 index) internal view virtual returns (bool) {
        return _packedOwnerships[index] != 0;
    }

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

    /**
     * @dev Returns the packed ownership data of `tokenId`.
     */
    function _packedOwnershipOf(uint256 tokenId) private view returns (uint256 packed) {
        if (_startTokenId() <= tokenId) {
            packed = _packedOwnerships[tokenId];

            if (tokenId > _sequentialUpTo()) {
                if (_packedOwnershipExists(packed)) return packed;
                _revert(OwnerQueryForNonexistentToken.selector);
            }

            // If the data at the starting slot does not exist, start the scan.
            if (packed == 0) {
                if (tokenId >= _currentIndex) _revert(OwnerQueryForNonexistentToken.selector);
                // 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, `tokenId` will not underflow.
                //
                // We can directly compare the packed value.
                // If the address is zero, packed will be zero.
                for (;;) {
                    unchecked {
                        packed = _packedOwnerships[--tokenId];
                    }
                    if (packed == 0) continue;
                    if (packed & _BITMASK_BURNED == 0) return packed;
                    // Otherwise, the token is burned, and we must revert.
                    // This handles the case of batch burned tokens, where only the burned bit
                    // of the starting slot is set, and remaining slots are left uninitialized.
                    _revert(OwnerQueryForNonexistentToken.selector);
                }
            }
            // Otherwise, the data exists and we can skip the scan.
            // This is possible because we have already achieved the target condition.
            // This saves 2143 gas on transfers of initialized tokens.
            // If the token is not burned, return `packed`. Otherwise, revert.
            if (packed & _BITMASK_BURNED == 0) return packed;
        }
        _revert(OwnerQueryForNonexistentToken.selector);
    }

    /**
     * @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. See {ERC721A-_approve}.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     */
    function approve(address to, uint256 tokenId) public payable virtual override {
        _approve(to, tokenId, true);
    }

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

        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 result) {
        if (_startTokenId() <= tokenId) {
            if (tokenId > _sequentialUpTo()) return _packedOwnershipExists(_packedOwnerships[tokenId]);

            if (tokenId < _currentIndex) {
                uint256 packed;
                while ((packed = _packedOwnerships[tokenId]) == 0) --tokenId;
                result = packed & _BITMASK_BURNED == 0;
            }
        }
    }

    /**
     * @dev Returns whether `packed` represents a token that exists.
     */
    function _packedOwnershipExists(uint256 packed) private pure returns (bool result) {
        assembly {
            // The following is equivalent to `owner != address(0) && burned == false`.
            // Symbolically tested.
            result := gt(and(packed, _BITMASK_ADDRESS), and(packed, _BITMASK_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);

        // Mask `from` to the lower 160 bits, in case the upper bits somehow aren't clean.
        from = address(uint160(uint256(uint160(from)) & _BITMASK_ADDRESS));

        if (address(uint160(prevOwnershipPacked)) != from) _revert(TransferFromIncorrectOwner.selector);

        (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.selector);

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

        // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean.
        uint256 toMasked = uint256(uint160(to)) & _BITMASK_ADDRESS;
        assembly {
            // 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.
                from, // `from`.
                toMasked, // `to`.
                tokenId // `tokenId`.
            )
        }
        if (toMasked == 0) _revert(TransferToZeroAddress.selector);

        _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.selector);
            }
    }

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

        _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:
            // - `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)
            );

            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the `balance` and `numberMinted`.
            _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1);

            // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean.
            uint256 toMasked = uint256(uint160(to)) & _BITMASK_ADDRESS;

            if (toMasked == 0) _revert(MintToZeroAddress.selector);

            uint256 end = startTokenId + quantity;
            uint256 tokenId = startTokenId;

            if (end - 1 > _sequentialUpTo()) _revert(SequentialMintExceedsLimit.selector);

            do {
                assembly {
                    // 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`.
                        tokenId // `tokenId`.
                    )
                }
                // The `!=` check ensures that large values of `quantity`
                // that overflows uint256 will make the loop run out of gas.
            } while (++tokenId != end);

            _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.selector);
        if (quantity == 0) _revert(MintZeroQuantity.selector);
        if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) _revert(MintERC2309QuantityExceedsLimit.selector);

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

            if (startTokenId + quantity - 1 > _sequentialUpTo()) _revert(SequentialMintExceedsLimit.selector);

            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.selector);
                    }
                } while (index < end);
                // This prevents reentrancy to `_safeMint`.
                // It does not prevent reentrancy to `_safeMintSpot`.
                if (_currentIndex != end) revert();
            }
        }
    }

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

    /**
     * @dev Mints a single token at `tokenId`.
     *
     * Note: A spot-minted `tokenId` that has been burned can be re-minted again.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` must be greater than `_sequentialUpTo()`.
     * - `tokenId` must not exist.
     *
     * Emits a {Transfer} event for each mint.
     */
    function _mintSpot(address to, uint256 tokenId) internal virtual {
        if (tokenId <= _sequentialUpTo()) _revert(SpotMintTokenIdTooSmall.selector);
        uint256 prevOwnershipPacked = _packedOwnerships[tokenId];
        if (_packedOwnershipExists(prevOwnershipPacked)) _revert(TokenAlreadyExists.selector);

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

        // Overflows are incredibly unrealistic.
        // The `numberMinted` for `to` is incremented by 1, and has a max limit of 2**64 - 1.
        // `_spotMinted` is incremented by 1, and has a max limit of 2**256 - 1.
        unchecked {
            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `true` (as `quantity == 1`).
            _packedOwnerships[tokenId] = _packOwnershipData(
                to,
                _nextInitializedFlag(1) | _nextExtraData(address(0), to, prevOwnershipPacked)
            );

            // Updates:
            // - `balance += 1`.
            // - `numberMinted += 1`.
            //
            // We can directly add to the `balance` and `numberMinted`.
            _packedAddressData[to] += (1 << _BITPOS_NUMBER_MINTED) | 1;

            // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean.
            uint256 toMasked = uint256(uint160(to)) & _BITMASK_ADDRESS;

            if (toMasked == 0) _revert(MintToZeroAddress.selector);

            assembly {
                // 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`.
                    tokenId // `tokenId`.
                )
            }

            ++_spotMinted;
        }

        _afterTokenTransfers(address(0), to, tokenId, 1);
    }

    /**
     * @dev Safely mints a single token at `tokenId`.
     *
     * Note: A spot-minted `tokenId` that has been burned can be re-minted again.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}.
     * - `tokenId` must be greater than `_sequentialUpTo()`.
     * - `tokenId` must not exist.
     *
     * See {_mintSpot}.
     *
     * Emits a {Transfer} event.
     */
    function _safeMintSpot(
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _mintSpot(to, tokenId);

        unchecked {
            if (to.code.length != 0) {
                uint256 currentSpotMinted = _spotMinted;
                if (!_checkContractOnERC721Received(address(0), to, tokenId, _data)) {
                    _revert(TransferToNonERC721ReceiverImplementer.selector);
                }
                // This prevents reentrancy to `_safeMintSpot`.
                // It does not prevent reentrancy to `_safeMint`.
                if (_spotMinted != currentSpotMinted) revert();
            }
        }
    }

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

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

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

    /**
     * @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:
     *
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function _approve(
        address to,
        uint256 tokenId,
        bool approvalCheck
    ) internal virtual {
        address owner = ownerOf(tokenId);

        if (approvalCheck && _msgSenderERC721A() != owner)
            if (!isApprovedForAll(owner, _msgSenderERC721A())) {
                _revert(ApprovalCallerNotOwnerNorApproved.selector);
            }

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

    // =============================================================
    //                        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.selector);
        }

        _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 + _spotMinted` 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.selector);
        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)
        }
    }

    /**
     * @dev For more efficient reverts.
     */
    function _revert(bytes4 errorSelector) internal pure {
        assembly {
            mstore(0x00, errorSelector)
            revert(0x00, 0x04)
        }
    }
}

// File: @openzeppelin/contracts/utils/Context.sol


// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)

pragma solidity ^0.8.20;

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

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

    function _contextSuffixLength() internal view virtual returns (uint256) {
        return 0;
    }
}

// File: @openzeppelin/contracts/access/Ownable.sol


// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)

pragma solidity ^0.8.20;


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

    /**
     * @dev The caller account is not authorized to perform an operation.
     */
    error OwnableUnauthorizedAccount(address account);

    /**
     * @dev The owner is not a valid owner account. (eg. `address(0)`)
     */
    error OwnableInvalidOwner(address owner);

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

    /**
     * @dev Initializes the contract setting the address provided by the deployer as the initial owner.
     */
    constructor(address initialOwner) {
        if (initialOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(initialOwner);
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        if (owner() != _msgSender()) {
            revert OwnableUnauthorizedAccount(_msgSender());
        }
    }

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

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        if (newOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(newOwner);
    }

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

// File: Apehands.sol


pragma solidity >=0.8.0 <0.9.0;



interface IErrors {
    // @dev Insufficient funds sent with mint request transaction
    error InsufficientFundsSent();

    // @dev Quantity to mint must be greater than 0
    error InvalidMintQuantity();

    // @dev Invalid timestamps provided for mint phases (must be linear)
    error InvalidTimestamps();

    // @dev Maximum amount of mints per wallet on public phase exceeded
    error MaxMintsPerWalletExceeded();

    // @dev Max supply cap has exceeded
    error MaxSupplyExceeded();

    // @dev All mint phases have ended
    error MintHasEnded();

    // @dev Minting has not started for the requested phase
    error MintHasNotStarted();

    // @dev Withdrawal of ethereum balance failed
    error WithdrawalFailed();
}

contract NftMint is ERC721A, Ownable, IErrors {
    // ================================================================
    // │                          STORAGE                             │
    // ================================================================
    // @dev Maximum supply cap for the collection
    // @notice This variable is preset to a placeholder and its value is user editable
    uint256 private s_maxSupply = 10000;

    // @dev Mint price per NFT
    // @notice This variable is preset to a placeholder and its value is user editable
    uint256 private s_mintPrice = 6.9 ether;

    // @dev Maximum allowed mints per user address
    // @notice This variable is preset to a placeholder and its value is user editable
    uint256 private s_maxMintsPerWallet = 5;

    // @dev Mint start time using UNIX timestamp
    uint256 private s_mintStartTimestamp;

    // @dev Mint end time using UNIX timestamp
    uint256 private s_mintEndTimestamp;

    // @dev Base URI for the collection metadata
    string private s_baseURI;

    // @dev Extension added to s_baseURI to form the final tokenURI
    string private baseExtension = ".json";

    // ================================================================
    // │                          EVENTS                              │
    // ================================================================
    // @dev Event emitted when the supply cap is edited
    event SupplyCapEdited(uint256 newSupplyCap, uint256 timestamp);

    // @dev Event emitted when a new mint is performed
    event Mint(address indexed minter, uint256 quantity, uint256 timestamp);

    // @dev Event emitted when the baseURI is edited
    event BaseURISet(string newBaseURI, uint256 timestamp);

    // @dev Event emitted when the mint price is edited
    event MintPriceEdited(uint256 newPrice, uint256 timestamp);

    // @dev Event emitted when the timestamps are edited
    event TimestampsEdited(
        uint256 mintStart,
        uint256 mintEnd,
        uint256 timestamp
    );

    // @dev Event emitted when the max mints per user address is edited
    event MaxMintsPerWalletEdited(
        uint256 newMaxMintsPerWallet,
        uint256 timestamp
    );

    // @dev Event emitted when the contract owner withdraws the balance
    event Withdrawal(
        address indexed caller,
        uint256 totalAmount,
        uint256 timestamp
    );

    // ================================================================
    // │                        CONSTRUCTOR                           │
    // ================================================================
    /**
     * @dev {constructor}
     *
     * @param initialOwner Project owner address to be forwarded to Ownable constructor.
     * @param _initBaseURI Initial baseUri to be set.
     * @param _initMintStart Initial mint start timestamp.
     * @param _initMintEnd Initial mint end timestamp.
     *
     * @notice This NFT collection is named "Gizmolab UI" with the symbol "GLUI" these are
     * placeholders that must be changed for your desired collection name and symbol    .
     */
    constructor(
        address initialOwner,
        string memory _initBaseURI,
        uint256 _initMintStart,
        uint256 _initMintEnd
    ) ERC721A("Apehands", "APEHANDS") Ownable(initialOwner) {
        if (
            _initMintStart >= _initMintEnd ||
            _initMintStart == 0 ||
            _initMintEnd == 0
        ) revert InvalidTimestamps();

        s_baseURI = _initBaseURI;
        s_mintStartTimestamp = _initMintStart;
        s_mintEndTimestamp = _initMintEnd;
    }

    // ================================================================
    // │                        MINT FUNCTION                         │
    // ================================================================
    /**
     * @dev function {mint}
     *
     * Function to mints NFTs.
     *
     * Emits a {Mint} event indicating the details of a successful mint.
     *
     * NOTE: Various mint criterias must be met in order for the transaction to succeed.
     * Criterias include the mint phase being active, the total supply cap not being exceeded,
     * the maximum mints per user address not being exceeded, and the correct amount of funds
     * being sent with the transaction.
     *
     * @param quantity Number of NFTs to mint.
     */
    function mint(uint256 quantity) external payable {
        if (block.timestamp < s_mintStartTimestamp) revert MintHasNotStarted();

        if (block.timestamp > s_mintEndTimestamp) revert MintHasEnded();

        if (quantity == 0) revert InvalidMintQuantity();

        uint256 previouslyMinted = _getAux(_msgSender());

        if (previouslyMinted + quantity > s_maxMintsPerWallet)
            revert MaxMintsPerWalletExceeded();

        if (totalSupply() + quantity > s_maxSupply) revert MaxSupplyExceeded();

        if (msg.value < s_mintPrice * quantity) revert InsufficientFundsSent();

        _setAux(_msgSender(), uint64(previouslyMinted + quantity));
        _safeMint(_msgSender(), quantity);

        emit Mint(msg.sender, quantity, block.timestamp);
    }

    // ================================================================
    // │                       VIEW FUNCTIONS                         │
    // ================================================================
    /**
     * @dev function {getMintPrice}
     *
     * Returns the mint price for a single token.
     *
     * @return s_mintPrice
     */
    function getMintPrice() external view returns (uint256) {
        return s_mintPrice;
    }

    /**
     * @dev function {getMaxSupply}
     *
     * Returns the maximum supply cap for the collection.
     *
     * @return s_maxSupply
     */
    function getMaxSupply() external view returns (uint256) {
        return s_maxSupply;
    }

    /**
     * @dev function {getMaxMintsPerWallet}
     *
     * Returns the maximum mints allowed for a single user address.
     *
     * @return s_maxMintsPerWallet
     */
    function getMaxMintsPerWallet() external view returns (uint256) {
        return s_maxMintsPerWallet;
    }

    /**
     * @dev function {getStartTimestamp}
     *
     * Returns the UNIX mint start timestamp.
     *
     * @return s_mintStartTimestamp
     */
    function getStartTimestamp() external view returns (uint256) {
        return s_mintStartTimestamp;
    }

    /**
     * @dev function {getEndTimestamp}
     *
     * Returns the UNIX end start timestamp.
     *
     * @return s_mintEndTimestamp
     */
    function getEndTimestamp() external view returns (uint256) {
        return s_mintEndTimestamp;
    }

    /**
     * @dev function {getUserMintedNftCount}
     *
     * Returns the amount of NFTs the function caller has minted.
     *
     * @param userAddress The user address to query the number of minted NFTs for.
     *
     * @return _getAux(userAddress)
     */
    function getUserMintedNftCount(
        address userAddress
    ) external view returns (uint256) {
        return _getAux(userAddress);
    }

    /**
     * @dev function {getBaseURI}
     *
     * Returns the current active collection base URI.
     *
     * @return s_baseURI
     */
    function getBaseURI() external view returns (string memory) {
        return s_baseURI;
    }

    // ================================================================
    // │                      COLLECTION METADATA                     │
    // ================================================================
    /**
     * @dev function {_baseURI}
     *
     * Override to return the storage variable of {_baseURI()} representing the base URI for the collection metadata.
     *
     * @return s_baseURI
     */
    function _baseURI() internal view virtual override returns (string memory) {
        return s_baseURI;
    }

    /**
     * @dev function {_startTokenId}
     *
     * Override to return 1 as a tokenId instead of 0 for the first token minted.
     *
     * @return number with a override value of 1
     */
    function _startTokenId() internal view virtual override returns (uint256) {
        return 1;
    }

    /**
     * @dev function {tokenURI}
     *
     * Override to return the appropriate metadata uri for a given tokenId.
     *
     * @param tokenId The tokenId to query the metadata URI for.
     *
     * @return string representing the metadata URI for the given tokenId.
     */
    function tokenURI(
        uint256 tokenId
    ) public view virtual override returns (string memory) {
        require(
            _exists(tokenId),
            "ERC721Metadata: URI query for nonexistent token"
        );

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

    // ================================================================
    // │                      OWNER FUNCTIONS                         │
    // ================================================================
    /**
     * @dev function {setBaseURI}
     *
     * Sets new URI to the storage variable {s_baseURI}.
     *
     * Emits a {BaseURISet} event indicating a new URI has been set as the base and timestamp of the edit.
     *
     * @param baseURI New base URI to set for the collection metadata.
     *
     * NOTE: Only the contract owner can call this function.
     */
    function setBaseURI(string memory baseURI) public onlyOwner {
        s_baseURI = baseURI;

        emit BaseURISet(baseURI, block.timestamp);
    }

    /**
     * @dev function {editMintPrice}
     *
     * Sets new price for minting a single token.
     *
     * Emits a {MintPriceEdited} event indicating the new mint price and timestamp of the edit.
     *
     * @param newPrice New mint price in WEI.
     *
     * NOTE: Only the contract owner can call this function.
     */
    function editMintPrice(uint256 newPrice) external onlyOwner {
        s_mintPrice = newPrice;

        emit MintPriceEdited(newPrice, block.timestamp);
    }

    /**
     * @dev function {editMaxSupply}
     *
     * Sets new limit for maximum supply cap for the collection.
     *
     * Emits a {SupplyCapEdited} event indicating the new supply cap and timestamp of the edit.
     *
     * @param newSupply New maximum supply cap for the collection.
     *
     * NOTE: Only the contract owner can call this function.
     */
    function editMaxSupply(uint256 newSupply) external onlyOwner {
        s_maxSupply = newSupply;

        emit SupplyCapEdited(newSupply, block.timestamp);
    }

    /**
     * @dev function {editMaxMintsPerWallet}
     *
     * Sets new maximum cap of number of NFTs mintable per user address.
     *
     * Emits a {MaxMintsPerWalletEdited} event indicating the maximum mintable NFTs cap and timestamp of the edit.
     *
     * @param newMaxMintsPerWallet New maximum cap of mintable NFTs per user address.
     *
     * NOTE:
     * Only the contract owner can call this function.
     */
    function editMaxMintsPerWallet(
        uint256 newMaxMintsPerWallet
    ) external onlyOwner {
        s_maxMintsPerWallet = newMaxMintsPerWallet;

        emit MaxMintsPerWalletEdited(newMaxMintsPerWallet, block.timestamp);
    }

    /**
     * @dev function {editTimestamps}
     *
     * Sets new timestamps for the start and end of the minting phase.
     *
     * Emits a {TimestampsEdited} event indicating the new timestamps and timestamp of the edit.
     *
     * @param startTime New timestamp for the start of the minting phase.
     * @param endTime New timestamp for the end of the minting phase.
     *
     * NOTE:
     * Minting phase timestamps must be linear ({mintStart} < {mintEnd}).
     * Only the contract owner can call this function.
     */
    function editTimestamps(
        uint256 startTime,
        uint256 endTime
    ) external onlyOwner {
        if (startTime >= endTime || startTime == 0 || endTime == 0)
            revert InvalidTimestamps();

        s_mintStartTimestamp = startTime;
        s_mintEndTimestamp = endTime;

        emit TimestampsEdited(startTime, endTime, block.timestamp);
    }

    /**
     * @dev function {withdraw}
     *
     * Withdraws the contract balance to the owner addresses.
     *
     * Emits a {Withdrawal} event indicating the caller, the amount of ether withdrawn and timestamp of the withdrawal.
     *
     * NOTE: Only the contract owner can call this function.
     */
    function withdraw() external onlyOwner {
        uint256 totalAmount = address(this).balance;
        (bool success, ) = payable(owner()).call{value: totalAmount}("");

        if (!success) revert WithdrawalFailed();

        emit Withdrawal(msg.sender, totalAmount, block.timestamp);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"initialOwner","type":"address"},{"internalType":"string","name":"_initBaseURI","type":"string"},{"internalType":"uint256","name":"_initMintStart","type":"uint256"},{"internalType":"uint256","name":"_initMintEnd","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"InsufficientFundsSent","type":"error"},{"inputs":[],"name":"InvalidMintQuantity","type":"error"},{"inputs":[],"name":"InvalidTimestamps","type":"error"},{"inputs":[],"name":"MaxMintsPerWalletExceeded","type":"error"},{"inputs":[],"name":"MaxSupplyExceeded","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintHasEnded","type":"error"},{"inputs":[],"name":"MintHasNotStarted","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"NotCompatibleWithSpotMints","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"SequentialMintExceedsLimit","type":"error"},{"inputs":[],"name":"SequentialUpToTooSmall","type":"error"},{"inputs":[],"name":"SpotMintTokenIdTooSmall","type":"error"},{"inputs":[],"name":"TokenAlreadyExists","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"},{"inputs":[],"name":"WithdrawalFailed","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":false,"internalType":"string","name":"newBaseURI","type":"string"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"BaseURISet","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":false,"internalType":"uint256","name":"newMaxMintsPerWallet","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"MaxMintsPerWalletEdited","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"minter","type":"address"},{"indexed":false,"internalType":"uint256","name":"quantity","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"Mint","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newPrice","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"MintPriceEdited","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newSupplyCap","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"SupplyCapEdited","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"mintStart","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"mintEnd","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"TimestampsEdited","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"caller","type":"address"},{"indexed":false,"internalType":"uint256","name":"totalAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"Withdrawal","type":"event"},{"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":[{"internalType":"uint256","name":"newMaxMintsPerWallet","type":"uint256"}],"name":"editMaxMintsPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newSupply","type":"uint256"}],"name":"editMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"editMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"startTime","type":"uint256"},{"internalType":"uint256","name":"endTime","type":"uint256"}],"name":"editTimestamps","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getBaseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getEndTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMaxMintsPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMaxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getStartTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"userAddress","type":"address"}],"name":"getUserMintedNftCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"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":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"result","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":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

612710600a55675fc1b97136320000600b556005600c81905560c0604052608090815264173539b7b760d91b60a05260109061003b908261023e565b50348015610047575f80fd5b50604051611c47380380611c47833981016040819052610066916102f8565b836040518060400160405280600881526020016741706568616e647360c01b8152506040518060400160405280600881526020016741504548414e445360c01b81525081600290816100b8919061023e565b5060036100c5828261023e565b5060015f5550506001600160a01b0381166100f957604051631e4fbdf760e01b81525f600482015260240160405180910390fd5b61010281610155565b508082101580610110575081155b80610119575080155b156101375760405163d22806e360e01b815260040160405180910390fd5b600f610143848261023e565b50600d91909155600e55506103d69050565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b634e487b7160e01b5f52604160045260245ffd5b600181811c908216806101ce57607f821691505b6020821081036101ec57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111561023957805f5260205f20601f840160051c810160208510156102175750805b601f840160051c820191505b81811015610236575f8155600101610223565b50505b505050565b81516001600160401b03811115610257576102576101a6565b61026b8161026584546101ba565b846101f2565b6020601f82116001811461029d575f83156102865750848201515b5f19600385901b1c1916600184901b178455610236565b5f84815260208120601f198516915b828110156102cc57878501518255602094850194600190920191016102ac565b50848210156102e957868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f805f806080858703121561030b575f80fd5b84516001600160a01b0381168114610321575f80fd5b60208601519094506001600160401b0381111561033c575f80fd5b8501601f8101871361034c575f80fd5b80516001600160401b03811115610365576103656101a6565b604051601f8201601f19908116603f011681016001600160401b0381118282101715610393576103936101a6565b6040528181528282016020018910156103aa575f80fd5b8160208401602083015e5f91810160200191909152604087015160609097015195989097509350505050565b611864806103e35f395ff3fe6080604052600436106101d0575f3560e01c8063629b79b5116100fd57806395d89b4111610092578063b88d4fde11610062578063b88d4fde146104d7578063c87b56dd146104ea578063e985e9c514610509578063f2fde38b14610528575f80fd5b806395d89b411461047d578063a0712d6814610491578063a22cb465146104a4578063a7f93ebd146104c3575f80fd5b8063715018a6116100cd578063715018a61461042457806374e701bd1461043857806374e94deb1461044c5780638da5cb5b14610460575f80fd5b8063629b79b5146103b35780636352211e146103d257806370a08231146103f1578063714c539814610410575f80fd5b80631ac847fd1161017357806342842e0e1161014357806342842e0e1461034e5780634c0f38c2146103615780634f8892b31461037557806355f804b314610394575f80fd5b80631ac847fd146102f45780631f89f25e1461031357806323b872dd146103275780633ccfd60b1461033a575f80fd5b8063095ea7b3116101ae578063095ea7b3146102605780630e310d28146102755780630e4a154b1461029457806318160ddd146102d9575f80fd5b806301ffc9a7146101d457806306fdde0314610208578063081812fc14610229575b5f80fd5b3480156101df575f80fd5b506101f36101ee3660046112ba565b610547565b60405190151581526020015b60405180910390f35b348015610213575f80fd5b5061021c610598565b6040516101ff9190611303565b348015610234575f80fd5b50610248610243366004611315565b610628565b6040516001600160a01b0390911681526020016101ff565b61027361026e366004611342565b610661565b005b348015610280575f80fd5b5061027361028f366004611315565b610671565b34801561029f575f80fd5b506102cb6102ae36600461136a565b6001600160a01b03165f9081526005602052604090205460c01c90565b6040519081526020016101ff565b3480156102e4575f80fd5b506102cb6001545f54035f190190565b3480156102ff575f80fd5b5061027361030e366004611315565b6106ba565b34801561031e575f80fd5b50600d546102cb565b610273610335366004611383565b6106fc565b348015610345575f80fd5b50610273610856565b61027361035c366004611383565b61091f565b34801561036c575f80fd5b50600a546102cb565b348015610380575f80fd5b5061027361038f366004611315565b61093e565b34801561039f575f80fd5b506102736103ae366004611448565b610980565b3480156103be575f80fd5b506102736103cd36600461148d565b6109c6565b3480156103dd575f80fd5b506102486103ec366004611315565b610a4f565b3480156103fc575f80fd5b506102cb61040b36600461136a565b610a59565b34801561041b575f80fd5b5061021c610a9d565b34801561042f575f80fd5b50610273610aac565b348015610443575f80fd5b50600c546102cb565b348015610457575f80fd5b50600e546102cb565b34801561046b575f80fd5b506009546001600160a01b0316610248565b348015610488575f80fd5b5061021c610abf565b61027361049f366004611315565b610ace565b3480156104af575f80fd5b506102736104be3660046114ad565b610c60565b3480156104ce575f80fd5b50600b546102cb565b6102736104e53660046114e6565b610ccb565b3480156104f5575f80fd5b5061021c610504366004611315565b610d0c565b348015610514575f80fd5b506101f361052336600461155d565b610ddc565b348015610533575f80fd5b5061027361054236600461136a565b610e09565b5f6301ffc9a760e01b6001600160e01b03198316148061057757506380ac58cd60e01b6001600160e01b03198316145b806105925750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546105a79061158e565b80601f01602080910402602001604051908101604052809291908181526020018280546105d39061158e565b801561061e5780601f106105f55761010080835404028352916020019161061e565b820191905f5260205f20905b81548152906001019060200180831161060157829003601f168201915b5050505050905090565b5f61063282610e46565b610646576106466333d1c03960e21b610e90565b505f908152600660205260409020546001600160a01b031690565b61066d82826001610e98565b5050565b610679610f39565b600a819055604080518281524260208201527f0a5ba09aedb77e8da968802953fcdfcba0c8637c0fd2d7bf61614303b066243191015b60405180910390a150565b6106c2610f39565b600b819055604080518281524260208201527f6adf8cf83ad51b44951cfcb0a7ad93f7ad40448d7cad875b2a0b3b262184927f91016106af565b5f61070682610f66565b6001600160a01b03948516949091508116841461072c5761072c62a1148160e81b610e90565b5f8281526006602052604090208054338082146001600160a01b0388169091141761076f5761075b8633610ddc565b61076f5761076f632ce44b5f60e11b610e90565b8015610779575f82555b6001600160a01b038681165f9081526005602052604080822080545f19019055918716808252919020805460010190554260a01b17600160e11b175f85815260046020526040812091909155600160e11b8416900361080557600184015f818152600460205260408120549003610803575f548114610803575f8181526004602052604090208490555b505b6001600160a01b0385168481887fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a4805f0361084d5761084d633a954ecd60e21b610e90565b50505050505050565b61085e610f39565b475f6108726009546001600160a01b031690565b6001600160a01b0316826040515f6040518083038185875af1925050503d805f81146108b9576040519150601f19603f3d011682016040523d82523d5f602084013e6108be565b606091505b50509050806108e0576040516327fcd9d160e01b815260040160405180910390fd5b6040805183815242602082015233917fdf273cb619d95419a9cd0ec88123a0538c85064229baa6363788f743fff90deb91015b60405180910390a25050565b61093983838360405180602001604052805f815250610ccb565b505050565b610946610f39565b600c819055604080518281524260208201527f6235450a91e3536c10b4d03123339b0c1e0b4176188364074829de81f913138f91016106af565b610988610f39565b600f610994828261160a565b507f4ad499cc27f928349c4d446723cb6d939bee2564b77787ee8ca15b255b1ee95581426040516106af9291906116c5565b6109ce610f39565b80821015806109db575081155b806109e4575080155b15610a025760405163d22806e360e01b815260040160405180910390fd5b600d829055600e8190556040805183815260208101839052428183015290517f149b6f726895c385beaf4baa81b2da11e4525983c33847297b2f72f2dcb211889181900360600190a15050565b5f61059282610f66565b5f6001600160a01b038216610a7857610a786323d3ad8160e21b610e90565b506001600160a01b03165f9081526005602052604090205467ffffffffffffffff1690565b6060600f80546105a79061158e565b610ab4610f39565b610abd5f610fff565b565b6060600380546105a79061158e565b600d54421015610af1576040516360875d8360e11b815260040160405180910390fd5b600e54421115610b145760405163601131b960e11b815260040160405180910390fd5b805f03610b345760405163011674e560e71b815260040160405180910390fd5b335f90815260056020526040902054600c5460c09190911c90610b5783836116fa565b1115610b7657604051639e50949760e01b815260040160405180910390fd5b600a5482610b896001545f54035f190190565b610b9391906116fa565b1115610bb257604051638a164f6360e01b815260040160405180910390fd5b81600b54610bc0919061170d565b341015610be057604051632ca0e3c560e11b815260040160405180910390fd5b610c1f33610bee84846116fa565b6001600160a01b039091165f90815260056020526040902080546001600160c01b031660c09290921b919091179055565b610c293383611050565b6040805183815242602082015233917f4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f9101610913565b335f8181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610cd68484846106fc565b6001600160a01b0383163b15610d0657610cf284848484611069565b610d0657610d066368d2bf6b60e11b610e90565b50505050565b6060610d1782610e46565b610d805760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084015b60405180910390fd5b5f610d89610a9d565b90505f815111610da75760405180602001604052805f815250610dd5565b80610db184611148565b6010604051602001610dc59392919061173b565b6040516020818303038152906040525b9392505050565b6001600160a01b039182165f90815260076020908152604080832093909416825291909152205460ff1690565b610e11610f39565b6001600160a01b038116610e3a57604051631e4fbdf760e01b81525f6004820152602401610d77565b610e4381610fff565b50565b5f81600111610e8b575f54821015610e8b575f5b505f8281526004602052604081205490819003610e8157610e7a836117c2565b9250610e5a565b600160e01b161590505b919050565b805f5260045ffd5b5f610ea283610a4f565b9050818015610eba5750336001600160a01b03821614155b15610edd57610ec98133610ddc565b610edd57610edd6367d9dca160e11b610e90565b5f8381526006602052604080822080546001600160a01b0319166001600160a01b0388811691821790925591518693918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a450505050565b6009546001600160a01b03163314610abd5760405163118cdaa760e01b8152336004820152602401610d77565b5f81600111610fef57505f81815260046020526040902054805f03610fdd575f548210610f9d57610f9d636f96cda160e11b610e90565b5b505f19015f818152600460205260409020548015610f9e57600160e01b81165f03610fc857919050565b610fd8636f96cda160e11b610e90565b610f9e565b600160e01b81165f03610fef57919050565b610e8b636f96cda160e11b610e90565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b61066d828260405180602001604052805f81525061118b565b604051630a85bd0160e11b81525f906001600160a01b0385169063150b7a029061109d9033908990889088906004016117d7565b6020604051808303815f875af19250505080156110d7575060408051601f3d908101601f191682019092526110d491810190611813565b60015b61112a573d808015611104576040519150601f19603f3d011682016040523d82523d5f602084013e611109565b606091505b5080515f03611122576111226368d2bf6b60e11b610e90565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b606060a06040510180604052602081039150505f815280825b600183039250600a81066030018353600a9004806111615750819003601f19909101908152919050565b61119583836111eb565b6001600160a01b0383163b15610939575f548281035b6111bd5f868380600101945086611069565b6111d1576111d16368d2bf6b60e11b610e90565b8181106111ab57815f54146111e4575f80fd5b5050505050565b5f8054908290036112065761120663b562e8dd60e01b610e90565b5f8181526004602090815260408083206001600160a01b0387164260a01b6001881460e11b1781179091558084526005909252822080546801000000000000000186020190559081900361126357611263622e076360e81b610e90565b818301825b80835f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a481816001019150810361126857505f5550505050565b6001600160e01b031981168114610e43575f80fd5b5f602082840312156112ca575f80fd5b8135610dd5816112a5565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f610dd560208301846112d5565b5f60208284031215611325575f80fd5b5035919050565b80356001600160a01b0381168114610e8b575f80fd5b5f8060408385031215611353575f80fd5b61135c8361132c565b946020939093013593505050565b5f6020828403121561137a575f80fd5b610dd58261132c565b5f805f60608486031215611395575f80fd5b61139e8461132c565b92506113ac6020850161132c565b929592945050506040919091013590565b634e487b7160e01b5f52604160045260245ffd5b5f8067ffffffffffffffff8411156113eb576113eb6113bd565b50604051601f19601f85018116603f0116810181811067ffffffffffffffff8211171561141a5761141a6113bd565b604052838152905080828401851015611431575f80fd5b838360208301375f60208583010152509392505050565b5f60208284031215611458575f80fd5b813567ffffffffffffffff81111561146e575f80fd5b8201601f8101841361147e575f80fd5b611140848235602084016113d1565b5f806040838503121561149e575f80fd5b50508035926020909101359150565b5f80604083850312156114be575f80fd5b6114c78361132c565b9150602083013580151581146114db575f80fd5b809150509250929050565b5f805f80608085870312156114f9575f80fd5b6115028561132c565b93506115106020860161132c565b925060408501359150606085013567ffffffffffffffff811115611532575f80fd5b8501601f81018713611542575f80fd5b611551878235602084016113d1565b91505092959194509250565b5f806040838503121561156e575f80fd5b6115778361132c565b91506115856020840161132c565b90509250929050565b600181811c908216806115a257607f821691505b6020821081036115c057634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111561093957805f5260205f20601f840160051c810160208510156115eb5750805b601f840160051c820191505b818110156111e4575f81556001016115f7565b815167ffffffffffffffff811115611624576116246113bd565b61163881611632845461158e565b846115c6565b6020601f82116001811461166a575f83156116535750848201515b5f19600385901b1c1916600184901b1784556111e4565b5f84815260208120601f198516915b828110156116995787850151825560209485019460019092019101611679565b50848210156116b657868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b604081525f6116d760408301856112d5565b90508260208301529392505050565b634e487b7160e01b5f52601160045260245ffd5b80820180821115610592576105926116e6565b8082028115828204841417610592576105926116e6565b5f81518060208401855e5f93019283525090919050565b5f61174f6117498387611724565b85611724565b5f845461175b8161158e565b6001821680156117725760018114611787576117b4565b60ff19831685528115158202850193506117b4565b875f5260205f205f5b838110156117ac57815487820152600190910190602001611790565b505081850193505b509198975050505050505050565b5f816117d0576117d06116e6565b505f190190565b6001600160a01b03858116825284166020820152604081018390526080606082018190525f90611809908301846112d5565b9695505050505050565b5f60208284031215611823575f80fd5b8151610dd5816112a556fea2646970667358221220b99d81dbb6a2ed9e734166b5c937a2a74728a401fcfc0e5d1c867a9a114e077364736f6c634300081a0033000000000000000000000000c63d9bf5fe4b9dada88936894fe3364b1dbdb98200000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000067350af200000000000000000000000000000000000000000000000000000000673e0d32000000000000000000000000000000000000000000000000000000000000003168747470733a2f2f73746f726167652e676f6f676c65617069732e636f6d2f61706568616e64732f6d657461646174612f000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106101d0575f3560e01c8063629b79b5116100fd57806395d89b4111610092578063b88d4fde11610062578063b88d4fde146104d7578063c87b56dd146104ea578063e985e9c514610509578063f2fde38b14610528575f80fd5b806395d89b411461047d578063a0712d6814610491578063a22cb465146104a4578063a7f93ebd146104c3575f80fd5b8063715018a6116100cd578063715018a61461042457806374e701bd1461043857806374e94deb1461044c5780638da5cb5b14610460575f80fd5b8063629b79b5146103b35780636352211e146103d257806370a08231146103f1578063714c539814610410575f80fd5b80631ac847fd1161017357806342842e0e1161014357806342842e0e1461034e5780634c0f38c2146103615780634f8892b31461037557806355f804b314610394575f80fd5b80631ac847fd146102f45780631f89f25e1461031357806323b872dd146103275780633ccfd60b1461033a575f80fd5b8063095ea7b3116101ae578063095ea7b3146102605780630e310d28146102755780630e4a154b1461029457806318160ddd146102d9575f80fd5b806301ffc9a7146101d457806306fdde0314610208578063081812fc14610229575b5f80fd5b3480156101df575f80fd5b506101f36101ee3660046112ba565b610547565b60405190151581526020015b60405180910390f35b348015610213575f80fd5b5061021c610598565b6040516101ff9190611303565b348015610234575f80fd5b50610248610243366004611315565b610628565b6040516001600160a01b0390911681526020016101ff565b61027361026e366004611342565b610661565b005b348015610280575f80fd5b5061027361028f366004611315565b610671565b34801561029f575f80fd5b506102cb6102ae36600461136a565b6001600160a01b03165f9081526005602052604090205460c01c90565b6040519081526020016101ff565b3480156102e4575f80fd5b506102cb6001545f54035f190190565b3480156102ff575f80fd5b5061027361030e366004611315565b6106ba565b34801561031e575f80fd5b50600d546102cb565b610273610335366004611383565b6106fc565b348015610345575f80fd5b50610273610856565b61027361035c366004611383565b61091f565b34801561036c575f80fd5b50600a546102cb565b348015610380575f80fd5b5061027361038f366004611315565b61093e565b34801561039f575f80fd5b506102736103ae366004611448565b610980565b3480156103be575f80fd5b506102736103cd36600461148d565b6109c6565b3480156103dd575f80fd5b506102486103ec366004611315565b610a4f565b3480156103fc575f80fd5b506102cb61040b36600461136a565b610a59565b34801561041b575f80fd5b5061021c610a9d565b34801561042f575f80fd5b50610273610aac565b348015610443575f80fd5b50600c546102cb565b348015610457575f80fd5b50600e546102cb565b34801561046b575f80fd5b506009546001600160a01b0316610248565b348015610488575f80fd5b5061021c610abf565b61027361049f366004611315565b610ace565b3480156104af575f80fd5b506102736104be3660046114ad565b610c60565b3480156104ce575f80fd5b50600b546102cb565b6102736104e53660046114e6565b610ccb565b3480156104f5575f80fd5b5061021c610504366004611315565b610d0c565b348015610514575f80fd5b506101f361052336600461155d565b610ddc565b348015610533575f80fd5b5061027361054236600461136a565b610e09565b5f6301ffc9a760e01b6001600160e01b03198316148061057757506380ac58cd60e01b6001600160e01b03198316145b806105925750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546105a79061158e565b80601f01602080910402602001604051908101604052809291908181526020018280546105d39061158e565b801561061e5780601f106105f55761010080835404028352916020019161061e565b820191905f5260205f20905b81548152906001019060200180831161060157829003601f168201915b5050505050905090565b5f61063282610e46565b610646576106466333d1c03960e21b610e90565b505f908152600660205260409020546001600160a01b031690565b61066d82826001610e98565b5050565b610679610f39565b600a819055604080518281524260208201527f0a5ba09aedb77e8da968802953fcdfcba0c8637c0fd2d7bf61614303b066243191015b60405180910390a150565b6106c2610f39565b600b819055604080518281524260208201527f6adf8cf83ad51b44951cfcb0a7ad93f7ad40448d7cad875b2a0b3b262184927f91016106af565b5f61070682610f66565b6001600160a01b03948516949091508116841461072c5761072c62a1148160e81b610e90565b5f8281526006602052604090208054338082146001600160a01b0388169091141761076f5761075b8633610ddc565b61076f5761076f632ce44b5f60e11b610e90565b8015610779575f82555b6001600160a01b038681165f9081526005602052604080822080545f19019055918716808252919020805460010190554260a01b17600160e11b175f85815260046020526040812091909155600160e11b8416900361080557600184015f818152600460205260408120549003610803575f548114610803575f8181526004602052604090208490555b505b6001600160a01b0385168481887fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a4805f0361084d5761084d633a954ecd60e21b610e90565b50505050505050565b61085e610f39565b475f6108726009546001600160a01b031690565b6001600160a01b0316826040515f6040518083038185875af1925050503d805f81146108b9576040519150601f19603f3d011682016040523d82523d5f602084013e6108be565b606091505b50509050806108e0576040516327fcd9d160e01b815260040160405180910390fd5b6040805183815242602082015233917fdf273cb619d95419a9cd0ec88123a0538c85064229baa6363788f743fff90deb91015b60405180910390a25050565b61093983838360405180602001604052805f815250610ccb565b505050565b610946610f39565b600c819055604080518281524260208201527f6235450a91e3536c10b4d03123339b0c1e0b4176188364074829de81f913138f91016106af565b610988610f39565b600f610994828261160a565b507f4ad499cc27f928349c4d446723cb6d939bee2564b77787ee8ca15b255b1ee95581426040516106af9291906116c5565b6109ce610f39565b80821015806109db575081155b806109e4575080155b15610a025760405163d22806e360e01b815260040160405180910390fd5b600d829055600e8190556040805183815260208101839052428183015290517f149b6f726895c385beaf4baa81b2da11e4525983c33847297b2f72f2dcb211889181900360600190a15050565b5f61059282610f66565b5f6001600160a01b038216610a7857610a786323d3ad8160e21b610e90565b506001600160a01b03165f9081526005602052604090205467ffffffffffffffff1690565b6060600f80546105a79061158e565b610ab4610f39565b610abd5f610fff565b565b6060600380546105a79061158e565b600d54421015610af1576040516360875d8360e11b815260040160405180910390fd5b600e54421115610b145760405163601131b960e11b815260040160405180910390fd5b805f03610b345760405163011674e560e71b815260040160405180910390fd5b335f90815260056020526040902054600c5460c09190911c90610b5783836116fa565b1115610b7657604051639e50949760e01b815260040160405180910390fd5b600a5482610b896001545f54035f190190565b610b9391906116fa565b1115610bb257604051638a164f6360e01b815260040160405180910390fd5b81600b54610bc0919061170d565b341015610be057604051632ca0e3c560e11b815260040160405180910390fd5b610c1f33610bee84846116fa565b6001600160a01b039091165f90815260056020526040902080546001600160c01b031660c09290921b919091179055565b610c293383611050565b6040805183815242602082015233917f4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f9101610913565b335f8181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610cd68484846106fc565b6001600160a01b0383163b15610d0657610cf284848484611069565b610d0657610d066368d2bf6b60e11b610e90565b50505050565b6060610d1782610e46565b610d805760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084015b60405180910390fd5b5f610d89610a9d565b90505f815111610da75760405180602001604052805f815250610dd5565b80610db184611148565b6010604051602001610dc59392919061173b565b6040516020818303038152906040525b9392505050565b6001600160a01b039182165f90815260076020908152604080832093909416825291909152205460ff1690565b610e11610f39565b6001600160a01b038116610e3a57604051631e4fbdf760e01b81525f6004820152602401610d77565b610e4381610fff565b50565b5f81600111610e8b575f54821015610e8b575f5b505f8281526004602052604081205490819003610e8157610e7a836117c2565b9250610e5a565b600160e01b161590505b919050565b805f5260045ffd5b5f610ea283610a4f565b9050818015610eba5750336001600160a01b03821614155b15610edd57610ec98133610ddc565b610edd57610edd6367d9dca160e11b610e90565b5f8381526006602052604080822080546001600160a01b0319166001600160a01b0388811691821790925591518693918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a450505050565b6009546001600160a01b03163314610abd5760405163118cdaa760e01b8152336004820152602401610d77565b5f81600111610fef57505f81815260046020526040902054805f03610fdd575f548210610f9d57610f9d636f96cda160e11b610e90565b5b505f19015f818152600460205260409020548015610f9e57600160e01b81165f03610fc857919050565b610fd8636f96cda160e11b610e90565b610f9e565b600160e01b81165f03610fef57919050565b610e8b636f96cda160e11b610e90565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b61066d828260405180602001604052805f81525061118b565b604051630a85bd0160e11b81525f906001600160a01b0385169063150b7a029061109d9033908990889088906004016117d7565b6020604051808303815f875af19250505080156110d7575060408051601f3d908101601f191682019092526110d491810190611813565b60015b61112a573d808015611104576040519150601f19603f3d011682016040523d82523d5f602084013e611109565b606091505b5080515f03611122576111226368d2bf6b60e11b610e90565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b606060a06040510180604052602081039150505f815280825b600183039250600a81066030018353600a9004806111615750819003601f19909101908152919050565b61119583836111eb565b6001600160a01b0383163b15610939575f548281035b6111bd5f868380600101945086611069565b6111d1576111d16368d2bf6b60e11b610e90565b8181106111ab57815f54146111e4575f80fd5b5050505050565b5f8054908290036112065761120663b562e8dd60e01b610e90565b5f8181526004602090815260408083206001600160a01b0387164260a01b6001881460e11b1781179091558084526005909252822080546801000000000000000186020190559081900361126357611263622e076360e81b610e90565b818301825b80835f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a481816001019150810361126857505f5550505050565b6001600160e01b031981168114610e43575f80fd5b5f602082840312156112ca575f80fd5b8135610dd5816112a5565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f610dd560208301846112d5565b5f60208284031215611325575f80fd5b5035919050565b80356001600160a01b0381168114610e8b575f80fd5b5f8060408385031215611353575f80fd5b61135c8361132c565b946020939093013593505050565b5f6020828403121561137a575f80fd5b610dd58261132c565b5f805f60608486031215611395575f80fd5b61139e8461132c565b92506113ac6020850161132c565b929592945050506040919091013590565b634e487b7160e01b5f52604160045260245ffd5b5f8067ffffffffffffffff8411156113eb576113eb6113bd565b50604051601f19601f85018116603f0116810181811067ffffffffffffffff8211171561141a5761141a6113bd565b604052838152905080828401851015611431575f80fd5b838360208301375f60208583010152509392505050565b5f60208284031215611458575f80fd5b813567ffffffffffffffff81111561146e575f80fd5b8201601f8101841361147e575f80fd5b611140848235602084016113d1565b5f806040838503121561149e575f80fd5b50508035926020909101359150565b5f80604083850312156114be575f80fd5b6114c78361132c565b9150602083013580151581146114db575f80fd5b809150509250929050565b5f805f80608085870312156114f9575f80fd5b6115028561132c565b93506115106020860161132c565b925060408501359150606085013567ffffffffffffffff811115611532575f80fd5b8501601f81018713611542575f80fd5b611551878235602084016113d1565b91505092959194509250565b5f806040838503121561156e575f80fd5b6115778361132c565b91506115856020840161132c565b90509250929050565b600181811c908216806115a257607f821691505b6020821081036115c057634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111561093957805f5260205f20601f840160051c810160208510156115eb5750805b601f840160051c820191505b818110156111e4575f81556001016115f7565b815167ffffffffffffffff811115611624576116246113bd565b61163881611632845461158e565b846115c6565b6020601f82116001811461166a575f83156116535750848201515b5f19600385901b1c1916600184901b1784556111e4565b5f84815260208120601f198516915b828110156116995787850151825560209485019460019092019101611679565b50848210156116b657868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b604081525f6116d760408301856112d5565b90508260208301529392505050565b634e487b7160e01b5f52601160045260245ffd5b80820180821115610592576105926116e6565b8082028115828204841417610592576105926116e6565b5f81518060208401855e5f93019283525090919050565b5f61174f6117498387611724565b85611724565b5f845461175b8161158e565b6001821680156117725760018114611787576117b4565b60ff19831685528115158202850193506117b4565b875f5260205f205f5b838110156117ac57815487820152600190910190602001611790565b505081850193505b509198975050505050505050565b5f816117d0576117d06116e6565b505f190190565b6001600160a01b03858116825284166020820152604081018390526080606082018190525f90611809908301846112d5565b9695505050505050565b5f60208284031215611823575f80fd5b8151610dd5816112a556fea2646970667358221220b99d81dbb6a2ed9e734166b5c937a2a74728a401fcfc0e5d1c867a9a114e077364736f6c634300081a0033

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

000000000000000000000000c63d9bf5fe4b9dada88936894fe3364b1dbdb98200000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000067350af200000000000000000000000000000000000000000000000000000000673e0d32000000000000000000000000000000000000000000000000000000000000003168747470733a2f2f73746f726167652e676f6f676c65617069732e636f6d2f61706568616e64732f6d657461646174612f000000000000000000000000000000

-----Decoded View---------------
Arg [0] : initialOwner (address): 0xc63d9bF5Fe4B9DaDA88936894fe3364B1DbdB982
Arg [1] : _initBaseURI (string): https://storage.googleapis.com/apehands/metadata/
Arg [2] : _initMintStart (uint256): 1731529458
Arg [3] : _initMintEnd (uint256): 1732119858

-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 000000000000000000000000c63d9bf5fe4b9dada88936894fe3364b1dbdb982
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 0000000000000000000000000000000000000000000000000000000067350af2
Arg [3] : 00000000000000000000000000000000000000000000000000000000673e0d32
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000031
Arg [5] : 68747470733a2f2f73746f726167652e676f6f676c65617069732e636f6d2f61
Arg [6] : 706568616e64732f6d657461646174612f000000000000000000000000000000


Deployed Bytecode Sourcemap

65818:13426:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20588:639;;;;;;;;;;-1:-1:-1;20588:639:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;20588:639:0;;;;;;;;21490:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;28730:227::-;;;;;;;;;;-1:-1:-1;28730:227:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1528:32:1;;;1510:51;;1498:2;1483:18;28730:227:0;1364:203:1;28447:124:0;;;;;;:::i;:::-;;:::i;:::-;;76827:164;;;;;;;;;;-1:-1:-1;76827:164:0;;;;;:::i;:::-;;:::i;72979:146::-;;;;;;;;;;-1:-1:-1;72979:146:0;;;;;:::i;:::-;-1:-1:-1;;;;;19400:25:0;73070:7;19400:25;;;:18;:25;;;;;;11550:3;19400:40;;72979:146;;;;2392:25:1;;;2380:2;2365:18;72979:146:0;2246:177:1;16692:573:0;;;;;;;;;;;;74237:1;17136:12;16753:14;17120:13;:28;-1:-1:-1;;17120:46:0;;16692:573;76277:161;;;;;;;;;;-1:-1:-1;76277:161:0;;;;;:::i;:::-;;:::i;72322:107::-;;;;;;;;;;-1:-1:-1;72401:20:0;;72322:107;;33002:3523;;;;;;:::i;:::-;;:::i;78943:298::-;;;;;;;;;;;;;:::i;36621:193::-;;;;;;:::i;:::-;;:::i;71760:93::-;;;;;;;;;;-1:-1:-1;71834:11:0;;71760:93;;77442:237;;;;;;;;;;-1:-1:-1;77442:237:0;;;;;:::i;:::-;;:::i;75772:152::-;;;;;;;;;;-1:-1:-1;75772:152:0;;;;;:::i;:::-;;:::i;78237:377::-;;;;;;;;;;-1:-1:-1;78237:377:0;;;;;:::i;:::-;;:::i;22892:152::-;;;;;;;;;;-1:-1:-1;22892:152:0;;;;;:::i;:::-;;:::i;18416:242::-;;;;;;;;;;-1:-1:-1;18416:242:0;;;;;:::i;:::-;;:::i;73284:95::-;;;;;;;;;;;;;:::i;64152:103::-;;;;;;;;;;;;;:::i;72045:109::-;;;;;;;;;;-1:-1:-1;72127:19:0;;72045:109;;72592:103;;;;;;;;;;-1:-1:-1;72669:18:0;;72592:103;;63477:87;;;;;;;;;;-1:-1:-1;63550:6:0;;-1:-1:-1;;;;;63550:6:0;63477:87;;21666:104;;;;;;;;;;;;;:::i;70328:792::-;;;;;;:::i;:::-;;:::i;29297:234::-;;;;;;;;;;-1:-1:-1;29297:234:0;;;;;:::i;:::-;;:::i;71501:93::-;;;;;;;;;;-1:-1:-1;71575:11:0;;71501:93;;37412:416;;;;;;:::i;:::-;;:::i;74548:608::-;;;;;;;;;;-1:-1:-1;74548:608:0;;;;;:::i;:::-;;:::i;29688:164::-;;;;;;;;;;-1:-1:-1;29688:164:0;;;;;:::i;:::-;;:::i;64410:220::-;;;;;;;;;;-1:-1:-1;64410:220:0;;;;;:::i;:::-;;:::i;20588:639::-;20673:4;-1:-1:-1;;;;;;;;;20997:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;21074:25:0;;;20997:102;:179;;;-1:-1:-1;;;;;;;;;;21151:25:0;;;20997:179;20977:199;20588:639;-1:-1:-1;;20588:639:0:o;21490:100::-;21544:13;21577:5;21570:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21490:100;:::o;28730:227::-;28806:7;28831:16;28839:7;28831;:16::i;:::-;28826:73;;28849:50;-1:-1:-1;;;28849:7:0;:50::i;:::-;-1:-1:-1;28919:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;28919:30:0;;28730:227::o;28447:124::-;28536:27;28545:2;28549:7;28558:4;28536:8;:27::i;:::-;28447:124;;:::o;76827:164::-;63363:13;:11;:13::i;:::-;76899:11:::1;:23:::0;;;76940:43:::1;::::0;;6361:25:1;;;76967:15:0::1;6417:2:1::0;6402:18;;6395:34;76940:43:0::1;::::0;6334:18:1;76940:43:0::1;;;;;;;;76827:164:::0;:::o;76277:161::-;63363:13;:11;:13::i;:::-;76348:11:::1;:22:::0;;;76388:42:::1;::::0;;6361:25:1;;;76414:15:0::1;6417:2:1::0;6402:18;;6395:34;76388:42:0::1;::::0;6334:18:1;76388:42:0::1;6187:248:1::0;33002:3523:0;33144:27;33174;33193:7;33174:18;:27::i;:::-;-1:-1:-1;;;;;33329:22:0;;;;33144:57;;-1:-1:-1;33389:45:0;;;;33385:95;;33436:44;-1:-1:-1;;;33436:7:0;:44::i;:::-;33494:27;32110:24;;;:15;:24;;;;;32338:26;;58687:10;31735:30;;;-1:-1:-1;;;;;31428:28:0;;31713:20;;;31710:56;33680:189;;33773:43;33790:4;58687:10;29688:164;:::i;33773:43::-;33768:101;;33818:51;-1:-1:-1;;;33818:7:0;:51::i;:::-;34018:15;34015:160;;;34158:1;34137:19;34130:30;34015:160;-1:-1:-1;;;;;34555:24:0;;;;;;;:18;:24;;;;;;34553:26;;-1:-1:-1;;34553:26:0;;;34624:22;;;;;;;;;34622:24;;-1:-1:-1;34622:24:0;;;27549:11;27524:23;27520:41;27507:63;-1:-1:-1;;;27507:63:0;34917:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;35212:47:0;;:52;;35208:627;;35317:1;35307:11;;35285:19;35440:30;;;:17;:30;;;;;;:35;;35436:384;;35578:13;;35563:11;:28;35559:242;;35725:30;;;;:17;:30;;;;;:52;;;35559:242;35266:569;35208:627;-1:-1:-1;;;;;35967:20:0;;36347:7;35967:20;36277:4;36219:25;35948:16;;36084:299;36408:8;36420:1;36408:13;36404:58;;36423:39;-1:-1:-1;;;36423:7:0;:39::i;:::-;33133:3392;;;;33002:3523;;;:::o;78943:298::-;63363:13;:11;:13::i;:::-;79015:21:::1;78993:19;79074:7;63550:6:::0;;-1:-1:-1;;;;;63550:6:0;;63477:87;79074:7:::1;-1:-1:-1::0;;;;;79066:21:0::1;79095:11;79066:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;79047:64;;;79129:7;79124:39;;79145:18;;-1:-1:-1::0;;;79145:18:0::1;;;;;;;;;;;79124:39;79181:52;::::0;;6361:25:1;;;79217:15:0::1;6417:2:1::0;6402:18;;6395:34;79192:10:0::1;::::0;79181:52:::1;::::0;6334:18:1;79181:52:0::1;;;;;;;;78982:259;;78943:298::o:0;36621:193::-;36767:39;36784:4;36790:2;36794:7;36767:39;;;;;;;;;;;;:16;:39::i;:::-;36621:193;;;:::o;77442:237::-;63363:13;:11;:13::i;:::-;77549:19:::1;:42:::0;;;77609:62:::1;::::0;;6361:25:1;;;77655:15:0::1;6417:2:1::0;6402:18;;6395:34;77609:62:0::1;::::0;6334:18:1;77609:62:0::1;6187:248:1::0;75772:152:0;63363:13;:11;:13::i;:::-;75843:9:::1;:19;75855:7:::0;75843:9;:19:::1;:::i;:::-;;75880:36;75891:7;75900:15;75880:36;;;;;;;:::i;78237:377::-:0;63363:13;:11;:13::i;:::-;78369:7:::1;78356:9;:20;;:38;;;-1:-1:-1::0;78380:14:0;;78356:38:::1;:54;;;-1:-1:-1::0;78398:12:0;;78356:54:::1;78352:99;;;78432:19;;-1:-1:-1::0;;;78432:19:0::1;;;;;;;;;;;78352:99;78464:20;:32:::0;;;78507:18:::1;:28:::0;;;78553:53:::1;::::0;;9283:25:1;;;9339:2;9324:18;;9317:34;;;78590:15:0::1;9367:18:1::0;;;9360:34;78553:53:0;;::::1;::::0;;;;9271:2:1;78553:53:0;;::::1;78237:377:::0;;:::o;22892:152::-;22964:7;23007:27;23026:7;23007:18;:27::i;18416:242::-;18488:7;-1:-1:-1;;;;;18512:19:0;;18508:69;;18533:44;-1:-1:-1;;;18533:7:0;:44::i;:::-;-1:-1:-1;;;;;;18595:25:0;;;;;:18;:25;;;;;;11176:13;18595:55;;18416:242::o;73284:95::-;73329:13;73362:9;73355:16;;;;;:::i;64152:103::-;63363:13;:11;:13::i;:::-;64217:30:::1;64244:1;64217:18;:30::i;:::-;64152:103::o:0;21666:104::-;21722:13;21755:7;21748:14;;;;;:::i;70328:792::-;70410:20;;70392:15;:38;70388:70;;;70439:19;;-1:-1:-1;;;70439:19:0;;;;;;;;;;;70388:70;70493:18;;70475:15;:36;70471:63;;;70520:14;;-1:-1:-1;;;70520:14:0;;;;;;;;;;;70471:63;70551:8;70563:1;70551:13;70547:47;;70573:21;;-1:-1:-1;;;70573:21:0;;;;;;;;;;;70547:47;58687:10;70607:24;19400:25;;;:18;:25;;;;;;70702:19;;11550:3;19400:40;;;;;70672:27;70691:8;19400:40;70672:27;:::i;:::-;:49;70668:102;;;70743:27;;-1:-1:-1;;;70743:27:0;;;;;;;;;;;70668:102;70814:11;;70803:8;70787:13;74237:1;17136:12;16753:14;17120:13;:28;-1:-1:-1;;17120:46:0;;16692:573;70787:13;:24;;;;:::i;:::-;:38;70783:70;;;70834:19;;-1:-1:-1;;;70834:19:0;;;;;;;;;;;70783:70;70896:8;70882:11;;:22;;;;:::i;:::-;70870:9;:34;70866:70;;;70913:23;;-1:-1:-1;;;70913:23:0;;;;;;;;;;;70866:70;70949:58;58687:10;70978:27;70997:8;70978:16;:27;:::i;:::-;-1:-1:-1;;;;;19726:25:0;;;19709:14;19726:25;;;:18;:25;;;;;;;-1:-1:-1;;;;;19926:32:0;11550:3;19963:24;;;;19925:63;;;;19999:34;;19637:404;70949:58;71018:33;58687:10;71042:8;71018:9;:33::i;:::-;71069:43;;;6361:25:1;;;71096:15:0;6417:2:1;6402:18;;6395:34;71074:10:0;;71069:43;;6334:18:1;71069:43:0;6187:248:1;29297:234:0;58687:10;29392:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;29392:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;29392:60:0;;;;;;;;;;29468:55;;540:41:1;;;29392:49:0;;58687:10;29468:55;;513:18:1;29468:55:0;;;;;;;29297:234;;:::o;37412:416::-;37587:31;37600:4;37606:2;37610:7;37587:12;:31::i;:::-;-1:-1:-1;;;;;37633:14:0;;;:19;37629:192;;37672:56;37703:4;37709:2;37713:7;37722:5;37672:30;:56::i;:::-;37667:154;;37749:56;-1:-1:-1;;;37749:7:0;:56::i;:::-;37412:416;;;;:::o;74548:608::-;74637:13;74685:16;74693:7;74685;:16::i;:::-;74663:113;;;;-1:-1:-1;;;74663:113:0;;10042:2:1;74663:113:0;;;10024:21:1;10081:2;10061:18;;;10054:30;10120:34;10100:18;;;10093:62;-1:-1:-1;;;10171:18:1;;;10164:45;10226:19;;74663:113:0;;;;;;;;;74789:28;74820:10;:8;:10::i;:::-;74789:41;;74892:1;74867:14;74861:28;:32;:287;;;;;;;;;;;;;;;;;74985:14;75026:18;75036:7;75026:9;:18::i;:::-;75071:13;74942:165;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;74861:287;74841:307;74548:608;-1:-1:-1;;;74548:608:0:o;29688:164::-;-1:-1:-1;;;;;29809:25:0;;;29785:4;29809:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;29688:164::o;64410:220::-;63363:13;:11;:13::i;:::-;-1:-1:-1;;;;;64495:22:0;::::1;64491:93;;64541:31;::::0;-1:-1:-1;;;64541:31:0;;64569:1:::1;64541:31;::::0;::::1;1510:51:1::0;1483:18;;64541:31:0::1;1364:203:1::0;64491:93:0::1;64594:28;64613:8;64594:18;:28::i;:::-;64410:220:::0;:::o;30110:475::-;30175:11;30222:7;74237:1;30203:26;30199:379;;30367:13;;30357:7;:23;30353:214;;;30401:14;30434:60;-1:-1:-1;30451:26:0;;;;:17;:26;;;;;;;30441:42;;;30434:60;;30485:9;;;:::i;:::-;;;30434:60;;;-1:-1:-1;;;30522:24:0;:29;;-1:-1:-1;30353:214:0;30110:475;;;:::o;60619:165::-;60720:13;60714:4;60707:27;60761:4;60755;60748:18;52034:474;52163:13;52179:16;52187:7;52179;:16::i;:::-;52163:32;;52212:13;:45;;;;-1:-1:-1;58687:10:0;-1:-1:-1;;;;;52229:28:0;;;;52212:45;52208:201;;;52277:44;52294:5;58687:10;29688:164;:::i;52277:44::-;52272:137;;52342:51;-1:-1:-1;;;52342:7:0;:51::i;:::-;52421:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;52421:35:0;-1:-1:-1;;;;;52421:35:0;;;;;;;;;52472:28;;52421:24;;52472:28;;;;;;;52152:356;52034:474;;;:::o;63642:166::-;63550:6;;-1:-1:-1;;;;;63550:6:0;58687:10;63702:23;63698:103;;63749:40;;-1:-1:-1;;;63749:40:0;;58687:10;63749:40;;;1510:51:1;1483:18;;63749:40:0;1364:203:1;24377:2213:0;24444:14;24494:7;74237:1;24475:26;24471:2054;;-1:-1:-1;24527:26:0;;;;:17;:26;;;;;;24854:6;24864:1;24854:11;24850:1292;;24901:13;;24890:7;:24;24886:77;;24916:47;-1:-1:-1;;;24916:7:0;:47::i;:::-;25520:607;-1:-1:-1;;;25616:9:0;25598:28;;;;:17;:28;;;;;;25672:25;;25520:607;25672:25;-1:-1:-1;;;25724:6:0;:24;25752:1;25724:29;25720:48;;24377:2213;;;:::o;25720:48::-;26060:47;-1:-1:-1;;;26060:7:0;:47::i;:::-;25520:607;;24850:1292;-1:-1:-1;;;26469:6:0;:24;26497:1;26469:29;26465:48;;24377:2213;;;:::o;26465:48::-;26535:47;-1:-1:-1;;;26535:7:0;:47::i;64790:191::-;64883:6;;;-1:-1:-1;;;;;64900:17:0;;;-1:-1:-1;;;;;;64900:17:0;;;;;;;64933:40;;64883:6;;;64900:17;64883:6;;64933:40;;64864:16;;64933:40;64853:128;64790:191;:::o;47228:112::-;47305:27;47315:2;47319:8;47305:27;;;;;;;;;;;;:9;:27::i;39912:691::-;40096:88;;-1:-1:-1;;;40096:88:0;;40075:4;;-1:-1:-1;;;;;40096:45:0;;;;;:88;;58687:10;;40163:4;;40169:7;;40178:5;;40096:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;40096:88:0;;;;;;;;-1:-1:-1;;40096:88:0;;;;;;;;;;;;:::i;:::-;;;40092:504;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40379:6;:13;40396:1;40379:18;40375:115;;40418:56;-1:-1:-1;;;40418:7:0;:56::i;:::-;40562:6;40556:13;40547:6;40543:2;40539:15;40532:38;40092:504;-1:-1:-1;;;;;;40255:64:0;-1:-1:-1;;;40255:64:0;;-1:-1:-1;40092:504:0;39912:691;;;;;;:::o;58807:1745::-;58872:17;59306:4;59299;59293:11;59289:22;59398:1;59392:4;59385:15;59473:4;59470:1;59466:12;59459:19;;;59555:1;59550:3;59543:14;59659:3;59898:5;59880:428;59946:1;59941:3;59937:11;59930:18;;60117:2;60111:4;60107:13;60103:2;60099:22;60094:3;60086:36;60211:2;60201:13;;60268:25;59880:428;60268:25;-1:-1:-1;60338:13:0;;;-1:-1:-1;;60453:14:0;;;60515:19;;;60453:14;58807:1745;-1:-1:-1;58807:1745:0:o;46357:787::-;46488:19;46494:2;46498:8;46488:5;:19::i;:::-;-1:-1:-1;;;;;46549:14:0;;;:19;46545:581;;46589:11;46603:13;46651:14;;;46684:242;46715:62;46754:1;46758:2;46762:7;;;;;;46771:5;46715:30;:62::i;:::-;46710:176;;46806:56;-1:-1:-1;;;46806:7:0;:56::i;:::-;46921:3;46913:5;:11;46684:242;;47097:3;47080:13;;:20;47076:34;;47102:8;;;47076:34;46570:556;;46357:787;;;:::o;41065:2399::-;41138:20;41161:13;;;41189;;;41185:53;;41204:34;-1:-1:-1;;;41204:7:0;:34::i;:::-;41751:31;;;;:17;:31;;;;;;;;-1:-1:-1;;;;;27375:28:0;;27549:11;27524:23;27520:41;27993:1;27980:15;;27954:24;27950:46;27517:52;27507:63;;41751:173;;;42142:22;;;:18;:22;;;;;:71;;42180:32;42168:45;;42142:71;;;27375:28;42403:13;;;42399:54;;42418:35;-1:-1:-1;;;42418:7:0;:35::i;:::-;42484:23;;;;42663:676;43082:7;43038:8;42993:1;42927:25;42864:1;42799;42768:358;43334:3;43321:9;;;;;;:16;42663:676;;-1:-1:-1;43355:13:0;:19;-1:-1:-1;36621: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:300::-;645:3;683:5;677:12;710:6;705:3;698:19;766:6;759:4;752:5;748:16;741:4;736:3;732:14;726:47;818:1;811:4;802:6;797:3;793:16;789:27;782:38;881:4;874:2;870:7;865:2;857:6;853:15;849:29;844:3;840:39;836:50;829:57;;;592:300;;;;:::o;897:231::-;1046:2;1035:9;1028:21;1009:4;1066:56;1118:2;1107:9;1103:18;1095:6;1066:56;:::i;1133:226::-;1192:6;1245:2;1233:9;1224:7;1220:23;1216:32;1213:52;;;1261:1;1258;1251:12;1213:52;-1:-1:-1;1306:23:1;;1133:226;-1:-1:-1;1133:226:1:o;1572:173::-;1640:20;;-1:-1:-1;;;;;1689:31:1;;1679:42;;1669:70;;1735:1;1732;1725:12;1750:300;1818:6;1826;1879:2;1867:9;1858:7;1854:23;1850:32;1847:52;;;1895:1;1892;1885:12;1847:52;1918:29;1937:9;1918:29;:::i;:::-;1908:39;2016:2;2001:18;;;;1988:32;;-1:-1:-1;;;1750:300:1:o;2055:186::-;2114:6;2167:2;2155:9;2146:7;2142:23;2138:32;2135:52;;;2183:1;2180;2173:12;2135:52;2206:29;2225:9;2206:29;:::i;2428:374::-;2505:6;2513;2521;2574:2;2562:9;2553:7;2549:23;2545:32;2542:52;;;2590:1;2587;2580:12;2542:52;2613:29;2632:9;2613:29;:::i;:::-;2603:39;;2661:38;2695:2;2684:9;2680:18;2661:38;:::i;:::-;2428:374;;2651:48;;-1:-1:-1;;;2768:2:1;2753:18;;;;2740:32;;2428:374::o;2807:127::-;2868:10;2863:3;2859:20;2856:1;2849:31;2899:4;2896:1;2889:15;2923:4;2920:1;2913:15;2939:716;3004:5;3036:1;3060:18;3052:6;3049:30;3046:56;;;3082:18;;:::i;:::-;-1:-1:-1;3237:2:1;3231:9;-1:-1:-1;;3150:2:1;3129:15;;3125:29;;3295:2;3283:15;3279:29;3267:42;;3360:22;;;3339:18;3324:34;;3321:62;3318:88;;;3386:18;;:::i;:::-;3422:2;3415:22;3470;;;3455:6;-1:-1:-1;3455:6:1;3507:16;;;3504:25;-1:-1:-1;3501:45:1;;;3542:1;3539;3532:12;3501:45;3592:6;3587:3;3580:4;3572:6;3568:17;3555:44;3647:1;3640:4;3631:6;3623;3619:19;3615:30;3608:41;;2939:716;;;;;:::o;3660:451::-;3729:6;3782:2;3770:9;3761:7;3757:23;3753:32;3750:52;;;3798:1;3795;3788:12;3750:52;3838:9;3825:23;3871:18;3863:6;3860:30;3857:50;;;3903:1;3900;3893:12;3857:50;3926:22;;3979:4;3971:13;;3967:27;-1:-1:-1;3957:55:1;;4008:1;4005;3998:12;3957:55;4031:74;4097:7;4092:2;4079:16;4074:2;4070;4066:11;4031:74;:::i;4116:346::-;4184:6;4192;4245:2;4233:9;4224:7;4220:23;4216:32;4213:52;;;4261:1;4258;4251:12;4213:52;-1:-1:-1;;4306:23:1;;;4426:2;4411:18;;;4398:32;;-1:-1:-1;4116:346:1:o;4467:347::-;4532:6;4540;4593:2;4581:9;4572:7;4568:23;4564:32;4561:52;;;4609:1;4606;4599:12;4561:52;4632:29;4651:9;4632:29;:::i;:::-;4622:39;;4711:2;4700:9;4696:18;4683:32;4758:5;4751:13;4744:21;4737:5;4734:32;4724:60;;4780:1;4777;4770:12;4724:60;4803:5;4793:15;;;4467:347;;;;;:::o;4819:713::-;4914:6;4922;4930;4938;4991:3;4979:9;4970:7;4966:23;4962:33;4959:53;;;5008:1;5005;4998:12;4959:53;5031:29;5050:9;5031:29;:::i;:::-;5021:39;;5079:38;5113:2;5102:9;5098:18;5079:38;:::i;:::-;5069:48;-1:-1:-1;5186:2:1;5171:18;;5158:32;;-1:-1:-1;5265:2:1;5250:18;;5237:32;5292:18;5281:30;;5278:50;;;5324:1;5321;5314:12;5278:50;5347:22;;5400:4;5392:13;;5388:27;-1:-1:-1;5378:55:1;;5429:1;5426;5419:12;5378:55;5452:74;5518:7;5513:2;5500:16;5495:2;5491;5487:11;5452:74;:::i;:::-;5442:84;;;4819:713;;;;;;;:::o;5537:260::-;5605:6;5613;5666:2;5654:9;5645:7;5641:23;5637:32;5634:52;;;5682:1;5679;5672:12;5634:52;5705:29;5724:9;5705:29;:::i;:::-;5695:39;;5753:38;5787:2;5776:9;5772:18;5753:38;:::i;:::-;5743:48;;5537:260;;;;;:::o;5802:380::-;5881:1;5877:12;;;;5924;;;5945:61;;5999:4;5991:6;5987:17;5977:27;;5945:61;6052:2;6044:6;6041:14;6021:18;6018:38;6015:161;;6098:10;6093:3;6089:20;6086:1;6079:31;6133:4;6130:1;6123:15;6161:4;6158:1;6151:15;6015:161;;5802:380;;;:::o;6776:518::-;6878:2;6873:3;6870:11;6867:421;;;6914:5;6911:1;6904:16;6958:4;6955:1;6945:18;7028:2;7016:10;7012:19;7009:1;7005:27;6999:4;6995:38;7064:4;7052:10;7049:20;7046:47;;;-1:-1:-1;7087:4:1;7046:47;7142:2;7137:3;7133:12;7130:1;7126:20;7120:4;7116:31;7106:41;;7197:81;7215:2;7208:5;7205:13;7197:81;;;7274:1;7260:16;;7241:1;7230:13;7197:81;;7470:1299;7596:3;7590:10;7623:18;7615:6;7612:30;7609:56;;;7645:18;;:::i;:::-;7674:97;7764:6;7724:38;7756:4;7750:11;7724:38;:::i;:::-;7718:4;7674:97;:::i;:::-;7820:4;7851:2;7840:14;;7868:1;7863:649;;;;8556:1;8573:6;8570:89;;;-1:-1:-1;8625:19:1;;;8619:26;8570:89;-1:-1:-1;;7427:1:1;7423:11;;;7419:24;7415:29;7405:40;7451:1;7447:11;;;7402:57;8672:81;;7833:930;;7863:649;6723:1;6716:14;;;6760:4;6747:18;;-1:-1:-1;;7899:20:1;;;8017:222;8031:7;8028:1;8025:14;8017:222;;;8113:19;;;8107:26;8092:42;;8220:4;8205:20;;;;8173:1;8161:14;;;;8047:12;8017:222;;;8021:3;8267:6;8258:7;8255:19;8252:201;;;8328:19;;;8322:26;-1:-1:-1;;8411:1:1;8407:14;;;8423:3;8403:24;8399:37;8395:42;8380:58;8365:74;;8252:201;-1:-1:-1;;;;8499:1:1;8483:14;;;8479:22;8466:36;;-1:-1:-1;7470:1299:1:o;8774:302::-;8951:2;8940:9;8933:21;8914:4;8971:56;9023:2;9012:9;9008:18;9000:6;8971:56;:::i;:::-;8963:64;;9063:6;9058:2;9047:9;9043:18;9036:34;8774:302;;;;;:::o;9405:127::-;9466:10;9461:3;9457:20;9454:1;9447:31;9497:4;9494:1;9487:15;9521:4;9518:1;9511:15;9537:125;9602:9;;;9623:10;;;9620:36;;;9636:18;;:::i;9667:168::-;9740:9;;;9771;;9788:15;;;9782:22;;9768:37;9758:71;;9809:18;;:::i;10256:212::-;10298:3;10336:5;10330:12;10380:6;10373:4;10366:5;10362:16;10357:3;10351:36;10442:1;10406:16;;10431:13;;;-1:-1:-1;10406:16:1;;10256:212;-1:-1:-1;10256:212:1:o;10473:965::-;10697:3;10725:57;10751:30;10777:3;10769:6;10751:30;:::i;:::-;10743:6;10725:57;:::i;:::-;10802:1;10835:6;10829:13;10865:36;10891:9;10865:36;:::i;:::-;10932:1;10917:17;;10943:131;;;;11088:1;11083:330;;;;10910:503;;10943:131;-1:-1:-1;;10975:24:1;;10964:36;;11047:14;;11040:22;11028:35;;11020:44;;;-1:-1:-1;10943:131:1;;11083:330;11114:6;11111:1;11104:17;11162:4;11159:1;11149:18;11189:1;11203:165;11217:6;11214:1;11211:13;11203:165;;;11296:14;;11284:10;;;11277:34;11352:1;11339:15;;;;11239:4;11232:12;11203:165;;;11207:3;;11396:6;11392:2;11388:15;11381:22;;10910:503;-1:-1:-1;11429:3:1;;10473:965;-1:-1:-1;;;;;;;;10473:965:1:o;11443:136::-;11482:3;11510:5;11500:39;;11519:18;;:::i;:::-;-1:-1:-1;;;11555:18:1;;11443:136::o;11584:496::-;-1:-1:-1;;;;;11815:32:1;;;11797:51;;11884:32;;11879:2;11864:18;;11857:60;11948:2;11933:18;;11926:34;;;11996:3;11991:2;11976:18;;11969:31;;;-1:-1:-1;;12017:57:1;;12054:19;;12046:6;12017:57;:::i;:::-;12009:65;11584:496;-1:-1:-1;;;;;;11584:496:1:o;12085:249::-;12154:6;12207:2;12195:9;12186:7;12182:23;12178:32;12175:52;;;12223:1;12220;12213:12;12175:52;12255:9;12249:16;12274:30;12298:5;12274:30;:::i

Swarm Source

ipfs://b99d81dbb6a2ed9e734166b5c937a2a74728a401fcfc0e5d1c867a9a114e0773
[ 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.