LinklistBase

Git Source

Inherits: ERC165

State Variables

_name

string private _name;

_symbol

string private _symbol;

_owners

For compatibility with previous ERC721Enumerable, we need to keep the unused slots for upgradeability.

mapping(uint256 => address) private _owners;

_balances

mapping(address => uint256) private _balances;

_tokenApprovals

mapping(uint256 => address) private _tokenApprovals;

_operatorApprovals

mapping(address => mapping(address => bool)) private _operatorApprovals;

_ownedTokens

mapping(address => mapping(uint256 => uint256)) private _ownedTokens;

_ownedTokensIndex

mapping(uint256 => uint256) private _ownedTokensIndex;

_allTokens

uint256[] private _allTokens;

_allTokensIndex

mapping(uint256 => uint256) private _allTokensIndex;

Functions

_initialize

function _initialize(string calldata name_, string calldata symbol_) internal;

supportsInterface

See {IERC165-supportsInterface}.

function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165) returns (bool);

name

See {IERC721Metadata-name}.

function name() public view returns (string memory);

symbol

See {IERC721Metadata-symbol}.

function symbol() public view returns (string memory);