-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
53 changed files
with
5,834 additions
and
114 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
{ | ||
"fonts/Open-Sans-regular.eot": "fonts/Open-Sans-regular.c35ad7c76819575781c833319c13711b.eot", | ||
"fonts/Open-Sans-regular.ttf": "fonts/Open-Sans-regular.953de7bafd9fdbf41ea443aacabe2706.ttf", | ||
"fonts/Open-Sans-regular.woff": "fonts/Open-Sans-regular.d0bad741aefb909e4be56d188b6f02b9.woff", | ||
"fonts/Open-Sans-regular.woff2": "fonts/Open-Sans-regular.4124088fdd8c315a6d096b65b6cbf428.woff2", | ||
"fonts/Oswald-300.eot": "fonts/Oswald-300.d6069ae58a6b125b1da3f6bd32ec4a12.eot", | ||
"fonts/Oswald-300.ttf": "fonts/Oswald-300.6d9515af2c14dcad1a6dcaac59ab6363.ttf", | ||
"fonts/Oswald-300.woff": "fonts/Oswald-300.55bb45b64b791d306a39e3af9791216a.woff", | ||
"fonts/Oswald-300.woff2": "fonts/Oswald-300.1cd1aa124ab22433a697eea7e91cdcb2.woff2", | ||
"fonts/Oswald-regular.eot": "fonts/Oswald-regular.31adcb0ebce77e9bf3fb797cf2fa65b4.eot", | ||
"fonts/Oswald-regular.ttf": "fonts/Oswald-regular.8573096c5e435cde244a0483601020a2.ttf", | ||
"fonts/Oswald-regular.woff": "fonts/Oswald-regular.4cd42bac8ebc77f27c60ce7ffe3bb975.woff", | ||
"fonts/Oswald-regular.woff2": "fonts/Oswald-regular.29b3a057ac523422b12afa8f7cf692f7.woff2", | ||
"fonts/brand-icons.eot": "fonts/brand-icons.13db00b7a34fee4d819ab7f9838cc428.eot", | ||
"fonts/brand-icons.ttf": "fonts/brand-icons.c5ebe0b32dc1b5cc449a76c4204d13bb.ttf", | ||
"fonts/brand-icons.woff": "fonts/brand-icons.a046592bac8f2fd96e994733faf3858c.woff", | ||
"fonts/brand-icons.woff2": "fonts/brand-icons.e8c322de9658cbeb8a774b6624167c2c.woff2", | ||
"fonts/icons.eot": "fonts/icons.8e3c7f5520f5ae906c6cf6d7f3ddcd19.eot", | ||
"fonts/icons.ttf": "fonts/icons.b87b9ba532ace76ae9f6edfe9f72ded2.ttf", | ||
"fonts/icons.woff": "fonts/icons.faff92145777a3cbaf8e7367b4807987.woff", | ||
"fonts/icons.woff2": "fonts/icons.0ab54153eeeca0ce03978cc463b257f7.woff2", | ||
"fonts/outline-icons.eot": "fonts/outline-icons.701ae6abd4719e9c2ada3535a497b341.eot", | ||
"fonts/outline-icons.ttf": "fonts/outline-icons.ad97afd3337e8cda302d10ff5a4026b8.ttf", | ||
"fonts/outline-icons.woff": "fonts/outline-icons.ef60a4f6c25ef7f39f2d25a748dbecfe.woff", | ||
"fonts/outline-icons.woff2": "fonts/outline-icons.cd6c777f1945164224dee082abaea03a.woff2", | ||
"main.css": "static/css/main.b725e89f.css", | ||
"main.css.map": "static/css/main.b725e89f.css.map", | ||
"main.js": "static/js/main.60526f44.js", | ||
"main.js.map": "static/js/main.60526f44.js.map", | ||
"static/media/Open-Sans-regular.svg": "static/media/Open-Sans-regular.7e735d7a.svg", | ||
"static/media/Oswald-300.svg": "static/media/Oswald-300.fe401aad.svg", | ||
"static/media/Oswald-regular.svg": "static/media/Oswald-regular.48b6c164.svg", | ||
"static/media/brand-icons.svg": "static/media/brand-icons.a1a749e8.svg", | ||
"static/media/flags.png": "static/media/flags.9c74e172.png", | ||
"static/media/icons.svg": "static/media/icons.962a1bf3.svg", | ||
"static/media/outline-icons.svg": "static/media/outline-icons.82f60bd0.svg" | ||
} |
Binary file not shown.
Binary file added
BIN
+10.1 KB
build_webpack/fonts/Open-Sans-regular.4124088fdd8c315a6d096b65b6cbf428.woff2
Binary file not shown.
Binary file added
BIN
+33.4 KB
build_webpack/fonts/Open-Sans-regular.953de7bafd9fdbf41ea443aacabe2706.ttf
Binary file not shown.
Binary file added
BIN
+17.8 KB
build_webpack/fonts/Open-Sans-regular.c35ad7c76819575781c833319c13711b.eot
Binary file not shown.
Binary file added
BIN
+13.9 KB
build_webpack/fonts/Open-Sans-regular.d0bad741aefb909e4be56d188b6f02b9.woff
Binary file not shown.
Binary file added
BIN
+9.82 KB
build_webpack/fonts/Oswald-300.1cd1aa124ab22433a697eea7e91cdcb2.woff2
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+9.73 KB
build_webpack/fonts/Oswald-regular.29b3a057ac523422b12afa8f7cf692f7.woff2
Binary file not shown.
Binary file added
BIN
+17.5 KB
build_webpack/fonts/Oswald-regular.31adcb0ebce77e9bf3fb797cf2fa65b4.eot
Binary file not shown.
Binary file added
BIN
+12.4 KB
build_webpack/fonts/Oswald-regular.4cd42bac8ebc77f27c60ce7ffe3bb975.woff
Binary file not shown.
Binary file added
BIN
+33.6 KB
build_webpack/fonts/Oswald-regular.8573096c5e435cde244a0483601020a2.ttf
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+62.2 KB
build_webpack/fonts/brand-icons.a046592bac8f2fd96e994733faf3858c.woff
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+53.2 KB
build_webpack/fonts/brand-icons.e8c322de9658cbeb8a774b6624167c2c.woff2
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+30.4 KB
build_webpack/fonts/outline-icons.701ae6abd4719e9c2ada3535a497b341.eot
Binary file not shown.
Binary file added
BIN
+30.2 KB
build_webpack/fonts/outline-icons.ad97afd3337e8cda302d10ff5a4026b8.ttf
Binary file not shown.
Binary file added
BIN
+12 KB
build_webpack/fonts/outline-icons.cd6c777f1945164224dee082abaea03a.woff2
Binary file not shown.
Binary file added
BIN
+14.4 KB
build_webpack/fonts/outline-icons.ef60a4f6c25ef7f39f2d25a748dbecfe.woff
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="shortcut icon" href="/favicon.ico"><title>Truffle Box</title><link href="/static/css/main.b725e89f.css" rel="stylesheet"></head><body><div id="root"></div><script type="text/javascript" src="/static/js/main.60526f44.js"></script></body></html> |
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
1,637 changes: 1,637 additions & 0 deletions
1,637
build_webpack/static/media/Open-Sans-regular.7e735d7a.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1,008 changes: 1,008 additions & 0 deletions
1,008
build_webpack/static/media/brand-icons.a1a749e8.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,94 +1,94 @@ | ||
const ElectionContract=[ | ||
{ | ||
"constant": true, | ||
"inputs": [ | ||
{ | ||
"name": "candidate", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "validCandidate", | ||
"outputs": [ | ||
{ | ||
"name": "", | ||
"type": "bool" | ||
} | ||
], | ||
"payable": false, | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"constant": false, | ||
"inputs": [ | ||
{ | ||
"name": "candidate", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "voteForCandidate", | ||
"outputs": [], | ||
"payable": false, | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
{ | ||
"constant": true, | ||
"inputs": [ | ||
{ | ||
"name": "candidate", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "totalVotesFor", | ||
"outputs": [ | ||
{ | ||
"name": "", | ||
"type": "uint8" | ||
} | ||
], | ||
"payable": false, | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"constant": true, | ||
"inputs": [ | ||
{ | ||
"name": "", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "candidateList", | ||
"outputs": [ | ||
{ | ||
"name": "", | ||
"type": "uint256" | ||
} | ||
], | ||
"payable": false, | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"constant": true, | ||
"inputs": [ | ||
{ | ||
"name": "", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "votesReceived", | ||
"outputs": [ | ||
{ | ||
"name": "", | ||
"type": "uint8" | ||
} | ||
], | ||
"payable": false, | ||
"stateMutability": "view", | ||
"type": "function" | ||
} | ||
{ | ||
"constant": true, | ||
"inputs": [ | ||
{ | ||
"name": "candidate", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "validCandidate", | ||
"outputs": [ | ||
{ | ||
"name": "", | ||
"type": "bool" | ||
} | ||
], | ||
"payable": false, | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"constant": false, | ||
"inputs": [ | ||
{ | ||
"name": "candidate", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "voteForCandidate", | ||
"outputs": [], | ||
"payable": false, | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
{ | ||
"constant": true, | ||
"inputs": [ | ||
{ | ||
"name": "candidate", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "totalVotesFor", | ||
"outputs": [ | ||
{ | ||
"name": "", | ||
"type": "uint8" | ||
} | ||
], | ||
"payable": false, | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"constant": true, | ||
"inputs": [ | ||
{ | ||
"name": "", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "candidateList", | ||
"outputs": [ | ||
{ | ||
"name": "", | ||
"type": "uint256" | ||
} | ||
], | ||
"payable": false, | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"constant": true, | ||
"inputs": [ | ||
{ | ||
"name": "", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "votesReceived", | ||
"outputs": [ | ||
{ | ||
"name": "", | ||
"type": "uint8" | ||
} | ||
], | ||
"payable": false, | ||
"stateMutability": "view", | ||
"type": "function" | ||
} | ||
] | ||
|
||
export { ElectionContract }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters