OpenZeppelin / OpenZeppelin/openzeppelin-contracts
ERC1155Votes
Nobody has claimed this yet.
- Dominant language
- Solidity
- Stars
- 27.2k
- Forks
- 12.4k
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 33
Description
What about ERC1155Votes?
🧐 Motivation
- seems to be the natural next step
- DAOs are looking for ways to separate themselves into smaller groups (guild/pods/etc), each with it's own responsibilities and power. The ERC1155 multi-token standard can help with that.
📝 Details
An implementation of Votes for the ERC1155 contract that will allow different voting weight for different tokens.
My thoughts is that this should be possible to implement in much the same method used here
https://github.com/toledoroy/openzeppelin-contracts_NFVotes/blob/master/contracts/token/ERC721/extensions/ERC721VotesNF.sol
Please share your thoughts 🙏
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the referenced contracts/token/ERC721/extensions/ERC721VotesNF.sol implementation and comparing it with the repository's ERC1155 and voting contracts. Clarify the API and voting-weight behavior for different token IDs before implementation; done should include an agreed ERC1155Votes design and corresponding tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- solidity
- Domain
- blockchain
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100