Skip to content

cotikor-public-plaid/voting-dapp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Voting Smart Contract

Smart contract written in Solidity based on an election with plurality voting on proposals.

GraphQL Interactions Available:

# MUTATIONS

# mutation {
#   register(address:"")
# }

# mutation {
#   vote(choices:[], sender: "")
# }

# mutation{
#   countVotes{
#     totalVotes,
#     yesCount,
#     noCount
#   }
# }


# QUERIES

# {
#   electionOfficial
# }


# {
#   totalRegisteredVoters
# }


# {
#   totalProposals
# }

# {
#   voterChoices(address:"", sender: "" )
# }



# {
#   winningProposals
# }


# {
#   proposalVoteCount(proposalNumber: 0){
#     totalVotes,
#     yesCount,
#     noCount
#   }
# }

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors