193 Commits

Author SHA1 Message Date
Richard Ramos
0ecd741382 Disabling IPFS 2018-06-28 09:19:31 -04:00
Barry Gitarts
64f05f2143 Merge branch '000-snt-voting-dapp' of https://github.com/status-im/contracts into 000-snt-voting-dapp 2018-06-28 09:04:24 -04:00
Barry Gitarts
227c01e853 add bypass getPolls when no polls 2018-06-28 09:03:58 -04:00
Richard Ramos
c7897b16c4 Disabling voting if no SNT balance 2018-06-28 08:21:34 -04:00
Richard Ramos
f83aa448c4 Slider is disabled depending on voting 2018-06-27 22:09:19 -04:00
Richard Ramos
3ba4d1e560 Changed logo 2018-06-27 22:02:50 -04:00
Richard Ramos
ff338bb7b0 Allowing voting / unvoting 2018-06-27 21:42:17 -04:00
Richard Ramos
c2ba506f5e Loading vote information and balance available for voting 2018-06-27 21:18:49 -04:00
Richard Ramos
b7528bbdee Users can vote 2018-06-27 20:45:31 -04:00
Richard Ramos
bfad0ae88e Simplified contract to only gather votes without requiring options 2018-06-27 17:23:27 -04:00
Barry Gitarts
06a6cceb46 make slider tooltip display quadratic 2018-06-27 15:50:08 -04:00
Barry Gitarts
2422420282 fixup! Merge branch '000-snt-voting-dapp' of https://github.com/status-im/contracts into 000-snt-voting-dapp 2018-06-27 15:43:03 -04:00
Barry Gitarts
811d09979d Merge branch '000-snt-voting-dapp' of https://github.com/status-im/contracts into 000-snt-voting-dapp 2018-06-27 15:35:41 -04:00
Barry Gitarts
bca86f5a1f add togglePoll + poll submit loading indicator 2018-06-27 15:34:06 -04:00
Richard Ramos
270a65c9ff Merge branch '000-snt-voting-dapp' of https://github.com/status-im/contracts into 000-snt-voting-dapp 2018-06-27 15:10:43 -04:00
Richard Ramos
cce9494663 Disabling unneded contracts 2018-06-27 15:10:16 -04:00
Barry Gitarts
e17870ab17 Merge branch '000-snt-voting-dapp' of https://github.com/status-im/contracts into 000-snt-voting-dapp 2018-06-27 15:09:20 -04:00
Barry Gitarts
c775fab955 add status logo 2018-06-27 15:08:09 -04:00
Richard Ramos
8abcd28835 Added validation when adding polls 2018-06-27 15:00:50 -04:00
Richard Ramos
28521fb1a5 Merge branch '000-snt-voting-dapp' of https://github.com/status-im/contracts into 000-snt-voting-dapp 2018-06-27 14:45:00 -04:00
Richard Ramos
5e9a0da95c Added gas estimation 2018-06-27 14:44:37 -04:00
Barry Gitarts
e99d9b5560 add vote button and slider 2018-06-27 14:40:45 -04:00
Barry Gitarts
70e5c77d91 Merge branch '000-snt-voting-dapp' of https://github.com/status-im/contracts into 000-snt-voting-dapp 2018-06-27 13:55:25 -04:00
Barry Gitarts
2cc4478553 add get voting option
store proposals in indexed order
2018-06-27 13:54:36 -04:00
Richard Ramos
b96ecd5a20 Merge branch '000-snt-voting-dapp' of https://github.com/status-im/contracts into 000-snt-voting-dapp 2018-06-27 13:27:27 -04:00
Richard Ramos
79d0763a7d Added custom vote option 2018-06-27 13:27:01 -04:00
Barry Gitarts
56297fb988 add pollsList 2018-06-27 13:23:14 -04:00
Richard Ramos
09d85cb00c Merge branch '000-snt-voting-dapp' of https://github.com/status-im/contracts into 000-snt-voting-dapp 2018-06-27 10:39:51 -04:00
Barry Gitarts
840295bb27 add rawPolls to top level state 2018-06-27 10:27:16 -04:00
Richard Ramos
27d0162b32 Merge branch '000-snt-voting-dapp' of https://github.com/status-im/contracts into 000-snt-voting-dapp 2018-06-27 09:36:09 -04:00
Barry Gitarts
0ab1b422ba increase font size of text field 2018-06-27 08:52:41 -04:00
Barry Gitarts
0d75175db3 add rlp encoding for new proposal 2018-06-26 17:40:27 -04:00
Barry Gitarts
0f0c7261c4 fixup! fixup! Merge branch '000-snt-voting-dapp' of https://github.com/status-im/contracts into 000-snt-voting-dapp 2018-06-26 17:19:26 -04:00
Barry Gitarts
9e227df03d fixup! Merge branch '000-snt-voting-dapp' of https://github.com/status-im/contracts into 000-snt-voting-dapp 2018-06-26 17:15:20 -04:00
Richard Ramos
df786d1536 Removing start block 2018-06-26 17:15:20 -04:00
Barry Gitarts
a3807a8478 add addPoll method to handlesubmit 2018-06-26 17:05:58 -04:00
Richard Ramos
818b67d19f Merge branch '000-snt-voting-dapp' of https://github.com/status-im/contracts into 000-snt-voting-dapp 2018-06-26 17:02:26 -04:00
Richard Ramos
58be366bd9 Removing start block 2018-06-26 17:02:04 -04:00
Barry Gitarts
00957320b1 Merge branch '000-snt-voting-dapp' of https://github.com/status-im/contracts into 000-snt-voting-dapp 2018-06-26 16:35:12 -04:00
Barry Gitarts
1bf51552d7 add AddPoll component 2018-06-26 16:34:52 -04:00
Richard Ramos
f7985fb57c Added quadratic voting 2018-06-26 16:34:28 -04:00
Richard Ramos
2979fbcc2e Changed constructor 2018-06-26 15:41:28 -04:00
Richard Ramos
9eb347e32c Linting and removing warnings 2018-06-26 14:44:45 -04:00
Richard Ramos
6e6247593c Merging changes 2018-06-26 13:35:05 -04:00
Richard Ramos
3759522633 Created test case to demonstrate how to use contracts 2018-06-26 13:34:24 -04:00
Barry Gitarts
7f007935f2 add initial scalfold for voting dapp
seperate admin view from main view
2018-06-26 12:46:06 -04:00
Richard Ramos
a712cece85 Poll contracts 2018-06-26 10:19:04 -04:00
Richard Ramos
66b6fbf966 Wrong variable name 2018-06-26 08:22:44 -04:00
Richard Ramos
98dcb1f803 Adding topic, to, value and data 2018-06-25 17:06:19 -04:00
Richard Ramos
9f122d36ff Tabulation and determining final result 2018-06-25 14:35:16 -04:00