ETH Price: $3,084.84 (-1.10%)
Gas: 2 Gwei

Token

Flufferz (fluff)
 

Overview

Max Total Supply

2,200 fluff

Holders

1,059

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
2 fluff
0x162ffc9198596cb130b7f0d844c2e4fde0784a85
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:
Flufferz

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-08-15
*/

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


// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

//@title  : Flufferz
//@author : @Trapmad2


//███████╗██╗     ██╗   ██╗███████╗███████╗███████╗██████╗ ███████╗
//██╔════╝██║     ██║   ██║██╔════╝██╔════╝██╔════╝██╔══██╗╚══███╔╝
//█████╗  ██║     ██║   ██║█████╗  █████╗  █████╗  ██████╔╝  ███╔╝ 
//██╔══╝  ██║     ██║   ██║██╔══╝  ██╔══╝  ██╔══╝  ██╔══██╗ ███╔╝  
//██║     ███████╗╚██████╔╝██║     ██║     ███████╗██║  ██║███████╗
//╚═╝     ╚══════╝ ╚═════╝ ╚═╝     ╚═╝     ╚══════╝╚═╝  ╚═╝╚══════╝

pragma solidity ^0.8.0;

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

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

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

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


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

pragma solidity ^0.8.0;

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

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

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


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

pragma solidity ^0.8.0;


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

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

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

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

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

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

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

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

// File: erc721a/contracts/IERC721A.sol


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

    /**
     * The caller cannot approve to their own address.
     */
    error ApproveToCaller();

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

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

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

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

    /**
     * @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.2
// 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 {
    // Reference type for token approval.
    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 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 {
        if (operator == _msgSenderERC721A()) revert ApproveToCaller();

        _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]`.
        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 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 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 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.
            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`.
                )

                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 0x80 bytes to keep the free memory pointer 32-byte word aliged.
            // We will need 1 32-byte word to store the length,
            // and 3 32-byte words to store a maximum of 78 digits. Total: 0x20 + 3 * 0x20 = 0x80.
            str := add(mload(0x40), 0x80)
            // Update the free memory pointer to allocate.
            mstore(0x40, str)

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

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

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

// File: contracts/Flufferz.sol

//SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;




pragma solidity >=0.7.0 <0.9.0;

contract Flufferz is ERC721A, Ownable {

  //base uri
  string private  initBaseURI = "ipfs://bafybeia6lwlsllu26i6znhu2vjzg3r2bmg3ecipipcm3svoerladxujyuq/";

  //max supply
  uint256 public maxSupply = 8888;

  //price for more than two mints
  uint256 public price = 0.0088 ether;

  //max 2 free per wallet 
  uint256 constant public maxFreeMint = 2;

  //max 10 per wallet
  uint256 public maxPerWallet = 10;

  //public mint status
  bool public paused = false;


  //mapping to check
    mapping(address => bool) public userMintedFree;
    mapping(address => uint256) public numUserMints; 

    //constructor
  constructor() ERC721A("Flufferz", "fluff") {
    setBaseURI(initBaseURI);
  }

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


  //Owner mint
   function ownerMint(uint256 quantity, address reciever) public payable onlyOwner  {
        _mint(reciever, quantity);
    }

  // free mint
  function freeMint(uint256 _mintAmount) public payable {
    uint256 supply = totalSupply();
    require(!paused);
    require(msg.value == 0, "This phase is free");
    require(_mintAmount <= 2);
    uint256 currMints = numUserMints[msg.sender];            
    require(currMints + _mintAmount <= maxFreeMint, "User max free mint limit");
    require(supply + _mintAmount <= maxSupply); 
    numUserMints[msg.sender] = (currMints + _mintAmount);

    _mint(msg.sender, _mintAmount);
   
  }

   // public  mint
  function publicMint(uint256 _mintAmount) public payable {
    uint256 supply = totalSupply();
    require(!paused);
    require(_mintAmount <= 8);
    uint256 currMints = numUserMints[msg.sender];            
    require(currMints + _mintAmount <= maxPerWallet, "User max per wallet limit");
    require(supply + _mintAmount <= maxSupply); 
    numUserMints[msg.sender] = (currMints + _mintAmount);
    require(msg.value >= price * _mintAmount);
      _mint(msg.sender, _mintAmount);
    
   
  }
  
  /* view function */

    function tokenURI(uint256 _tokenId) public view override returns (string memory) {
        return string(abi.encodePacked(initBaseURI, Strings.toString(_tokenId), ".json"));
        
    }

    /* owner function */

    function setBaseURI(string memory _initBaseURI) public onlyOwner {
        initBaseURI = _initBaseURI;
    }

    function setPaused(bool _state) public onlyOwner {
        paused = _state;
    }

    function setMaxPerWallet(uint256 _walletLimit) public onlyOwner{
        maxPerWallet = _walletLimit;
    }

    function withdraw() external payable onlyOwner {
        address DEV_ADDRESS = 0xD4b5FF8f5bAC050BF00870f264C5623f866769a4;
        (bool succ, ) = payable(DEV_ADDRESS).call{
            value: address(this).balance / 10
        }("");
        require(succ, "Dev transfer failed");

        // Withdraw remaining balance to the owner wallet
        (succ, ) = payable(msg.sender).call{
            value: address(this).balance
        }("");
        require(succ, "Owner transfer failed");
    }

}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"freeMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxFreeMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"numUserMints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"address","name":"reciever","type":"address"}],"name":"ownerMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","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":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_initBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_walletLimit","type":"uint256"}],"name":"setMaxPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setPaused","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":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userMintedFree","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]

610100604052604360808181529062001cca60a03980516200002a9160099160209091019062000249565b506122b8600a908155661f438daa060000600b55600c55600d805460ff191690553480156200005857600080fd5b50604080518082018252600881526723363ab33332b93d60c11b60208083019182528351808501909452600584526433363ab33360d91b908401528151919291620000a69160029162000249565b508051620000bc90600390602084019062000249565b5050600160005550620000cf3362000173565b6200016d60098054620000e290620002ef565b80601f01602080910402602001604051908101604052809291908181526020018280546200011090620002ef565b8015620001615780601f10620001355761010080835404028352916020019162000161565b820191906000526020600020905b8154815290600101906020018083116200014357829003601f168201915b5050620001c592505050565b6200032c565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b620001cf620001e8565b8051620001e490600990602084019062000249565b5050565b6008546001600160a01b03163314620002475760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b565b8280546200025790620002ef565b90600052602060002090601f0160209004810192826200027b5760008555620002c6565b82601f106200029657805160ff1916838001178555620002c6565b82800160010185558215620002c6579182015b82811115620002c6578251825591602001919060010190620002a9565b50620002d4929150620002d8565b5090565b5b80821115620002d45760008155600101620002d9565b600181811c908216806200030457607f821691505b602082108114156200032657634e487b7160e01b600052602260045260246000fd5b50919050565b61198e806200033c6000396000f3fe6080604052600436106101d85760003560e01c806370a0823111610102578063a591252d11610095578063d5abeb0111610064578063d5abeb0114610516578063e268e4d31461052c578063e985e9c51461054c578063f2fde38b1461059557600080fd5b8063a591252d146104ae578063b88d4fde146104c3578063c87b56dd146104e3578063d52c57e01461050357600080fd5b80638da5cb5b116100d15780638da5cb5b1461044557806395d89b4114610463578063a035b1fe14610478578063a22cb4651461048e57600080fd5b806370a08231146103d0578063715018a6146103f05780637aeb7242146104055780637c928fe91461043257600080fd5b80632db115441161017a57806355f804b31161014957806355f804b3146103465780635c975abb146103665780636352211e1461038057806364f64076146103a057600080fd5b80632db11544146102f55780633ccfd60b1461030857806342842e0e14610310578063453c23101461033057600080fd5b8063095ea7b3116101b6578063095ea7b31461026c57806316c38b3c1461028e57806318160ddd146102ae57806323b872dd146102d557600080fd5b806301ffc9a7146101dd57806306fdde0314610212578063081812fc14610234575b600080fd5b3480156101e957600080fd5b506101fd6101f83660046115e0565b6105b5565b60405190151581526020015b60405180910390f35b34801561021e57600080fd5b50610227610607565b60405161020991906117df565b34801561024057600080fd5b5061025461024f366004611663565b610699565b6040516001600160a01b039091168152602001610209565b34801561027857600080fd5b5061028c61028736600461159b565b6106dd565b005b34801561029a57600080fd5b5061028c6102a93660046115c5565b61077d565b3480156102ba57600080fd5b5060015460005403600019015b604051908152602001610209565b3480156102e157600080fd5b5061028c6102f03660046114b9565b610798565b61028c610303366004611663565b610929565b61028c610a2a565b34801561031c57600080fd5b5061028c61032b3660046114b9565b610b71565b34801561033c57600080fd5b506102c7600c5481565b34801561035257600080fd5b5061028c61036136600461161a565b610b8c565b34801561037257600080fd5b50600d546101fd9060ff1681565b34801561038c57600080fd5b5061025461039b366004611663565b610ba7565b3480156103ac57600080fd5b506101fd6103bb36600461146b565b600e6020526000908152604090205460ff1681565b3480156103dc57600080fd5b506102c76103eb36600461146b565b610bb2565b3480156103fc57600080fd5b5061028c610c01565b34801561041157600080fd5b506102c761042036600461146b565b600f6020526000908152604090205481565b61028c610440366004611663565b610c15565b34801561045157600080fd5b506008546001600160a01b0316610254565b34801561046f57600080fd5b50610227610d37565b34801561048457600080fd5b506102c7600b5481565b34801561049a57600080fd5b5061028c6104a9366004611571565b610d46565b3480156104ba57600080fd5b506102c7600281565b3480156104cf57600080fd5b5061028c6104de3660046114f5565b610ddc565b3480156104ef57600080fd5b506102276104fe366004611663565b610e26565b61028c61051136600461167c565b610e5a565b34801561052257600080fd5b506102c7600a5481565b34801561053857600080fd5b5061028c610547366004611663565b610e6c565b34801561055857600080fd5b506101fd610567366004611486565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156105a157600080fd5b5061028c6105b036600461146b565b610e79565b60006301ffc9a760e01b6001600160e01b0319831614806105e657506380ac58cd60e01b6001600160e01b03198316145b806106015750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606002805461061690611880565b80601f016020809104026020016040519081016040528092919081815260200182805461064290611880565b801561068f5780601f106106645761010080835404028352916020019161068f565b820191906000526020600020905b81548152906001019060200180831161067257829003601f168201915b5050505050905090565b60006106a482610ef2565b6106c1576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006106e882610ba7565b9050336001600160a01b03821614610721576107048133610567565b610721576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610785610f27565b600d805460ff1916911515919091179055565b60006107a382610f81565b9050836001600160a01b0316816001600160a01b0316146107d65760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417610823576108068633610567565b61082357604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661084a57604051633a954ecd60e21b815260040160405180910390fd5b801561085557600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b83166108e057600184016000818152600460205260409020546108de5760005481146108de5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b600061093e6001546000546000199190030190565b600d5490915060ff161561095157600080fd5b600882111561095f57600080fd5b336000908152600f6020526040902054600c5461097c84836117f2565b11156109cf5760405162461bcd60e51b815260206004820152601960248201527f55736572206d6178207065722077616c6c6574206c696d69740000000000000060448201526064015b60405180910390fd5b600a546109dc84846117f2565b11156109e757600080fd5b6109f183826117f2565b336000908152600f6020526040902055600b54610a0f90849061181e565b341015610a1b57600080fd5b610a253384610ff1565b505050565b610a32610f27565b73d4b5ff8f5bac050bf00870f264c5623f866769a4600081610a55600a4761180a565b604051600081818185875af1925050503d8060008114610a91576040519150601f19603f3d011682016040523d82523d6000602084013e610a96565b606091505b5050905080610add5760405162461bcd60e51b815260206004820152601360248201527211195d881d1c985b9cd9995c8819985a5b1959606a1b60448201526064016109c6565b60405133904790600081818185875af1925050503d8060008114610b1d576040519150601f19603f3d011682016040523d82523d6000602084013e610b22565b606091505b50508091505080610b6d5760405162461bcd60e51b815260206004820152601560248201527413dddb995c881d1c985b9cd9995c8819985a5b1959605a1b60448201526064016109c6565b5050565b610a2583838360405180602001604052806000815250610ddc565b610b94610f27565b8051610b6d906009906020840190611330565b600061060182610f81565b60006001600160a01b038216610bdb576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610c09610f27565b610c1360006110e8565b565b6000610c2a6001546000546000199190030190565b600d5490915060ff1615610c3d57600080fd5b3415610c805760405162461bcd60e51b815260206004820152601260248201527154686973207068617365206973206672656560701b60448201526064016109c6565b6002821115610c8e57600080fd5b336000908152600f60205260409020546002610caa84836117f2565b1115610cf85760405162461bcd60e51b815260206004820152601860248201527f55736572206d61782066726565206d696e74206c696d6974000000000000000060448201526064016109c6565b600a54610d0584846117f2565b1115610d1057600080fd5b610d1a83826117f2565b336000818152600f6020526040902091909155610a259084610ff1565b60606003805461061690611880565b6001600160a01b038216331415610d705760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610de7848484610798565b6001600160a01b0383163b15610e2057610e038484848461113a565b610e20576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b60606009610e3383611232565b604051602001610e449291906116e7565b6040516020818303038152906040529050919050565b610e62610f27565b610b6d8183610ff1565b610e74610f27565b600c55565b610e81610f27565b6001600160a01b038116610ee65760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109c6565b610eef816110e8565b50565b600081600111158015610f06575060005482105b8015610601575050600090815260046020526040902054600160e01b161590565b6008546001600160a01b03163314610c135760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109c6565b60008180600111610fd857600054811015610fd857600081815260046020526040902054600160e01b8116610fd6575b80610fcf575060001901600081815260046020526040902054610fb1565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b600054816110125760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146110c157808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611089565b50816110df57604051622e076360e81b815260040160405180910390fd5b60005550505050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061116f9033908990889088906004016117a2565b602060405180830381600087803b15801561118957600080fd5b505af19250505080156111b9575060408051601f3d908101601f191682019092526111b6918101906115fd565b60015b611214573d8080156111e7576040519150601f19603f3d011682016040523d82523d6000602084013e6111ec565b606091505b50805161120c576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060816112565750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611280578061126a816118bb565b91506112799050600a8361180a565b915061125a565b60008167ffffffffffffffff81111561129b5761129b61192c565b6040519080825280601f01601f1916602001820160405280156112c5576020820181803683370190505b5090505b841561122a576112da60018361183d565b91506112e7600a866118d6565b6112f29060306117f2565b60f81b81838151811061130757611307611916565b60200101906001600160f81b031916908160001a905350611329600a8661180a565b94506112c9565b82805461133c90611880565b90600052602060002090601f01602090048101928261135e57600085556113a4565b82601f1061137757805160ff19168380011785556113a4565b828001600101855582156113a4579182015b828111156113a4578251825591602001919060010190611389565b506113b09291506113b4565b5090565b5b808211156113b057600081556001016113b5565b600067ffffffffffffffff808411156113e4576113e461192c565b604051601f8501601f19908116603f0116810190828211818310171561140c5761140c61192c565b8160405280935085815286868601111561142557600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461145657600080fd5b919050565b8035801515811461145657600080fd5b60006020828403121561147d57600080fd5b610fcf8261143f565b6000806040838503121561149957600080fd5b6114a28361143f565b91506114b06020840161143f565b90509250929050565b6000806000606084860312156114ce57600080fd5b6114d78461143f565b92506114e56020850161143f565b9150604084013590509250925092565b6000806000806080858703121561150b57600080fd5b6115148561143f565b93506115226020860161143f565b925060408501359150606085013567ffffffffffffffff81111561154557600080fd5b8501601f8101871361155657600080fd5b611565878235602084016113c9565b91505092959194509250565b6000806040838503121561158457600080fd5b61158d8361143f565b91506114b06020840161145b565b600080604083850312156115ae57600080fd5b6115b78361143f565b946020939093013593505050565b6000602082840312156115d757600080fd5b610fcf8261145b565b6000602082840312156115f257600080fd5b8135610fcf81611942565b60006020828403121561160f57600080fd5b8151610fcf81611942565b60006020828403121561162c57600080fd5b813567ffffffffffffffff81111561164357600080fd5b8201601f8101841361165457600080fd5b61122a848235602084016113c9565b60006020828403121561167557600080fd5b5035919050565b6000806040838503121561168f57600080fd5b823591506114b06020840161143f565b600081518084526116b7816020860160208601611854565b601f01601f19169290920160200192915050565b600081516116dd818560208601611854565b9290920192915050565b600080845481600182811c91508083168061170357607f831692505b602080841082141561172357634e487b7160e01b86526022600452602486fd5b818015611737576001811461174857611775565b60ff19861689528489019650611775565b60008b81526020902060005b8681101561176d5781548b820152908501908301611754565b505084890196505b50505050505061179961178882866116cb565b64173539b7b760d91b815260050190565b95945050505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906117d59083018461169f565b9695505050505050565b602081526000610fcf602083018461169f565b60008219821115611805576118056118ea565b500190565b60008261181957611819611900565b500490565b6000816000190483118215151615611838576118386118ea565b500290565b60008282101561184f5761184f6118ea565b500390565b60005b8381101561186f578181015183820152602001611857565b83811115610e205750506000910152565b600181811c9082168061189457607f821691505b602082108114156118b557634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156118cf576118cf6118ea565b5060010190565b6000826118e5576118e5611900565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610eef57600080fdfea26469706673582212207da409126e92c3bde4da02ff759748366b4cbba8948c3d33d0c9517e9d9fbe4564736f6c63430008070033697066733a2f2f6261667962656961366c776c736c6c75323669367a6e687532766a7a67337232626d6733656369706970636d3373766f65726c616478756a7975712f

Deployed Bytecode

0x6080604052600436106101d85760003560e01c806370a0823111610102578063a591252d11610095578063d5abeb0111610064578063d5abeb0114610516578063e268e4d31461052c578063e985e9c51461054c578063f2fde38b1461059557600080fd5b8063a591252d146104ae578063b88d4fde146104c3578063c87b56dd146104e3578063d52c57e01461050357600080fd5b80638da5cb5b116100d15780638da5cb5b1461044557806395d89b4114610463578063a035b1fe14610478578063a22cb4651461048e57600080fd5b806370a08231146103d0578063715018a6146103f05780637aeb7242146104055780637c928fe91461043257600080fd5b80632db115441161017a57806355f804b31161014957806355f804b3146103465780635c975abb146103665780636352211e1461038057806364f64076146103a057600080fd5b80632db11544146102f55780633ccfd60b1461030857806342842e0e14610310578063453c23101461033057600080fd5b8063095ea7b3116101b6578063095ea7b31461026c57806316c38b3c1461028e57806318160ddd146102ae57806323b872dd146102d557600080fd5b806301ffc9a7146101dd57806306fdde0314610212578063081812fc14610234575b600080fd5b3480156101e957600080fd5b506101fd6101f83660046115e0565b6105b5565b60405190151581526020015b60405180910390f35b34801561021e57600080fd5b50610227610607565b60405161020991906117df565b34801561024057600080fd5b5061025461024f366004611663565b610699565b6040516001600160a01b039091168152602001610209565b34801561027857600080fd5b5061028c61028736600461159b565b6106dd565b005b34801561029a57600080fd5b5061028c6102a93660046115c5565b61077d565b3480156102ba57600080fd5b5060015460005403600019015b604051908152602001610209565b3480156102e157600080fd5b5061028c6102f03660046114b9565b610798565b61028c610303366004611663565b610929565b61028c610a2a565b34801561031c57600080fd5b5061028c61032b3660046114b9565b610b71565b34801561033c57600080fd5b506102c7600c5481565b34801561035257600080fd5b5061028c61036136600461161a565b610b8c565b34801561037257600080fd5b50600d546101fd9060ff1681565b34801561038c57600080fd5b5061025461039b366004611663565b610ba7565b3480156103ac57600080fd5b506101fd6103bb36600461146b565b600e6020526000908152604090205460ff1681565b3480156103dc57600080fd5b506102c76103eb36600461146b565b610bb2565b3480156103fc57600080fd5b5061028c610c01565b34801561041157600080fd5b506102c761042036600461146b565b600f6020526000908152604090205481565b61028c610440366004611663565b610c15565b34801561045157600080fd5b506008546001600160a01b0316610254565b34801561046f57600080fd5b50610227610d37565b34801561048457600080fd5b506102c7600b5481565b34801561049a57600080fd5b5061028c6104a9366004611571565b610d46565b3480156104ba57600080fd5b506102c7600281565b3480156104cf57600080fd5b5061028c6104de3660046114f5565b610ddc565b3480156104ef57600080fd5b506102276104fe366004611663565b610e26565b61028c61051136600461167c565b610e5a565b34801561052257600080fd5b506102c7600a5481565b34801561053857600080fd5b5061028c610547366004611663565b610e6c565b34801561055857600080fd5b506101fd610567366004611486565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156105a157600080fd5b5061028c6105b036600461146b565b610e79565b60006301ffc9a760e01b6001600160e01b0319831614806105e657506380ac58cd60e01b6001600160e01b03198316145b806106015750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606002805461061690611880565b80601f016020809104026020016040519081016040528092919081815260200182805461064290611880565b801561068f5780601f106106645761010080835404028352916020019161068f565b820191906000526020600020905b81548152906001019060200180831161067257829003601f168201915b5050505050905090565b60006106a482610ef2565b6106c1576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006106e882610ba7565b9050336001600160a01b03821614610721576107048133610567565b610721576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610785610f27565b600d805460ff1916911515919091179055565b60006107a382610f81565b9050836001600160a01b0316816001600160a01b0316146107d65760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417610823576108068633610567565b61082357604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661084a57604051633a954ecd60e21b815260040160405180910390fd5b801561085557600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b83166108e057600184016000818152600460205260409020546108de5760005481146108de5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b600061093e6001546000546000199190030190565b600d5490915060ff161561095157600080fd5b600882111561095f57600080fd5b336000908152600f6020526040902054600c5461097c84836117f2565b11156109cf5760405162461bcd60e51b815260206004820152601960248201527f55736572206d6178207065722077616c6c6574206c696d69740000000000000060448201526064015b60405180910390fd5b600a546109dc84846117f2565b11156109e757600080fd5b6109f183826117f2565b336000908152600f6020526040902055600b54610a0f90849061181e565b341015610a1b57600080fd5b610a253384610ff1565b505050565b610a32610f27565b73d4b5ff8f5bac050bf00870f264c5623f866769a4600081610a55600a4761180a565b604051600081818185875af1925050503d8060008114610a91576040519150601f19603f3d011682016040523d82523d6000602084013e610a96565b606091505b5050905080610add5760405162461bcd60e51b815260206004820152601360248201527211195d881d1c985b9cd9995c8819985a5b1959606a1b60448201526064016109c6565b60405133904790600081818185875af1925050503d8060008114610b1d576040519150601f19603f3d011682016040523d82523d6000602084013e610b22565b606091505b50508091505080610b6d5760405162461bcd60e51b815260206004820152601560248201527413dddb995c881d1c985b9cd9995c8819985a5b1959605a1b60448201526064016109c6565b5050565b610a2583838360405180602001604052806000815250610ddc565b610b94610f27565b8051610b6d906009906020840190611330565b600061060182610f81565b60006001600160a01b038216610bdb576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610c09610f27565b610c1360006110e8565b565b6000610c2a6001546000546000199190030190565b600d5490915060ff1615610c3d57600080fd5b3415610c805760405162461bcd60e51b815260206004820152601260248201527154686973207068617365206973206672656560701b60448201526064016109c6565b6002821115610c8e57600080fd5b336000908152600f60205260409020546002610caa84836117f2565b1115610cf85760405162461bcd60e51b815260206004820152601860248201527f55736572206d61782066726565206d696e74206c696d6974000000000000000060448201526064016109c6565b600a54610d0584846117f2565b1115610d1057600080fd5b610d1a83826117f2565b336000818152600f6020526040902091909155610a259084610ff1565b60606003805461061690611880565b6001600160a01b038216331415610d705760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610de7848484610798565b6001600160a01b0383163b15610e2057610e038484848461113a565b610e20576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b60606009610e3383611232565b604051602001610e449291906116e7565b6040516020818303038152906040529050919050565b610e62610f27565b610b6d8183610ff1565b610e74610f27565b600c55565b610e81610f27565b6001600160a01b038116610ee65760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109c6565b610eef816110e8565b50565b600081600111158015610f06575060005482105b8015610601575050600090815260046020526040902054600160e01b161590565b6008546001600160a01b03163314610c135760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109c6565b60008180600111610fd857600054811015610fd857600081815260046020526040902054600160e01b8116610fd6575b80610fcf575060001901600081815260046020526040902054610fb1565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b600054816110125760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146110c157808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611089565b50816110df57604051622e076360e81b815260040160405180910390fd5b60005550505050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061116f9033908990889088906004016117a2565b602060405180830381600087803b15801561118957600080fd5b505af19250505080156111b9575060408051601f3d908101601f191682019092526111b6918101906115fd565b60015b611214573d8080156111e7576040519150601f19603f3d011682016040523d82523d6000602084013e6111ec565b606091505b50805161120c576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060816112565750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611280578061126a816118bb565b91506112799050600a8361180a565b915061125a565b60008167ffffffffffffffff81111561129b5761129b61192c565b6040519080825280601f01601f1916602001820160405280156112c5576020820181803683370190505b5090505b841561122a576112da60018361183d565b91506112e7600a866118d6565b6112f29060306117f2565b60f81b81838151811061130757611307611916565b60200101906001600160f81b031916908160001a905350611329600a8661180a565b94506112c9565b82805461133c90611880565b90600052602060002090601f01602090048101928261135e57600085556113a4565b82601f1061137757805160ff19168380011785556113a4565b828001600101855582156113a4579182015b828111156113a4578251825591602001919060010190611389565b506113b09291506113b4565b5090565b5b808211156113b057600081556001016113b5565b600067ffffffffffffffff808411156113e4576113e461192c565b604051601f8501601f19908116603f0116810190828211818310171561140c5761140c61192c565b8160405280935085815286868601111561142557600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461145657600080fd5b919050565b8035801515811461145657600080fd5b60006020828403121561147d57600080fd5b610fcf8261143f565b6000806040838503121561149957600080fd5b6114a28361143f565b91506114b06020840161143f565b90509250929050565b6000806000606084860312156114ce57600080fd5b6114d78461143f565b92506114e56020850161143f565b9150604084013590509250925092565b6000806000806080858703121561150b57600080fd5b6115148561143f565b93506115226020860161143f565b925060408501359150606085013567ffffffffffffffff81111561154557600080fd5b8501601f8101871361155657600080fd5b611565878235602084016113c9565b91505092959194509250565b6000806040838503121561158457600080fd5b61158d8361143f565b91506114b06020840161145b565b600080604083850312156115ae57600080fd5b6115b78361143f565b946020939093013593505050565b6000602082840312156115d757600080fd5b610fcf8261145b565b6000602082840312156115f257600080fd5b8135610fcf81611942565b60006020828403121561160f57600080fd5b8151610fcf81611942565b60006020828403121561162c57600080fd5b813567ffffffffffffffff81111561164357600080fd5b8201601f8101841361165457600080fd5b61122a848235602084016113c9565b60006020828403121561167557600080fd5b5035919050565b6000806040838503121561168f57600080fd5b823591506114b06020840161143f565b600081518084526116b7816020860160208601611854565b601f01601f19169290920160200192915050565b600081516116dd818560208601611854565b9290920192915050565b600080845481600182811c91508083168061170357607f831692505b602080841082141561172357634e487b7160e01b86526022600452602486fd5b818015611737576001811461174857611775565b60ff19861689528489019650611775565b60008b81526020902060005b8681101561176d5781548b820152908501908301611754565b505084890196505b50505050505061179961178882866116cb565b64173539b7b760d91b815260050190565b95945050505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906117d59083018461169f565b9695505050505050565b602081526000610fcf602083018461169f565b60008219821115611805576118056118ea565b500190565b60008261181957611819611900565b500490565b6000816000190483118215151615611838576118386118ea565b500290565b60008282101561184f5761184f6118ea565b500390565b60005b8381101561186f578181015183820152602001611857565b83811115610e205750506000910152565b600181811c9082168061189457607f821691505b602082108114156118b557634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156118cf576118cf6118ea565b5060010190565b6000826118e5576118e5611900565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610eef57600080fdfea26469706673582212207da409126e92c3bde4da02ff759748366b4cbba8948c3d33d0c9517e9d9fbe4564736f6c63430008070033

Deployed Bytecode Sourcemap

58114:3135:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25588:639;;;;;;;;;;-1:-1:-1;25588:639:0;;;;;:::i;:::-;;:::i;:::-;;;7511:14:1;;7504:22;7486:41;;7474:2;7459:18;25588:639:0;;;;;;;;26490:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;32973:218::-;;;;;;;;;;-1:-1:-1;32973:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;6809:32:1;;;6791:51;;6779:2;6764:18;32973:218:0;6645:203:1;32414:400:0;;;;;;;;;;-1:-1:-1;32414:400:0;;;;;:::i;:::-;;:::i;:::-;;60530:83;;;;;;;;;;-1:-1:-1;60530:83:0;;;;;:::i;:::-;;:::i;22241:323::-;;;;;;;;;;-1:-1:-1;58933:1:0;22515:12;22302:7;22499:13;:28;-1:-1:-1;;22499:46:0;22241:323;;;10428:25:1;;;10416:2;10401:18;22241:323:0;10282:177:1;36680:2817:0;;;;;;;;;;-1:-1:-1;36680:2817:0;;;;;:::i;:::-;;:::i;59642:508::-;;;;;;:::i;:::-;;:::i;60738:506::-;;;:::i;39593:185::-;;;;;;;;;;-1:-1:-1;39593:185:0;;;;;:::i;:::-;;:::i;58507:32::-;;;;;;;;;;;;;;;;60412:110;;;;;;;;;;-1:-1:-1;60412:110:0;;;;;:::i;:::-;;:::i;58570:26::-;;;;;;;;;;-1:-1:-1;58570:26:0;;;;;;;;27883:152;;;;;;;;;;-1:-1:-1;27883:152:0;;;;;:::i;:::-;;:::i;58629:46::-;;;;;;;;;;-1:-1:-1;58629:46:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;23425:233;;;;;;;;;;-1:-1:-1;23425:233:0;;;;;:::i;:::-;;:::i;6336:103::-;;;;;;;;;;;;;:::i;58682:47::-;;;;;;;;;;-1:-1:-1;58682:47:0;;;;;:::i;:::-;;;;;;;;;;;;;;59114:502;;;;;;:::i;:::-;;:::i;5688:87::-;;;;;;;;;;-1:-1:-1;5761:6:0;;-1:-1:-1;;;;;5761:6:0;5688:87;;26666:104;;;;;;;;;;;;;:::i;58368:35::-;;;;;;;;;;;;;;;;33531:308;;;;;;;;;;-1:-1:-1;33531:308:0;;;;;:::i;:::-;;:::i;58438:39::-;;;;;;;;;;;;58476:1;58438:39;;40376:399;;;;;;;;;;-1:-1:-1;40376:399:0;;;;;:::i;:::-;;:::i;60185:191::-;;;;;;;;;;-1:-1:-1;60185:191:0;;;;;:::i;:::-;;:::i;58967:125::-;;;;;;:::i;:::-;;:::i;58295:31::-;;;;;;;;;;;;;;;;60621:109;;;;;;;;;;-1:-1:-1;60621:109:0;;;;;:::i;:::-;;:::i;33996:164::-;;;;;;;;;;-1:-1:-1;33996:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;34117:25:0;;;34093:4;34117:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;33996:164;6594:201;;;;;;;;;;-1:-1:-1;6594:201:0;;;;;:::i;:::-;;:::i;25588:639::-;25673:4;-1:-1:-1;;;;;;;;;25997:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;26074:25:0;;;25997:102;:179;;;-1:-1:-1;;;;;;;;;;26151:25:0;;;25997:179;25977:199;25588:639;-1:-1:-1;;25588:639:0:o;26490:100::-;26544:13;26577:5;26570:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26490:100;:::o;32973:218::-;33049:7;33074:16;33082:7;33074;:16::i;:::-;33069:64;;33099:34;;-1:-1:-1;;;33099:34:0;;;;;;;;;;;33069:64;-1:-1:-1;33153:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;33153:30:0;;32973:218::o;32414:400::-;32495:13;32511:16;32519:7;32511;:16::i;:::-;32495:32;-1:-1:-1;56271:10:0;-1:-1:-1;;;;;32544:28:0;;;32540:175;;32592:44;32609:5;56271:10;33996:164;:::i;32592:44::-;32587:128;;32664:35;;-1:-1:-1;;;32664:35:0;;;;;;;;;;;32587:128;32727:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;32727:35:0;-1:-1:-1;;;;;32727:35:0;;;;;;;;;32778:28;;32727:24;;32778:28;;;;;;;32484:330;32414:400;;:::o;60530:83::-;5574:13;:11;:13::i;:::-;60590:6:::1;:15:::0;;-1:-1:-1;;60590:15:0::1;::::0;::::1;;::::0;;;::::1;::::0;;60530:83::o;36680:2817::-;36814:27;36844;36863:7;36844:18;:27::i;:::-;36814:57;;36929:4;-1:-1:-1;;;;;36888:45:0;36904:19;-1:-1:-1;;;;;36888:45:0;;36884:86;;36942:28;;-1:-1:-1;;;36942:28:0;;;;;;;;;;;36884:86;36984:27;35794:24;;;:15;:24;;;;;36016:26;;56271:10;35419:30;;;-1:-1:-1;;;;;35112:28:0;;35397:20;;;35394:56;37170:180;;37263:43;37280:4;56271:10;33996:164;:::i;37263:43::-;37258:92;;37315:35;;-1:-1:-1;;;37315:35:0;;;;;;;;;;;37258:92;-1:-1:-1;;;;;37367:16:0;;37363:52;;37392:23;;-1:-1:-1;;;37392:23:0;;;;;;;;;;;37363:52;37564:15;37561:160;;;37704:1;37683:19;37676:30;37561:160;-1:-1:-1;;;;;38101:24:0;;;;;;;:18;:24;;;;;;38099:26;;-1:-1:-1;;38099:26:0;;;38170:22;;;;;;;;;38168:24;;-1:-1:-1;38168:24:0;;;31272:11;31247:23;31243:41;31230:63;-1:-1:-1;;;31230:63:0;38463:26;;;;:17;:26;;;;;:175;-1:-1:-1;;;38758:47:0;;38754:627;;38863:1;38853:11;;38831:19;38986:30;;;:17;:30;;;;;;38982:384;;39124:13;;39109:11;:28;39105:242;;39271:30;;;;:17;:30;;;;;:52;;;39105:242;38812:569;38754:627;39428:7;39424:2;-1:-1:-1;;;;;39409:27:0;39418:4;-1:-1:-1;;;;;39409:27:0;;;;;;;;;;;36803:2694;;;36680:2817;;;:::o;59642:508::-;59705:14;59722:13;58933:1;22515:12;22302:7;22499:13;-1:-1:-1;;22499:28:0;;;:46;;22241:323;59722:13;59751:6;;59705:30;;-1:-1:-1;59751:6:0;;59750:7;59742:16;;;;;;59788:1;59773:11;:16;;59765:25;;;;;;59830:10;59797:17;59817:24;;;:12;:24;;;;;;59895:12;;59868:23;59880:11;59817:24;59868:23;:::i;:::-;:39;;59860:77;;;;-1:-1:-1;;;59860:77:0;;10130:2:1;59860:77:0;;;10112:21:1;10169:2;10149:18;;;10142:30;10208:27;10188:18;;;10181:55;10253:18;;59860:77:0;;;;;;;;;59976:9;;59952:20;59961:11;59952:6;:20;:::i;:::-;:33;;59944:42;;;;;;60022:23;60034:11;60022:9;:23;:::i;:::-;60007:10;59994:24;;;;:12;:24;;;;;:52;60074:5;;:19;;60082:11;;60074:19;:::i;:::-;60061:9;:32;;60053:41;;;;;;60103:30;60109:10;60121:11;60103:5;:30::i;:::-;59698:452;;59642:508;:::o;60738:506::-;5574:13;:11;:13::i;:::-;60818:42:::1;60796:19;60818:42:::0;60934:26:::1;60958:2;60934:21;:26;:::i;:::-;60887:88;::::0;::::1;::::0;;;;;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;60871:104;;;60994:4;60986:36;;;::::0;-1:-1:-1;;;60986:36:0;;9782:2:1;60986:36:0::1;::::0;::::1;9764:21:1::0;9821:2;9801:18;;;9794:30;-1:-1:-1;;;9840:18:1;;;9833:49;9899:18;;60986:36:0::1;9580:343:1::0;60986:36:0::1;61105:82;::::0;61113:10:::1;::::0;61151:21:::1;::::0;61105:82:::1;::::0;;;61151:21;61113:10;61105:82:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61094:93;;;;;61206:4;61198:38;;;::::0;-1:-1:-1;;;61198:38:0;;8724:2:1;61198:38:0::1;::::0;::::1;8706:21:1::0;8763:2;8743:18;;;8736:30;-1:-1:-1;;;8782:18:1;;;8775:51;8843:18;;61198:38:0::1;8522:345:1::0;61198:38:0::1;60785:459;;60738:506::o:0;39593:185::-;39731:39;39748:4;39754:2;39758:7;39731:39;;;;;;;;;;;;:16;:39::i;60412:110::-;5574:13;:11;:13::i;:::-;60488:26;;::::1;::::0;:11:::1;::::0;:26:::1;::::0;::::1;::::0;::::1;:::i;27883:152::-:0;27955:7;27998:27;28017:7;27998:18;:27::i;23425:233::-;23497:7;-1:-1:-1;;;;;23521:19:0;;23517:60;;23549:28;;-1:-1:-1;;;23549:28:0;;;;;;;;;;;23517:60;-1:-1:-1;;;;;;23595:25:0;;;;;:18;:25;;;;;;17584:13;23595:55;;23425:233::o;6336:103::-;5574:13;:11;:13::i;:::-;6401:30:::1;6428:1;6401:18;:30::i;:::-;6336:103::o:0;59114:502::-;59175:14;59192:13;58933:1;22515:12;22302:7;22499:13;-1:-1:-1;;22499:28:0;;;:46;;22241:323;59192:13;59221:6;;59175:30;;-1:-1:-1;59221:6:0;;59220:7;59212:16;;;;;;59243:9;:14;59235:45;;;;-1:-1:-1;;;59235:45:0;;9435:2:1;59235:45:0;;;9417:21:1;9474:2;9454:18;;;9447:30;-1:-1:-1;;;9493:18:1;;;9486:48;9551:18;;59235:45:0;9233:342:1;59235:45:0;59310:1;59295:11;:16;;59287:25;;;;;;59352:10;59319:17;59339:24;;;:12;:24;;;;;;58476:1;59390:23;59402:11;59339:24;59390:23;:::i;:::-;:38;;59382:75;;;;-1:-1:-1;;;59382:75:0;;7964:2:1;59382:75:0;;;7946:21:1;8003:2;7983:18;;;7976:30;8042:26;8022:18;;;8015:54;8086:18;;59382:75:0;7762:348:1;59382:75:0;59496:9;;59472:20;59481:11;59472:6;:20;:::i;:::-;:33;;59464:42;;;;;;59542:23;59554:11;59542:9;:23;:::i;:::-;59527:10;59514:24;;;;:12;:24;;;;;:52;;;;59575:30;;59593:11;59575:5;:30::i;26666:104::-;26722:13;26755:7;26748:14;;;;;:::i;33531:308::-;-1:-1:-1;;;;;33630:31:0;;56271:10;33630:31;33626:61;;;33670:17;;-1:-1:-1;;;33670:17:0;;;;;;;;;;;33626:61;56271:10;33700:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;33700:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;33700:60:0;;;;;;;;;;33776:55;;7486:41:1;;;33700:49:0;;56271:10;33776:55;;7459:18:1;33776:55:0;;;;;;;33531:308;;:::o;40376:399::-;40543:31;40556:4;40562:2;40566:7;40543:12;:31::i;:::-;-1:-1:-1;;;;;40589:14:0;;;:19;40585:183;;40628:56;40659:4;40665:2;40669:7;40678:5;40628:30;:56::i;:::-;40623:145;;40712:40;;-1:-1:-1;;;40712:40:0;;;;;;;;;;;40623:145;40376:399;;;;:::o;60185:191::-;60251:13;60308:11;60321:26;60338:8;60321:16;:26::i;:::-;60291:66;;;;;;;;;:::i;:::-;;;;;;;;;;;;;60277:81;;60185:191;;;:::o;58967:125::-;5574:13;:11;:13::i;:::-;59059:25:::1;59065:8;59075;59059:5;:25::i;60621:109::-:0;5574:13;:11;:13::i;:::-;60695:12:::1;:27:::0;60621:109::o;6594:201::-;5574:13;:11;:13::i;:::-;-1:-1:-1;;;;;6683:22:0;::::1;6675:73;;;::::0;-1:-1:-1;;;6675:73:0;;8317:2:1;6675:73:0::1;::::0;::::1;8299:21:1::0;8356:2;8336:18;;;8329:30;8395:34;8375:18;;;8368:62;-1:-1:-1;;;8446:18:1;;;8439:36;8492:19;;6675:73:0::1;8115:402:1::0;6675:73:0::1;6759:28;6778:8;6759:18;:28::i;:::-;6594:201:::0;:::o;34418:282::-;34483:4;34539:7;58933:1;34520:26;;:66;;;;;34573:13;;34563:7;:23;34520:66;:153;;;;-1:-1:-1;;34624:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;34624:44:0;:49;;34418:282::o;5853:132::-;5761:6;;-1:-1:-1;;;;;5761:6:0;56271:10;5917:23;5909:68;;;;-1:-1:-1;;;5909:68:0;;9074:2:1;5909:68:0;;;9056:21:1;;;9093:18;;;9086:30;9152:34;9132:18;;;9125:62;9204:18;;5909:68:0;8872:356:1;29038:1275:0;29105:7;29140;;58933:1;29189:23;29185:1061;;29242:13;;29235:4;:20;29231:1015;;;29280:14;29297:23;;;:17;:23;;;;;;-1:-1:-1;;;29386:24:0;;29382:845;;30051:113;30058:11;30051:113;;-1:-1:-1;;;30129:6:0;30111:25;;;;:17;:25;;;;;;30051:113;;;30197:6;29038:1275;-1:-1:-1;;;29038:1275:0:o;29382:845::-;29257:989;29231:1015;30274:31;;-1:-1:-1;;;30274:31:0;;;;;;;;;;;44037:2454;44110:20;44133:13;44161;44157:44;;44183:18;;-1:-1:-1;;;44183:18:0;;;;;;;;;;;44157:44;-1:-1:-1;;;;;44689:22:0;;;;;;:18;:22;;;;17722:2;44689:22;;;:71;;44727:32;44715:45;;44689:71;;;45003:31;;;:17;:31;;;;;-1:-1:-1;31703:15:0;;31677:24;31673:46;31272:11;31247:23;31243:41;31240:52;31230:63;;45003:173;;45238:23;;;;45003:31;;44689:22;;45737:25;44689:22;;45590:335;46005:1;45991:12;45987:20;45945:346;46046:3;46037:7;46034:16;45945:346;;46264:7;46254:8;46251:1;46224:25;46221:1;46218;46213:59;46099:1;46086:15;45945:346;;;-1:-1:-1;46324:13:0;46320:45;;46346:19;;-1:-1:-1;;;46346:19:0;;;;;;;;;;;46320:45;46382:13;:19;-1:-1:-1;59698:452:0;;59642:508;:::o;6955:191::-;7048:6;;;-1:-1:-1;;;;;7065:17:0;;;-1:-1:-1;;;;;;7065:17:0;;;;;;;7098:40;;7048:6;;;7065:17;7048:6;;7098:40;;7029:16;;7098:40;7018:128;6955:191;:::o;42859:716::-;43043:88;;-1:-1:-1;;;43043:88:0;;43022:4;;-1:-1:-1;;;;;43043:45:0;;;;;:88;;56271:10;;43110:4;;43116:7;;43125:5;;43043:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;43043:88:0;;;;;;;;-1:-1:-1;;43043:88:0;;;;;;;;;;;;:::i;:::-;;;43039:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;43326:13:0;;43322:235;;43372:40;;-1:-1:-1;;;43372:40:0;;;;;;;;;;;43322:235;43515:6;43509:13;43500:6;43496:2;43492:15;43485:38;43039:529;-1:-1:-1;;;;;;43202:64:0;-1:-1:-1;;;43202:64:0;;-1:-1:-1;43039:529:0;42859:716;;;;;;:::o;1493:723::-;1549:13;1770:10;1766:53;;-1:-1:-1;;1797:10:0;;;;;;;;;;;;-1:-1:-1;;;1797:10:0;;;;;1493:723::o;1766:53::-;1844:5;1829:12;1885:78;1892:9;;1885:78;;1918:8;;;;:::i;:::-;;-1:-1:-1;1941:10:0;;-1:-1:-1;1949:2:0;1941:10;;:::i;:::-;;;1885:78;;;1973:19;2005:6;1995:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1995:17:0;;1973:39;;2023:154;2030:10;;2023:154;;2057:11;2067:1;2057:11;;:::i;:::-;;-1:-1:-1;2126:10:0;2134:2;2126:5;:10;:::i;:::-;2113:24;;:2;:24;:::i;:::-;2100:39;;2083:6;2090;2083:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;2083:56:0;;;;;;;;-1:-1:-1;2154:11:0;2163:2;2154:11;;:::i;:::-;;;2023:154;;-1:-1:-1;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:631:1;78:5;108:18;149:2;141:6;138:14;135:40;;;155:18;;:::i;:::-;230:2;224:9;198:2;284:15;;-1:-1:-1;;280:24:1;;;306:2;276:33;272:42;260:55;;;330:18;;;350:22;;;327:46;324:72;;;376:18;;:::i;:::-;416:10;412:2;405:22;445:6;436:15;;475:6;467;460:22;515:3;506:6;501:3;497:16;494:25;491:45;;;532:1;529;522:12;491:45;582:6;577:3;570:4;562:6;558:17;545:44;637:1;630:4;621:6;613;609:19;605:30;598:41;;;;14:631;;;;;:::o;650:173::-;718:20;;-1:-1:-1;;;;;767:31:1;;757:42;;747:70;;813:1;810;803:12;747:70;650:173;;;:::o;828:160::-;893:20;;949:13;;942:21;932:32;;922:60;;978:1;975;968:12;993:186;1052:6;1105:2;1093:9;1084:7;1080:23;1076:32;1073:52;;;1121:1;1118;1111:12;1073:52;1144:29;1163:9;1144:29;:::i;1184:260::-;1252:6;1260;1313:2;1301:9;1292:7;1288:23;1284:32;1281:52;;;1329:1;1326;1319:12;1281:52;1352:29;1371:9;1352:29;:::i;:::-;1342:39;;1400:38;1434:2;1423:9;1419:18;1400:38;:::i;:::-;1390:48;;1184:260;;;;;:::o;1449:328::-;1526:6;1534;1542;1595:2;1583:9;1574:7;1570:23;1566:32;1563:52;;;1611:1;1608;1601:12;1563:52;1634:29;1653:9;1634:29;:::i;:::-;1624:39;;1682:38;1716:2;1705:9;1701:18;1682:38;:::i;:::-;1672:48;;1767:2;1756:9;1752:18;1739:32;1729:42;;1449:328;;;;;:::o;1782:666::-;1877:6;1885;1893;1901;1954:3;1942:9;1933:7;1929:23;1925:33;1922:53;;;1971:1;1968;1961:12;1922:53;1994:29;2013:9;1994:29;:::i;:::-;1984:39;;2042:38;2076:2;2065:9;2061:18;2042:38;:::i;:::-;2032:48;;2127:2;2116:9;2112:18;2099:32;2089:42;;2182:2;2171:9;2167:18;2154:32;2209:18;2201:6;2198:30;2195:50;;;2241:1;2238;2231:12;2195:50;2264:22;;2317:4;2309:13;;2305:27;-1:-1:-1;2295:55:1;;2346:1;2343;2336:12;2295:55;2369:73;2434:7;2429:2;2416:16;2411:2;2407;2403:11;2369:73;:::i;:::-;2359:83;;;1782:666;;;;;;;:::o;2453:254::-;2518:6;2526;2579:2;2567:9;2558:7;2554:23;2550:32;2547:52;;;2595:1;2592;2585:12;2547:52;2618:29;2637:9;2618:29;:::i;:::-;2608:39;;2666:35;2697:2;2686:9;2682:18;2666:35;:::i;2712:254::-;2780:6;2788;2841:2;2829:9;2820:7;2816:23;2812:32;2809:52;;;2857:1;2854;2847:12;2809:52;2880:29;2899:9;2880:29;:::i;:::-;2870:39;2956:2;2941:18;;;;2928:32;;-1:-1:-1;;;2712:254:1:o;2971:180::-;3027:6;3080:2;3068:9;3059:7;3055:23;3051:32;3048:52;;;3096:1;3093;3086:12;3048:52;3119:26;3135:9;3119:26;:::i;3156:245::-;3214:6;3267:2;3255:9;3246:7;3242:23;3238:32;3235:52;;;3283:1;3280;3273:12;3235:52;3322:9;3309:23;3341:30;3365:5;3341:30;:::i;3406:249::-;3475:6;3528:2;3516:9;3507:7;3503:23;3499:32;3496:52;;;3544:1;3541;3534:12;3496:52;3576:9;3570:16;3595:30;3619:5;3595:30;:::i;3660:450::-;3729:6;3782:2;3770:9;3761:7;3757:23;3753:32;3750:52;;;3798:1;3795;3788:12;3750:52;3838:9;3825:23;3871:18;3863:6;3860:30;3857:50;;;3903:1;3900;3893:12;3857:50;3926:22;;3979:4;3971:13;;3967:27;-1:-1:-1;3957:55:1;;4008:1;4005;3998:12;3957:55;4031:73;4096:7;4091:2;4078:16;4073:2;4069;4065:11;4031:73;:::i;4115:180::-;4174:6;4227:2;4215:9;4206:7;4202:23;4198:32;4195:52;;;4243:1;4240;4233:12;4195:52;-1:-1:-1;4266:23:1;;4115:180;-1:-1:-1;4115:180:1:o;4300:254::-;4368:6;4376;4429:2;4417:9;4408:7;4404:23;4400:32;4397:52;;;4445:1;4442;4435:12;4397:52;4481:9;4468:23;4458:33;;4510:38;4544:2;4533:9;4529:18;4510:38;:::i;4559:257::-;4600:3;4638:5;4632:12;4665:6;4660:3;4653:19;4681:63;4737:6;4730:4;4725:3;4721:14;4714:4;4707:5;4703:16;4681:63;:::i;:::-;4798:2;4777:15;-1:-1:-1;;4773:29:1;4764:39;;;;4805:4;4760:50;;4559:257;-1:-1:-1;;4559:257:1:o;4821:185::-;4863:3;4901:5;4895:12;4916:52;4961:6;4956:3;4949:4;4942:5;4938:16;4916:52;:::i;:::-;4984:16;;;;;4821:185;-1:-1:-1;;4821:185:1:o;5129:1301::-;5406:3;5435:1;5468:6;5462:13;5498:3;5520:1;5548:9;5544:2;5540:18;5530:28;;5608:2;5597:9;5593:18;5630;5620:61;;5674:4;5666:6;5662:17;5652:27;;5620:61;5700:2;5748;5740:6;5737:14;5717:18;5714:38;5711:165;;;-1:-1:-1;;;5775:33:1;;5831:4;5828:1;5821:15;5861:4;5782:3;5849:17;5711:165;5892:18;5919:104;;;;6037:1;6032:320;;;;5885:467;;5919:104;-1:-1:-1;;5952:24:1;;5940:37;;5997:16;;;;-1:-1:-1;5919:104:1;;6032:320;10537:1;10530:14;;;10574:4;10561:18;;6127:1;6141:165;6155:6;6152:1;6149:13;6141:165;;;6233:14;;6220:11;;;6213:35;6276:16;;;;6170:10;;6141:165;;;6145:3;;6335:6;6330:3;6326:16;6319:23;;5885:467;;;;;;;6368:56;6393:30;6419:3;6411:6;6393:30;:::i;:::-;-1:-1:-1;;;5071:20:1;;5116:1;5107:11;;5011:113;6368:56;6361:63;5129:1301;-1:-1:-1;;;;;5129:1301:1:o;6853:488::-;-1:-1:-1;;;;;7122:15:1;;;7104:34;;7174:15;;7169:2;7154:18;;7147:43;7221:2;7206:18;;7199:34;;;7269:3;7264:2;7249:18;;7242:31;;;7047:4;;7290:45;;7315:19;;7307:6;7290:45;:::i;:::-;7282:53;6853:488;-1:-1:-1;;;;;;6853:488:1:o;7538:219::-;7687:2;7676:9;7669:21;7650:4;7707:44;7747:2;7736:9;7732:18;7724:6;7707:44;:::i;10590:128::-;10630:3;10661:1;10657:6;10654:1;10651:13;10648:39;;;10667:18;;:::i;:::-;-1:-1:-1;10703:9:1;;10590:128::o;10723:120::-;10763:1;10789;10779:35;;10794:18;;:::i;:::-;-1:-1:-1;10828:9:1;;10723:120::o;10848:168::-;10888:7;10954:1;10950;10946:6;10942:14;10939:1;10936:21;10931:1;10924:9;10917:17;10913:45;10910:71;;;10961:18;;:::i;:::-;-1:-1:-1;11001:9:1;;10848:168::o;11021:125::-;11061:4;11089:1;11086;11083:8;11080:34;;;11094:18;;:::i;:::-;-1:-1:-1;11131:9:1;;11021:125::o;11151:258::-;11223:1;11233:113;11247:6;11244:1;11241:13;11233:113;;;11323:11;;;11317:18;11304:11;;;11297:39;11269:2;11262:10;11233:113;;;11364:6;11361:1;11358:13;11355:48;;;-1:-1:-1;;11399:1:1;11381:16;;11374:27;11151:258::o;11414:380::-;11493:1;11489:12;;;;11536;;;11557:61;;11611:4;11603:6;11599:17;11589:27;;11557:61;11664:2;11656:6;11653:14;11633:18;11630:38;11627:161;;;11710:10;11705:3;11701:20;11698:1;11691:31;11745:4;11742:1;11735:15;11773:4;11770:1;11763:15;11627:161;;11414:380;;;:::o;11799:135::-;11838:3;-1:-1:-1;;11859:17:1;;11856:43;;;11879:18;;:::i;:::-;-1:-1:-1;11926:1:1;11915:13;;11799:135::o;11939:112::-;11971:1;11997;11987:35;;12002:18;;:::i;:::-;-1:-1:-1;12036:9:1;;11939:112::o;12056:127::-;12117:10;12112:3;12108:20;12105:1;12098:31;12148:4;12145:1;12138:15;12172:4;12169:1;12162:15;12188:127;12249:10;12244:3;12240:20;12237:1;12230:31;12280:4;12277:1;12270:15;12304:4;12301:1;12294:15;12320:127;12381:10;12376:3;12372:20;12369:1;12362:31;12412:4;12409:1;12402:15;12436:4;12433:1;12426:15;12452:127;12513:10;12508:3;12504:20;12501:1;12494:31;12544:4;12541:1;12534:15;12568:4;12565:1;12558:15;12584:131;-1:-1:-1;;;;;;12658:32:1;;12648:43;;12638:71;;12705:1;12702;12695:12

Swarm Source

ipfs://7da409126e92c3bde4da02ff759748366b4cbba8948c3d33d0c9517e9d9fbe45
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

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