ERC721 URIStorage implementation missing enumerable functions

I’m trying to build an ERC721 contract using the default OpenZeppellin 4.x ERC721URIStorage implementation. In the documentation at this URL (https://docs.openzeppelin.com/contracts/4.x/erc721) you can find the following text:

The ERC721URIStorage contract is an implementation of ERC721 that includes all standard extensions (IERC721Metadata and IERC721Enumerable).

Now, if you check the IERC721Enumerable interface documentation here (https://docs.openzeppelin.com/contracts/4.x/api/token/erc721#IERC721Enumerable) you can see that there is a tokenOfOwnerByIndex function but unfortunately it is not available at the OpenZeppelin ERC712URIStorage implementation as it was supposed to according to documentation.

Am I missing something or is Openzeppellin documentation wrong?

1 Like