ETH Price: $3,094.89 (+0.97%)

RainbowParrot (RPT)
 

Overview

TokenID

78923

Total Transfers

-

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 0 Decimals)

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

Compiler Version
v0.8.18+commit.87f61d96

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2023-05-31
*/

// SPDX-License-Identifier: MIT
// File: contracts/RainbowParrot/IOperatorFilterRegistry.sol


pragma solidity ^0.8.0;

interface IOperatorFilterRegistry {
    function isOperatorAllowed(address registrant, address operator) external view returns (bool);
    function register(address registrant) external;
    function registerAndSubscribe(address registrant, address subscription) external;
    function registerAndCopyEntries(address registrant, address registrantToCopy) external;
    function unregister(address addr) external;
    function updateOperator(address registrant, address operator, bool filtered) external;
    function updateOperators(address registrant, address[] calldata operators, bool filtered) external;
    function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external;
    function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external;
    function subscribe(address registrant, address registrantToSubscribe) external;
    function unsubscribe(address registrant, bool copyExistingEntries) external;
    function subscriptionOf(address addr) external returns (address registrant);
    function subscribers(address registrant) external returns (address[] memory);
    function subscriberAt(address registrant, uint256 index) external returns (address);
    function copyEntriesOf(address registrant, address registrantToCopy) external;
    function isOperatorFiltered(address registrant, address operator) external returns (bool);
    function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool);
    function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool);
    function filteredOperators(address addr) external returns (address[] memory);
    function filteredCodeHashes(address addr) external returns (bytes32[] memory);
    function filteredOperatorAt(address registrant, uint256 index) external returns (address);
    function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32);
    function isRegistered(address addr) external returns (bool);
    function codeHashOf(address addr) external returns (bytes32);
}
// File: contracts/RainbowParrot/OperatorFilterer.sol


pragma solidity ^0.8.0;


/**
 * @title  OperatorFilterer
 * @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another
 *         registrant's entries in the OperatorFilterRegistry.
 * @dev    This smart contract is meant to be inherited by token contracts so they can use the following:
 *         - `onlyAllowedOperator` modifier for `transferFrom` and `safeTransferFrom` methods.
 *         - `onlyAllowedOperatorApproval` modifier for `approve` and `setApprovalForAll` methods.
 */
abstract contract OperatorFilterer {
    error OperatorNotAllowed(address operator);

    IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY =
        IOperatorFilterRegistry(0x000000000000AAeB6D7670E522A718067333cd4E);

    constructor(address subscriptionOrRegistrantToCopy, bool subscribe) {
        // If an inheriting token contract is deployed to a network without the registry deployed, the modifier
        // will not revert, but the contract will need to be registered with the registry once it is deployed in
        // order for the modifier to filter addresses.
        if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) {
            if (subscribe) {
                OPERATOR_FILTER_REGISTRY.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy);
            } else {
                if (subscriptionOrRegistrantToCopy != address(0)) {
                    OPERATOR_FILTER_REGISTRY.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy);
                } else {
                    OPERATOR_FILTER_REGISTRY.register(address(this));
                }
            }
        }
    }

    modifier onlyAllowedOperator(address from) virtual {
        // Allow spending tokens from addresses with balance
        // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred
        // from an EOA.
        if (from != msg.sender) {
            _checkFilterOperator(msg.sender);
        }
        _;
    }

    modifier onlyAllowedOperatorApproval(address operator) virtual {
        _checkFilterOperator(operator);
        _;
    }

    function _checkFilterOperator(address operator) internal view virtual {
        // Check registry code length to facilitate testing in environments without a deployed registry.
        if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) {
            if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), operator)) {
                revert OperatorNotAllowed(operator);
            }
        }
    }
}
// File: contracts/RainbowParrot/DefaultOperatorFilterer.sol


pragma solidity ^0.8.0;


/**
 * @title  DefaultOperatorFilterer
 * @notice Inherits from OperatorFilterer and automatically subscribes to the default OpenSea subscription.
 */
abstract contract DefaultOperatorFilterer is OperatorFilterer {
    address constant DEFAULT_SUBSCRIPTION = address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6);

    constructor() OperatorFilterer(DEFAULT_SUBSCRIPTION, true) {}
}
// File: erc721a/contracts/IERC721A.sol


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

pragma solidity ^0.8.4;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
     */
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables or disables
     * (`approved`) `operator` to manage all of its assets.
     */
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /**
     * @dev Returns the number of tokens in `owner`'s account.
     */
    function balanceOf(address owner) external view returns (uint256 balance);

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) external view returns (address owner);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`,
     * checking first that contract recipients are aware of the ERC721 protocol
     * to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be have been allowed to move
     * this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement
     * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes calldata data
    ) external payable;

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

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {safeTransferFrom}
     * whenever possible.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token
     * by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external payable;

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

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom}
     * for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

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

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

    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) external view returns (string memory);

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

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

// File: erc721a/contracts/ERC721A.sol


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

pragma solidity ^0.8.4;


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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        return _tokenApprovals[tokenId].value;
    }

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            uint256 toMasked;
            uint256 end = startTokenId + quantity;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        address from = address(uint160(prevOwnershipPacked));

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/utils/introspection/IERC165.sol


// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

// File: @openzeppelin/contracts/utils/introspection/ERC165.sol


// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;


/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

// File: @openzeppelin/contracts/interfaces/IERC2981.sol


// OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol)

pragma solidity ^0.8.0;


/**
 * @dev Interface for the NFT Royalty Standard.
 *
 * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal
 * support for royalty payments across all NFT marketplaces and ecosystem participants.
 *
 * _Available since v4.5._
 */
interface IERC2981 is IERC165 {
    /**
     * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of
     * exchange. The royalty amount is denominated and should be paid in that same unit of exchange.
     */
    function royaltyInfo(uint256 tokenId, uint256 salePrice)
        external
        view
        returns (address receiver, uint256 royaltyAmount);
}

// File: @openzeppelin/contracts/token/common/ERC2981.sol


// OpenZeppelin Contracts (last updated v4.7.0) (token/common/ERC2981.sol)

pragma solidity ^0.8.0;



/**
 * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information.
 *
 * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for
 * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first.
 *
 * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the
 * fee is specified in basis points by default.
 *
 * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See
 * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to
 * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported.
 *
 * _Available since v4.5._
 */
abstract contract ERC2981 is IERC2981, ERC165 {
    struct RoyaltyInfo {
        address receiver;
        uint96 royaltyFraction;
    }

    RoyaltyInfo private _defaultRoyaltyInfo;
    mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo;

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC165) returns (bool) {
        return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId);
    }

    /**
     * @inheritdoc IERC2981
     */
    function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view virtual override returns (address, uint256) {
        RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId];

        if (royalty.receiver == address(0)) {
            royalty = _defaultRoyaltyInfo;
        }

        uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) / _feeDenominator();

        return (royalty.receiver, royaltyAmount);
    }

    /**
     * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a
     * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an
     * override.
     */
    function _feeDenominator() internal pure virtual returns (uint96) {
        return 10000;
    }

    /**
     * @dev Sets the royalty information that all ids in this contract will default to.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: invalid receiver");

        _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Removes default royalty information.
     */
    function _deleteDefaultRoyalty() internal virtual {
        delete _defaultRoyaltyInfo;
    }

    /**
     * @dev Sets the royalty information for a specific token id, overriding the global default.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setTokenRoyalty(
        uint256 tokenId,
        address receiver,
        uint96 feeNumerator
    ) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: Invalid parameters");

        _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Resets royalty information for the token id back to the global default.
     */
    function _resetTokenRoyalty(uint256 tokenId) internal virtual {
        delete _tokenRoyaltyInfo[tokenId];
    }
}

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


// OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

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

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

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

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

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

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


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

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

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

// File: @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 v4.4.1 (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 Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        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: contracts/RainbowParrot/RainbowParrot.sol


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

pragma solidity ^0.8.0;








contract RainbowParrot is ERC721A, ERC2981, Ownable, DefaultOperatorFilterer {
    using SafeMath for uint256;

    uint256 public constant MAX_SUPPLY = 100000;
    uint256 public constant FREE_SUPPLY = 3;
    uint256 public constant PAID_SUPPLY = 10;

    uint256 private _flag;
    string private _defTokenURI = "https://ipfs.io/ipfs/QmRjmiVtALJtyYxNYkgRUZXMhyPHZMFKduFeN17cak3AUD";
    string private _baseTokenURI = "";

    mapping(address => bool) private _hasMinted;

    event NewMint(address indexed msgSender, uint256 indexed mintQuantity);

    constructor() ERC721A("RainbowParrot", "RPT") {
        _setDefaultRoyalty(msg.sender, 0);
    }

    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721A, ERC2981)
    returns (bool) {
      return super.supportsInterface(interfaceId);
    }

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

    function transferOut(address _to) public onlyOwner {
        uint256 balance = address(this).balance;
        payable(_to).transfer(balance);
    }

    function changeTokenURIFlag(uint256 flag) external onlyOwner {
        _flag = flag;
    }

    function changeDefURI(string calldata _tokenURI) external onlyOwner {
        _defTokenURI = _tokenURI;
    }

    function changeURI(string calldata _tokenURI) external onlyOwner {
        _baseTokenURI = _tokenURI;
    }

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

    function tokenURI(uint256 tokenId) public view override returns (string memory) {
        if (_flag == 0) {
            return _defTokenURI;
        } else {
            require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");
            return string(abi.encodePacked(_baseTokenURI, Strings.toString(tokenId)));
        }
    }

    function mint(uint256 quantity) public payable {
        require(totalSupply() + quantity <= MAX_SUPPLY, "ERC721: Exceeds maximum supply");
        require(quantity == 1 || quantity == FREE_SUPPLY || quantity == PAID_SUPPLY, "ERC721: Invalid quantity");

        if (quantity <= FREE_SUPPLY ) {
            _safeMint(msg.sender,quantity);
        } else {
            require(msg.value >= 0.0001 ether, "ERC721: Insufficient payment");
            _safeMint(msg.sender,quantity);
        }
        
        emit NewMint(msg.sender, quantity);
    }

}

Contract Security Audit

Contract ABI

[{"inputs":[],"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":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","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":"msgSender","type":"address"},{"indexed":true,"internalType":"uint256","name":"mintQuantity","type":"uint256"}],"name":"NewMint","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":[],"name":"FREE_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PAID_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_tokenURI","type":"string"}],"name":"changeDefURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"flag","type":"uint256"}],"name":"changeTokenURIFlag","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_tokenURI","type":"string"}],"name":"changeURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"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":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"}],"name":"transferOut","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

610100604052604360808181529062001eed60a039600c9062000023908262000434565b50604080516020810190915260008152600d9062000042908262000434565b503480156200005057600080fd5b50733cc6cdda760b79bafa08df41ecfa224f810dceb660016040518060400160405280600d81526020016c14985a5b989bddd4185c9c9bdd609a1b8152506040518060400160405280600381526020016214941560ea1b8152508160029081620000bb919062000434565b506003620000ca828262000434565b5050600160005550620000dd3362000238565b6daaeb6d7670e522a718067333cd4e3b15620002225780156200017057604051633e9f1edf60e11b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e90637d3e3dbe906044015b600060405180830381600087803b1580156200015157600080fd5b505af115801562000166573d6000803e3d6000fd5b5050505062000222565b6001600160a01b03821615620001c15760405163a0af290360e01b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e9063a0af29039060440162000136565b604051632210724360e11b81523060048201526daaeb6d7670e522a718067333cd4e90634420e48690602401600060405180830381600087803b1580156200020857600080fd5b505af11580156200021d573d6000803e3d6000fd5b505050505b506200023290503360006200028a565b62000500565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6127106001600160601b0382161115620002fe5760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b60648201526084015b60405180910390fd5b6001600160a01b038216620003565760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401620002f5565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600855565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620003ba57607f821691505b602082108103620003db57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200042f57600081815260208120601f850160051c810160208610156200040a5750805b601f850160051c820191505b818110156200042b5782815560010162000416565b5050505b505050565b81516001600160401b038111156200045057620004506200038f565b6200046881620004618454620003a5565b84620003e1565b602080601f831160018114620004a05760008415620004875750858301515b600019600386901b1c1916600185901b1785556200042b565b600085815260208120601f198616915b82811015620004d157888601518255948401946001909101908401620004b0565b5085821015620004f05787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6119dd80620005106000396000f3fe60806040526004361061019c5760003560e01c806370a08231116100ec578063a22cb4651161008a578063e5e01c1111610064578063e5e01c111461046d578063e985e9c51461048d578063f2fde38b146104ad578063fe878b1d146104cd57600080fd5b8063a22cb4651461041a578063b88d4fde1461043a578063c87b56dd1461044d57600080fd5b806395d89b41116100c657806395d89b41146103bd5780639858cf19146103d25780639894ba7c146103e7578063a0712d681461040757600080fd5b806370a082311461036a578063715018a61461038a5780638da5cb5b1461039f57600080fd5b806323b872dd1161015957806341f434341161013357806341f43434146102f557806342842e0e14610317578063528c06cc1461032a5780636352211e1461034a57600080fd5b806323b872dd1461028c5780632a55205a1461029f57806332cb6b0c146102de57600080fd5b806301ffc9a7146101a157806306fdde03146101d6578063081812fc146101f8578063095ea7b3146102305780630e5c19191461024557806318160ddd14610265575b600080fd5b3480156101ad57600080fd5b506101c16101bc36600461136b565b6104e2565b60405190151581526020015b60405180910390f35b3480156101e257600080fd5b506101eb6104f3565b6040516101cd91906113d8565b34801561020457600080fd5b506102186102133660046113eb565b610585565b6040516001600160a01b0390911681526020016101cd565b61024361023e36600461141b565b6105c9565b005b34801561025157600080fd5b50610243610260366004611445565b610669565b34801561027157600080fd5b5060015460005403600019015b6040519081526020016101cd565b61024361029a3660046114b7565b6106ae565b3480156102ab57600080fd5b506102bf6102ba3660046114f3565b610847565b604080516001600160a01b0390931683526020830191909152016101cd565b3480156102ea57600080fd5b5061027e620186a081565b34801561030157600080fd5b506102186daaeb6d7670e522a718067333cd4e81565b6102436103253660046114b7565b6108f3565b34801561033657600080fd5b506102436103453660046113eb565b61090e565b34801561035657600080fd5b506102186103653660046113eb565b61093d565b34801561037657600080fd5b5061027e610385366004611515565b610948565b34801561039657600080fd5b50610243610997565b3480156103ab57600080fd5b50600a546001600160a01b0316610218565b3480156103c957600080fd5b506101eb6109cd565b3480156103de57600080fd5b5061027e600381565b3480156103f357600080fd5b50610243610402366004611515565b6109dc565b6102436104153660046113eb565b610a3e565b34801561042657600080fd5b50610243610435366004611530565b610bb5565b610243610448366004611582565b610c21565b34801561045957600080fd5b506101eb6104683660046113eb565b610c6b565b34801561047957600080fd5b50610243610488366004611445565b610dad565b34801561049957600080fd5b506101c16104a836600461165e565b610de4565b3480156104b957600080fd5b506102436104c8366004611515565b610e12565b3480156104d957600080fd5b5061027e600a81565b60006104ed82610ead565b92915050565b60606002805461050290611691565b80601f016020809104026020016040519081016040528092919081815260200182805461052e90611691565b801561057b5780601f106105505761010080835404028352916020019161057b565b820191906000526020600020905b81548152906001019060200180831161055e57829003601f168201915b5050505050905090565b600061059082610ee2565b6105ad576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006105d48261093d565b9050336001600160a01b0382161461060d576105f08133610de4565b61060d576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600a546001600160a01b0316331461069c5760405162461bcd60e51b8152600401610693906116cb565b60405180910390fd5b600c6106a9828483611746565b505050565b60006106b982610f17565b9050836001600160a01b0316816001600160a01b0316146106ec5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b038816909114176107395761071c8633610de4565b61073957604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661076057604051633a954ecd60e21b815260040160405180910390fd5b801561076b57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b841690036107fd576001840160008181526004602052604081205490036107fb5760005481146107fb5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b60008281526009602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b03169282019290925282916108bc5750604080518082019091526008546001600160a01b0381168252600160a01b90046001600160601b031660208201525b6020810151600090612710906108db906001600160601b03168761181c565b6108e59190611849565b915196919550909350505050565b6106a983838360405180602001604052806000815250610c21565b600a546001600160a01b031633146109385760405162461bcd60e51b8152600401610693906116cb565b600b55565b60006104ed82610f17565b60006001600160a01b038216610971576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b600a546001600160a01b031633146109c15760405162461bcd60e51b8152600401610693906116cb565b6109cb6000610f8d565b565b60606003805461050290611691565b600a546001600160a01b03163314610a065760405162461bcd60e51b8152600401610693906116cb565b60405147906001600160a01b0383169082156108fc029083906000818181858888f193505050501580156106a9573d6000803e3d6000fd5b600154600054620186a09183910360001901610a5a919061185d565b1115610aa85760405162461bcd60e51b815260206004820152601e60248201527f4552433732313a2045786365656473206d6178696d756d20737570706c7900006044820152606401610693565b8060011480610ab75750600381145b80610ac25750600a81145b610b0e5760405162461bcd60e51b815260206004820152601860248201527f4552433732313a20496e76616c6964207175616e7469747900000000000000006044820152606401610693565b60038111610b2557610b203382610fdf565b610b85565b655af3107a4000341015610b7b5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20496e73756666696369656e74207061796d656e74000000006044820152606401610693565b610b853382610fdf565b604051819033907f52277f0b4a9b555c5aa96900a13546f972bda413737ec164aac947c87eec602490600090a350565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610c2c8484846106ae565b6001600160a01b0383163b15610c6557610c4884848484610ffd565b610c65576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060600b54600003610d0957600c8054610c8490611691565b80601f0160208091040260200160405190810160405280929190818152602001828054610cb090611691565b8015610cfd5780601f10610cd257610100808354040283529160200191610cfd565b820191906000526020600020905b815481529060010190602001808311610ce057829003601f168201915b50505050509050919050565b610d1282610ee2565b610d765760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610693565b600d610d81836110e9565b604051602001610d92929190611870565b6040516020818303038152906040529050919050565b919050565b600a546001600160a01b03163314610dd75760405162461bcd60e51b8152600401610693906116cb565b600d6106a9828483611746565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b600a546001600160a01b03163314610e3c5760405162461bcd60e51b8152600401610693906116cb565b6001600160a01b038116610ea15760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610693565b610eaa81610f8d565b50565b60006001600160e01b0319821663152a902d60e11b14806104ed57506301ffc9a760e01b6001600160e01b03198316146104ed565b600081600111158015610ef6575060005482105b80156104ed575050600090815260046020526040902054600160e01b161590565b60008180600111610f7457600054811015610f745760008181526004602052604081205490600160e01b82169003610f72575b80600003610f6b575060001901600081815260046020526040902054610f4a565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610ff98282604051806020016040528060008152506111ea565b5050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906110329033908990889088906004016118f7565b6020604051808303816000875af192505050801561106d575060408051601f3d908101601f1916820190925261106a91810190611934565b60015b6110cb573d80801561109b576040519150601f19603f3d011682016040523d82523d6000602084013e6110a0565b606091505b5080516000036110c3576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060816000036111105750506040805180820190915260018152600360fc1b602082015290565b8160005b811561113a578061112481611951565b91506111339050600a83611849565b9150611114565b60008167ffffffffffffffff8111156111555761115561156c565b6040519080825280601f01601f19166020018201604052801561117f576020820181803683370190505b5090505b84156110e15761119460018361196a565b91506111a1600a8661197d565b6111ac90603061185d565b60f81b8183815181106111c1576111c1611991565b60200101906001600160f81b031916908160001a9053506111e3600a86611849565b9450611183565b6111f48383611257565b6001600160a01b0383163b156106a9576000548281035b61121e6000868380600101945086610ffd565b61123b576040516368d2bf6b60e11b815260040160405180910390fd5b81811061120b57816000541461125057600080fd5b5050505050565b600080549082900361127c5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461132b57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46001016112f3565b508160000361134c57604051622e076360e81b815260040160405180910390fd5b60005550505050565b6001600160e01b031981168114610eaa57600080fd5b60006020828403121561137d57600080fd5b8135610f6b81611355565b60005b838110156113a357818101518382015260200161138b565b50506000910152565b600081518084526113c4816020860160208601611388565b601f01601f19169290920160200192915050565b602081526000610f6b60208301846113ac565b6000602082840312156113fd57600080fd5b5035919050565b80356001600160a01b0381168114610da857600080fd5b6000806040838503121561142e57600080fd5b61143783611404565b946020939093013593505050565b6000806020838503121561145857600080fd5b823567ffffffffffffffff8082111561147057600080fd5b818501915085601f83011261148457600080fd5b81358181111561149357600080fd5b8660208285010111156114a557600080fd5b60209290920196919550909350505050565b6000806000606084860312156114cc57600080fd5b6114d584611404565b92506114e360208501611404565b9150604084013590509250925092565b6000806040838503121561150657600080fd5b50508035926020909101359150565b60006020828403121561152757600080fd5b610f6b82611404565b6000806040838503121561154357600080fd5b61154c83611404565b91506020830135801515811461156157600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b6000806000806080858703121561159857600080fd5b6115a185611404565b93506115af60208601611404565b925060408501359150606085013567ffffffffffffffff808211156115d357600080fd5b818701915087601f8301126115e757600080fd5b8135818111156115f9576115f961156c565b604051601f8201601f19908116603f011681019083821181831017156116215761162161156c565b816040528281528a602084870101111561163a57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806040838503121561167157600080fd5b61167a83611404565b915061168860208401611404565b90509250929050565b600181811c908216806116a557607f821691505b6020821081036116c557634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b601f8211156106a957600081815260208120601f850160051c810160208610156117275750805b601f850160051c820191505b8181101561083f57828155600101611733565b67ffffffffffffffff83111561175e5761175e61156c565b6117728361176c8354611691565b83611700565b6000601f8411600181146117a6576000851561178e5750838201355b600019600387901b1c1916600186901b178355611250565b600083815260209020601f19861690835b828110156117d757868501358255602094850194600190920191016117b7565b50868210156117f45760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176104ed576104ed611806565b634e487b7160e01b600052601260045260246000fd5b60008261185857611858611833565b500490565b808201808211156104ed576104ed611806565b600080845461187e81611691565b6001828116801561189657600181146118ab576118da565b60ff19841687528215158302870194506118da565b8860005260208060002060005b858110156118d15781548a8201529084019082016118b8565b50505082870194505b5050505083516118ee818360208801611388565b01949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061192a908301846113ac565b9695505050505050565b60006020828403121561194657600080fd5b8151610f6b81611355565b60006001820161196357611963611806565b5060010190565b818103818111156104ed576104ed611806565b60008261198c5761198c611833565b500690565b634e487b7160e01b600052603260045260246000fdfea264697066735822122004b71c2a7c49a02fd29d997d933517c1adb025db5a3437b8af1a1e3c4f5b242764736f6c6343000812003368747470733a2f2f697066732e696f2f697066732f516d526a6d695674414c4a747959784e596b6752555a584d687950485a4d464b647546654e313763616b33415544

Deployed Bytecode

0x60806040526004361061019c5760003560e01c806370a08231116100ec578063a22cb4651161008a578063e5e01c1111610064578063e5e01c111461046d578063e985e9c51461048d578063f2fde38b146104ad578063fe878b1d146104cd57600080fd5b8063a22cb4651461041a578063b88d4fde1461043a578063c87b56dd1461044d57600080fd5b806395d89b41116100c657806395d89b41146103bd5780639858cf19146103d25780639894ba7c146103e7578063a0712d681461040757600080fd5b806370a082311461036a578063715018a61461038a5780638da5cb5b1461039f57600080fd5b806323b872dd1161015957806341f434341161013357806341f43434146102f557806342842e0e14610317578063528c06cc1461032a5780636352211e1461034a57600080fd5b806323b872dd1461028c5780632a55205a1461029f57806332cb6b0c146102de57600080fd5b806301ffc9a7146101a157806306fdde03146101d6578063081812fc146101f8578063095ea7b3146102305780630e5c19191461024557806318160ddd14610265575b600080fd5b3480156101ad57600080fd5b506101c16101bc36600461136b565b6104e2565b60405190151581526020015b60405180910390f35b3480156101e257600080fd5b506101eb6104f3565b6040516101cd91906113d8565b34801561020457600080fd5b506102186102133660046113eb565b610585565b6040516001600160a01b0390911681526020016101cd565b61024361023e36600461141b565b6105c9565b005b34801561025157600080fd5b50610243610260366004611445565b610669565b34801561027157600080fd5b5060015460005403600019015b6040519081526020016101cd565b61024361029a3660046114b7565b6106ae565b3480156102ab57600080fd5b506102bf6102ba3660046114f3565b610847565b604080516001600160a01b0390931683526020830191909152016101cd565b3480156102ea57600080fd5b5061027e620186a081565b34801561030157600080fd5b506102186daaeb6d7670e522a718067333cd4e81565b6102436103253660046114b7565b6108f3565b34801561033657600080fd5b506102436103453660046113eb565b61090e565b34801561035657600080fd5b506102186103653660046113eb565b61093d565b34801561037657600080fd5b5061027e610385366004611515565b610948565b34801561039657600080fd5b50610243610997565b3480156103ab57600080fd5b50600a546001600160a01b0316610218565b3480156103c957600080fd5b506101eb6109cd565b3480156103de57600080fd5b5061027e600381565b3480156103f357600080fd5b50610243610402366004611515565b6109dc565b6102436104153660046113eb565b610a3e565b34801561042657600080fd5b50610243610435366004611530565b610bb5565b610243610448366004611582565b610c21565b34801561045957600080fd5b506101eb6104683660046113eb565b610c6b565b34801561047957600080fd5b50610243610488366004611445565b610dad565b34801561049957600080fd5b506101c16104a836600461165e565b610de4565b3480156104b957600080fd5b506102436104c8366004611515565b610e12565b3480156104d957600080fd5b5061027e600a81565b60006104ed82610ead565b92915050565b60606002805461050290611691565b80601f016020809104026020016040519081016040528092919081815260200182805461052e90611691565b801561057b5780601f106105505761010080835404028352916020019161057b565b820191906000526020600020905b81548152906001019060200180831161055e57829003601f168201915b5050505050905090565b600061059082610ee2565b6105ad576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006105d48261093d565b9050336001600160a01b0382161461060d576105f08133610de4565b61060d576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600a546001600160a01b0316331461069c5760405162461bcd60e51b8152600401610693906116cb565b60405180910390fd5b600c6106a9828483611746565b505050565b60006106b982610f17565b9050836001600160a01b0316816001600160a01b0316146106ec5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b038816909114176107395761071c8633610de4565b61073957604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661076057604051633a954ecd60e21b815260040160405180910390fd5b801561076b57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b841690036107fd576001840160008181526004602052604081205490036107fb5760005481146107fb5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b60008281526009602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b03169282019290925282916108bc5750604080518082019091526008546001600160a01b0381168252600160a01b90046001600160601b031660208201525b6020810151600090612710906108db906001600160601b03168761181c565b6108e59190611849565b915196919550909350505050565b6106a983838360405180602001604052806000815250610c21565b600a546001600160a01b031633146109385760405162461bcd60e51b8152600401610693906116cb565b600b55565b60006104ed82610f17565b60006001600160a01b038216610971576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b600a546001600160a01b031633146109c15760405162461bcd60e51b8152600401610693906116cb565b6109cb6000610f8d565b565b60606003805461050290611691565b600a546001600160a01b03163314610a065760405162461bcd60e51b8152600401610693906116cb565b60405147906001600160a01b0383169082156108fc029083906000818181858888f193505050501580156106a9573d6000803e3d6000fd5b600154600054620186a09183910360001901610a5a919061185d565b1115610aa85760405162461bcd60e51b815260206004820152601e60248201527f4552433732313a2045786365656473206d6178696d756d20737570706c7900006044820152606401610693565b8060011480610ab75750600381145b80610ac25750600a81145b610b0e5760405162461bcd60e51b815260206004820152601860248201527f4552433732313a20496e76616c6964207175616e7469747900000000000000006044820152606401610693565b60038111610b2557610b203382610fdf565b610b85565b655af3107a4000341015610b7b5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20496e73756666696369656e74207061796d656e74000000006044820152606401610693565b610b853382610fdf565b604051819033907f52277f0b4a9b555c5aa96900a13546f972bda413737ec164aac947c87eec602490600090a350565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610c2c8484846106ae565b6001600160a01b0383163b15610c6557610c4884848484610ffd565b610c65576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060600b54600003610d0957600c8054610c8490611691565b80601f0160208091040260200160405190810160405280929190818152602001828054610cb090611691565b8015610cfd5780601f10610cd257610100808354040283529160200191610cfd565b820191906000526020600020905b815481529060010190602001808311610ce057829003601f168201915b50505050509050919050565b610d1282610ee2565b610d765760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610693565b600d610d81836110e9565b604051602001610d92929190611870565b6040516020818303038152906040529050919050565b919050565b600a546001600160a01b03163314610dd75760405162461bcd60e51b8152600401610693906116cb565b600d6106a9828483611746565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b600a546001600160a01b03163314610e3c5760405162461bcd60e51b8152600401610693906116cb565b6001600160a01b038116610ea15760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610693565b610eaa81610f8d565b50565b60006001600160e01b0319821663152a902d60e11b14806104ed57506301ffc9a760e01b6001600160e01b03198316146104ed565b600081600111158015610ef6575060005482105b80156104ed575050600090815260046020526040902054600160e01b161590565b60008180600111610f7457600054811015610f745760008181526004602052604081205490600160e01b82169003610f72575b80600003610f6b575060001901600081815260046020526040902054610f4a565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610ff98282604051806020016040528060008152506111ea565b5050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906110329033908990889088906004016118f7565b6020604051808303816000875af192505050801561106d575060408051601f3d908101601f1916820190925261106a91810190611934565b60015b6110cb573d80801561109b576040519150601f19603f3d011682016040523d82523d6000602084013e6110a0565b606091505b5080516000036110c3576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060816000036111105750506040805180820190915260018152600360fc1b602082015290565b8160005b811561113a578061112481611951565b91506111339050600a83611849565b9150611114565b60008167ffffffffffffffff8111156111555761115561156c565b6040519080825280601f01601f19166020018201604052801561117f576020820181803683370190505b5090505b84156110e15761119460018361196a565b91506111a1600a8661197d565b6111ac90603061185d565b60f81b8183815181106111c1576111c1611991565b60200101906001600160f81b031916908160001a9053506111e3600a86611849565b9450611183565b6111f48383611257565b6001600160a01b0383163b156106a9576000548281035b61121e6000868380600101945086610ffd565b61123b576040516368d2bf6b60e11b815260040160405180910390fd5b81811061120b57816000541461125057600080fd5b5050505050565b600080549082900361127c5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461132b57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46001016112f3565b508160000361134c57604051622e076360e81b815260040160405180910390fd5b60005550505050565b6001600160e01b031981168114610eaa57600080fd5b60006020828403121561137d57600080fd5b8135610f6b81611355565b60005b838110156113a357818101518382015260200161138b565b50506000910152565b600081518084526113c4816020860160208601611388565b601f01601f19169290920160200192915050565b602081526000610f6b60208301846113ac565b6000602082840312156113fd57600080fd5b5035919050565b80356001600160a01b0381168114610da857600080fd5b6000806040838503121561142e57600080fd5b61143783611404565b946020939093013593505050565b6000806020838503121561145857600080fd5b823567ffffffffffffffff8082111561147057600080fd5b818501915085601f83011261148457600080fd5b81358181111561149357600080fd5b8660208285010111156114a557600080fd5b60209290920196919550909350505050565b6000806000606084860312156114cc57600080fd5b6114d584611404565b92506114e360208501611404565b9150604084013590509250925092565b6000806040838503121561150657600080fd5b50508035926020909101359150565b60006020828403121561152757600080fd5b610f6b82611404565b6000806040838503121561154357600080fd5b61154c83611404565b91506020830135801515811461156157600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b6000806000806080858703121561159857600080fd5b6115a185611404565b93506115af60208601611404565b925060408501359150606085013567ffffffffffffffff808211156115d357600080fd5b818701915087601f8301126115e757600080fd5b8135818111156115f9576115f961156c565b604051601f8201601f19908116603f011681019083821181831017156116215761162161156c565b816040528281528a602084870101111561163a57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806040838503121561167157600080fd5b61167a83611404565b915061168860208401611404565b90509250929050565b600181811c908216806116a557607f821691505b6020821081036116c557634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b601f8211156106a957600081815260208120601f850160051c810160208610156117275750805b601f850160051c820191505b8181101561083f57828155600101611733565b67ffffffffffffffff83111561175e5761175e61156c565b6117728361176c8354611691565b83611700565b6000601f8411600181146117a6576000851561178e5750838201355b600019600387901b1c1916600186901b178355611250565b600083815260209020601f19861690835b828110156117d757868501358255602094850194600190920191016117b7565b50868210156117f45760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176104ed576104ed611806565b634e487b7160e01b600052601260045260246000fd5b60008261185857611858611833565b500490565b808201808211156104ed576104ed611806565b600080845461187e81611691565b6001828116801561189657600181146118ab576118da565b60ff19841687528215158302870194506118da565b8860005260208060002060005b858110156118d15781548a8201529084019082016118b8565b50505082870194505b5050505083516118ee818360208801611388565b01949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061192a908301846113ac565b9695505050505050565b60006020828403121561194657600080fd5b8151610f6b81611355565b60006001820161196357611963611806565b5060010190565b818103818111156104ed576104ed611806565b60008261198c5761198c611833565b500690565b634e487b7160e01b600052603260045260246000fdfea264697066735822122004b71c2a7c49a02fd29d997d933517c1adb025db5a3437b8af1a1e3c4f5b242764736f6c63430008120033

Deployed Bytecode Sourcemap

76623:2514:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;77300:174;;;;;;;;;;-1:-1:-1;77300:174:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;77300:174:0;;;;;;;;24740:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;31231:218::-;;;;;;;;;;-1:-1:-1;31231:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1697:32:1;;;1679:51;;1667:2;1652:18;31231:218:0;1533:203:1;30664:408:0;;;;;;:::i;:::-;;:::i;:::-;;77849:111;;;;;;;;;;-1:-1:-1;77849:111:0;;;;;:::i;:::-;;:::i;20491:323::-;;;;;;;;;;-1:-1:-1;77574:1:0;20765:12;20552:7;20749:13;:28;-1:-1:-1;;20749:46:0;20491:323;;;2921:25:1;;;2909:2;2894:18;20491:323:0;2775:177:1;34870:2825:0;;;;;;:::i;:::-;;:::i;61369:442::-;;;;;;;;;;-1:-1:-1;61369:442:0;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;3735:32:1;;;3717:51;;3799:2;3784:18;;3777:34;;;;3690:18;61369:442:0;3543:274:1;76742:43:0;;;;;;;;;;;;76779:6;76742:43;;2946:143;;;;;;;;;;;;3046:42;2946:143;;37791:193;;;;;;:::i;:::-;;:::i;77749:92::-;;;;;;;;;;-1:-1:-1;77749:92:0;;;;;:::i;:::-;;:::i;26133:152::-;;;;;;;;;;-1:-1:-1;26133:152:0;;;;;:::i;:::-;;:::i;21675:233::-;;;;;;;;;;-1:-1:-1;21675:233:0;;;;;:::i;:::-;;:::i;75637:103::-;;;;;;;;;;;;;:::i;74986:87::-;;;;;;;;;;-1:-1:-1;75059:6:0;;-1:-1:-1;;;;;75059:6:0;74986:87;;24916:104;;;;;;;;;;;;;:::i;76792:39::-;;;;;;;;;;;;76830:1;76792:39;;77591:150;;;;;;;;;;-1:-1:-1;77591:150:0;;;;;:::i;:::-;;:::i;78572:560::-;;;;;;:::i;:::-;;:::i;31789:234::-;;;;;;;;;;-1:-1:-1;31789:234:0;;;;;:::i;:::-;;:::i;38582:407::-;;;;;;:::i;:::-;;:::i;78207:357::-;;;;;;;;;;-1:-1:-1;78207:357:0;;;;;:::i;:::-;;:::i;77968:109::-;;;;;;;;;;-1:-1:-1;77968:109:0;;;;;:::i;:::-;;:::i;32180:164::-;;;;;;;;;;-1:-1:-1;32180:164:0;;;;;:::i;:::-;;:::i;75895:201::-;;;;;;;;;;-1:-1:-1;75895:201:0;;;;;:::i;:::-;;:::i;76838:40::-;;;;;;;;;;;;76876:2;76838:40;;77300:174;77408:4;77430:36;77454:11;77430:23;:36::i;:::-;77423:43;77300:174;-1:-1:-1;;77300:174:0:o;24740:100::-;24794:13;24827:5;24820:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24740:100;:::o;31231:218::-;31307:7;31332:16;31340:7;31332;:16::i;:::-;31327:64;;31357:34;;-1:-1:-1;;;31357:34:0;;;;;;;;;;;31327:64;-1:-1:-1;31411:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;31411:30:0;;31231:218::o;30664:408::-;30753:13;30769:16;30777:7;30769;:16::i;:::-;30753:32;-1:-1:-1;54997:10:0;-1:-1:-1;;;;;30802:28:0;;;30798:175;;30850:44;30867:5;54997:10;32180:164;:::i;30850:44::-;30845:128;;30922:35;;-1:-1:-1;;;30922:35:0;;;;;;;;;;;30845:128;30985:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;30985:35:0;-1:-1:-1;;;;;30985:35:0;;;;;;;;;31036:28;;30985:24;;31036:28;;;;;;;30742:330;30664:408;;:::o;77849:111::-;75059:6;;-1:-1:-1;;;;;75059:6:0;54997:10;75206:23;75198:68;;;;-1:-1:-1;;;75198:68:0;;;;;;;:::i;:::-;;;;;;;;;77928:12:::1;:24;77943:9:::0;;77928:12;:24:::1;:::i;:::-;;77849:111:::0;;:::o;34870:2825::-;35012:27;35042;35061:7;35042:18;:27::i;:::-;35012:57;;35127:4;-1:-1:-1;;;;;35086:45:0;35102:19;-1:-1:-1;;;;;35086:45:0;;35082:86;;35140:28;;-1:-1:-1;;;35140:28:0;;;;;;;;;;;35082:86;35182:27;33978:24;;;:15;:24;;;;;34206:26;;54997:10;33603:30;;;-1:-1:-1;;;;;33296:28:0;;33581:20;;;33578:56;35368:180;;35461:43;35478:4;54997:10;32180:164;:::i;35461:43::-;35456:92;;35513:35;;-1:-1:-1;;;35513:35:0;;;;;;;;;;;35456:92;-1:-1:-1;;;;;35565:16:0;;35561:52;;35590:23;;-1:-1:-1;;;35590:23:0;;;;;;;;;;;35561:52;35762:15;35759:160;;;35902:1;35881:19;35874:30;35759:160;-1:-1:-1;;;;;36299:24:0;;;;;;;:18;:24;;;;;;36297:26;;-1:-1:-1;;36297:26:0;;;36368:22;;;;;;;;;36366:24;;-1:-1:-1;36366:24:0;;;29522:11;29497:23;29493:41;29480:63;-1:-1:-1;;;29480:63:0;36661:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;36956:47:0;;:52;;36952:627;;37061:1;37051:11;;37029:19;37184:30;;;:17;:30;;;;;;:35;;37180:384;;37322:13;;37307:11;:28;37303:242;;37469:30;;;;:17;:30;;;;;:52;;;37303:242;37010:569;36952:627;37626:7;37622:2;-1:-1:-1;;;;;37607:27:0;37616:4;-1:-1:-1;;;;;37607:27:0;;;;;;;;;;;37645:42;35001:2694;;;34870:2825;;;:::o;61369:442::-;61466:7;61524:27;;;:17;:27;;;;;;;;61495:56;;;;;;;;;-1:-1:-1;;;;;61495:56:0;;;;;-1:-1:-1;;;61495:56:0;;;-1:-1:-1;;;;;61495:56:0;;;;;;;;61466:7;;61564:92;;-1:-1:-1;61615:29:0;;;;;;;;;61625:19;61615:29;-1:-1:-1;;;;;61615:29:0;;;;-1:-1:-1;;;61615:29:0;;-1:-1:-1;;;;;61615:29:0;;;;;61564:92;61706:23;;;;61668:21;;62177:5;;61693:36;;-1:-1:-1;;;;;61693:36:0;:10;:36;:::i;:::-;61692:58;;;;:::i;:::-;61771:16;;;;;-1:-1:-1;61369:442:0;;-1:-1:-1;;;;61369:442:0:o;37791:193::-;37937:39;37954:4;37960:2;37964:7;37937:39;;;;;;;;;;;;:16;:39::i;77749:92::-;75059:6;;-1:-1:-1;;;;;75059:6:0;54997:10;75206:23;75198:68;;;;-1:-1:-1;;;75198:68:0;;;;;;;:::i;:::-;77821:5:::1;:12:::0;77749:92::o;26133:152::-;26205:7;26248:27;26267:7;26248:18;:27::i;21675:233::-;21747:7;-1:-1:-1;;;;;21771:19:0;;21767:60;;21799:28;;-1:-1:-1;;;21799:28:0;;;;;;;;;;;21767:60;-1:-1:-1;;;;;;21845:25:0;;;;;:18;:25;;;;;;15834:13;21845:55;;21675:233::o;75637:103::-;75059:6;;-1:-1:-1;;;;;75059:6:0;54997:10;75206:23;75198:68;;;;-1:-1:-1;;;75198:68:0;;;;;;;:::i;:::-;75702:30:::1;75729:1;75702:18;:30::i;:::-;75637:103::o:0;24916:104::-;24972:13;25005:7;24998:14;;;;;:::i;77591:150::-;75059:6;;-1:-1:-1;;;;;75059:6:0;54997:10;75206:23;75198:68;;;;-1:-1:-1;;;75198:68:0;;;;;;;:::i;:::-;77703:30:::1;::::0;77671:21:::1;::::0;-1:-1:-1;;;;;77703:21:0;::::1;::::0;:30;::::1;;;::::0;77671:21;;77653:15:::1;77703:30:::0;77653:15;77703:30;77671:21;77703;:30;::::1;;;;;;;;;;;;;::::0;::::1;;;;78572:560:::0;77574:1;20765:12;20552:7;20749:13;76779:6;;78654:8;;20749:28;-1:-1:-1;;20749:46:0;78638:24;;;;:::i;:::-;:38;;78630:81;;;;-1:-1:-1;;;78630:81:0;;9842:2:1;78630:81:0;;;9824:21:1;9881:2;9861:18;;;9854:30;9920:32;9900:18;;;9893:60;9970:18;;78630:81:0;9640:354:1;78630:81:0;78730:8;78742:1;78730:13;:40;;;;76830:1;78747:8;:23;78730:40;:67;;;;76876:2;78774:8;:23;78730:67;78722:104;;;;-1:-1:-1;;;78722:104:0;;10201:2:1;78722:104:0;;;10183:21:1;10240:2;10220:18;;;10213:30;10279:26;10259:18;;;10252:54;10323:18;;78722:104:0;9999:348:1;78722:104:0;76830:1;78843:8;:23;78839:231;;78884:30;78894:10;78905:8;78884:9;:30::i;:::-;78839:231;;;78968:12;78955:9;:25;;78947:66;;;;-1:-1:-1;;;78947:66:0;;10554:2:1;78947:66:0;;;10536:21:1;10593:2;10573:18;;;10566:30;10632;10612:18;;;10605:58;10680:18;;78947:66:0;10352:352:1;78947:66:0;79028:30;79038:10;79049:8;79028:9;:30::i;:::-;79095:29;;79115:8;;79103:10;;79095:29;;;;;78572:560;:::o;31789:234::-;54997:10;31884:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;31884:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;31884:60:0;;;;;;;;;;31960:55;;540:41:1;;;31884:49:0;;54997:10;31960:55;;513:18:1;31960:55:0;;;;;;;31789:234;;:::o;38582:407::-;38757:31;38770:4;38776:2;38780:7;38757:12;:31::i;:::-;-1:-1:-1;;;;;38803:14:0;;;:19;38799:183;;38842:56;38873:4;38879:2;38883:7;38892:5;38842:30;:56::i;:::-;38837:145;;38926:40;;-1:-1:-1;;;38926:40:0;;;;;;;;;;;38837:145;38582:407;;;;:::o;78207:357::-;78272:13;78302:5;;78311:1;78302:10;78298:259;;78336:12;78329:19;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;78207:357;;;:::o;78298:259::-;78389:16;78397:7;78389;:16::i;:::-;78381:76;;;;-1:-1:-1;;;78381:76:0;;10911:2:1;78381:76:0;;;10893:21:1;10950:2;10930:18;;;10923:30;10989:34;10969:18;;;10962:62;-1:-1:-1;;;11040:18:1;;;11033:45;11095:19;;78381:76:0;10709:411:1;78381:76:0;78503:13;78518:25;78535:7;78518:16;:25::i;:::-;78486:58;;;;;;;;;:::i;:::-;;;;;;;;;;;;;78472:73;;78207:357;;;:::o;78298:259::-;78207:357;;;:::o;77968:109::-;75059:6;;-1:-1:-1;;;;;75059:6:0;54997:10;75206:23;75198:68;;;;-1:-1:-1;;;75198:68:0;;;;;;;:::i;:::-;78044:13:::1;:25;78060:9:::0;;78044:13;:25:::1;:::i;32180:164::-:0;-1:-1:-1;;;;;32301:25:0;;;32277:4;32301:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;32180:164::o;75895:201::-;75059:6;;-1:-1:-1;;;;;75059:6:0;54997:10;75206:23;75198:68;;;;-1:-1:-1;;;75198:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;75984:22:0;::::1;75976:73;;;::::0;-1:-1:-1;;;75976:73:0;;12352:2:1;75976:73:0::1;::::0;::::1;12334:21:1::0;12391:2;12371:18;;;12364:30;12430:34;12410:18;;;12403:62;-1:-1:-1;;;12481:18:1;;;12474:36;12527:19;;75976:73:0::1;12150:402:1::0;75976:73:0::1;76060:28;76079:8;76060:18;:28::i;:::-;75895:201:::0;:::o;61099:215::-;61201:4;-1:-1:-1;;;;;;61225:41:0;;-1:-1:-1;;;61225:41:0;;:81;;-1:-1:-1;;;;;;;;;;58760:40:0;;;61270:36;58651:157;32602:282;32667:4;32723:7;77574:1;32704:26;;:66;;;;;32757:13;;32747:7;:23;32704:66;:153;;;;-1:-1:-1;;32808:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;32808:44:0;:49;;32602:282::o;27288:1275::-;27355:7;27390;;77574:1;27439:23;27435:1061;;27492:13;;27485:4;:20;27481:1015;;;27530:14;27547:23;;;:17;:23;;;;;;;-1:-1:-1;;;27636:24:0;;:29;;27632:845;;28301:113;28308:6;28318:1;28308:11;28301:113;;-1:-1:-1;;;28379:6:0;28361:25;;;;:17;:25;;;;;;28301:113;;;28447:6;27288:1275;-1:-1:-1;;;27288:1275:0:o;27632:845::-;27507:989;27481:1015;28524:31;;-1:-1:-1;;;28524:31:0;;;;;;;;;;;76256:191;76349:6;;;-1:-1:-1;;;;;76366:17:0;;;-1:-1:-1;;;;;;76366:17:0;;;;;;;76399:40;;76349:6;;;76366:17;76349:6;;76399:40;;76330:16;;76399:40;76319:128;76256:191;:::o;48742:112::-;48819:27;48829:2;48833:8;48819:27;;;;;;;;;;;;:9;:27::i;:::-;48742:112;;:::o;41073:716::-;41257:88;;-1:-1:-1;;;41257:88:0;;41236:4;;-1:-1:-1;;;;;41257:45:0;;;;;:88;;54997:10;;41324:4;;41330:7;;41339:5;;41257:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;41257:88:0;;;;;;;;-1:-1:-1;;41257:88:0;;;;;;;;;;;;:::i;:::-;;;41253:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41540:6;:13;41557:1;41540:18;41536:235;;41586:40;;-1:-1:-1;;;41586:40:0;;;;;;;;;;;41536:235;41729:6;41723:13;41714:6;41710:2;41706:15;41699:38;41253:529;-1:-1:-1;;;;;;41416:64:0;-1:-1:-1;;;41416:64:0;;-1:-1:-1;41253:529:0;41073:716;;;;;;:::o;71272:723::-;71328:13;71549:5;71558:1;71549:10;71545:53;;-1:-1:-1;;71576:10:0;;;;;;;;;;;;-1:-1:-1;;;71576:10:0;;;;;71272:723::o;71545:53::-;71623:5;71608:12;71664:78;71671:9;;71664:78;;71697:8;;;;:::i;:::-;;-1:-1:-1;71720:10:0;;-1:-1:-1;71728:2:0;71720:10;;:::i;:::-;;;71664:78;;;71752:19;71784:6;71774:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;71774:17:0;;71752:39;;71802:154;71809:10;;71802:154;;71836:11;71846:1;71836:11;;:::i;:::-;;-1:-1:-1;71905:10:0;71913:2;71905:5;:10;:::i;:::-;71892:24;;:2;:24;:::i;:::-;71879:39;;71862:6;71869;71862:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;71862:56:0;;;;;;;;-1:-1:-1;71933:11:0;71942:2;71933:11;;:::i;:::-;;;71802:154;;47969:689;48100:19;48106:2;48110:8;48100:5;:19::i;:::-;-1:-1:-1;;;;;48161:14:0;;;:19;48157:483;;48201:11;48215:13;48263:14;;;48296:233;48327:62;48366:1;48370:2;48374:7;;;;;;48383:5;48327:30;:62::i;:::-;48322:167;;48425:40;;-1:-1:-1;;;48425:40:0;;;;;;;;;;;48322:167;48524:3;48516:5;:11;48296:233;;48611:3;48594:13;;:20;48590:34;;48616:8;;;48590:34;48182:458;;47969:689;;;:::o;42251:2966::-;42324:20;42347:13;;;42375;;;42371:44;;42397:18;;-1:-1:-1;;;42397:18:0;;;;;;;;;;;42371:44;-1:-1:-1;;;;;42903:22:0;;;;;;:18;:22;;;;15972:2;42903:22;;;:71;;42941:32;42929:45;;42903:71;;;43217:31;;;:17;:31;;;;;-1:-1:-1;29953:15:0;;29927:24;29923:46;29522:11;29497:23;29493:41;29490:52;29480:63;;43217:173;;43452:23;;;;43217:31;;42903:22;;44217:25;42903:22;;44070:335;44731:1;44717:12;44713:20;44671:346;44772:3;44763:7;44760:16;44671:346;;44990:7;44980:8;44977:1;44950:25;44947:1;44944;44939:59;44825:1;44812:15;44671:346;;;44675:77;45050:8;45062:1;45050:13;45046:45;;45072:19;;-1:-1:-1;;;45072:19:0;;;;;;;;;;;45046:45;45108:13;:19;-1:-1:-1;77928:24:0::1;77849:111:::0;;:::o;14:131:1:-;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:250::-;677:1;687:113;701:6;698:1;695:13;687:113;;;777:11;;;771:18;758:11;;;751:39;723:2;716:10;687:113;;;-1:-1:-1;;834:1:1;816:16;;809:27;592:250::o;847:271::-;889:3;927:5;921:12;954:6;949:3;942:19;970:76;1039:6;1032:4;1027:3;1023:14;1016:4;1009:5;1005:16;970:76;:::i;:::-;1100:2;1079:15;-1:-1:-1;;1075:29:1;1066:39;;;;1107:4;1062:50;;847:271;-1:-1:-1;;847:271:1:o;1123:220::-;1272:2;1261:9;1254:21;1235:4;1292:45;1333:2;1322:9;1318:18;1310:6;1292:45;:::i;1348:180::-;1407:6;1460:2;1448:9;1439:7;1435:23;1431:32;1428:52;;;1476:1;1473;1466:12;1428:52;-1:-1:-1;1499:23:1;;1348:180;-1:-1:-1;1348:180:1:o;1741:173::-;1809:20;;-1:-1:-1;;;;;1858:31:1;;1848:42;;1838:70;;1904:1;1901;1894:12;1919:254;1987:6;1995;2048:2;2036:9;2027:7;2023:23;2019:32;2016:52;;;2064:1;2061;2054:12;2016:52;2087:29;2106:9;2087:29;:::i;:::-;2077:39;2163:2;2148:18;;;;2135:32;;-1:-1:-1;;;1919:254:1:o;2178:592::-;2249:6;2257;2310:2;2298:9;2289:7;2285:23;2281:32;2278:52;;;2326:1;2323;2316:12;2278:52;2366:9;2353:23;2395:18;2436:2;2428:6;2425:14;2422:34;;;2452:1;2449;2442:12;2422:34;2490:6;2479:9;2475:22;2465:32;;2535:7;2528:4;2524:2;2520:13;2516:27;2506:55;;2557:1;2554;2547:12;2506:55;2597:2;2584:16;2623:2;2615:6;2612:14;2609:34;;;2639:1;2636;2629:12;2609:34;2684:7;2679:2;2670:6;2666:2;2662:15;2658:24;2655:37;2652:57;;;2705:1;2702;2695:12;2652:57;2736:2;2728:11;;;;;2758:6;;-1:-1:-1;2178:592:1;;-1:-1:-1;;;;2178:592:1:o;2957:328::-;3034:6;3042;3050;3103:2;3091:9;3082:7;3078:23;3074:32;3071:52;;;3119:1;3116;3109:12;3071:52;3142:29;3161:9;3142:29;:::i;:::-;3132:39;;3190:38;3224:2;3213:9;3209:18;3190:38;:::i;:::-;3180:48;;3275:2;3264:9;3260:18;3247:32;3237:42;;2957:328;;;;;:::o;3290:248::-;3358:6;3366;3419:2;3407:9;3398:7;3394:23;3390:32;3387:52;;;3435:1;3432;3425:12;3387:52;-1:-1:-1;;3458:23:1;;;3528:2;3513:18;;;3500:32;;-1:-1:-1;3290:248:1:o;4061:186::-;4120:6;4173:2;4161:9;4152:7;4148:23;4144:32;4141:52;;;4189:1;4186;4179:12;4141:52;4212:29;4231:9;4212:29;:::i;4252:347::-;4317:6;4325;4378:2;4366:9;4357:7;4353:23;4349:32;4346:52;;;4394:1;4391;4384:12;4346:52;4417:29;4436:9;4417:29;:::i;:::-;4407:39;;4496:2;4485:9;4481:18;4468:32;4543:5;4536:13;4529:21;4522:5;4519:32;4509:60;;4565:1;4562;4555:12;4509:60;4588:5;4578:15;;;4252:347;;;;;:::o;4604:127::-;4665:10;4660:3;4656:20;4653:1;4646:31;4696:4;4693:1;4686:15;4720:4;4717:1;4710:15;4736:1138;4831:6;4839;4847;4855;4908:3;4896:9;4887:7;4883:23;4879:33;4876:53;;;4925:1;4922;4915:12;4876:53;4948:29;4967:9;4948:29;:::i;:::-;4938:39;;4996:38;5030:2;5019:9;5015:18;4996:38;:::i;:::-;4986:48;;5081:2;5070:9;5066:18;5053:32;5043:42;;5136:2;5125:9;5121:18;5108:32;5159:18;5200:2;5192:6;5189:14;5186:34;;;5216:1;5213;5206:12;5186:34;5254:6;5243:9;5239:22;5229:32;;5299:7;5292:4;5288:2;5284:13;5280:27;5270:55;;5321:1;5318;5311:12;5270:55;5357:2;5344:16;5379:2;5375;5372:10;5369:36;;;5385:18;;:::i;:::-;5460:2;5454:9;5428:2;5514:13;;-1:-1:-1;;5510:22:1;;;5534:2;5506:31;5502:40;5490:53;;;5558:18;;;5578:22;;;5555:46;5552:72;;;5604:18;;:::i;:::-;5644:10;5640:2;5633:22;5679:2;5671:6;5664:18;5719:7;5714:2;5709;5705;5701:11;5697:20;5694:33;5691:53;;;5740:1;5737;5730:12;5691:53;5796:2;5791;5787;5783:11;5778:2;5770:6;5766:15;5753:46;5841:1;5836:2;5831;5823:6;5819:15;5815:24;5808:35;5862:6;5852:16;;;;;;;4736:1138;;;;;;;:::o;5879:260::-;5947:6;5955;6008:2;5996:9;5987:7;5983:23;5979:32;5976:52;;;6024:1;6021;6014:12;5976:52;6047:29;6066:9;6047:29;:::i;:::-;6037:39;;6095:38;6129:2;6118:9;6114:18;6095:38;:::i;:::-;6085:48;;5879:260;;;;;:::o;6144:380::-;6223:1;6219:12;;;;6266;;;6287:61;;6341:4;6333:6;6329:17;6319:27;;6287:61;6394:2;6386:6;6383:14;6363:18;6360:38;6357:161;;6440:10;6435:3;6431:20;6428:1;6421:31;6475:4;6472:1;6465:15;6503:4;6500:1;6493:15;6357:161;;6144:380;;;:::o;6529:356::-;6731:2;6713:21;;;6750:18;;;6743:30;6809:34;6804:2;6789:18;;6782:62;6876:2;6861:18;;6529:356::o;7016:545::-;7118:2;7113:3;7110:11;7107:448;;;7154:1;7179:5;7175:2;7168:17;7224:4;7220:2;7210:19;7294:2;7282:10;7278:19;7275:1;7271:27;7265:4;7261:38;7330:4;7318:10;7315:20;7312:47;;;-1:-1:-1;7353:4:1;7312:47;7408:2;7403:3;7399:12;7396:1;7392:20;7386:4;7382:31;7372:41;;7463:82;7481:2;7474:5;7471:13;7463:82;;;7526:17;;;7507:1;7496:13;7463:82;;7737:1206;7861:18;7856:3;7853:27;7850:53;;;7883:18;;:::i;:::-;7912:94;8002:3;7962:38;7994:4;7988:11;7962:38;:::i;:::-;7956:4;7912:94;:::i;:::-;8032:1;8057:2;8052:3;8049:11;8074:1;8069:616;;;;8729:1;8746:3;8743:93;;;-1:-1:-1;8802:19:1;;;8789:33;8743:93;-1:-1:-1;;7694:1:1;7690:11;;;7686:24;7682:29;7672:40;7718:1;7714:11;;;7669:57;8849:78;;8042:895;;8069:616;6963:1;6956:14;;;7000:4;6987:18;;-1:-1:-1;;8105:17:1;;;8206:9;8228:229;8242:7;8239:1;8236:14;8228:229;;;8331:19;;;8318:33;8303:49;;8438:4;8423:20;;;;8391:1;8379:14;;;;8258:12;8228:229;;;8232:3;8485;8476:7;8473:16;8470:159;;;8609:1;8605:6;8599:3;8593;8590:1;8586:11;8582:21;8578:34;8574:39;8561:9;8556:3;8552:19;8539:33;8535:79;8527:6;8520:95;8470:159;;;8672:1;8666:3;8663:1;8659:11;8655:19;8649:4;8642:33;8042:895;;7737:1206;;;:::o;8948:127::-;9009:10;9004:3;9000:20;8997:1;8990:31;9040:4;9037:1;9030:15;9064:4;9061:1;9054:15;9080:168;9153:9;;;9184;;9201:15;;;9195:22;;9181:37;9171:71;;9222:18;;:::i;9253:127::-;9314:10;9309:3;9305:20;9302:1;9295:31;9345:4;9342:1;9335:15;9369:4;9366:1;9359:15;9385:120;9425:1;9451;9441:35;;9456:18;;:::i;:::-;-1:-1:-1;9490:9:1;;9385:120::o;9510:125::-;9575:9;;;9596:10;;;9593:36;;;9609:18;;:::i;11125:1020::-;11301:3;11330:1;11363:6;11357:13;11393:36;11419:9;11393:36;:::i;:::-;11448:1;11465:18;;;11492:133;;;;11639:1;11634:356;;;;11458:532;;11492:133;-1:-1:-1;;11525:24:1;;11513:37;;11598:14;;11591:22;11579:35;;11570:45;;;-1:-1:-1;11492:133:1;;11634:356;11665:6;11662:1;11655:17;11695:4;11740:2;11737:1;11727:16;11765:1;11779:165;11793:6;11790:1;11787:13;11779:165;;;11871:14;;11858:11;;;11851:35;11914:16;;;;11808:10;;11779:165;;;11783:3;;;11973:6;11968:3;11964:16;11957:23;;11458:532;;;;;12021:6;12015:13;12037:68;12096:8;12091:3;12084:4;12076:6;12072:17;12037:68;:::i;:::-;12121:18;;11125:1020;-1:-1:-1;;;;11125:1020:1:o;12557:489::-;-1:-1:-1;;;;;12826:15:1;;;12808:34;;12878:15;;12873:2;12858:18;;12851:43;12925:2;12910:18;;12903:34;;;12973:3;12968:2;12953:18;;12946:31;;;12751:4;;12994:46;;13020:19;;13012:6;12994:46;:::i;:::-;12986:54;12557:489;-1:-1:-1;;;;;;12557:489:1:o;13051:249::-;13120:6;13173:2;13161:9;13152:7;13148:23;13144:32;13141:52;;;13189:1;13186;13179:12;13141:52;13221:9;13215:16;13240:30;13264:5;13240:30;:::i;13305:135::-;13344:3;13365:17;;;13362:43;;13385:18;;:::i;:::-;-1:-1:-1;13432:1:1;13421:13;;13305:135::o;13445:128::-;13512:9;;;13533:11;;;13530:37;;;13547:18;;:::i;13578:112::-;13610:1;13636;13626:35;;13641:18;;:::i;:::-;-1:-1:-1;13675:9:1;;13578:112::o;13695:127::-;13756:10;13751:3;13747:20;13744:1;13737:31;13787:4;13784:1;13777:15;13811:4;13808:1;13801:15

Swarm Source

ipfs://04b71c2a7c49a02fd29d997d933517c1adb025db5a3437b8af1a1e3c4f5b2427
Loading...
Loading
Loading...
Loading
[ 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.