-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
Add EIP: Asset-bound Non-Fungible Tokens #6956
Conversation
✅ All reviewers have approved. |
dba8455
to
e347538
Compare
17300e4
to
c34e06a
Compare
c34e06a
to
caa13e3
Compare
9c78698
to
3f45d9e
Compare
a627228
to
4ce497d
Compare
1713073
to
edf0bf5
Compare
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.
Following discussion in Discord / #eip-editors, added in 8301954 the following SPDX-Identifier to interfaces in the EIP:
This makes it abundantly clear that no patent- or license claims whatsoever can arise when implementing IERC6956* |
- Changes IERC6956Floatable interface - Resolves TODO from reference implementation - Makes canFloat mechanics obsolete - removed
Using AccessControl when inheriting from multiple base contracts is likely to fail or result in very complex overriding structures. Replace it by a simple maintainers() mapping, isMaintainer() function (which can or shall be overridden) and maintainerOnly() modifier. Typically, isMaintainer() would be overriden by a derived contract and employ something like AccessControl.hasRole(MAINTAINER_ROLE)
- Interfaces streamlined and unified naming - Added Rationale and Security Considerations Resolve Review in EIP Editing Office Hour Meeting 17 - Maintainer-called functions removed from interfaces - Shortened abstract (250 words to 199 words) - Expanded abbreviations - Removed build files (hardhat, solhint), kept package.json Reference implementation - Resolved reentrant-attack vector for transferAnchor and burn - Minor gas optimizations
Also remove package.json
As discussed in #eip-editors, to clarify the interface is licensed under CC0-1.0 (as the EIP) but also under MIT. MIT ensures that any implementation of the interface is guaranteed to be free of eventual patent- and license claims.
Co-authored-by: Sam Wilson <57262657+SamWilsn@users.noreply.github.com>
Co-authored-by: Sam Wilson <57262657+SamWilsn@users.noreply.github.com>
816f1cd
to
09adbac
Compare
To hopefully resolve auto-review bot's parsing issues See ethereum/eip-review-bot#270
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.
All Reviewers Have Approved; Performing Automatic Merge...
This is the initial Draft of ASSET-BOUND NON-FUNGIBLE TOKENS
EIPS/eip-asset_bound_non_fungible_tokens.md
assets/eip-asset_bound_non_fungible_tokens