ETH Price: $3,603.60 (+8.45%)

Token

Your Next PFP (YNPFP)
 

Overview

Max Total Supply

5,555 YNPFP

Holders

2,720

Total Transfers

-

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
YNPNFT

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-10-05
*/

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


// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

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


// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;


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

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

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

    /**
     * @dev 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 {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

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

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

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

// File: 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: contracts/YourNextPFP.sol



pragma solidity ^0.8.4;





contract YNPNFT is ERC721A, Ownable {

    uint256 public maxPerTx = 5;

    uint256 public maxPerWallet = 10;

    uint256 public maxFreePerWallet = 2;

    uint256 public teamSupply = 155;

    bool public saleStarted = false;

    uint256 public maxSupply = 5555;

    uint256 public price = 0.002 ether;

    string public uriSuffix = ".json";

    string public baseURI = "ipfs://bafybeifs65v3l5rlnv3epy3xuzogo5milxsnmcnolxoi47yvwb6wlnzj2a/";



    constructor(string memory _name, string memory _symbol) ERC721A(_name, _symbol) {}



    function numberMinted(address owner) public view returns (uint256) {

        return _numberMinted(owner);

    }



    function updatePrice(uint256 __price) public onlyOwner {

        price = __price;

    }



    function publicSale(uint256 amount) external payable {

        require(saleStarted, "Sale is not active.");

        require(amount <= maxPerTx, "Amount should not exceed max mint number!");

        require(totalSupply() + amount <= maxSupply, "Amount should not exceed max supply.");

        require(numberMinted(msg.sender) + amount <= maxPerWallet, "Amount should not exceed max per wallet.");



        uint256 count = amount;

        if (numberMinted(msg.sender) < maxFreePerWallet) {

            if (numberMinted(msg.sender) + amount <= maxFreePerWallet)

                count = 0;

            else count = numberMinted(msg.sender) + amount - maxFreePerWallet;

        }



        require(msg.value >= count * price, "Eth value is not enough");



        _safeMint(msg.sender, amount);

    }



    function mintForTeam(uint256 amount) external onlyOwner {

        require(teamSupply > 0,"Amount should not exceed mint limit");

        require(amount <= teamSupply,"Amount should not exceed mint limit");

        require(totalSupply() + amount <= maxSupply, "Amount should not exceed max supply.");

        teamSupply -= amount;

        _safeMint(msg.sender, amount);

    }



    function _baseURI() internal view override returns (string memory) {

        return baseURI;

    }



    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {

        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

        

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

    }



    function toggleSale() external onlyOwner {

        saleStarted = !saleStarted;

    }



    function setBaseURI(string calldata newBaseURI) external onlyOwner {

        baseURI = newBaseURI;

    }



    function setMaxSupply(uint256 amount) external onlyOwner {

        maxSupply = amount;

    }



    function setMaxFreePerWallet(uint256 amount) external onlyOwner {

        maxFreePerWallet = amount;

    }



    function withdraw() external onlyOwner {

        (bool success, ) = msg.sender.call{value: address(this).balance}("");

        require(success, "Failed to send Ether");

    }

}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"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":"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":"maxFreePerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerWallet","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":"mintForTeam","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"numberMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"publicSale","outputs":[],"stateMutability":"payable","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":"saleStarted","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":"newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setMaxFreePerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setMaxSupply","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":"teamSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[{"internalType":"uint256","name":"__price","type":"uint256"}],"name":"updatePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uriSuffix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60056009819055600a80556002600b55609b600c55600d805460ff191690556115b3600e5566071afd498d0000600f5560c0604052608081905264173539b7b760d91b60a090815262000056916010919062000153565b5060405180608001604052806043815260200162001de9604391398051620000879160119160209091019062000153565b503480156200009557600080fd5b5060405162001e2c38038062001e2c833981016040819052620000b891620002b0565b815182908290620000d190600290602085019062000153565b508051620000e790600390602084019062000153565b50506000805550620000f93362000101565b50506200036d565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b82805462000161906200031a565b90600052602060002090601f016020900481019282620001855760008555620001d0565b82601f10620001a057805160ff1916838001178555620001d0565b82800160010185558215620001d0579182015b82811115620001d0578251825591602001919060010190620001b3565b50620001de929150620001e2565b5090565b5b80821115620001de5760008155600101620001e3565b600082601f8301126200020b57600080fd5b81516001600160401b038082111562000228576200022862000357565b604051601f8301601f19908116603f0116810190828211818310171562000253576200025362000357565b816040528381526020925086838588010111156200027057600080fd5b600091505b8382101562000294578582018301518183018401529082019062000275565b83821115620002a65760008385830101525b9695505050505050565b60008060408385031215620002c457600080fd5b82516001600160401b0380821115620002dc57600080fd5b620002ea86838701620001f9565b935060208501519150808211156200030157600080fd5b506200031085828601620001f9565b9150509250929050565b600181811c908216806200032f57607f821691505b602082108114156200035157634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b611a6c806200037d6000396000f3fe6080604052600436106102045760003560e01c80636f8b44b011610118578063a7027357116100a0578063d5abeb011161006f578063d5abeb011461054a578063dc33e68114610560578063e985e9c514610580578063f2fde38b146105c9578063f968adbe146105e957600080fd5b8063a7027357146104ee578063b287c8ed14610504578063b88d4fde14610517578063c87b56dd1461052a57600080fd5b80638d6cc56d116100e75780638d6cc56d146104655780638da5cb5b1461048557806395d89b41146104a3578063a035b1fe146104b8578063a22cb465146104ce57600080fd5b80636f8b44b0146103fb57806370a082311461041b578063715018a61461043b5780637d8966e41461045057600080fd5b806342842e0e1161019b5780635a4d448a1161016a5780635a4d448a1461036c5780635c474f9e1461038c5780636352211e146103a65780636c0360eb146103c65780636d7c4a4b146103db57600080fd5b806342842e0e1461030e578063453c2310146103215780635503a0e81461033757806355f804b31461034c57600080fd5b806318160ddd116101d757806318160ddd146102ad57806323b872dd146102d05780632cfac6ec146102e35780633ccfd60b146102f957600080fd5b806301ffc9a71461020957806306fdde031461023e578063081812fc14610260578063095ea7b314610298575b600080fd5b34801561021557600080fd5b506102296102243660046116aa565b6105ff565b60405190151581526020015b60405180910390f35b34801561024a57600080fd5b50610253610651565b60405161023591906118a5565b34801561026c57600080fd5b5061028061027b366004611756565b6106e3565b6040516001600160a01b039091168152602001610235565b6102ab6102a6366004611680565b610727565b005b3480156102b957600080fd5b50600154600054035b604051908152602001610235565b6102ab6102de36600461152c565b6107c7565b3480156102ef57600080fd5b506102c2600c5481565b34801561030557600080fd5b506102ab610958565b6102ab61031c36600461152c565b6109f7565b34801561032d57600080fd5b506102c2600a5481565b34801561034357600080fd5b50610253610a17565b34801561035857600080fd5b506102ab6103673660046116e4565b610aa5565b34801561037857600080fd5b506102ab610387366004611756565b610ab9565b34801561039857600080fd5b50600d546102299060ff1681565b3480156103b257600080fd5b506102806103c1366004611756565b610b60565b3480156103d257600080fd5b50610253610b6b565b3480156103e757600080fd5b506102ab6103f6366004611756565b610b78565b34801561040757600080fd5b506102ab610416366004611756565b610b85565b34801561042757600080fd5b506102c26104363660046114de565b610b92565b34801561044757600080fd5b506102ab610be1565b34801561045c57600080fd5b506102ab610bf5565b34801561047157600080fd5b506102ab610480366004611756565b610c11565b34801561049157600080fd5b506008546001600160a01b0316610280565b3480156104af57600080fd5b50610253610c1e565b3480156104c457600080fd5b506102c2600f5481565b3480156104da57600080fd5b506102ab6104e9366004611644565b610c2d565b3480156104fa57600080fd5b506102c2600b5481565b6102ab610512366004611756565b610c99565b6102ab610525366004611568565b610eba565b34801561053657600080fd5b50610253610545366004611756565b610f04565b34801561055657600080fd5b506102c2600e5481565b34801561056c57600080fd5b506102c261057b3660046114de565b610f8a565b34801561058c57600080fd5b5061022961059b3660046114f9565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156105d557600080fd5b506102ab6105e43660046114de565b610fb5565b3480156105f557600080fd5b506102c260095481565b60006301ffc9a760e01b6001600160e01b03198316148061063057506380ac58cd60e01b6001600160e01b03198316145b8061064b5750635b5e139f60e01b6001600160e01b03198316145b92915050565b606060028054610660906119b9565b80601f016020809104026020016040519081016040528092919081815260200182805461068c906119b9565b80156106d95780601f106106ae576101008083540402835291602001916106d9565b820191906000526020600020905b8154815290600101906020018083116106bc57829003601f168201915b5050505050905090565b60006106ee8261102b565b61070b576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061073282610b60565b9050336001600160a01b0382161461076b5761074e813361059b565b61076b576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006107d282611052565b9050836001600160a01b0316816001600160a01b0316146108055760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b0388169091141761085257610835863361059b565b61085257604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661087957604051633a954ecd60e21b815260040160405180910390fd5b801561088457600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b831661090f576001840160008181526004602052604090205461090d57600054811461090d5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b6109606110ba565b604051600090339047908381818185875af1925050503d80600081146109a2576040519150601f19603f3d011682016040523d82523d6000602084013e6109a7565b606091505b50509050806109f45760405162461bcd60e51b81526020600482015260146024820152732330b4b632b2103a379039b2b7321022ba3432b960611b60448201526064015b60405180910390fd5b50565b610a1283838360405180602001604052806000815250610eba565b505050565b60108054610a24906119b9565b80601f0160208091040260200160405190810160405280929190818152602001828054610a50906119b9565b8015610a9d5780601f10610a7257610100808354040283529160200191610a9d565b820191906000526020600020905b815481529060010190602001808311610a8057829003601f168201915b505050505081565b610aad6110ba565b610a1260118383611429565b610ac16110ba565b6000600c5411610ae35760405162461bcd60e51b81526004016109eb906118fc565b600c54811115610b055760405162461bcd60e51b81526004016109eb906118fc565b600e5481610b166001546000540390565b610b20919061193f565b1115610b3e5760405162461bcd60e51b81526004016109eb906118b8565b80600c6000828254610b509190611976565b909155506109f490503382611114565b600061064b82611052565b60118054610a24906119b9565b610b806110ba565b600b55565b610b8d6110ba565b600e55565b60006001600160a01b038216610bbb576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610be96110ba565b610bf3600061112e565b565b610bfd6110ba565b600d805460ff19811660ff90911615179055565b610c196110ba565b600f55565b606060038054610660906119b9565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600d5460ff16610ce15760405162461bcd60e51b815260206004820152601360248201527229b0b6329034b9903737ba1030b1ba34bb329760691b60448201526064016109eb565b600954811115610d455760405162461bcd60e51b815260206004820152602960248201527f416d6f756e742073686f756c64206e6f7420657863656564206d6178206d696e60448201526874206e756d6265722160b81b60648201526084016109eb565b600e5481610d566001546000540390565b610d60919061193f565b1115610d7e5760405162461bcd60e51b81526004016109eb906118b8565b600a5481610d8b33610f8a565b610d95919061193f565b1115610df45760405162461bcd60e51b815260206004820152602860248201527f416d6f756e742073686f756c64206e6f7420657863656564206d617820706572604482015267103bb0b63632ba1760c11b60648201526084016109eb565b600b548190610e0233610f8a565b1015610e5057600b5482610e1533610f8a565b610e1f919061193f565b11610e2c57506000610e50565b600b5482610e3933610f8a565b610e43919061193f565b610e4d9190611976565b90505b600f54610e5d9082611957565b341015610eac5760405162461bcd60e51b815260206004820152601760248201527f4574682076616c7565206973206e6f7420656e6f75676800000000000000000060448201526064016109eb565b610eb63383611114565b5050565b610ec58484846107c7565b6001600160a01b0383163b15610efe57610ee184848484611180565b610efe576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610f0f8261102b565b610f2c57604051630a14c4b560e41b815260040160405180910390fd5b60118054610f39906119b9565b15159050610f56576040518060200160405280600081525061064b565b6011610f6183611277565b6010604051602001610f7593929190611835565b60405160208183030381529060405292915050565b6001600160a01b0381166000908152600560205260408082205467ffffffffffffffff911c1661064b565b610fbd6110ba565b6001600160a01b0381166110225760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109eb565b6109f48161112e565b600080548210801561064b575050600090815260046020526040902054600160e01b161590565b6000816000548110156110a157600081815260046020526040902054600160e01b811661109f575b8061109857506000190160008181526004602052604090205461107a565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b6008546001600160a01b03163314610bf35760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109eb565b610eb68282604051806020016040528060008152506112c5565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906111b5903390899088908890600401611868565b602060405180830381600087803b1580156111cf57600080fd5b505af19250505080156111ff575060408051601f3d908101601f191682019092526111fc918101906116c7565b60015b61125a573d80801561122d576040519150601f19603f3d011682016040523d82523d6000602084013e611232565b606091505b508051611252576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a9004806112ae576112b3565b611291565b50819003601f19909101908152919050565b6112cf8383611332565b6001600160a01b0383163b15610a12576000548281035b6112f96000868380600101945086611180565b611316576040516368d2bf6b60e11b815260040160405180910390fd5b8181106112e657816000541461132b57600080fd5b5050505050565b600054816113535760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461140257808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46001016113ca565b508161142057604051622e076360e81b815260040160405180910390fd5b60005550505050565b828054611435906119b9565b90600052602060002090601f016020900481019282611457576000855561149d565b82601f106114705782800160ff1982351617855561149d565b8280016001018555821561149d579182015b8281111561149d578235825591602001919060010190611482565b506114a99291506114ad565b5090565b5b808211156114a957600081556001016114ae565b80356001600160a01b03811681146114d957600080fd5b919050565b6000602082840312156114f057600080fd5b611098826114c2565b6000806040838503121561150c57600080fd5b611515836114c2565b9150611523602084016114c2565b90509250929050565b60008060006060848603121561154157600080fd5b61154a846114c2565b9250611558602085016114c2565b9150604084013590509250925092565b6000806000806080858703121561157e57600080fd5b611587856114c2565b9350611595602086016114c2565b925060408501359150606085013567ffffffffffffffff808211156115b957600080fd5b818701915087601f8301126115cd57600080fd5b8135818111156115df576115df611a0a565b604051601f8201601f19908116603f0116810190838211818310171561160757611607611a0a565b816040528281528a602084870101111561162057600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806040838503121561165757600080fd5b611660836114c2565b91506020830135801515811461167557600080fd5b809150509250929050565b6000806040838503121561169357600080fd5b61169c836114c2565b946020939093013593505050565b6000602082840312156116bc57600080fd5b813561109881611a20565b6000602082840312156116d957600080fd5b815161109881611a20565b600080602083850312156116f757600080fd5b823567ffffffffffffffff8082111561170f57600080fd5b818501915085601f83011261172357600080fd5b81358181111561173257600080fd5b86602082850101111561174457600080fd5b60209290920196919550909350505050565b60006020828403121561176857600080fd5b5035919050565b6000815180845261178781602086016020860161198d565b601f01601f19169290920160200192915050565b8054600090600181811c90808316806117b557607f831692505b60208084108214156117d757634e487b7160e01b600052602260045260246000fd5b8180156117eb57600181146117fc57611829565b60ff19861689528489019650611829565b60008881526020902060005b868110156118215781548b820152908501908301611808565b505084890196505b50505050505092915050565b6000611841828661179b565b845161185181836020890161198d565b61185d8183018661179b565b979650505050505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061189b9083018461176f565b9695505050505050565b602081526000611098602083018461176f565b60208082526024908201527f416d6f756e742073686f756c64206e6f7420657863656564206d61782073757060408201526338363c9760e11b606082015260800190565b60208082526023908201527f416d6f756e742073686f756c64206e6f7420657863656564206d696e74206c696040820152621b5a5d60ea1b606082015260800190565b60008219821115611952576119526119f4565b500190565b6000816000190483118215151615611971576119716119f4565b500290565b600082821015611988576119886119f4565b500390565b60005b838110156119a8578181015183820152602001611990565b83811115610efe5750506000910152565b600181811c908216806119cd57607f821691505b602082108114156119ee57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b0319811681146109f457600080fdfea2646970667358221220272f02121e4a64324c7c564431806b0e61dcc344bd6278c2ca5e779da26e4fed64736f6c63430008070033697066733a2f2f626166796265696673363576336c35726c6e76336570793378757a6f676f356d696c78736e6d636e6f6c786f6934377976776236776c6e7a6a32612f00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000d596f7572204e65787420504650000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005594e504650000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106102045760003560e01c80636f8b44b011610118578063a7027357116100a0578063d5abeb011161006f578063d5abeb011461054a578063dc33e68114610560578063e985e9c514610580578063f2fde38b146105c9578063f968adbe146105e957600080fd5b8063a7027357146104ee578063b287c8ed14610504578063b88d4fde14610517578063c87b56dd1461052a57600080fd5b80638d6cc56d116100e75780638d6cc56d146104655780638da5cb5b1461048557806395d89b41146104a3578063a035b1fe146104b8578063a22cb465146104ce57600080fd5b80636f8b44b0146103fb57806370a082311461041b578063715018a61461043b5780637d8966e41461045057600080fd5b806342842e0e1161019b5780635a4d448a1161016a5780635a4d448a1461036c5780635c474f9e1461038c5780636352211e146103a65780636c0360eb146103c65780636d7c4a4b146103db57600080fd5b806342842e0e1461030e578063453c2310146103215780635503a0e81461033757806355f804b31461034c57600080fd5b806318160ddd116101d757806318160ddd146102ad57806323b872dd146102d05780632cfac6ec146102e35780633ccfd60b146102f957600080fd5b806301ffc9a71461020957806306fdde031461023e578063081812fc14610260578063095ea7b314610298575b600080fd5b34801561021557600080fd5b506102296102243660046116aa565b6105ff565b60405190151581526020015b60405180910390f35b34801561024a57600080fd5b50610253610651565b60405161023591906118a5565b34801561026c57600080fd5b5061028061027b366004611756565b6106e3565b6040516001600160a01b039091168152602001610235565b6102ab6102a6366004611680565b610727565b005b3480156102b957600080fd5b50600154600054035b604051908152602001610235565b6102ab6102de36600461152c565b6107c7565b3480156102ef57600080fd5b506102c2600c5481565b34801561030557600080fd5b506102ab610958565b6102ab61031c36600461152c565b6109f7565b34801561032d57600080fd5b506102c2600a5481565b34801561034357600080fd5b50610253610a17565b34801561035857600080fd5b506102ab6103673660046116e4565b610aa5565b34801561037857600080fd5b506102ab610387366004611756565b610ab9565b34801561039857600080fd5b50600d546102299060ff1681565b3480156103b257600080fd5b506102806103c1366004611756565b610b60565b3480156103d257600080fd5b50610253610b6b565b3480156103e757600080fd5b506102ab6103f6366004611756565b610b78565b34801561040757600080fd5b506102ab610416366004611756565b610b85565b34801561042757600080fd5b506102c26104363660046114de565b610b92565b34801561044757600080fd5b506102ab610be1565b34801561045c57600080fd5b506102ab610bf5565b34801561047157600080fd5b506102ab610480366004611756565b610c11565b34801561049157600080fd5b506008546001600160a01b0316610280565b3480156104af57600080fd5b50610253610c1e565b3480156104c457600080fd5b506102c2600f5481565b3480156104da57600080fd5b506102ab6104e9366004611644565b610c2d565b3480156104fa57600080fd5b506102c2600b5481565b6102ab610512366004611756565b610c99565b6102ab610525366004611568565b610eba565b34801561053657600080fd5b50610253610545366004611756565b610f04565b34801561055657600080fd5b506102c2600e5481565b34801561056c57600080fd5b506102c261057b3660046114de565b610f8a565b34801561058c57600080fd5b5061022961059b3660046114f9565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156105d557600080fd5b506102ab6105e43660046114de565b610fb5565b3480156105f557600080fd5b506102c260095481565b60006301ffc9a760e01b6001600160e01b03198316148061063057506380ac58cd60e01b6001600160e01b03198316145b8061064b5750635b5e139f60e01b6001600160e01b03198316145b92915050565b606060028054610660906119b9565b80601f016020809104026020016040519081016040528092919081815260200182805461068c906119b9565b80156106d95780601f106106ae576101008083540402835291602001916106d9565b820191906000526020600020905b8154815290600101906020018083116106bc57829003601f168201915b5050505050905090565b60006106ee8261102b565b61070b576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061073282610b60565b9050336001600160a01b0382161461076b5761074e813361059b565b61076b576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006107d282611052565b9050836001600160a01b0316816001600160a01b0316146108055760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b0388169091141761085257610835863361059b565b61085257604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661087957604051633a954ecd60e21b815260040160405180910390fd5b801561088457600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b831661090f576001840160008181526004602052604090205461090d57600054811461090d5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b6109606110ba565b604051600090339047908381818185875af1925050503d80600081146109a2576040519150601f19603f3d011682016040523d82523d6000602084013e6109a7565b606091505b50509050806109f45760405162461bcd60e51b81526020600482015260146024820152732330b4b632b2103a379039b2b7321022ba3432b960611b60448201526064015b60405180910390fd5b50565b610a1283838360405180602001604052806000815250610eba565b505050565b60108054610a24906119b9565b80601f0160208091040260200160405190810160405280929190818152602001828054610a50906119b9565b8015610a9d5780601f10610a7257610100808354040283529160200191610a9d565b820191906000526020600020905b815481529060010190602001808311610a8057829003601f168201915b505050505081565b610aad6110ba565b610a1260118383611429565b610ac16110ba565b6000600c5411610ae35760405162461bcd60e51b81526004016109eb906118fc565b600c54811115610b055760405162461bcd60e51b81526004016109eb906118fc565b600e5481610b166001546000540390565b610b20919061193f565b1115610b3e5760405162461bcd60e51b81526004016109eb906118b8565b80600c6000828254610b509190611976565b909155506109f490503382611114565b600061064b82611052565b60118054610a24906119b9565b610b806110ba565b600b55565b610b8d6110ba565b600e55565b60006001600160a01b038216610bbb576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610be96110ba565b610bf3600061112e565b565b610bfd6110ba565b600d805460ff19811660ff90911615179055565b610c196110ba565b600f55565b606060038054610660906119b9565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600d5460ff16610ce15760405162461bcd60e51b815260206004820152601360248201527229b0b6329034b9903737ba1030b1ba34bb329760691b60448201526064016109eb565b600954811115610d455760405162461bcd60e51b815260206004820152602960248201527f416d6f756e742073686f756c64206e6f7420657863656564206d6178206d696e60448201526874206e756d6265722160b81b60648201526084016109eb565b600e5481610d566001546000540390565b610d60919061193f565b1115610d7e5760405162461bcd60e51b81526004016109eb906118b8565b600a5481610d8b33610f8a565b610d95919061193f565b1115610df45760405162461bcd60e51b815260206004820152602860248201527f416d6f756e742073686f756c64206e6f7420657863656564206d617820706572604482015267103bb0b63632ba1760c11b60648201526084016109eb565b600b548190610e0233610f8a565b1015610e5057600b5482610e1533610f8a565b610e1f919061193f565b11610e2c57506000610e50565b600b5482610e3933610f8a565b610e43919061193f565b610e4d9190611976565b90505b600f54610e5d9082611957565b341015610eac5760405162461bcd60e51b815260206004820152601760248201527f4574682076616c7565206973206e6f7420656e6f75676800000000000000000060448201526064016109eb565b610eb63383611114565b5050565b610ec58484846107c7565b6001600160a01b0383163b15610efe57610ee184848484611180565b610efe576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610f0f8261102b565b610f2c57604051630a14c4b560e41b815260040160405180910390fd5b60118054610f39906119b9565b15159050610f56576040518060200160405280600081525061064b565b6011610f6183611277565b6010604051602001610f7593929190611835565b60405160208183030381529060405292915050565b6001600160a01b0381166000908152600560205260408082205467ffffffffffffffff911c1661064b565b610fbd6110ba565b6001600160a01b0381166110225760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109eb565b6109f48161112e565b600080548210801561064b575050600090815260046020526040902054600160e01b161590565b6000816000548110156110a157600081815260046020526040902054600160e01b811661109f575b8061109857506000190160008181526004602052604090205461107a565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b6008546001600160a01b03163314610bf35760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109eb565b610eb68282604051806020016040528060008152506112c5565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906111b5903390899088908890600401611868565b602060405180830381600087803b1580156111cf57600080fd5b505af19250505080156111ff575060408051601f3d908101601f191682019092526111fc918101906116c7565b60015b61125a573d80801561122d576040519150601f19603f3d011682016040523d82523d6000602084013e611232565b606091505b508051611252576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a9004806112ae576112b3565b611291565b50819003601f19909101908152919050565b6112cf8383611332565b6001600160a01b0383163b15610a12576000548281035b6112f96000868380600101945086611180565b611316576040516368d2bf6b60e11b815260040160405180910390fd5b8181106112e657816000541461132b57600080fd5b5050505050565b600054816113535760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461140257808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46001016113ca565b508161142057604051622e076360e81b815260040160405180910390fd5b60005550505050565b828054611435906119b9565b90600052602060002090601f016020900481019282611457576000855561149d565b82601f106114705782800160ff1982351617855561149d565b8280016001018555821561149d579182015b8281111561149d578235825591602001919060010190611482565b506114a99291506114ad565b5090565b5b808211156114a957600081556001016114ae565b80356001600160a01b03811681146114d957600080fd5b919050565b6000602082840312156114f057600080fd5b611098826114c2565b6000806040838503121561150c57600080fd5b611515836114c2565b9150611523602084016114c2565b90509250929050565b60008060006060848603121561154157600080fd5b61154a846114c2565b9250611558602085016114c2565b9150604084013590509250925092565b6000806000806080858703121561157e57600080fd5b611587856114c2565b9350611595602086016114c2565b925060408501359150606085013567ffffffffffffffff808211156115b957600080fd5b818701915087601f8301126115cd57600080fd5b8135818111156115df576115df611a0a565b604051601f8201601f19908116603f0116810190838211818310171561160757611607611a0a565b816040528281528a602084870101111561162057600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806040838503121561165757600080fd5b611660836114c2565b91506020830135801515811461167557600080fd5b809150509250929050565b6000806040838503121561169357600080fd5b61169c836114c2565b946020939093013593505050565b6000602082840312156116bc57600080fd5b813561109881611a20565b6000602082840312156116d957600080fd5b815161109881611a20565b600080602083850312156116f757600080fd5b823567ffffffffffffffff8082111561170f57600080fd5b818501915085601f83011261172357600080fd5b81358181111561173257600080fd5b86602082850101111561174457600080fd5b60209290920196919550909350505050565b60006020828403121561176857600080fd5b5035919050565b6000815180845261178781602086016020860161198d565b601f01601f19169290920160200192915050565b8054600090600181811c90808316806117b557607f831692505b60208084108214156117d757634e487b7160e01b600052602260045260246000fd5b8180156117eb57600181146117fc57611829565b60ff19861689528489019650611829565b60008881526020902060005b868110156118215781548b820152908501908301611808565b505084890196505b50505050505092915050565b6000611841828661179b565b845161185181836020890161198d565b61185d8183018661179b565b979650505050505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061189b9083018461176f565b9695505050505050565b602081526000611098602083018461176f565b60208082526024908201527f416d6f756e742073686f756c64206e6f7420657863656564206d61782073757060408201526338363c9760e11b606082015260800190565b60208082526023908201527f416d6f756e742073686f756c64206e6f7420657863656564206d696e74206c696040820152621b5a5d60ea1b606082015260800190565b60008219821115611952576119526119f4565b500190565b6000816000190483118215151615611971576119716119f4565b500290565b600082821015611988576119886119f4565b500390565b60005b838110156119a8578181015183820152602001611990565b83811115610efe5750506000910152565b600181811c908216806119cd57607f821691505b602082108114156119ee57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b0319811681146109f457600080fdfea2646970667358221220272f02121e4a64324c7c564431806b0e61dcc344bd6278c2ca5e779da26e4fed64736f6c63430008070033

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

00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000d596f7572204e65787420504650000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005594e504650000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _name (string): Your Next PFP
Arg [1] : _symbol (string): YNPFP

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 000000000000000000000000000000000000000000000000000000000000000d
Arg [3] : 596f7572204e6578742050465000000000000000000000000000000000000000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [5] : 594e504650000000000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

55105:3136:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21997:639;;;;;;;;;;-1:-1:-1;21997:639:0;;;;;:::i;:::-;;:::i;:::-;;;6798:14:1;;6791:22;6773:41;;6761:2;6746:18;21997:639:0;;;;;;;;22899:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;29390:218::-;;;;;;;;;;-1:-1:-1;29390:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;6096:32:1;;;6078:51;;6066:2;6051:18;29390:218:0;5932:203:1;28823:408:0;;;;;;:::i;:::-;;:::i;:::-;;18650:323;;;;;;;;;;-1:-1:-1;18924:12:0;;18711:7;18908:13;:28;18650:323;;;10640:25:1;;;10628:2;10613:18;18650:323:0;10494:177:1;33029:2825:0;;;;;;:::i;:::-;;:::i;55271:31::-;;;;;;;;;;;;;;;;58053:183;;;;;;;;;;;;;:::i;35950:193::-;;;;;;:::i;:::-;;:::i;55186:32::-;;;;;;;;;;;;;;;;55434:33;;;;;;;;;;;;;:::i;57697:110::-;;;;;;;;;;-1:-1:-1;57697:110:0;;;;;:::i;:::-;;:::i;56763:392::-;;;;;;;;;;-1:-1:-1;56763:392:0;;;;;:::i;:::-;;:::i;55311:31::-;;;;;;;;;;-1:-1:-1;55311:31:0;;;;;;;;24292:152;;;;;;;;;;-1:-1:-1;24292:152:0;;;;;:::i;:::-;;:::i;55476:93::-;;;;;;;;;;;;;:::i;57929:112::-;;;;;;;;;;-1:-1:-1;57929:112:0;;;;;:::i;:::-;;:::i;57819:98::-;;;;;;;;;;-1:-1:-1;57819:98:0;;;;;:::i;:::-;;:::i;19834:233::-;;;;;;;;;;-1:-1:-1;19834:233:0;;;;;:::i;:::-;;:::i;2776:103::-;;;;;;;;;;;;;:::i;57595:90::-;;;;;;;;;;;;;:::i;55805:93::-;;;;;;;;;;-1:-1:-1;55805:93:0;;;;;:::i;:::-;;:::i;2128:87::-;;;;;;;;;;-1:-1:-1;2201:6:0;;-1:-1:-1;;;;;2201:6:0;2128:87;;23075:104;;;;;;;;;;;;;:::i;55391:34::-;;;;;;;;;;;;;;;;29948:234;;;;;;;;;;-1:-1:-1;29948:234:0;;;;;:::i;:::-;;:::i;55227:35::-;;;;;;;;;;;;;;;;55910:841;;;;;;:::i;:::-;;:::i;36741:407::-;;;;;;:::i;:::-;;:::i;57283:300::-;;;;;;;;;;-1:-1:-1;57283:300:0;;;;;:::i;:::-;;:::i;55351:31::-;;;;;;;;;;;;;;;;55676:117;;;;;;;;;;-1:-1:-1;55676:117:0;;;;;:::i;:::-;;:::i;30339:164::-;;;;;;;;;;-1:-1:-1;30339:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;30460:25:0;;;30436:4;30460:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;30339:164;3034:201;;;;;;;;;;-1:-1:-1;3034:201:0;;;;;:::i;:::-;;:::i;55150:27::-;;;;;;;;;;;;;;;;21997:639;22082:4;-1:-1:-1;;;;;;;;;22406:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;22483:25:0;;;22406:102;:179;;;-1:-1:-1;;;;;;;;;;22560:25:0;;;22406:179;22386:199;21997:639;-1:-1:-1;;21997:639:0:o;22899:100::-;22953:13;22986:5;22979:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22899:100;:::o;29390:218::-;29466:7;29491:16;29499:7;29491;:16::i;:::-;29486:64;;29516:34;;-1:-1:-1;;;29516:34:0;;;;;;;;;;;29486:64;-1:-1:-1;29570:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;29570:30:0;;29390:218::o;28823:408::-;28912:13;28928:16;28936:7;28928;:16::i;:::-;28912:32;-1:-1:-1;53156:10:0;-1:-1:-1;;;;;28961:28:0;;;28957:175;;29009:44;29026:5;53156:10;30339:164;:::i;29009:44::-;29004:128;;29081:35;;-1:-1:-1;;;29081:35:0;;;;;;;;;;;29004:128;29144:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;29144:35:0;-1:-1:-1;;;;;29144:35:0;;;;;;;;;29195:28;;29144:24;;29195:28;;;;;;;28901:330;28823:408;;:::o;33029:2825::-;33171:27;33201;33220:7;33201:18;:27::i;:::-;33171:57;;33286:4;-1:-1:-1;;;;;33245:45:0;33261:19;-1:-1:-1;;;;;33245:45:0;;33241:86;;33299:28;;-1:-1:-1;;;33299:28:0;;;;;;;;;;;33241:86;33341:27;32137:24;;;:15;:24;;;;;32365:26;;53156:10;31762:30;;;-1:-1:-1;;;;;31455:28:0;;31740:20;;;31737:56;33527:180;;33620:43;33637:4;53156:10;30339:164;:::i;33620:43::-;33615:92;;33672:35;;-1:-1:-1;;;33672:35:0;;;;;;;;;;;33615:92;-1:-1:-1;;;;;33724:16:0;;33720:52;;33749:23;;-1:-1:-1;;;33749:23:0;;;;;;;;;;;33720:52;33921:15;33918:160;;;34061:1;34040:19;34033:30;33918:160;-1:-1:-1;;;;;34458:24:0;;;;;;;:18;:24;;;;;;34456:26;;-1:-1:-1;;34456:26:0;;;34527:22;;;;;;;;;34525:24;;-1:-1:-1;34525:24:0;;;27681:11;27656:23;27652:41;27639:63;-1:-1:-1;;;27639:63:0;34820:26;;;;:17;:26;;;;;:175;-1:-1:-1;;;35115:47:0;;35111:627;;35220:1;35210:11;;35188:19;35343:30;;;:17;:30;;;;;;35339:384;;35481:13;;35466:11;:28;35462:242;;35628:30;;;;:17;:30;;;;;:52;;;35462:242;35169:569;35111:627;35785:7;35781:2;-1:-1:-1;;;;;35766:27:0;35775:4;-1:-1:-1;;;;;35766:27:0;;;;;;;;;;;33160:2694;;;33029:2825;;;:::o;58053:183::-;2014:13;:11;:13::i;:::-;58124:49:::1;::::0;58106:12:::1;::::0;58124:10:::1;::::0;58147:21:::1;::::0;58106:12;58124:49;58106:12;58124:49;58147:21;58124:10;:49:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58105:68;;;58194:7;58186:40;;;::::0;-1:-1:-1;;;58186:40:0;;8067:2:1;58186:40:0::1;::::0;::::1;8049:21:1::0;8106:2;8086:18;;;8079:30;-1:-1:-1;;;8125:18:1;;;8118:50;8185:18;;58186:40:0::1;;;;;;;;;58092:144;58053:183::o:0;35950:193::-;36096:39;36113:4;36119:2;36123:7;36096:39;;;;;;;;;;;;:16;:39::i;:::-;35950:193;;;:::o;55434:33::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;57697:110::-;2014:13;:11;:13::i;:::-;57777:20:::1;:7;57787:10:::0;;57777:20:::1;:::i;56763:392::-:0;2014:13;:11;:13::i;:::-;56853:1:::1;56840:10;;:14;56832:61;;;;-1:-1:-1::0;;;56832:61:0::1;;;;;;;:::i;:::-;56924:10;;56914:6;:20;;56906:67;;;;-1:-1:-1::0;;;56906:67:0::1;;;;;;;:::i;:::-;57020:9;;57010:6;56994:13;18924:12:::0;;18711:7;18908:13;:28;;18650:323;56994:13:::1;:22;;;;:::i;:::-;:35;;56986:84;;;;-1:-1:-1::0;;;56986:84:0::1;;;;;;;:::i;:::-;57097:6;57083:10;;:20;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;57116:29:0::1;::::0;-1:-1:-1;57126:10:0::1;57138:6:::0;57116:9:::1;:29::i;24292:152::-:0;24364:7;24407:27;24426:7;24407:18;:27::i;55476:93::-;;;;;;;:::i;57929:112::-;2014:13;:11;:13::i;:::-;58006:16:::1;:25:::0;57929:112::o;57819:98::-;2014:13;:11;:13::i;:::-;57889:9:::1;:18:::0;57819:98::o;19834:233::-;19906:7;-1:-1:-1;;;;;19930:19:0;;19926:60;;19958:28;;-1:-1:-1;;;19958:28:0;;;;;;;;;;;19926:60;-1:-1:-1;;;;;;20004:25:0;;;;;:18;:25;;;;;;13993:13;20004:55;;19834:233::o;2776:103::-;2014:13;:11;:13::i;:::-;2841:30:::1;2868:1;2841:18;:30::i;:::-;2776:103::o:0;57595:90::-;2014:13;:11;:13::i;:::-;57664:11:::1;::::0;;-1:-1:-1;;57649:26:0;::::1;57664:11;::::0;;::::1;57663:12;57649:26;::::0;;57595:90::o;55805:93::-;2014:13;:11;:13::i;:::-;55873:5:::1;:15:::0;55805:93::o;23075:104::-;23131:13;23164:7;23157:14;;;;;:::i;29948:234::-;53156:10;30043:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;30043:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;30043:60:0;;;;;;;;;;30119:55;;6773:41:1;;;30043:49:0;;53156:10;30119:55;;6746:18:1;30119:55:0;;;;;;;29948:234;;:::o;55910:841::-;55984:11;;;;55976:43;;;;-1:-1:-1;;;55976:43:0;;9182:2:1;55976:43:0;;;9164:21:1;9221:2;9201:18;;;9194:30;-1:-1:-1;;;9240:18:1;;;9233:49;9299:18;;55976:43:0;8980:343:1;55976:43:0;56050:8;;56040:6;:18;;56032:72;;;;-1:-1:-1;;;56032:72:0;;9882:2:1;56032:72:0;;;9864:21:1;9921:2;9901:18;;;9894:30;9960:34;9940:18;;;9933:62;-1:-1:-1;;;10011:18:1;;;10004:39;10060:19;;56032:72:0;9680:405:1;56032:72:0;56151:9;;56141:6;56125:13;18924:12;;18711:7;18908:13;:28;;18650:323;56125:13;:22;;;;:::i;:::-;:35;;56117:84;;;;-1:-1:-1;;;56117:84:0;;;;;;;:::i;:::-;56259:12;;56249:6;56222:24;56235:10;56222:12;:24::i;:::-;:33;;;;:::i;:::-;:49;;56214:102;;;;-1:-1:-1;;;56214:102:0;;7658:2:1;56214:102:0;;;7640:21:1;7697:2;7677:18;;;7670:30;7736:34;7716:18;;;7709:62;-1:-1:-1;;;7787:18:1;;;7780:38;7835:19;;56214:102:0;7456:404:1;56214:102:0;56399:16;;56349:6;;56372:24;56385:10;56372:12;:24::i;:::-;:43;56368:249;;;56475:16;;56465:6;56438:24;56451:10;56438:12;:24::i;:::-;:33;;;;:::i;:::-;:53;56434:169;;-1:-1:-1;56520:1:0;56434:169;;;56587:16;;56578:6;56551:24;56564:10;56551:12;:24::i;:::-;:33;;;;:::i;:::-;:52;;;;:::i;:::-;56543:60;;56434:169;56662:5;;56654:13;;:5;:13;:::i;:::-;56641:9;:26;;56633:62;;;;-1:-1:-1;;;56633:62:0;;9530:2:1;56633:62:0;;;9512:21:1;9569:2;9549:18;;;9542:30;9608:25;9588:18;;;9581:53;9651:18;;56633:62:0;9328:347:1;56633:62:0;56712:29;56722:10;56734:6;56712:9;:29::i;:::-;55963:788;55910:841;:::o;36741:407::-;36916:31;36929:4;36935:2;36939:7;36916:12;:31::i;:::-;-1:-1:-1;;;;;36962:14:0;;;:19;36958:183;;37001:56;37032:4;37038:2;37042:7;37051:5;37001:30;:56::i;:::-;36996:145;;37085:40;;-1:-1:-1;;;37085:40:0;;;;;;;;;;;36996:145;36741:407;;;;:::o;57283:300::-;57356:13;57389:16;57397:7;57389;:16::i;:::-;57384:59;;57414:29;;-1:-1:-1;;;57414:29:0;;;;;;;;;;;57384:59;57481:7;57475:21;;;;;:::i;:::-;:26;;;-1:-1:-1;57475:98:0;;;;;;;;;;;;;;;;;57528:7;57537:18;57547:7;57537:9;:18::i;:::-;57557:9;57511:56;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;57468:105;57283:300;-1:-1:-1;;57283:300:0:o;55676:117::-;-1:-1:-1;;;;;20238:25:0;;55734:7;20238:25;;;:18;:25;;14131:2;20238:25;;;;13993:13;20238:50;;20237:82;55763:20;20149:178;3034:201;2014:13;:11;:13::i;:::-;-1:-1:-1;;;;;3123:22:0;::::1;3115:73;;;::::0;-1:-1:-1;;;3115:73:0;;7251:2:1;3115:73:0::1;::::0;::::1;7233:21:1::0;7290:2;7270:18;;;7263:30;7329:34;7309:18;;;7302:62;-1:-1:-1;;;7380:18:1;;;7373:36;7426:19;;3115:73:0::1;7049:402:1::0;3115:73:0::1;3199:28;3218:8;3199:18;:28::i;30761:282::-:0;30826:4;30916:13;;30906:7;:23;30863:153;;;;-1:-1:-1;;30967:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;30967:44:0;:49;;30761:282::o;25447:1275::-;25514:7;25549;25651:13;;25644:4;:20;25640:1015;;;25689:14;25706:23;;;:17;:23;;;;;;-1:-1:-1;;;25795:24:0;;25791:845;;26460:113;26467:11;26460:113;;-1:-1:-1;;;26538:6:0;26520:25;;;;:17;:25;;;;;;26460:113;;;26606:6;25447:1275;-1:-1:-1;;;25447:1275:0:o;25791:845::-;25666:989;25640:1015;26683:31;;-1:-1:-1;;;26683:31:0;;;;;;;;;;;2293:132;2201:6;;-1:-1:-1;;;;;2201:6:0;53156:10;2357:23;2349:68;;;;-1:-1:-1;;;2349:68:0;;8821:2:1;2349:68:0;;;8803:21:1;;;8840:18;;;8833:30;8899:34;8879:18;;;8872:62;8951:18;;2349:68:0;8619:356:1;46901:112:0;46978:27;46988:2;46992:8;46978:27;;;;;;;;;;;;:9;:27::i;3395:191::-;3488:6;;;-1:-1:-1;;;;;3505:17:0;;;-1:-1:-1;;;;;;3505:17:0;;;;;;;3538:40;;3488:6;;;3505:17;3488:6;;3538:40;;3469:16;;3538:40;3458:128;3395:191;:::o;39232:716::-;39416:88;;-1:-1:-1;;;39416:88:0;;39395:4;;-1:-1:-1;;;;;39416:45:0;;;;;:88;;53156:10;;39483:4;;39489:7;;39498:5;;39416:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39416:88:0;;;;;;;;-1:-1:-1;;39416:88:0;;;;;;;;;;;;:::i;:::-;;;39412:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39699:13:0;;39695:235;;39745:40;;-1:-1:-1;;;39745:40:0;;;;;;;;;;;39695:235;39888:6;39882:13;39873:6;39869:2;39865:15;39858:38;39412:529;-1:-1:-1;;;;;;39575:64:0;-1:-1:-1;;;39575:64:0;;-1:-1:-1;39232:716:0;;;;;;:::o;53276:1745::-;53341:17;53775:4;53768;53762:11;53758:22;53867:1;53861:4;53854:15;53942:4;53939:1;53935:12;53928:19;;;54024:1;54019:3;54012:14;54128:3;54367:5;54349:428;54415:1;54410:3;54406:11;54399:18;;54586:2;54580:4;54576:13;54572:2;54568:22;54563:3;54555:36;54680:2;54670:13;;;54737:25;;54755:5;;54737:25;54349:428;;;-1:-1:-1;54807:13:0;;;-1:-1:-1;;54922:14:0;;;54984:19;;;54922:14;53276:1745;-1:-1:-1;53276:1745:0:o;46128:689::-;46259:19;46265:2;46269:8;46259:5;:19::i;:::-;-1:-1:-1;;;;;46320:14:0;;;:19;46316:483;;46360:11;46374:13;46422:14;;;46455:233;46486:62;46525:1;46529:2;46533:7;;;;;;46542:5;46486:30;:62::i;:::-;46481:167;;46584:40;;-1:-1:-1;;;46584:40:0;;;;;;;;;;;46481:167;46683:3;46675:5;:11;46455:233;;46770:3;46753:13;;:20;46749:34;;46775:8;;;46749:34;46341:458;;46128:689;;;:::o;40410:2966::-;40483:20;40506:13;40534;40530:44;;40556:18;;-1:-1:-1;;;40556:18:0;;;;;;;;;;;40530:44;-1:-1:-1;;;;;41062:22:0;;;;;;:18;:22;;;;14131:2;41062:22;;;:71;;41100:32;41088:45;;41062:71;;;41376:31;;;:17;:31;;;;;-1:-1:-1;28112:15:0;;28086:24;28082:46;27681:11;27656:23;27652:41;27649:52;27639:63;;41376:173;;41611:23;;;;41376:31;;41062:22;;42376:25;41062:22;;42229:335;42890:1;42876:12;42872:20;42830:346;42931:3;42922:7;42919:16;42830:346;;43149:7;43139:8;43136:1;43109:25;43106:1;43103;43098:59;42984:1;42971:15;42830:346;;;-1:-1:-1;43209:13:0;43205:45;;43231:19;;-1:-1:-1;;;43231:19:0;;;;;;;;;;;43205:45;43267:13;:19;-1:-1:-1;35950:193:0;;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:173:1;82:20;;-1:-1:-1;;;;;131:31:1;;121:42;;111:70;;177:1;174;167:12;111:70;14:173;;;:::o;192:186::-;251:6;304:2;292:9;283:7;279:23;275:32;272:52;;;320:1;317;310:12;272:52;343:29;362:9;343:29;:::i;383:260::-;451:6;459;512:2;500:9;491:7;487:23;483:32;480:52;;;528:1;525;518:12;480:52;551:29;570:9;551:29;:::i;:::-;541:39;;599:38;633:2;622:9;618:18;599:38;:::i;:::-;589:48;;383:260;;;;;:::o;648:328::-;725:6;733;741;794:2;782:9;773:7;769:23;765:32;762:52;;;810:1;807;800:12;762:52;833:29;852:9;833:29;:::i;:::-;823:39;;881:38;915:2;904:9;900:18;881:38;:::i;:::-;871:48;;966:2;955:9;951:18;938:32;928:42;;648:328;;;;;:::o;981:1138::-;1076:6;1084;1092;1100;1153:3;1141:9;1132:7;1128:23;1124:33;1121:53;;;1170:1;1167;1160:12;1121:53;1193:29;1212:9;1193:29;:::i;:::-;1183:39;;1241:38;1275:2;1264:9;1260:18;1241:38;:::i;:::-;1231:48;;1326:2;1315:9;1311:18;1298:32;1288:42;;1381:2;1370:9;1366:18;1353:32;1404:18;1445:2;1437:6;1434:14;1431:34;;;1461:1;1458;1451:12;1431:34;1499:6;1488:9;1484:22;1474:32;;1544:7;1537:4;1533:2;1529:13;1525:27;1515:55;;1566:1;1563;1556:12;1515:55;1602:2;1589:16;1624:2;1620;1617:10;1614:36;;;1630:18;;:::i;:::-;1705:2;1699:9;1673:2;1759:13;;-1:-1:-1;;1755:22:1;;;1779:2;1751:31;1747:40;1735:53;;;1803:18;;;1823:22;;;1800:46;1797:72;;;1849:18;;:::i;:::-;1889:10;1885:2;1878:22;1924:2;1916:6;1909:18;1964:7;1959:2;1954;1950;1946:11;1942:20;1939:33;1936:53;;;1985:1;1982;1975:12;1936:53;2041:2;2036;2032;2028:11;2023:2;2015:6;2011:15;1998:46;2086:1;2081:2;2076;2068:6;2064:15;2060:24;2053:35;2107:6;2097:16;;;;;;;981:1138;;;;;;;:::o;2124:347::-;2189:6;2197;2250:2;2238:9;2229:7;2225:23;2221:32;2218:52;;;2266:1;2263;2256:12;2218:52;2289:29;2308:9;2289:29;:::i;:::-;2279:39;;2368:2;2357:9;2353:18;2340:32;2415:5;2408:13;2401:21;2394:5;2391:32;2381:60;;2437:1;2434;2427:12;2381:60;2460:5;2450:15;;;2124:347;;;;;:::o;2476:254::-;2544:6;2552;2605:2;2593:9;2584:7;2580:23;2576:32;2573:52;;;2621:1;2618;2611:12;2573:52;2644:29;2663:9;2644:29;:::i;:::-;2634:39;2720:2;2705:18;;;;2692:32;;-1:-1:-1;;;2476:254:1:o;2735:245::-;2793:6;2846:2;2834:9;2825:7;2821:23;2817:32;2814:52;;;2862:1;2859;2852:12;2814:52;2901:9;2888:23;2920:30;2944:5;2920:30;:::i;2985:249::-;3054:6;3107:2;3095:9;3086:7;3082:23;3078:32;3075:52;;;3123:1;3120;3113:12;3075:52;3155:9;3149:16;3174:30;3198:5;3174:30;:::i;3239:592::-;3310:6;3318;3371:2;3359:9;3350:7;3346:23;3342:32;3339:52;;;3387:1;3384;3377:12;3339:52;3427:9;3414:23;3456:18;3497:2;3489:6;3486:14;3483:34;;;3513:1;3510;3503:12;3483:34;3551:6;3540:9;3536:22;3526:32;;3596:7;3589:4;3585:2;3581:13;3577:27;3567:55;;3618:1;3615;3608:12;3567:55;3658:2;3645:16;3684:2;3676:6;3673:14;3670:34;;;3700:1;3697;3690:12;3670:34;3745:7;3740:2;3731:6;3727:2;3723:15;3719:24;3716:37;3713:57;;;3766:1;3763;3756:12;3713:57;3797:2;3789:11;;;;;3819:6;;-1:-1:-1;3239:592:1;;-1:-1:-1;;;;3239:592:1:o;3836:180::-;3895:6;3948:2;3936:9;3927:7;3923:23;3919:32;3916:52;;;3964:1;3961;3954:12;3916:52;-1:-1:-1;3987:23:1;;3836:180;-1:-1:-1;3836:180:1:o;4021:257::-;4062:3;4100:5;4094:12;4127:6;4122:3;4115:19;4143:63;4199:6;4192:4;4187:3;4183:14;4176:4;4169:5;4165:16;4143:63;:::i;:::-;4260:2;4239:15;-1:-1:-1;;4235:29:1;4226:39;;;;4267:4;4222:50;;4021:257;-1:-1:-1;;4021:257:1:o;4283:973::-;4368:12;;4333:3;;4423:1;4443:18;;;;4496;;;;4523:61;;4577:4;4569:6;4565:17;4555:27;;4523:61;4603:2;4651;4643:6;4640:14;4620:18;4617:38;4614:161;;;4697:10;4692:3;4688:20;4685:1;4678:31;4732:4;4729:1;4722:15;4760:4;4757:1;4750:15;4614:161;4791:18;4818:104;;;;4936:1;4931:319;;;;4784:466;;4818:104;-1:-1:-1;;4851:24:1;;4839:37;;4896:16;;;;-1:-1:-1;4818:104:1;;4931:319;10749:1;10742:14;;;10786:4;10773:18;;5025:1;5039:165;5053:6;5050:1;5047:13;5039:165;;;5131:14;;5118:11;;;5111:35;5174:16;;;;5068:10;;5039:165;;;5043:3;;5233:6;5228:3;5224:16;5217:23;;4784:466;;;;;;;4283:973;;;;:::o;5261:456::-;5482:3;5510:38;5544:3;5536:6;5510:38;:::i;:::-;5577:6;5571:13;5593:52;5638:6;5634:2;5627:4;5619:6;5615:17;5593:52;:::i;:::-;5661:50;5703:6;5699:2;5695:15;5687:6;5661:50;:::i;:::-;5654:57;5261:456;-1:-1:-1;;;;;;;5261:456:1:o;6140:488::-;-1:-1:-1;;;;;6409:15:1;;;6391:34;;6461:15;;6456:2;6441:18;;6434:43;6508:2;6493:18;;6486:34;;;6556:3;6551:2;6536:18;;6529:31;;;6334:4;;6577:45;;6602:19;;6594:6;6577:45;:::i;:::-;6569:53;6140:488;-1:-1:-1;;;;;;6140:488:1:o;6825:219::-;6974:2;6963:9;6956:21;6937:4;6994:44;7034:2;7023:9;7019:18;7011:6;6994:44;:::i;8214:400::-;8416:2;8398:21;;;8455:2;8435:18;;;8428:30;8494:34;8489:2;8474:18;;8467:62;-1:-1:-1;;;8560:2:1;8545:18;;8538:34;8604:3;8589:19;;8214:400::o;10090:399::-;10292:2;10274:21;;;10331:2;10311:18;;;10304:30;10370:34;10365:2;10350:18;;10343:62;-1:-1:-1;;;10436:2:1;10421:18;;10414:33;10479:3;10464:19;;10090:399::o;10802:128::-;10842:3;10873:1;10869:6;10866:1;10863:13;10860:39;;;10879:18;;:::i;:::-;-1:-1:-1;10915:9:1;;10802:128::o;10935:168::-;10975:7;11041:1;11037;11033:6;11029:14;11026:1;11023:21;11018:1;11011:9;11004:17;11000:45;10997:71;;;11048:18;;:::i;:::-;-1:-1:-1;11088:9:1;;10935:168::o;11108:125::-;11148:4;11176:1;11173;11170:8;11167:34;;;11181:18;;:::i;:::-;-1:-1:-1;11218:9:1;;11108:125::o;11238:258::-;11310:1;11320:113;11334:6;11331:1;11328:13;11320:113;;;11410:11;;;11404:18;11391:11;;;11384:39;11356:2;11349:10;11320:113;;;11451:6;11448:1;11445:13;11442:48;;;-1:-1:-1;;11486:1:1;11468:16;;11461:27;11238:258::o;11501:380::-;11580:1;11576:12;;;;11623;;;11644:61;;11698:4;11690:6;11686:17;11676:27;;11644:61;11751:2;11743:6;11740:14;11720:18;11717:38;11714:161;;;11797:10;11792:3;11788:20;11785:1;11778:31;11832:4;11829:1;11822:15;11860:4;11857:1;11850:15;11714:161;;11501:380;;;:::o;11886:127::-;11947:10;11942:3;11938:20;11935:1;11928:31;11978:4;11975:1;11968:15;12002:4;11999:1;11992:15;12018:127;12079:10;12074:3;12070:20;12067:1;12060:31;12110:4;12107:1;12100:15;12134:4;12131:1;12124:15;12150:131;-1:-1:-1;;;;;;12224:32:1;;12214:43;;12204:71;;12271:1;12268;12261:12

Swarm Source

ipfs://272f02121e4a64324c7c564431806b0e61dcc344bd6278c2ca5e779da26e4fed
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

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