1
function submitVote(
uint256 proposalIndex ,
uint8 uintVote
2
)public nonReentrant onlyDelegate{
3
address member Address =
memberAddress[msg.sender];
4
Member storage member = members[memberAddress];
5
require(proposalIndex < proposalQueue.length,
"proposal does not exist");
6
Proposal storage proposal =
proposals[proposalQueue[ proposalIndex ]];
7
require(uintVote < 3, "must be less than 3");
8
Vote vote = Vote(uintVote);
...
LEARN WEB3
Developer DAO offers learning
resources to help you build with web3
technologies.
Partner with D_D Academy
Developer DAO is a community of thousands of web3
builders creating a better internet. Join us and help
educate the next generation of developers.