Burnable Tables #225
sanderpick
started this conversation in
General
Replies: 1 comment 6 replies
-
What do you mean "and delete associated system tables"? I don't imagine deleting the actual table in question, so just wondering what you mean. |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Now that tables are more easily browsable via the OpenSea collection pages and the forthcoming Admin UI, the many test / throw away tables seen on some chains have become an eye sore.
We currently don't implement
ERC721ABurnable
, which allows people to—you guessed it—burn tables. "Burning" a table would delete it from storage, and mark thetableID
as burned. A burned table would not show up on the collection pages.Upgrading to a burnable ERC721A is easy. We'd inherit from the burnable extension and delete controller entries when a table is burned. The bulk of the work would reside in the validator, where we'd need to handle
Transfer
events to the zero address, and delete rows from system tables.Beta Was this translation helpful? Give feedback.
All reactions