Wrapped Voting Proof of Concept
Status
Owner
Workstream
Due Date
DAOops Key Result
Project
Related to Meetings + Minutes DB (1) (Action Items) 3
Tags
DAO Ops Initiative
SME
Contributors
Informed-Contributors
Additional Details
Season
Key Results
MMMarketing Hub
MMMarketing Hubs
๐ Related Meetings
Working document
Round
Agenda Item Type
Last edited by
Intent
Objective / Project
End of Season Outcome
Tasks / Dependencies
Last edited time 1
Jun 6, 2023
Last edited time
Jun 6, 2023
Last edited time 2
Jun 6, 2023
Goal:
Use the strategy template repo to create a voting strategy that demonstrates how a protocol can implement Wrapped Voting using Allo.
- Build a proof of concept for a voting strategy that โwrapsโ minting from NFTs from a protocol
- Document the voting strategy in a readme
ย
Requirements:
This project will need a simple NFT โprotocolโ that can be a stand in for protocol developers reviewing this proof of concept. It will then need a voting strategy that wraps the
mint()
method on the NFTs created by the protocol to demonstrate how this can be used in a QF round.NFT Protocol
The NFT protocol should be really simple. The goal is just to demonstrate how a voting strategy can wrap a method on an existing protocol. It can probably just have a Factory and an NFT contract.
ย
Factory.sol
The Factory contract should have a
create()
method that accepts the parameters necessary to create a new NFT contract. It should also store the address for any NFT created by the Factory.ย
NFT.sol
This should be as minimal a contract as necessary. I think we can get away with mostly using the solmate NFT contract as a base.
The contract should have the following properties:
- Name
- Symbol
- Price
ย
It should have a
mint()
method that ensure the value sent in the mint transaction matches the price. Revert if not enough funds are sent. We can keep it to minting one token at a time.Voting Strategy