APE Price: $1.09 (-3.27%)

Rich On Apes (ROA)

Overview

TokenID

75

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:
Richonapes

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 2025-01-04
*/

/* 

__________.__       .__         _____                  _____.___.       __         .__      _________ .__       ___.    
\______   \__| ____ |  |__     /  _  \ ______   ____   \__  |   |____ _/  |_  ____ |  |__   \_   ___ \|  |  __ _\_ |__  
 |       _/  |/ ___\|  |  \   /  /_\  \\____ \_/ __ \   /   |   \__  \\   __\/ ___\|  |  \  /    \  \/|  | |  |  \ __ \ 
 |    |   \  \  \___|   Y  \ /    |    \  |_> >  ___/   \____   |/ __ \|  | \  \___|   Y  \ \     \___|  |_|  |  / \_\ \
 |____|_  /__|\___  >___|  / \____|__  /   __/ \___  >  / ______(____  /__|  \___  >___|  /  \______  /____/____/|___  /
        \/        \/     \/          \/|__|        \/   \/           \/          \/     \/          \/               \/ 
*/

// File: erc721a/contracts/IERC721A.sol


// ERC721A Contracts v4.2.3
// 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();

    // =============================================================
    //                            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.2.3
// 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()`.
 *
 * Assumptions:
 *
 * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
 * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256).
 */
contract ERC721A is IERC721A {
    // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364).
    struct TokenApprovalRef {
        address value;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    // The number of tokens burned.
    uint256 private _burnCounter;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to ownership details
    // An empty struct value does not necessarily mean the token is unowned.
    // See {_packedOwnershipOf} implementation for details.
    //
    // Bits Layout:
    // - [0..159]   `addr`
    // - [160..223] `startTimestamp`
    // - [224]      `burned`
    // - [225]      `nextInitialized`
    // - [232..255] `extraData`
    mapping(uint256 => uint256) private _packedOwnerships;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

        string memory baseURI = _baseURI();
        return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : '';
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        return _tokenApprovals[tokenId].value;
    }

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom}
     * for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _operatorApprovals[_msgSenderERC721A()][operator] = approved;
        emit ApprovalForAll(_msgSenderERC721A(), operator, approved);
    }

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

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted. See {_mint}.
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return
            _startTokenId() <= tokenId &&
            tokenId < _currentIndex && // If within bounds,
            _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned.
    }

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

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

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

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token
     * by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public payable virtual override {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

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

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

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

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

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256.
        unchecked {
            // We can directly increment and decrement the balances.
            --_packedAddressData[from]; // Updates: `balance -= 1`.
            ++_packedAddressData[to]; // Updates: `balance += 1`.

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

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

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token
     * by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement
     * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public payable virtual override {
        transferFrom(from, to, tokenId);
        if (to.code.length != 0)
            if (!_checkContractOnERC721Received(from, to, tokenId, _data)) {
                revert TransferToNonERC721ReceiverImplementer();
            }
    }

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

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

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

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

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

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

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

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

            uint256 toMasked;
            uint256 end = startTokenId + quantity;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        address from = address(uint160(prevOwnershipPacked));

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

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

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

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

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256.
        unchecked {
            // Updates:
            // - `balance -= 1`.
            // - `numberBurned += 1`.
            //
            // We can directly decrement the balance, and increment the number burned.
            // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`.
            _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1;

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

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

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

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

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

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

    /**
     * @dev Called during each token transfer to set the 24bit `extraData` field.
     * Intended to be overridden by the cosumer contract.
     *
     * `previousExtraData` - the value of `extraData` before transfer.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, `tokenId` will be burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _extraData(
        address from,
        address to,
        uint24 previousExtraData
    ) internal view virtual returns (uint24) {}

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

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

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

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

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

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

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

// 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: @openzeppelin/contracts/utils/math/Math.sol


// OpenZeppelin Contracts (last updated v5.0.0) (utils/math/Math.sol)

pragma solidity ^0.8.20;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    /**
     * @dev Muldiv operation overflow.
     */
    error MathOverflowedMulDiv();

    enum Rounding {
        Floor, // Toward negative infinity
        Ceil, // Toward positive infinity
        Trunc, // Toward zero
        Expand // Away from zero
    }

    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, with an overflow flag.
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow.
        return (a & b) + (a ^ b) / 2;
    }

    /**
     * @dev Returns the ceiling of the division of two numbers.
     *
     * This differs from standard division with `/` in that it rounds towards infinity instead
     * of rounding towards zero.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        if (b == 0) {
            // Guarantee the same behavior as in a regular Solidity division.
            return a / b;
        }

        // (a + b - 1) / b can overflow on addition, so we distribute.
        return a == 0 ? 0 : (a - 1) / b + 1;
    }

    /**
     * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or
     * denominator == 0.
     * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) with further edits by
     * Uniswap Labs also under MIT license.
     */
    function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) {
        unchecked {
            // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use
            // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256
            // variables such that product = prod1 * 2^256 + prod0.
            uint256 prod0 = x * y; // Least significant 256 bits of the product
            uint256 prod1; // Most significant 256 bits of the product
            assembly {
                let mm := mulmod(x, y, not(0))
                prod1 := sub(sub(mm, prod0), lt(mm, prod0))
            }

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                // Solidity will revert if denominator == 0, unlike the div opcode on its own.
                // The surrounding unchecked block does not change this fact.
                // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic.
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            if (denominator <= prod1) {
                revert MathOverflowedMulDiv();
            }

            ///////////////////////////////////////////////
            // 512 by 256 division.
            ///////////////////////////////////////////////

            // Make division exact by subtracting the remainder from [prod1 prod0].
            uint256 remainder;
            assembly {
                // Compute remainder using mulmod.
                remainder := mulmod(x, y, denominator)

                // Subtract 256 bit number from 512 bit number.
                prod1 := sub(prod1, gt(remainder, prod0))
                prod0 := sub(prod0, remainder)
            }

            // Factor powers of two out of denominator and compute largest power of two divisor of denominator.
            // Always >= 1. See https://cs.stackexchange.com/q/138556/92363.

            uint256 twos = denominator & (0 - denominator);
            assembly {
                // Divide denominator by twos.
                denominator := div(denominator, twos)

                // Divide [prod1 prod0] by twos.
                prod0 := div(prod0, twos)

                // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.
                twos := add(div(sub(0, twos), twos), 1)
            }

            // Shift in bits from prod1 into prod0.
            prod0 |= prod1 * twos;

            // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such
            // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for
            // four bits. That is, denominator * inv = 1 mod 2^4.
            uint256 inverse = (3 * denominator) ^ 2;

            // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also
            // works in modular arithmetic, doubling the correct bits in each step.
            inverse *= 2 - denominator * inverse; // inverse mod 2^8
            inverse *= 2 - denominator * inverse; // inverse mod 2^16
            inverse *= 2 - denominator * inverse; // inverse mod 2^32
            inverse *= 2 - denominator * inverse; // inverse mod 2^64
            inverse *= 2 - denominator * inverse; // inverse mod 2^128
            inverse *= 2 - denominator * inverse; // inverse mod 2^256

            // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.
            // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is
            // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1
            // is no longer required.
            result = prod0 * inverse;
            return result;
        }
    }

    /**
     * @notice Calculates x * y / denominator with full precision, following the selected rounding direction.
     */
    function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) {
        uint256 result = mulDiv(x, y, denominator);
        if (unsignedRoundsUp(rounding) && mulmod(x, y, denominator) > 0) {
            result += 1;
        }
        return result;
    }

    /**
     * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded
     * towards zero.
     *
     * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11).
     */
    function sqrt(uint256 a) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }

        // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.
        //
        // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have
        // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.
        //
        // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`
        // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`
        // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`
        //
        // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.
        uint256 result = 1 << (log2(a) >> 1);

        // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,
        // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at
        // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision
        // into the expected uint128 result.
        unchecked {
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            return min(result, a / result);
        }
    }

    /**
     * @notice Calculates sqrt(a), following the selected rounding direction.
     */
    function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = sqrt(a);
            return result + (unsignedRoundsUp(rounding) && result * result < a ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 2 of a positive value rounded towards zero.
     * Returns 0 if given 0.
     */
    function log2(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 128;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 64;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 32;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 16;
            }
            if (value >> 8 > 0) {
                value >>= 8;
                result += 8;
            }
            if (value >> 4 > 0) {
                value >>= 4;
                result += 4;
            }
            if (value >> 2 > 0) {
                value >>= 2;
                result += 2;
            }
            if (value >> 1 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 2, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log2(value);
            return result + (unsignedRoundsUp(rounding) && 1 << result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 10 of a positive value rounded towards zero.
     * Returns 0 if given 0.
     */
    function log10(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >= 10 ** 64) {
                value /= 10 ** 64;
                result += 64;
            }
            if (value >= 10 ** 32) {
                value /= 10 ** 32;
                result += 32;
            }
            if (value >= 10 ** 16) {
                value /= 10 ** 16;
                result += 16;
            }
            if (value >= 10 ** 8) {
                value /= 10 ** 8;
                result += 8;
            }
            if (value >= 10 ** 4) {
                value /= 10 ** 4;
                result += 4;
            }
            if (value >= 10 ** 2) {
                value /= 10 ** 2;
                result += 2;
            }
            if (value >= 10 ** 1) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log10(value);
            return result + (unsignedRoundsUp(rounding) && 10 ** result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 256 of a positive value rounded towards zero.
     * Returns 0 if given 0.
     *
     * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.
     */
    function log256(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 16;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 8;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 4;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 2;
            }
            if (value >> 8 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 256, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log256(value);
            return result + (unsignedRoundsUp(rounding) && 1 << (result << 3) < value ? 1 : 0);
        }
    }

    /**
     * @dev Returns whether a provided rounding mode is considered rounding up for unsigned integers.
     */
    function unsignedRoundsUp(Rounding rounding) internal pure returns (bool) {
        return uint8(rounding) % 2 == 1;
    }
}

// File: @openzeppelin/contracts/utils/math/SignedMath.sol


// OpenZeppelin Contracts (last updated v5.0.0) (utils/math/SignedMath.sol)

pragma solidity ^0.8.20;

/**
 * @dev Standard signed math utilities missing in the Solidity language.
 */
library SignedMath {
    /**
     * @dev Returns the largest of two signed numbers.
     */
    function max(int256 a, int256 b) internal pure returns (int256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two signed numbers.
     */
    function min(int256 a, int256 b) internal pure returns (int256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two signed numbers without overflow.
     * The result is rounded towards zero.
     */
    function average(int256 a, int256 b) internal pure returns (int256) {
        // Formula from the book "Hacker's Delight"
        int256 x = (a & b) + ((a ^ b) >> 1);
        return x + (int256(uint256(x) >> 255) & (a ^ b));
    }

    /**
     * @dev Returns the absolute unsigned value of a signed value.
     */
    function abs(int256 n) internal pure returns (uint256) {
        unchecked {
            // must be unchecked in order to support `n = type(int256).min`
            return uint256(n >= 0 ? n : -n);
        }
    }
}

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


// OpenZeppelin Contracts (last updated v5.0.0) (utils/Strings.sol)

pragma solidity ^0.8.20;



/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant HEX_DIGITS = "0123456789abcdef";
    uint8 private constant ADDRESS_LENGTH = 20;

    /**
     * @dev The `value` string doesn't fit in the specified `length`.
     */
    error StringsInsufficientHexLength(uint256 value, uint256 length);

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        unchecked {
            uint256 length = Math.log10(value) + 1;
            string memory buffer = new string(length);
            uint256 ptr;
            /// @solidity memory-safe-assembly
            assembly {
                ptr := add(buffer, add(32, length))
            }
            while (true) {
                ptr--;
                /// @solidity memory-safe-assembly
                assembly {
                    mstore8(ptr, byte(mod(value, 10), HEX_DIGITS))
                }
                value /= 10;
                if (value == 0) break;
            }
            return buffer;
        }
    }

    /**
     * @dev Converts a `int256` to its ASCII `string` decimal representation.
     */
    function toStringSigned(int256 value) internal pure returns (string memory) {
        return string.concat(value < 0 ? "-" : "", toString(SignedMath.abs(value)));
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        unchecked {
            return toHexString(value, Math.log256(value) + 1);
        }
    }

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

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal
     * representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), ADDRESS_LENGTH);
    }

    /**
     * @dev Returns true if the two strings are equal.
     */
    function equal(string memory a, string memory b) internal pure returns (bool) {
        return bytes(a).length == bytes(b).length && keccak256(bytes(a)) == keccak256(bytes(b));
    }
}

// File: contracts/Richonapes.sol

//SPDX-License-Identifier: MIT

pragma solidity ^0.8.9;




contract Richonapes is ERC721A, Ownable(msg.sender) {
    using Strings for uint256;
    uint256 public maxSupply = 5000;
    uint256 public maxPerTx = 500;
    uint256 public mintPrice = 1 ether;
    bool public sale;

    string public baseURI;

    error SalePaused();
    error MaxSupplyReached();
    error MaxPerTxReached();
    error NotEnoughETH();

    constructor(string memory __baseURI)
        ERC721A("Rich On Apes", "ROA")
    {
        baseURI = __baseURI;
    }

    function mint(uint256 _amount) external payable {
        if (!sale) revert SalePaused();
        if (_totalMinted() + _amount > maxSupply) revert MaxSupplyReached();
        if (msg.value < mintPrice * _amount) revert NotEnoughETH();
        if (_amount > maxPerTx) revert MaxPerTxReached();

        _mint(msg.sender, _amount);
    }

    function tokenURI(uint256 tokenId)
        public
        view
        virtual
        override
        returns (string memory)
    {
        require(
            _exists(tokenId),
            "ERC721Metadata: URI query for nonexistent token"
        );
        return
            string(
                abi.encodePacked(baseURI, tokenId.toString(), ".json")
            );
    }

    function setBaseURI(string memory __baseURI) external onlyOwner {
        baseURI = __baseURI;
    }

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

    function _startTokenId() internal view virtual override returns (uint256) {
        return 1;
    }

    function toggleSale() external onlyOwner {
        sale = !sale;
    }

    function airdrop(uint256 _amount) external onlyOwner {
        _mint(msg.sender, _amount);
    }

    function setMaxSupply(uint256 _maxSupply) external onlyOwner {
        maxSupply = _maxSupply;
    }

    function setMintPrice(uint256 _mintPrice) external onlyOwner {
        mintPrice = _mintPrice;
    }

    function setMaxPerTx(uint256 _maxPerTx) external onlyOwner {
        maxPerTx = _maxPerTx;
    }

    function withdraw() external onlyOwner {
        (bool success, ) = msg.sender.call{value: address(this).balance}("");
        require(success, "Transfer failed");
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"__baseURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MaxPerTxReached","type":"error"},{"inputs":[],"name":"MaxSupplyReached","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"NotEnoughETH","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":"SalePaused","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":[],"name":"sale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"uint256","name":"_maxPerTx","type":"uint256"}],"name":"setMaxPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintPrice","type":"uint256"}],"name":"setMintPrice","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":[],"name":"toggleSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526113886009556101f4600a55670de0b6b3a7640000600b55348015610027575f80fd5b50604051611a07380380611a078339810160408190526100469161015a565b336040518060400160405280600c81526020016b52696368204f6e204170657360a01b81525060405180604001604052806003815260200162524f4160e81b8152508160029081610097919061028e565b5060036100a4828261028e565b5060015f5550506001600160a01b0381166100d857604051631e4fbdf760e01b81525f600482015260240160405180910390fd5b6100e1816100f5565b50600d6100ee828261028e565b5050610348565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b634e487b7160e01b5f52604160045260245ffd5b5f6020828403121561016a575f80fd5b81516001600160401b0381111561017f575f80fd5b8201601f8101841361018f575f80fd5b80516001600160401b038111156101a8576101a8610146565b604051601f8201601f19908116603f011681016001600160401b03811182821017156101d6576101d6610146565b6040528181528282016020018610156101ed575f80fd5b8160208401602083015e5f91810160200191909152949350505050565b600181811c9082168061021e57607f821691505b60208210810361023c57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111561028957805f5260205f20601f840160051c810160208510156102675750805b601f840160051c820191505b81811015610286575f8155600101610273565b50505b505050565b81516001600160401b038111156102a7576102a7610146565b6102bb816102b5845461020a565b84610242565b6020601f8211600181146102ed575f83156102d65750848201515b5f19600385901b1c1916600184901b178455610286565b5f84815260208120601f198516915b8281101561031c57878501518255602094850194600190920191016102fc565b508482101561033957868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b6116b2806103555f395ff3fe6080604052600436106101c5575f3560e01c8063715018a6116100f2578063b88d4fde11610092578063e985e9c511610062578063e985e9c514610496578063f2fde38b146104b5578063f4a0a528146104d4578063f968adbe146104f3575f80fd5b8063b88d4fde14610430578063c6f6f21614610443578063c87b56dd14610462578063d5abeb0114610481575f80fd5b806395d89b41116100cd57806395d89b41146103cb57806397dc4a13146103df578063a0712d68146103fe578063a22cb46514610411575f80fd5b8063715018a6146103865780637d8966e41461039a5780638da5cb5b146103ae575f80fd5b806342842e0e116101685780636ad1fe02116101385780636ad1fe021461031b5780636c0360eb146103345780636f8b44b01461034857806370a0823114610367575f80fd5b806342842e0e146102b557806355f804b3146102c85780636352211e146102e75780636817c76c14610306575f80fd5b8063095ea7b3116101a3578063095ea7b31461025557806318160ddd1461026a57806323b872dd1461028e5780633ccfd60b146102a1575f80fd5b806301ffc9a7146101c957806306fdde03146101fd578063081812fc1461021e575b5f80fd5b3480156101d4575f80fd5b506101e86101e3366004611165565b610508565b60405190151581526020015b60405180910390f35b348015610208575f80fd5b50610211610559565b6040516101f491906111ae565b348015610229575f80fd5b5061023d6102383660046111c0565b6105e9565b6040516001600160a01b0390911681526020016101f4565b6102686102633660046111f2565b61062b565b005b348015610275575f80fd5b506001545f54035f19015b6040519081526020016101f4565b61026861029c36600461121a565b6106c9565b3480156102ac575f80fd5b50610268610858565b6102686102c336600461121a565b6108ef565b3480156102d3575f80fd5b506102686102e23660046112df565b61090e565b3480156102f2575f80fd5b5061023d6103013660046111c0565b610926565b348015610311575f80fd5b50610280600b5481565b348015610326575f80fd5b50600c546101e89060ff1681565b34801561033f575f80fd5b50610211610930565b348015610353575f80fd5b506102686103623660046111c0565b6109bc565b348015610372575f80fd5b50610280610381366004611324565b6109c9565b348015610391575f80fd5b50610268610a16565b3480156103a5575f80fd5b50610268610a29565b3480156103b9575f80fd5b506008546001600160a01b031661023d565b3480156103d6575f80fd5b50610211610a45565b3480156103ea575f80fd5b506102686103f93660046111c0565b610a54565b61026861040c3660046111c0565b610a66565b34801561041c575f80fd5b5061026861042b36600461133d565b610b12565b61026861043e366004611376565b610b7d565b34801561044e575f80fd5b5061026861045d3660046111c0565b610bc7565b34801561046d575f80fd5b5061021161047c3660046111c0565b610bd4565b34801561048c575f80fd5b5061028060095481565b3480156104a1575f80fd5b506101e86104b03660046113ed565b610c75565b3480156104c0575f80fd5b506102686104cf366004611324565b610ca2565b3480156104df575f80fd5b506102686104ee3660046111c0565b610cdc565b3480156104fe575f80fd5b50610280600a5481565b5f6301ffc9a760e01b6001600160e01b03198316148061053857506380ac58cd60e01b6001600160e01b03198316145b806105535750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546105689061141e565b80601f01602080910402602001604051908101604052809291908181526020018280546105949061141e565b80156105df5780601f106105b6576101008083540402835291602001916105df565b820191905f5260205f20905b8154815290600101906020018083116105c257829003601f168201915b5050505050905090565b5f6105f382610ce9565b610610576040516333d1c03960e21b815260040160405180910390fd5b505f908152600660205260409020546001600160a01b031690565b5f61063582610926565b9050336001600160a01b0382161461066e576106518133610c75565b61066e576040516367d9dca160e11b815260040160405180910390fd5b5f8281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b5f6106d382610d1b565b9050836001600160a01b0316816001600160a01b0316146107065760405162a1148160e81b815260040160405180910390fd5b5f8281526006602052604090208054338082146001600160a01b03881690911417610752576107358633610c75565b61075257604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661077957604051633a954ecd60e21b815260040160405180910390fd5b8015610783575f82555b6001600160a01b038681165f9081526005602052604080822080545f19019055918716808252919020805460010190554260a01b17600160e11b175f85815260046020526040812091909155600160e11b8416900361080f57600184015f81815260046020526040812054900361080d575f54811461080d575f8181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b610860610d8b565b6040515f90339047908381818185875af1925050503d805f811461089f576040519150601f19603f3d011682016040523d82523d5f602084013e6108a4565b606091505b50509050806108ec5760405162461bcd60e51b815260206004820152600f60248201526e151c985b9cd9995c8819985a5b1959608a1b60448201526064015b60405180910390fd5b50565b61090983838360405180602001604052805f815250610b7d565b505050565b610916610d8b565b600d61092282826114a1565b5050565b5f61055382610d1b565b600d805461093d9061141e565b80601f01602080910402602001604051908101604052809291908181526020018280546109699061141e565b80156109b45780601f1061098b576101008083540402835291602001916109b4565b820191905f5260205f20905b81548152906001019060200180831161099757829003601f168201915b505050505081565b6109c4610d8b565b600955565b5f6001600160a01b0382166109f1576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03165f9081526005602052604090205467ffffffffffffffff1690565b610a1e610d8b565b610a275f610db8565b565b610a31610d8b565b600c805460ff19811660ff90911615179055565b6060600380546105689061141e565b610a5c610d8b565b6108ec3382610e09565b600c5460ff16610a89576040516308a98cbd60e41b815260040160405180910390fd5b60095481610a985f545f190190565b610aa29190611570565b1115610ac15760405163d05cb60960e01b815260040160405180910390fd5b80600b54610acf9190611583565b341015610aef57604051632c1d501360e11b815260040160405180910390fd5b600a54811115610a5c576040516384eef40b60e01b815260040160405180910390fd5b335f8181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610b888484846106c9565b6001600160a01b0383163b15610bc157610ba484848484610f01565b610bc1576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b610bcf610d8b565b600a55565b6060610bdf82610ce9565b610c435760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016108e3565b600d610c4e83610fe9565b604051602001610c5f92919061159a565b6040516020818303038152906040529050919050565b6001600160a01b039182165f90815260076020908152604080832093909416825291909152205460ff1690565b610caa610d8b565b6001600160a01b038116610cd357604051631e4fbdf760e01b81525f60048201526024016108e3565b6108ec81610db8565b610ce4610d8b565b600b55565b5f81600111158015610cfb57505f5482105b80156105535750505f90815260046020526040902054600160e01b161590565b5f8180600111610d72575f54811015610d72575f8181526004602052604081205490600160e01b82169003610d70575b805f03610d6957505f19015f81815260046020526040902054610d4b565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b6008546001600160a01b03163314610a275760405163118cdaa760e01b81523360048201526024016108e3565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b5f805490829003610e2d5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b0383165f8181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114610ed95780835f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a4600101610ea3565b50815f03610ef957604051622e076360e81b815260040160405180910390fd5b5f5550505050565b604051630a85bd0160e11b81525f906001600160a01b0385169063150b7a0290610f35903390899088908890600401611625565b6020604051808303815f875af1925050508015610f6f575060408051601f3d908101601f19168201909252610f6c91810190611661565b60015b610fcb573d808015610f9c576040519150601f19603f3d011682016040523d82523d5f602084013e610fa1565b606091505b5080515f03610fc3576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60605f610ff583611079565b60010190505f8167ffffffffffffffff81111561101457611014611254565b6040519080825280601f01601f19166020018201604052801561103e576020820181803683370190505b5090508181016020015b5f19016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461104857509392505050565b5f8072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106110b75772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef810000000083106110e3576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061110157662386f26fc10000830492506010015b6305f5e1008310611119576305f5e100830492506008015b612710831061112d57612710830492506004015b6064831061113f576064830492506002015b600a83106105535760010192915050565b6001600160e01b0319811681146108ec575f80fd5b5f60208284031215611175575f80fd5b8135610d6981611150565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f610d696020830184611180565b5f602082840312156111d0575f80fd5b5035919050565b80356001600160a01b03811681146111ed575f80fd5b919050565b5f8060408385031215611203575f80fd5b61120c836111d7565b946020939093013593505050565b5f805f6060848603121561122c575f80fd5b611235846111d7565b9250611243602085016111d7565b929592945050506040919091013590565b634e487b7160e01b5f52604160045260245ffd5b5f8067ffffffffffffffff84111561128257611282611254565b50604051601f19601f85018116603f0116810181811067ffffffffffffffff821117156112b1576112b1611254565b6040528381529050808284018510156112c8575f80fd5b838360208301375f60208583010152509392505050565b5f602082840312156112ef575f80fd5b813567ffffffffffffffff811115611305575f80fd5b8201601f81018413611315575f80fd5b610fe184823560208401611268565b5f60208284031215611334575f80fd5b610d69826111d7565b5f806040838503121561134e575f80fd5b611357836111d7565b91506020830135801515811461136b575f80fd5b809150509250929050565b5f805f8060808587031215611389575f80fd5b611392856111d7565b93506113a0602086016111d7565b925060408501359150606085013567ffffffffffffffff8111156113c2575f80fd5b8501601f810187136113d2575f80fd5b6113e187823560208401611268565b91505092959194509250565b5f80604083850312156113fe575f80fd5b611407836111d7565b9150611415602084016111d7565b90509250929050565b600181811c9082168061143257607f821691505b60208210810361145057634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111561090957805f5260205f20601f840160051c8101602085101561147b5750805b601f840160051c820191505b8181101561149a575f8155600101611487565b5050505050565b815167ffffffffffffffff8111156114bb576114bb611254565b6114cf816114c9845461141e565b84611456565b6020601f821160018114611501575f83156114ea5750848201515b5f19600385901b1c1916600184901b17845561149a565b5f84815260208120601f198516915b828110156115305787850151825560209485019460019092019101611510565b508482101561154d57868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b634e487b7160e01b5f52601160045260245ffd5b808201808211156105535761055361155c565b80820281158282048414176105535761055361155c565b5f8084546115a78161141e565b6001821680156115be57600181146115d357611600565b60ff1983168652811515820286019350611600565b875f5260205f205f5b838110156115f8578154888201526001909101906020016115dc565b505081860193505b50505083518060208601835e64173539b7b760d91b9101908152600501949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190525f9061165790830184611180565b9695505050505050565b5f60208284031215611671575f80fd5b8151610d698161115056fea2646970667358221220526c4e9f2f903b375df95b9675fc1583011e1cac602fb60189baa2e5c1d970b464736f6c634300081a003300000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000043697066733a2f2f6261667962656964696f78336869657a7771763261773678347267736a72326f7470323673726f756536677037686b6261617a693536337a6c756d2f0000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106101c5575f3560e01c8063715018a6116100f2578063b88d4fde11610092578063e985e9c511610062578063e985e9c514610496578063f2fde38b146104b5578063f4a0a528146104d4578063f968adbe146104f3575f80fd5b8063b88d4fde14610430578063c6f6f21614610443578063c87b56dd14610462578063d5abeb0114610481575f80fd5b806395d89b41116100cd57806395d89b41146103cb57806397dc4a13146103df578063a0712d68146103fe578063a22cb46514610411575f80fd5b8063715018a6146103865780637d8966e41461039a5780638da5cb5b146103ae575f80fd5b806342842e0e116101685780636ad1fe02116101385780636ad1fe021461031b5780636c0360eb146103345780636f8b44b01461034857806370a0823114610367575f80fd5b806342842e0e146102b557806355f804b3146102c85780636352211e146102e75780636817c76c14610306575f80fd5b8063095ea7b3116101a3578063095ea7b31461025557806318160ddd1461026a57806323b872dd1461028e5780633ccfd60b146102a1575f80fd5b806301ffc9a7146101c957806306fdde03146101fd578063081812fc1461021e575b5f80fd5b3480156101d4575f80fd5b506101e86101e3366004611165565b610508565b60405190151581526020015b60405180910390f35b348015610208575f80fd5b50610211610559565b6040516101f491906111ae565b348015610229575f80fd5b5061023d6102383660046111c0565b6105e9565b6040516001600160a01b0390911681526020016101f4565b6102686102633660046111f2565b61062b565b005b348015610275575f80fd5b506001545f54035f19015b6040519081526020016101f4565b61026861029c36600461121a565b6106c9565b3480156102ac575f80fd5b50610268610858565b6102686102c336600461121a565b6108ef565b3480156102d3575f80fd5b506102686102e23660046112df565b61090e565b3480156102f2575f80fd5b5061023d6103013660046111c0565b610926565b348015610311575f80fd5b50610280600b5481565b348015610326575f80fd5b50600c546101e89060ff1681565b34801561033f575f80fd5b50610211610930565b348015610353575f80fd5b506102686103623660046111c0565b6109bc565b348015610372575f80fd5b50610280610381366004611324565b6109c9565b348015610391575f80fd5b50610268610a16565b3480156103a5575f80fd5b50610268610a29565b3480156103b9575f80fd5b506008546001600160a01b031661023d565b3480156103d6575f80fd5b50610211610a45565b3480156103ea575f80fd5b506102686103f93660046111c0565b610a54565b61026861040c3660046111c0565b610a66565b34801561041c575f80fd5b5061026861042b36600461133d565b610b12565b61026861043e366004611376565b610b7d565b34801561044e575f80fd5b5061026861045d3660046111c0565b610bc7565b34801561046d575f80fd5b5061021161047c3660046111c0565b610bd4565b34801561048c575f80fd5b5061028060095481565b3480156104a1575f80fd5b506101e86104b03660046113ed565b610c75565b3480156104c0575f80fd5b506102686104cf366004611324565b610ca2565b3480156104df575f80fd5b506102686104ee3660046111c0565b610cdc565b3480156104fe575f80fd5b50610280600a5481565b5f6301ffc9a760e01b6001600160e01b03198316148061053857506380ac58cd60e01b6001600160e01b03198316145b806105535750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546105689061141e565b80601f01602080910402602001604051908101604052809291908181526020018280546105949061141e565b80156105df5780601f106105b6576101008083540402835291602001916105df565b820191905f5260205f20905b8154815290600101906020018083116105c257829003601f168201915b5050505050905090565b5f6105f382610ce9565b610610576040516333d1c03960e21b815260040160405180910390fd5b505f908152600660205260409020546001600160a01b031690565b5f61063582610926565b9050336001600160a01b0382161461066e576106518133610c75565b61066e576040516367d9dca160e11b815260040160405180910390fd5b5f8281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b5f6106d382610d1b565b9050836001600160a01b0316816001600160a01b0316146107065760405162a1148160e81b815260040160405180910390fd5b5f8281526006602052604090208054338082146001600160a01b03881690911417610752576107358633610c75565b61075257604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661077957604051633a954ecd60e21b815260040160405180910390fd5b8015610783575f82555b6001600160a01b038681165f9081526005602052604080822080545f19019055918716808252919020805460010190554260a01b17600160e11b175f85815260046020526040812091909155600160e11b8416900361080f57600184015f81815260046020526040812054900361080d575f54811461080d575f8181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b610860610d8b565b6040515f90339047908381818185875af1925050503d805f811461089f576040519150601f19603f3d011682016040523d82523d5f602084013e6108a4565b606091505b50509050806108ec5760405162461bcd60e51b815260206004820152600f60248201526e151c985b9cd9995c8819985a5b1959608a1b60448201526064015b60405180910390fd5b50565b61090983838360405180602001604052805f815250610b7d565b505050565b610916610d8b565b600d61092282826114a1565b5050565b5f61055382610d1b565b600d805461093d9061141e565b80601f01602080910402602001604051908101604052809291908181526020018280546109699061141e565b80156109b45780601f1061098b576101008083540402835291602001916109b4565b820191905f5260205f20905b81548152906001019060200180831161099757829003601f168201915b505050505081565b6109c4610d8b565b600955565b5f6001600160a01b0382166109f1576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03165f9081526005602052604090205467ffffffffffffffff1690565b610a1e610d8b565b610a275f610db8565b565b610a31610d8b565b600c805460ff19811660ff90911615179055565b6060600380546105689061141e565b610a5c610d8b565b6108ec3382610e09565b600c5460ff16610a89576040516308a98cbd60e41b815260040160405180910390fd5b60095481610a985f545f190190565b610aa29190611570565b1115610ac15760405163d05cb60960e01b815260040160405180910390fd5b80600b54610acf9190611583565b341015610aef57604051632c1d501360e11b815260040160405180910390fd5b600a54811115610a5c576040516384eef40b60e01b815260040160405180910390fd5b335f8181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610b888484846106c9565b6001600160a01b0383163b15610bc157610ba484848484610f01565b610bc1576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b610bcf610d8b565b600a55565b6060610bdf82610ce9565b610c435760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016108e3565b600d610c4e83610fe9565b604051602001610c5f92919061159a565b6040516020818303038152906040529050919050565b6001600160a01b039182165f90815260076020908152604080832093909416825291909152205460ff1690565b610caa610d8b565b6001600160a01b038116610cd357604051631e4fbdf760e01b81525f60048201526024016108e3565b6108ec81610db8565b610ce4610d8b565b600b55565b5f81600111158015610cfb57505f5482105b80156105535750505f90815260046020526040902054600160e01b161590565b5f8180600111610d72575f54811015610d72575f8181526004602052604081205490600160e01b82169003610d70575b805f03610d6957505f19015f81815260046020526040902054610d4b565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b6008546001600160a01b03163314610a275760405163118cdaa760e01b81523360048201526024016108e3565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b5f805490829003610e2d5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b0383165f8181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114610ed95780835f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a4600101610ea3565b50815f03610ef957604051622e076360e81b815260040160405180910390fd5b5f5550505050565b604051630a85bd0160e11b81525f906001600160a01b0385169063150b7a0290610f35903390899088908890600401611625565b6020604051808303815f875af1925050508015610f6f575060408051601f3d908101601f19168201909252610f6c91810190611661565b60015b610fcb573d808015610f9c576040519150601f19603f3d011682016040523d82523d5f602084013e610fa1565b606091505b5080515f03610fc3576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60605f610ff583611079565b60010190505f8167ffffffffffffffff81111561101457611014611254565b6040519080825280601f01601f19166020018201604052801561103e576020820181803683370190505b5090508181016020015b5f19016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461104857509392505050565b5f8072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106110b75772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef810000000083106110e3576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061110157662386f26fc10000830492506010015b6305f5e1008310611119576305f5e100830492506008015b612710831061112d57612710830492506004015b6064831061113f576064830492506002015b600a83106105535760010192915050565b6001600160e01b0319811681146108ec575f80fd5b5f60208284031215611175575f80fd5b8135610d6981611150565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f610d696020830184611180565b5f602082840312156111d0575f80fd5b5035919050565b80356001600160a01b03811681146111ed575f80fd5b919050565b5f8060408385031215611203575f80fd5b61120c836111d7565b946020939093013593505050565b5f805f6060848603121561122c575f80fd5b611235846111d7565b9250611243602085016111d7565b929592945050506040919091013590565b634e487b7160e01b5f52604160045260245ffd5b5f8067ffffffffffffffff84111561128257611282611254565b50604051601f19601f85018116603f0116810181811067ffffffffffffffff821117156112b1576112b1611254565b6040528381529050808284018510156112c8575f80fd5b838360208301375f60208583010152509392505050565b5f602082840312156112ef575f80fd5b813567ffffffffffffffff811115611305575f80fd5b8201601f81018413611315575f80fd5b610fe184823560208401611268565b5f60208284031215611334575f80fd5b610d69826111d7565b5f806040838503121561134e575f80fd5b611357836111d7565b91506020830135801515811461136b575f80fd5b809150509250929050565b5f805f8060808587031215611389575f80fd5b611392856111d7565b93506113a0602086016111d7565b925060408501359150606085013567ffffffffffffffff8111156113c2575f80fd5b8501601f810187136113d2575f80fd5b6113e187823560208401611268565b91505092959194509250565b5f80604083850312156113fe575f80fd5b611407836111d7565b9150611415602084016111d7565b90509250929050565b600181811c9082168061143257607f821691505b60208210810361145057634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111561090957805f5260205f20601f840160051c8101602085101561147b5750805b601f840160051c820191505b8181101561149a575f8155600101611487565b5050505050565b815167ffffffffffffffff8111156114bb576114bb611254565b6114cf816114c9845461141e565b84611456565b6020601f821160018114611501575f83156114ea5750848201515b5f19600385901b1c1916600184901b17845561149a565b5f84815260208120601f198516915b828110156115305787850151825560209485019460019092019101611510565b508482101561154d57868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b634e487b7160e01b5f52601160045260245ffd5b808201808211156105535761055361155c565b80820281158282048414176105535761055361155c565b5f8084546115a78161141e565b6001821680156115be57600181146115d357611600565b60ff1983168652811515820286019350611600565b875f5260205f205f5b838110156115f8578154888201526001909101906020016115dc565b505081860193505b50505083518060208601835e64173539b7b760d91b9101908152600501949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190525f9061165790830184611180565b9695505050505050565b5f60208284031215611671575f80fd5b8151610d698161115056fea2646970667358221220526c4e9f2f903b375df95b9675fc1583011e1cac602fb60189baa2e5c1d970b464736f6c634300081a0033

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

00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000043697066733a2f2f6261667962656964696f78336869657a7771763261773678347267736a72326f7470323673726f756536677037686b6261617a693536337a6c756d2f0000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : __baseURI (string): ipfs://bafybeidiox3hiezwqv2aw6x4rgsjr2otp26sroue6gp7hkbaazi563zlum/

-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000043
Arg [2] : 697066733a2f2f6261667962656964696f78336869657a777176326177367834
Arg [3] : 7267736a72326f7470323673726f756536677037686b6261617a693536337a6c
Arg [4] : 756d2f0000000000000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

76511:2279:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19149:639;;;;;;;;;;-1:-1:-1;19149:639:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;19149:639:0;;;;;;;;20051:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;26542:218::-;;;;;;;;;;-1:-1:-1;26542:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1506:32:1;;;1488:51;;1476:2;1461:18;26542:218:0;1342:203:1;25975:408:0;;;;;;:::i;:::-;;:::i;:::-;;15802:323;;;;;;;;;;-1:-1:-1;78086:1:0;16076:12;15863:7;16060:13;:28;-1:-1:-1;;16060:46:0;15802:323;;;2179:25:1;;;2167:2;2152:18;15802:323:0;2033:177:1;30181:2825:0;;;;;;:::i;:::-;;:::i;78615:172::-;;;;;;;;;;;;;:::i;33102:193::-;;;;;;:::i;:::-;;:::i;77768:102::-;;;;;;;;;;-1:-1:-1;77768:102:0;;;;;:::i;:::-;;:::i;21444:152::-;;;;;;;;;;-1:-1:-1;21444:152:0;;;;;:::i;:::-;;:::i;76676:34::-;;;;;;;;;;;;;;;;76717:16;;;;;;;;;;-1:-1:-1;76717:16:0;;;;;;;;76742:21;;;;;;;;;;;;;:::i;78289:102::-;;;;;;;;;;-1:-1:-1;78289:102:0;;;;;:::i;:::-;;:::i;16986:233::-;;;;;;;;;;-1:-1:-1;16986:233:0;;;;;:::i;:::-;;:::i;55541:103::-;;;;;;;;;;;;;:::i;78103:72::-;;;;;;;;;;;;;:::i;54866:87::-;;;;;;;;;;-1:-1:-1;54939:6:0;;-1:-1:-1;;;;;54939:6:0;54866:87;;20227:104;;;;;;;;;;;;;:::i;78183:98::-;;;;;;;;;;-1:-1:-1;78183:98:0;;;;;:::i;:::-;;:::i;77015:342::-;;;;;;:::i;:::-;;:::i;27100:234::-;;;;;;;;;;-1:-1:-1;27100:234:0;;;;;:::i;:::-;;:::i;33893:407::-;;;;;;:::i;:::-;;:::i;78509:98::-;;;;;;;;;;-1:-1:-1;78509:98:0;;;;;:::i;:::-;;:::i;77365:395::-;;;;;;;;;;-1:-1:-1;77365:395:0;;;;;:::i;:::-;;:::i;76602:31::-;;;;;;;;;;;;;;;;27491:164;;;;;;;;;;-1:-1:-1;27491:164:0;;;;;:::i;:::-;;:::i;55799:220::-;;;;;;;;;;-1:-1:-1;55799:220:0;;;;;:::i;:::-;;:::i;78399:102::-;;;;;;;;;;-1:-1:-1;78399:102:0;;;;;:::i;:::-;;:::i;76640:29::-;;;;;;;;;;;;;;;;19149:639;19234:4;-1:-1:-1;;;;;;;;;19558:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;19635:25:0;;;19558:102;:179;;;-1:-1:-1;;;;;;;;;;19712:25:0;;;19558:179;19538:199;19149:639;-1:-1:-1;;19149:639:0:o;20051:100::-;20105:13;20138:5;20131:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20051:100;:::o;26542:218::-;26618:7;26643:16;26651:7;26643;:16::i;:::-;26638:64;;26668:34;;-1:-1:-1;;;26668:34:0;;;;;;;;;;;26638:64;-1:-1:-1;26722:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;26722:30:0;;26542:218::o;25975:408::-;26064:13;26080:16;26088:7;26080;:16::i;:::-;26064:32;-1:-1:-1;50308:10:0;-1:-1:-1;;;;;26113:28:0;;;26109:175;;26161:44;26178:5;50308:10;27491:164;:::i;26161:44::-;26156:128;;26233:35;;-1:-1:-1;;;26233:35:0;;;;;;;;;;;26156:128;26296:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;26296:35:0;-1:-1:-1;;;;;26296:35:0;;;;;;;;;26347:28;;26296:24;;26347:28;;;;;;;26053:330;25975:408;;:::o;30181:2825::-;30323:27;30353;30372:7;30353:18;:27::i;:::-;30323:57;;30438:4;-1:-1:-1;;;;;30397:45:0;30413:19;-1:-1:-1;;;;;30397:45:0;;30393:86;;30451:28;;-1:-1:-1;;;30451:28:0;;;;;;;;;;;30393:86;30493:27;29289:24;;;:15;:24;;;;;29517:26;;50308:10;28914:30;;;-1:-1:-1;;;;;28607:28:0;;28892:20;;;28889:56;30679:180;;30772:43;30789:4;50308:10;27491:164;:::i;30772:43::-;30767:92;;30824:35;;-1:-1:-1;;;30824:35:0;;;;;;;;;;;30767:92;-1:-1:-1;;;;;30876:16:0;;30872:52;;30901:23;;-1:-1:-1;;;30901:23:0;;;;;;;;;;;30872:52;31073:15;31070:160;;;31213:1;31192:19;31185:30;31070:160;-1:-1:-1;;;;;31610:24:0;;;;;;;:18;:24;;;;;;31608:26;;-1:-1:-1;;31608:26:0;;;31679:22;;;;;;;;;31677:24;;-1:-1:-1;31677:24:0;;;24833:11;24808:23;24804:41;24791:63;-1:-1:-1;;;24791:63:0;31972:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;32267:47:0;;:52;;32263:627;;32372:1;32362:11;;32340:19;32495:30;;;:17;:30;;;;;;:35;;32491:384;;32633:13;;32618:11;:28;32614:242;;32780:30;;;;:17;:30;;;;;:52;;;32614:242;32321:569;32263:627;32937:7;32933:2;-1:-1:-1;;;;;32918:27:0;32927:4;-1:-1:-1;;;;;32918:27:0;;;;;;;;;;;30312:2694;;;30181:2825;;;:::o;78615:172::-;54752:13;:11;:13::i;:::-;78684:49:::1;::::0;78666:12:::1;::::0;78684:10:::1;::::0;78707:21:::1;::::0;78666:12;78684:49;78666:12;78684:49;78707:21;78684:10;:49:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;78665:68;;;78752:7;78744:35;;;::::0;-1:-1:-1;;;78744:35:0;;6226:2:1;78744:35:0::1;::::0;::::1;6208:21:1::0;6265:2;6245:18;;;6238:30;-1:-1:-1;;;6284:18:1;;;6277:45;6339:18;;78744:35:0::1;;;;;;;;;78654:133;78615:172::o:0;33102:193::-;33248:39;33265:4;33271:2;33275:7;33248:39;;;;;;;;;;;;:16;:39::i;:::-;33102:193;;;:::o;77768:102::-;54752:13;:11;:13::i;:::-;77843:7:::1;:19;77853:9:::0;77843:7;:19:::1;:::i;:::-;;77768:102:::0;:::o;21444:152::-;21516:7;21559:27;21578:7;21559:18;:27::i;76742:21::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;78289:102::-;54752:13;:11;:13::i;:::-;78361:9:::1;:22:::0;78289:102::o;16986:233::-;17058:7;-1:-1:-1;;;;;17082:19:0;;17078:60;;17110:28;;-1:-1:-1;;;17110:28:0;;;;;;;;;;;17078:60;-1:-1:-1;;;;;;17156:25:0;;;;;:18;:25;;;;;;11145:13;17156:55;;16986:233::o;55541:103::-;54752:13;:11;:13::i;:::-;55606:30:::1;55633:1;55606:18;:30::i;:::-;55541:103::o:0;78103:72::-;54752:13;:11;:13::i;:::-;78163:4:::1;::::0;;-1:-1:-1;;78155:12:0;::::1;78163:4;::::0;;::::1;78162:5;78155:12;::::0;;78103:72::o;20227:104::-;20283:13;20316:7;20309:14;;;;;:::i;78183:98::-;54752:13;:11;:13::i;:::-;78247:26:::1;78253:10;78265:7;78247:5;:26::i;77015:342::-:0;77079:4;;;;77074:30;;77092:12;;-1:-1:-1;;;77092:12:0;;;;;;;;;;;77074:30;77146:9;;77136:7;77119:14;16278:7;16469:13;-1:-1:-1;;16469:31:0;;16223:296;77119:14;:24;;;;:::i;:::-;:36;77115:67;;;77164:18;;-1:-1:-1;;;77164:18:0;;;;;;;;;;;77115:67;77221:7;77209:9;;:19;;;;:::i;:::-;77197:9;:31;77193:58;;;77237:14;;-1:-1:-1;;;77237:14:0;;;;;;;;;;;77193:58;77276:8;;77266:7;:18;77262:48;;;77293:17;;-1:-1:-1;;;77293:17:0;;;;;;;;;;;27100:234;50308:10;27195:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;27195:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;27195:60:0;;;;;;;;;;27271:55;;540:41:1;;;27195:49:0;;50308:10;27271:55;;513:18:1;27271:55:0;;;;;;;27100:234;;:::o;33893:407::-;34068:31;34081:4;34087:2;34091:7;34068:12;:31::i;:::-;-1:-1:-1;;;;;34114:14:0;;;:19;34110:183;;34153:56;34184:4;34190:2;34194:7;34203:5;34153:30;:56::i;:::-;34148:145;;34237:40;;-1:-1:-1;;;34237:40:0;;;;;;;;;;;34148:145;33893:407;;;;:::o;78509:98::-;54752:13;:11;:13::i;:::-;78579:8:::1;:20:::0;78509:98::o;77365:395::-;77483:13;77536:16;77544:7;77536;:16::i;:::-;77514:113;;;;-1:-1:-1;;;77514:113:0;;9129:2:1;77514:113:0;;;9111:21:1;9168:2;9148:18;;;9141:30;9207:34;9187:18;;;9180:62;-1:-1:-1;;;9258:18:1;;;9251:45;9313:19;;77514:113:0;8927:411:1;77514:113:0;77700:7;77709:18;:7;:16;:18::i;:::-;77683:54;;;;;;;;;:::i;:::-;;;;;;;;;;;;;77638:114;;77365:395;;;:::o;27491:164::-;-1:-1:-1;;;;;27612:25:0;;;27588:4;27612:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;27491:164::o;55799:220::-;54752:13;:11;:13::i;:::-;-1:-1:-1;;;;;55884:22:0;::::1;55880:93;;55930:31;::::0;-1:-1:-1;;;55930:31:0;;55958:1:::1;55930:31;::::0;::::1;1488:51:1::0;1461:18;;55930:31:0::1;1342:203:1::0;55880:93:0::1;55983:28;56002:8;55983:18;:28::i;78399:102::-:0;54752:13;:11;:13::i;:::-;78471:9:::1;:22:::0;78399:102::o;27913:282::-;27978:4;28034:7;78086:1;28015:26;;:66;;;;;28068:13;;28058:7;:23;28015:66;:153;;;;-1:-1:-1;;28119:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;28119:44:0;:49;;27913:282::o;22599:1275::-;22666:7;22701;;78086:1;22750:23;22746:1061;;22803:13;;22796:4;:20;22792:1015;;;22841:14;22858:23;;;:17;:23;;;;;;;-1:-1:-1;;;22947:24:0;;:29;;22943:845;;23612:113;23619:6;23629:1;23619:11;23612:113;;-1:-1:-1;;;23690:6:0;23672:25;;;;:17;:25;;;;;;23612:113;;;23758:6;22599:1275;-1:-1:-1;;;22599:1275:0:o;22943:845::-;22818:989;22792:1015;23835:31;;-1:-1:-1;;;23835:31:0;;;;;;;;;;;55031:166;54939:6;;-1:-1:-1;;;;;54939:6:0;50308:10;55091:23;55087:103;;55138:40;;-1:-1:-1;;;55138:40:0;;50308:10;55138:40;;;1488:51:1;1461:18;;55138:40:0;1342:203:1;56179:191:0;56272:6;;;-1:-1:-1;;;;;56289:17:0;;;-1:-1:-1;;;;;;56289:17:0;;;;;;;56322:40;;56272:6;;;56289:17;56272:6;;56322:40;;56253:16;;56322:40;56242:128;56179:191;:::o;37562:2966::-;37635:20;37658:13;;;37686;;;37682:44;;37708:18;;-1:-1:-1;;;37708:18:0;;;;;;;;;;;37682:44;-1:-1:-1;;;;;38214:22:0;;;;;;:18;:22;;;;11283:2;38214:22;;;:71;;38252:32;38240:45;;38214:71;;;38528:31;;;:17;:31;;;;;-1:-1:-1;25264:15:0;;25238:24;25234:46;24833:11;24808:23;24804:41;24801:52;24791:63;;38528:173;;38763:23;;;;38528:31;;38214:22;;39528:25;38214:22;;39381:335;40042:1;40028:12;40024:20;39982:346;40083:3;40074:7;40071:16;39982:346;;40301:7;40291:8;40288:1;40261:25;40258:1;40255;40250:59;40136:1;40123:15;39982:346;;;39986:77;40361:8;40373:1;40361:13;40357:45;;40383:19;;-1:-1:-1;;;40383:19:0;;;;;;;;;;;40357:45;40419:13;:19;-1:-1:-1;33102:193:0;;;:::o;36384:716::-;36568:88;;-1:-1:-1;;;36568:88:0;;36547:4;;-1:-1:-1;;;;;36568:45:0;;;;;:88;;50308:10;;36635:4;;36641:7;;36650:5;;36568:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36568:88:0;;;;;;;;-1:-1:-1;;36568:88:0;;;;;;;;;;;;:::i;:::-;;;36564:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36851:6;:13;36868:1;36851:18;36847:235;;36897:40;;-1:-1:-1;;;36897:40:0;;;;;;;;;;;36847:235;37040:6;37034:13;37025:6;37021:2;37017:15;37010:38;36564:529;-1:-1:-1;;;;;;36727:64:0;-1:-1:-1;;;36727:64:0;;-1:-1:-1;36564:529:0;36384:716;;;;;;:::o;73872:718::-;73928:13;73979:14;73996:17;74007:5;73996:10;:17::i;:::-;74016:1;73996:21;73979:38;;74032:20;74066:6;74055:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;74055:18:0;-1:-1:-1;74032:41:0;-1:-1:-1;74197:28:0;;;74213:2;74197:28;74254:290;-1:-1:-1;;74286:5:0;-1:-1:-1;;;74423:2:0;74412:14;;74407:32;74286:5;74394:46;74486:2;74477:11;;;-1:-1:-1;74507:21:0;74254:290;74507:21;-1:-1:-1;74565:6:0;73872:718;-1:-1:-1;;;73872:718:0:o;68936:948::-;68989:7;;-1:-1:-1;;;69067:17:0;;69063:106;;-1:-1:-1;;;69105:17:0;;;-1:-1:-1;69151:2:0;69141:12;69063:106;69196:8;69187:5;:17;69183:106;;69234:8;69225:17;;;-1:-1:-1;69271:2:0;69261:12;69183:106;69316:8;69307:5;:17;69303:106;;69354:8;69345:17;;;-1:-1:-1;69391:2:0;69381:12;69303:106;69436:7;69427:5;:16;69423:103;;69473:7;69464:16;;;-1:-1:-1;69509:1:0;69499:11;69423:103;69553:7;69544:5;:16;69540:103;;69590:7;69581:16;;;-1:-1:-1;69626:1:0;69616:11;69540:103;69670:7;69661:5;:16;69657:103;;69707:7;69698:16;;;-1:-1:-1;69743:1:0;69733:11;69657:103;69787:7;69778:5;:16;69774:68;;69825:1;69815:11;69870:6;68936:948;-1:-1:-1;;68936:948: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:289::-;634:3;672:5;666:12;699:6;694:3;687:19;755:6;748:4;741:5;737:16;730:4;725:3;721:14;715:47;807:1;800:4;791:6;786:3;782:16;778:27;771:38;870:4;863:2;859:7;854:2;846:6;842:15;838:29;833:3;829:39;825:50;818:57;;;592:289;;;;:::o;886:220::-;1035:2;1024:9;1017:21;998:4;1055:45;1096:2;1085:9;1081:18;1073:6;1055:45;:::i;1111:226::-;1170:6;1223:2;1211:9;1202:7;1198:23;1194:32;1191:52;;;1239:1;1236;1229:12;1191:52;-1:-1:-1;1284:23:1;;1111:226;-1:-1:-1;1111:226:1:o;1550:173::-;1618:20;;-1:-1:-1;;;;;1667:31:1;;1657:42;;1647:70;;1713:1;1710;1703:12;1647:70;1550:173;;;:::o;1728:300::-;1796:6;1804;1857:2;1845:9;1836:7;1832:23;1828:32;1825:52;;;1873:1;1870;1863:12;1825:52;1896:29;1915:9;1896:29;:::i;:::-;1886:39;1994:2;1979:18;;;;1966:32;;-1:-1:-1;;;1728:300:1:o;2215:374::-;2292:6;2300;2308;2361:2;2349:9;2340:7;2336:23;2332:32;2329:52;;;2377:1;2374;2367:12;2329:52;2400:29;2419:9;2400:29;:::i;:::-;2390:39;;2448:38;2482:2;2471:9;2467:18;2448:38;:::i;:::-;2215:374;;2438:48;;-1:-1:-1;;;2555:2:1;2540:18;;;;2527:32;;2215:374::o;2594:127::-;2655:10;2650:3;2646:20;2643:1;2636:31;2686:4;2683:1;2676:15;2710:4;2707:1;2700:15;2726:716;2791:5;2823:1;2847:18;2839:6;2836:30;2833:56;;;2869:18;;:::i;:::-;-1:-1:-1;3024:2:1;3018:9;-1:-1:-1;;2937:2:1;2916:15;;2912:29;;3082:2;3070:15;3066:29;3054:42;;3147:22;;;3126:18;3111:34;;3108:62;3105:88;;;3173:18;;:::i;:::-;3209:2;3202:22;3257;;;3242:6;-1:-1:-1;3242:6:1;3294:16;;;3291:25;-1:-1:-1;3288:45:1;;;3329:1;3326;3319:12;3288:45;3379:6;3374:3;3367:4;3359:6;3355:17;3342:44;3434:1;3427:4;3418:6;3410;3406:19;3402:30;3395:41;;2726:716;;;;;:::o;3447:451::-;3516:6;3569:2;3557:9;3548:7;3544:23;3540:32;3537:52;;;3585:1;3582;3575:12;3537:52;3625:9;3612:23;3658:18;3650:6;3647:30;3644:50;;;3690:1;3687;3680:12;3644:50;3713:22;;3766:4;3758:13;;3754:27;-1:-1:-1;3744:55:1;;3795:1;3792;3785:12;3744:55;3818:74;3884:7;3879:2;3866:16;3861:2;3857;3853:11;3818:74;:::i;3903:186::-;3962:6;4015:2;4003:9;3994:7;3990:23;3986:32;3983:52;;;4031:1;4028;4021:12;3983:52;4054:29;4073:9;4054:29;:::i;4094:347::-;4159:6;4167;4220:2;4208:9;4199:7;4195:23;4191:32;4188:52;;;4236:1;4233;4226:12;4188:52;4259:29;4278:9;4259:29;:::i;:::-;4249:39;;4338:2;4327:9;4323:18;4310:32;4385:5;4378:13;4371:21;4364:5;4361:32;4351:60;;4407:1;4404;4397:12;4351:60;4430:5;4420:15;;;4094:347;;;;;:::o;4446:713::-;4541:6;4549;4557;4565;4618:3;4606:9;4597:7;4593:23;4589:33;4586:53;;;4635:1;4632;4625:12;4586:53;4658:29;4677:9;4658:29;:::i;:::-;4648:39;;4706:38;4740:2;4729:9;4725:18;4706:38;:::i;:::-;4696:48;-1:-1:-1;4813:2:1;4798:18;;4785:32;;-1:-1:-1;4892:2:1;4877:18;;4864:32;4919:18;4908:30;;4905:50;;;4951:1;4948;4941:12;4905:50;4974:22;;5027:4;5019:13;;5015:27;-1:-1:-1;5005:55:1;;5056:1;5053;5046:12;5005:55;5079:74;5145:7;5140:2;5127:16;5122:2;5118;5114:11;5079:74;:::i;:::-;5069:84;;;4446:713;;;;;;;:::o;5164:260::-;5232:6;5240;5293:2;5281:9;5272:7;5268:23;5264:32;5261:52;;;5309:1;5306;5299:12;5261:52;5332:29;5351:9;5332:29;:::i;:::-;5322:39;;5380:38;5414:2;5403:9;5399:18;5380:38;:::i;:::-;5370:48;;5164:260;;;;;:::o;5429:380::-;5508:1;5504:12;;;;5551;;;5572:61;;5626:4;5618:6;5614:17;5604:27;;5572:61;5679:2;5671:6;5668:14;5648:18;5645:38;5642:161;;5725:10;5720:3;5716:20;5713:1;5706:31;5760:4;5757:1;5750:15;5788:4;5785:1;5778:15;5642:161;;5429:380;;;:::o;6494:518::-;6596:2;6591:3;6588:11;6585:421;;;6632:5;6629:1;6622:16;6676:4;6673:1;6663:18;6746:2;6734:10;6730:19;6727:1;6723:27;6717:4;6713:38;6782:4;6770:10;6767:20;6764:47;;;-1:-1:-1;6805:4:1;6764:47;6860:2;6855:3;6851:12;6848:1;6844:20;6838:4;6834:31;6824:41;;6915:81;6933:2;6926:5;6923:13;6915:81;;;6992:1;6978:16;;6959:1;6948:13;6915:81;;;6919:3;;6494:518;;;:::o;7188:1299::-;7314:3;7308:10;7341:18;7333:6;7330:30;7327:56;;;7363:18;;:::i;:::-;7392:97;7482:6;7442:38;7474:4;7468:11;7442:38;:::i;:::-;7436:4;7392:97;:::i;:::-;7538:4;7569:2;7558:14;;7586:1;7581:649;;;;8274:1;8291:6;8288:89;;;-1:-1:-1;8343:19:1;;;8337:26;8288:89;-1:-1:-1;;7145:1:1;7141:11;;;7137:24;7133:29;7123:40;7169:1;7165:11;;;7120:57;8390:81;;7551:930;;7581:649;6441:1;6434:14;;;6478:4;6465:18;;-1:-1:-1;;7617:20:1;;;7735:222;7749:7;7746:1;7743:14;7735:222;;;7831:19;;;7825:26;7810:42;;7938:4;7923:20;;;;7891:1;7879:14;;;;7765:12;7735:222;;;7739:3;7985:6;7976:7;7973:19;7970:201;;;8046:19;;;8040:26;-1:-1:-1;;8129:1:1;8125:14;;;8141:3;8121:24;8117:37;8113:42;8098:58;8083:74;;7970:201;-1:-1:-1;;;;8217:1:1;8201:14;;;8197:22;8184:36;;-1:-1:-1;7188:1299:1:o;8492:127::-;8553:10;8548:3;8544:20;8541:1;8534:31;8584:4;8581:1;8574:15;8608:4;8605:1;8598:15;8624:125;8689:9;;;8710:10;;;8707:36;;;8723:18;;:::i;8754:168::-;8827:9;;;8858;;8875:15;;;8869:22;;8855:37;8845:71;;8896:18;;:::i;9343:1172::-;9620:3;9649:1;9682:6;9676:13;9712:36;9738:9;9712:36;:::i;:::-;9779:1;9764:17;;9790:133;;;;9937:1;9932:332;;;;9757:507;;9790:133;-1:-1:-1;;9823:24:1;;9811:37;;9896:14;;9889:22;9877:35;;9868:45;;;-1:-1:-1;9790:133:1;;9932:332;9963:6;9960:1;9953:17;10011:4;10008:1;9998:18;10038:1;10052:166;10066:6;10063:1;10060:13;10052:166;;;10146:14;;10133:11;;;10126:35;10202:1;10189:15;;;;10088:4;10081:12;10052:166;;;10056:3;;10247:6;10242:3;10238:16;10231:23;;9757:507;;;;10295:6;10289:13;10341:8;10334:4;10326:6;10322:17;10317:3;10311:39;-1:-1:-1;;;10369:18:1;;10441:19;;;10486:1;10478:10;;9343:1172;-1:-1:-1;;;;9343:1172:1:o;10520:485::-;-1:-1:-1;;;;;10751:32:1;;;10733:51;;10820:32;;10815:2;10800:18;;10793:60;10884:2;10869:18;;10862:34;;;10932:3;10927:2;10912:18;;10905:31;;;-1:-1:-1;;10953:46:1;;10979:19;;10971:6;10953:46;:::i;:::-;10945:54;10520:485;-1:-1:-1;;;;;;10520:485:1:o;11010:249::-;11079:6;11132:2;11120:9;11111:7;11107:23;11103:32;11100:52;;;11148:1;11145;11138:12;11100:52;11180:9;11174:16;11199:30;11223:5;11199:30;:::i

Swarm Source

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