Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update ERC721Pausable and ERC721Burnable
  • Loading branch information
nventuro committed Mar 26, 2020
commit c00c25156d26f3de0dddd6860d79f7edcd0f2415
2 changes: 2 additions & 0 deletions contracts/token/ERC721/ERC721Burnable.sol
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ import "./ERC721.sol";
* @dev ERC721 Token that can be irreversibly burned (destroyed).
*/
contract ERC721Burnable is Context, ERC721 {
constructor (string memory name, string memory symbol) public ERC721(name, symbol) { }

/**
* @dev Burns a specific ERC721 token.
* @param tokenId uint256 id of the ERC721 token to be burned.
Expand Down
2 changes: 2 additions & 0 deletions contracts/token/ERC721/ERC721Pausable.sol
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ import "../../utils/Pausable.sol";
* @dev ERC721 modified with pausable transfers.
*/
contract ERC721Pausable is ERC721, Pausable {
constructor (string memory name, string memory symbol) public ERC721(name, symbol) { }

function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal virtual override {
super._beforeTokenTransfer(from, to, tokenId);

Expand Down