├── .gitignore ├── LICENSE ├── README.md ├── contracts ├── Ballot.sol ├── BallotCollection.sol └── Migrations.sol ├── migrations ├── 1_initial_migration.js └── 2_deploy_ballot_collection.js ├── src ├── addBallot.html ├── index.html ├── static │ ├── css │ │ ├── bootstrap.min.css │ │ └── bootstrap.min.css.map │ └── js │ │ ├── app.js │ │ ├── bootstrap.min.js │ │ ├── truffle-contract.js │ │ └── web3.min.js └── vote.html ├── test ├── TestBallotCollection.sol └── ThrowProxy.sol ├── truffle-config.js └── truffle.js /.gitignore: -------------------------------------------------------------------------------- 1 | build/ 2 | sh.exe.stackdump 3 | .idea/ -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangsir0624/ballot/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangsir0624/ballot/HEAD/README.md -------------------------------------------------------------------------------- /contracts/Ballot.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangsir0624/ballot/HEAD/contracts/Ballot.sol -------------------------------------------------------------------------------- /contracts/BallotCollection.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangsir0624/ballot/HEAD/contracts/BallotCollection.sol -------------------------------------------------------------------------------- /contracts/Migrations.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangsir0624/ballot/HEAD/contracts/Migrations.sol -------------------------------------------------------------------------------- /migrations/1_initial_migration.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangsir0624/ballot/HEAD/migrations/1_initial_migration.js -------------------------------------------------------------------------------- /migrations/2_deploy_ballot_collection.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangsir0624/ballot/HEAD/migrations/2_deploy_ballot_collection.js -------------------------------------------------------------------------------- /src/addBallot.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangsir0624/ballot/HEAD/src/addBallot.html -------------------------------------------------------------------------------- /src/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangsir0624/ballot/HEAD/src/index.html -------------------------------------------------------------------------------- /src/static/css/bootstrap.min.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangsir0624/ballot/HEAD/src/static/css/bootstrap.min.css -------------------------------------------------------------------------------- /src/static/css/bootstrap.min.css.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangsir0624/ballot/HEAD/src/static/css/bootstrap.min.css.map -------------------------------------------------------------------------------- /src/static/js/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangsir0624/ballot/HEAD/src/static/js/app.js -------------------------------------------------------------------------------- /src/static/js/bootstrap.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangsir0624/ballot/HEAD/src/static/js/bootstrap.min.js -------------------------------------------------------------------------------- /src/static/js/truffle-contract.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangsir0624/ballot/HEAD/src/static/js/truffle-contract.js -------------------------------------------------------------------------------- /src/static/js/web3.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangsir0624/ballot/HEAD/src/static/js/web3.min.js -------------------------------------------------------------------------------- /src/vote.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangsir0624/ballot/HEAD/src/vote.html -------------------------------------------------------------------------------- /test/TestBallotCollection.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangsir0624/ballot/HEAD/test/TestBallotCollection.sol -------------------------------------------------------------------------------- /test/ThrowProxy.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangsir0624/ballot/HEAD/test/ThrowProxy.sol -------------------------------------------------------------------------------- /truffle-config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangsir0624/ballot/HEAD/truffle-config.js -------------------------------------------------------------------------------- /truffle.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wangsir0624/ballot/HEAD/truffle.js --------------------------------------------------------------------------------