Here we are simply overriding function from ERC721 contract and ERC721URIStorage contract which will be used to burn an NFT and will decrease total supply.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Great Article.
please can you explain the work of this function
function _burn(uint256 tokenId)
internal
override(ERC721, ERC721URIStorage)
{
super._burn(tokenId);
}
Here we are simply overriding function from ERC721 contract and ERC721URIStorage contract which will be used to burn an NFT and will decrease total supply.