The official docs say

ERC721 token with storage based token URI management.

If someone could elaborate more on what exactly this means and when to use it, I'd be grateful.


It means that the tokenURIs are also stored in "storage". The base implementation in ERC721.sol reads the baseURI in memory and concatenates the resulting String on-the-fly, without storing them as a state var.

It is used if you want to decouple the tokenURIs from the baseURI. Otherwise if no baseURI is set, the base implementation returns empty string. Afaiu, this is used if you want to store metadata off-chain and be able to set individual tokenURIs, see also here.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.