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

pull/2669/head^2
Santiago Palladino 4 years ago committed by GitHub
parent 8ea06b75aa
commit 8ad458e955
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      contracts/token/ERC721/ERC721.sol

@ -98,8 +98,9 @@ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
}
/**
* @dev Base URI for computing {tokenURI}. Empty by default, can be overriden
* in child contracts.
* @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, can be overriden in child contracts.
*/
function _baseURI() internal view virtual returns (string memory) {
return "";

Loading…
Cancel
Save