nft-contracts icon indicating copy to clipboard operation
nft-contracts copied to clipboard

ERC721Community: can't burn() via Extension with reducing maxSupply

Open theshadowagent opened this issue 3 years ago • 1 comments

ERC721Community contract is based on ERC721A which supports burning only by transferring to 0xdead address (0x000000000000000000000000000000000000dEaD). Such burns don't reduce the number of items on OpenSea, because the contract needs to be updated as well

Writing a BurnExtension with reducing maxSupply is currently not possible because reduceMaxSupply is onlyOwner and doesn't allow burning less than totalMinted() amount

theshadowagent avatar Nov 10 '22 02:11 theshadowagent

I just realised that reducing maxSupply won't help OpenSea to display correct amount, because it's not part of ERC721 standard and OpenSea doesn't read maxSupply at all

theshadowagent avatar Nov 10 '22 02:11 theshadowagent