Files
core/contracts/interfaces/IERC721Burnable.sol
donosonaumczuk 18f09ad8e1 misc: Interfaces version >=0.6.0
Co-authored-by: Victor Naumik <vicnaum@gmail.com>
2023-04-07 17:32:24 +01:00

20 lines
498 B
Solidity

// SPDX-License-Identifier: MIT
pragma solidity >=0.6.0;
/**
* @title IERC721Burnable
* @author Lens Protocol
*
* @notice Extension of ERC-721 including a function that allows the token to be burned.
*/
interface IERC721Burnable {
/**
* @notice Burns an NFT, removing it from circulation and essentially destroying it.
* @custom:permission Owner of the NFT.
*
* @param tokenId The token ID of the token to burn.
*/
function burn(uint256 tokenId) external;
}