-
Notifications
You must be signed in to change notification settings - Fork 11.8k
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
erc721 mintable and bouncer updates #1020
erc721 mintable and bouncer updates #1020
Conversation
672a7a2
to
e8a8333
Compare
I see a few problems with this PR. It's very complex, and doesn't feel very cohesive. There's additions to our ERC721 stack, SignatureBouncer and RBAC, as well as new stuff like Additionally, I'm not quite convinced that What do you think about this? My concrete proposal is to continue work on #957, and then merge |
@frangio Keeping ERC721Minter inside examples is good π This PR is super huge, and it totally is all over the place, yeah. With the removal of ERC721Minter we can split noncetracker, autoincrementing, and signature bouncer changes into separate PRs. Will do that unless you have extra thoughts. |
26339ad
to
4e2242c
Compare
@shrugs should we close this one then, since work continued on those other 3 PRs? |
@nventuro this PR will have to eventually be rebased on master once those commits are merged |
closing in favor of tracking via #1272 |
Supercedes #957 and #950
fixes #962
π Description
cc @vittominacori for review
DefaultTokenURI.sol
β implementtokenURI(uint256 _tokenId)
and returns a defaulttokenURI
if a specific token URI is not set. saves the developer from storing the same tokenURI for every tokenRBACMintable.sol
β a super simple mintable role withonlyMinter
modifier. Does not suggest role authorization, which is left up to the implementer. Pairs well withRBACOwnable
RBACOwnable
β anOwnable
implementation that allows multiple owners that can add/remove themselvesMintableERC721Token.sol
β anERC721Token
that can be minted by anyone with theminter
role.ERC721Burnable
β an interface to supportburnFrom()
mechanismBurnableERC721Token
β an implementation of that interfaceπ I've reviewed the OpenZeppelin Contributor Guidelines
β I've added tests where applicable to test my new functionality.
π I've made sure that my contracts are well-documented.
π¨ I've run the JS/Solidity linters and fixed any issues (
npm run lint:all:fix
).