Skip to content

Commit

Permalink
Fix/add comment erc721 burnable #1464 (#1469)
Browse files Browse the repository at this point in the history
* fix Add a comment to ERC721Enumerable #1465

* fix Add comments to ERC721Burnable #1464
  • Loading branch information
alant authored and nventuro committed Nov 1, 2018
1 parent 80458eb commit 18552a8
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
9 changes: 9 additions & 0 deletions contracts/token/ERC721/ERC721Burnable.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,16 @@ pragma solidity ^0.4.24;

import "./ERC721.sol";

/**
* @title ERC721 Burnable Token
* @dev ERC721 Token that can be irreversibly burned (destroyed).
*/
contract ERC721Burnable is ERC721 {

/**
* @dev Burns a specific ERC721 token.
* @param tokenId uint256 id of the ERC721 token to be burned.
*/
function burn(uint256 tokenId)
public
{
Expand Down
4 changes: 4 additions & 0 deletions contracts/token/ERC721/ERC721Enumerable.sol
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ import "./IERC721Enumerable.sol";
import "./ERC721.sol";
import "../../introspection/ERC165.sol";

/**
* @title ERC-721 Non-Fungible Token with optional enumeration extension logic
* @dev See https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md
*/
contract ERC721Enumerable is ERC165, ERC721, IERC721Enumerable {
// Mapping from owner to list of owned token IDs
mapping(address => uint256[]) private _ownedTokens;
Expand Down

0 comments on commit 18552a8

Please sign in to comment.