Commit 88dc1ca6 by Nicolás Venturo

Reorder functions to prevent shadowing warning

parent 1e0f0775
...@@ -77,17 +77,6 @@ contract ERC721Metadata is Context, ERC165, ERC721, IERC721Metadata { ...@@ -77,17 +77,6 @@ contract ERC721Metadata is Context, ERC165, ERC721, IERC721Metadata {
} }
/** /**
* @dev Returns the base URI set via {_setBaseURI}. This will be
* automatically added as a preffix in {tokenURI} to each token's URI, when
* they are non-empty.
*
* _Available since v2.5.0._
*/
function baseURI() external view returns (string memory) {
return _baseURI;
}
/**
* @dev Internal function to set the token URI for a given token. * @dev Internal function to set the token URI for a given token.
* *
* Reverts if the token ID does not exist. * Reverts if the token ID does not exist.
...@@ -112,6 +101,17 @@ contract ERC721Metadata is Context, ERC165, ERC721, IERC721Metadata { ...@@ -112,6 +101,17 @@ contract ERC721Metadata is Context, ERC165, ERC721, IERC721Metadata {
} }
/** /**
* @dev Returns the base URI set via {_setBaseURI}. This will be
* automatically added as a preffix in {tokenURI} to each token's URI, when
* they are non-empty.
*
* _Available since v2.5.0._
*/
function baseURI() external view returns (string memory) {
return _baseURI;
}
/**
* @dev Internal function to burn a specific token. * @dev Internal function to burn a specific token.
* Reverts if the token does not exist. * Reverts if the token does not exist.
* Deprecated, use _burn(uint256) instead. * Deprecated, use _burn(uint256) instead.
......
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