Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
openzeppelin-contracts-upgradeable
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
俞永鹏
openzeppelin-contracts-upgradeable
Commits
88dc1ca6
Commit
88dc1ca6
authored
Jan 24, 2020
by
Nicolás Venturo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reorder functions to prevent shadowing warning
parent
1e0f0775
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
11 deletions
+11
-11
ERC721Metadata.sol
contracts/token/ERC721/ERC721Metadata.sol
+11
-11
No files found.
contracts/token/ERC721/ERC721Metadata.sol
View file @
88dc1ca6
...
@@ -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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment