-
Notifications
You must be signed in to change notification settings - Fork 12.3k
Closed
Labels
breaking changeChanges that break backwards compatibility of the public API.Changes that break backwards compatibility of the public API.
Milestone
Description
Does it ever make sense to use this contract over ERC165 with overrides and if statements?
The API is a little simpler because it's just a call to _registerInterface. The use of storage makes it more expensive to execute supportsInterface, and also to deploy the contract. Deployment costs are not necessarily worse though, because when storage is not used it requires more bytecode, but probably not enough to match it.
Metadata
Metadata
Assignees
Labels
breaking changeChanges that break backwards compatibility of the public API.Changes that break backwards compatibility of the public API.