We need to start refactoring our existing facets to match the new design documentation of Compose.
The Permit functionality in the existing ERC20Facet needs to be pulled out of that and put in its own facet that composes with the ERC20Facet.
The burn and burnFrom functions need to be pulled out of ERC20Facet and put in its own facet that composes with the ERC20Facet.
The order of the variables in ERC20Storage struct should change so that the variables not used by extensions should be placed last so they are removed in extensions. This is according to the Extending Facets documentation: https://compose.diamonds/docs/design/design-for-composition#extending-facets
Helpful Information
Have a question? Please check our contribution guide first - your answer might already be there!
Want to discuss something? For general questions, ideas, or brainstorming, please browse our discussions or start a new one.
You can also join our Discord to discuss the issue.
We need to start refactoring our existing facets to match the new design documentation of Compose.
The Permit functionality in the existing ERC20Facet needs to be pulled out of that and put in its own facet that composes with the ERC20Facet.
The
burnandburnFromfunctions need to be pulled out of ERC20Facet and put in its own facet that composes with the ERC20Facet.The order of the variables in
ERC20Storagestruct should change so that the variables not used by extensions should be placed last so they are removed in extensions. This is according to the Extending Facets documentation: https://compose.diamonds/docs/design/design-for-composition#extending-facetsHelpful Information
Have a question? Please check our contribution guide first - your answer might already be there!
Want to discuss something? For general questions, ideas, or brainstorming, please browse our discussions or start a new one.
You can also join our Discord to discuss the issue.