Skip to content

Solidity API

SpanningERC721BurnableUpgradeable

ERC721 Token that can be burned (destroyed).

burn

function burn(uint256 tokenId) public virtual

_Burns tokenId. See {ERC721-_burn}.

Requirements:

  • The caller must own tokenId or be an approved operator._

__gap

uint256[50] __gap

This empty reserved space is put in place to allow future versions to add new variables without shifting down storage in the inheritance chain. See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps We use a standard of 50 storage slots. The amount referenced below is based on: 50 - numberOfClassMemberVariables.