ERC721 Burnable Token (ERC721BurnableUpgradeable.sol)
View Source: @openzeppelin\contracts-upgradeable\token\ERC721\extensions\ERC721BurnableUpgradeable.sol
↗ Extends: Initializable, ContextUpgradeable, ERC721Upgradeable ↘ Derived Contracts: ActivateToken, CreatorToken
ERC721BurnableUpgradeable
ERC721 Token that can be irreversibly burned (destroyed).
Contract Members
Constants & Variables
uint256[50] private __gap;
Functions
__ERC721Burnable_init
function __ERC721Burnable_init() internal nonpayable onlyInitializing
Arguments
| Name | Type | Description | | ————- |————- | —–|
__ERC721Burnable_init_unchained
function __ERC721Burnable_init_unchained() internal nonpayable onlyInitializing
Arguments
| Name | Type | Description | | ————- |————- | —–|
burn
Burns tokenId
. See {ERC721-_burn}.
Requirements:
- The caller must own
tokenId
or be an approved operator.
function burn(uint256 tokenId) public nonpayable
Arguments
Name | Type | Description |
---|---|---|
tokenId | uint256 |
Contracts
- ActivateToken
- AddressUpgradeable
- ContextUpgradeable
- CreatorToken
- CustomToken
- ERC165Upgradeable
- ERC20Upgradeable
- ERC721BurnableUpgradeable
- ERC721EnumerableUpgradeable
- ERC721Upgradeable
- ERC721URIStorageUpgradeable
- IERC165Upgradeable
- IERC20MetadataUpgradeable
- IERC20Upgradeable
- IERC721EnumerableUpgradeable
- IERC721MetadataUpgradeable
- IERC721ReceiverUpgradeable
- IERC721Upgradeable
- ImmutableEntity
- ImmutableProduct
- Initializable
- Migrations
- OwnableUpgradeable
- ProductActivate
- StringCommon
- StringsUpgradeable