Unverified Commit 8ad458e9 by Santiago Palladino Committed by GitHub

Explain how baseURI is used for building the tokenURI (#2679)

parent 8ea06b75
...@@ -98,8 +98,9 @@ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { ...@@ -98,8 +98,9 @@ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
} }
/** /**
* @dev Base URI for computing {tokenURI}. Empty by default, can be overriden * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
* in child contracts. * token will be the concatenation of the `baseURI` and the `tokenId`. Empty
* by default, can be overriden in child contracts.
*/ */
function _baseURI() internal view virtual returns (string memory) { function _baseURI() internal view virtual returns (string memory) {
return ""; return "";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment