You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using the Diamond standard and it would be useful for me to be able to _mint() from multiple facets.
However, multiple facets cannot inherit from ERC721AUpgradeable because ERC721AUpgradeable has public functions and multiple facets cannot define the same public function.
I propose adding a ERC721AInternal contract that Diamond-ers can inherit from in multiple places. This would not affect anyone else as they could continue inheriting from ERC721AUpgradeable (basically what I'm proposing is a copy-paste).
SolidState takes this approach for their ERC721, so it has been done!
Thanks!
The text was updated successfully, but these errors were encountered:
I'm using the Diamond standard and it would be useful for me to be able to
_mint()
from multiple facets.However, multiple facets cannot inherit from
ERC721AUpgradeable
becauseERC721AUpgradeable
has public functions and multiple facets cannot define the same public function.I propose adding a
ERC721AInternal
contract that Diamond-ers can inherit from in multiple places. This would not affect anyone else as they could continue inheriting fromERC721AUpgradeable
(basically what I'm proposing is a copy-paste).SolidState takes this approach for their ERC721, so it has been done!
Thanks!
The text was updated successfully, but these errors were encountered: