* turn off blank-lines rule
* remove triple newlines
(cherry picked from commit 9b37104655)
13 lines
232 B
Solidity
13 lines
232 B
Solidity
pragma solidity ^0.4.24;
|
|
|
|
import "./ERC721.sol";
|
|
|
|
contract ERC721Burnable is ERC721 {
|
|
function burn(uint256 tokenId)
|
|
public
|
|
{
|
|
require(_isApprovedOrOwner(msg.sender, tokenId));
|
|
_burn(ownerOf(tokenId), tokenId);
|
|
}
|
|
}
|