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
DeveloperDAO offers learning
resources to help you build with web3
technologies.
Partner with D_D Academy
DeveloperDAO is a community of thousands of web3
builders creating a better internet. Join us and help
educate the next generation of developers.