-
Notifications
You must be signed in to change notification settings - Fork 11.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support ERC173 #2874
base: master
Are you sure you want to change the base?
Support ERC173 #2874
Conversation
e593cce
to
aa1b4fd
Compare
contracts/access/Ownable.sol
Outdated
@@ -16,11 +17,9 @@ import "../utils/Context.sol"; | |||
* `onlyOwner`, which can be applied to your functions to restrict their use to | |||
* the owner. | |||
*/ | |||
abstract contract Ownable is Context { | |||
abstract contract Ownable is Context, IERC173 { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also the whole point of this would be to implement supportsInterface
here, but not sure how welcome is it to add it (similar to how it is done in token/ERC721/ERC721.sol
for example).
Hello @axic This is something I considered during the recent introduction of the When the ERC moves to final we will do this change (but with the |
I'm skeptical about the usefulness of ERC165 in this context. Will reconsider the PR if ERC173 moves forward. |
On July 9 2022 ERC173 has finally moved to final status (see commit ethereum/EIPs@110aff0 ) I think it's time to reopen discussion about this, and imho make oz adhere to the new standard |
There are two things:
Therefore, I would suggest that if we include that in our codebase, it is seen as a breaking change and is scheduled for v5.0.0 |
This needs to get integrated in open-zeppelin as now, opensea will only support royalty for contracts that has implemented EIP-173 |
should we keep |
Perhaps it is a bit premature to open this, but it felt easier to discuss it this way and not in an issue. The last discussion took place on #987. Opened a question I have here: ethereum/EIPs#173 (comment)
PR Checklist