Skip to content

yayiyo/ballot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

通过对Solidity官方文档的学习,发现文档里的投票案例代码有些不够严谨,动手做了一些改进。

修改地方: vote函数,delegate函数的调用者判断,提案编号的范围判断。

winningProposal函数,winnerName函数出现多个票数最高且相同的情况。

具体问题分析请看CSDN博客:https://blog.csdn.net/luckydog612/article/details/81608214

About

基于Solidity官方文档智能合约案例——投票作了一些改进

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published