Fix broken links

pull/2276/head
Nicolás Venturo 5 years ago
parent b72088a90a
commit ed3a513f86
  1. 8
      contracts/token/ERC721/ERC721.sol

@ -101,7 +101,7 @@ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable
} }
/** /**
* @dev See {IERC721-balanceOf}. * @dev See {IERC721-balanceOf}.
*/ */
function balanceOf(address owner) public view override returns (uint256) { function balanceOf(address owner) public view override returns (uint256) {
require(owner != address(0), "ERC721: balance query for the zero address"); require(owner != address(0), "ERC721: balance query for the zero address");
@ -253,7 +253,7 @@ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable
* *
* `_data` is additional data, it has no specified format and it is sent in call to `to`. * `_data` is additional data, it has no specified format and it is sent in call to `to`.
* *
* This internal function is equivalent to {safeTransfertFrom}, and can be used to e.g. * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
* implement alternative mecanisms to perform token transfer, such as signature-based. * implement alternative mecanisms to perform token transfer, such as signature-based.
* *
* Requirements: * Requirements:
@ -275,7 +275,7 @@ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable
* *
* Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
* *
* Tokens start existing when they are minted (`_mint`), * Tokens start existing when they are minted (`_mint`),
* and stop existing when they are burned (`_burn`). * and stop existing when they are burned (`_burn`).
*/ */
function _exists(uint256 tokenId) internal view returns (bool) { function _exists(uint256 tokenId) internal view returns (bool) {
@ -310,7 +310,7 @@ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable
} }
/** /**
* @dev Same as {_safeMint-address-uint256-}, with an additional `data` parameter which is forwarded in {IERC721Receiver-onERC721Received} to contract recipients. * @dev Same as {ERC721-_safeMint-address-uint256-}, with an additional `data` parameter which is forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
*/ */
function _safeMint(address to, uint256 tokenId, bytes memory _data) internal virtual { function _safeMint(address to, uint256 tokenId, bytes memory _data) internal virtual {
_mint(to, tokenId); _mint(to, tokenId);

Loading…
Cancel
Save