Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

ERC721BurnableUpgradeable

Inherits: Initializable, ContextUpgradeable, ERC721Upgradeable

ERC-721 Token that can be burned (destroyed).

Functions

__ERC721Burnable_init

function __ERC721Burnable_init() internal onlyInitializing;

__ERC721Burnable_init_unchained

function __ERC721Burnable_init_unchained() internal onlyInitializing;

burn

*Burns tokenId. See ERC721-_burn. Requirements:

  • The caller must own tokenId or be an approved operator.*
function burn(uint256 tokenId) public virtual;