214 Commits

Author SHA1 Message Date
Barry Gitarts
c4e09a2282 ensure new vote get displayed before closing add poll
menu is now an easter egg
2018-06-28 16:40:18 -04:00
Barry Gitarts
25229dbd27 disable add proposal when no SNT 2018-06-28 16:24:28 -04:00
Barry Gitarts
882dd64128 Merge branch '000-snt-voting-dapp' of https://github.com/status-im/contracts into 000-snt-voting-dapp 2018-06-28 15:07:16 -04:00
Barry Gitarts
57ef231576 Update votes on update
use global context for updating polls
2018-06-28 15:05:53 -04:00
Richard Ramos
46f11a335f Contract config for deployment 2018-06-28 15:02:22 -04:00
Richard Ramos
ddc3cd5c55 Merge branch '000-snt-voting-dapp' of https://github.com/status-im/contracts into 000-snt-voting-dapp 2018-06-28 13:39:07 -04:00
Barry Gitarts
8c6308362c update tooltip copy 2018-06-28 12:25:19 -04:00
Barry Gitarts
51baddb70e add voting context + refresh polls after add 2018-06-28 12:14:15 -04:00
Richard Ramos
e2f9d8c59c Merge branch '000-snt-voting-dapp' of https://github.com/status-im/contracts into 000-snt-voting-dapp 2018-06-28 11:14:35 -04:00
Barry Gitarts
037c976826 add transistion for AddPoll 2018-06-28 11:03:59 -04:00
Barry Gitarts
2b0b834827 fixup! Merge branch '000-snt-voting-dapp' of https://github.com/status-im/contracts into 000-snt-voting-dapp 2018-06-28 10:56:49 -04:00
Richard Ramos
cac0ecf2f7 Updated blockchain.json with syncModes 2018-06-28 10:56:49 -04:00
Richard Ramos
edce31e574 Increasing gasLimit 2018-06-28 10:56:44 -04:00
Barry Gitarts
0aead6eefa Merge branch '000-snt-voting-dapp' of https://github.com/status-im/contracts into 000-snt-voting-dapp 2018-06-28 10:55:02 -04:00
Barry Gitarts
394f7916d4 add error handling to add poll 2018-06-28 10:53:33 -04:00
Richard Ramos
ce5143aa70 Updated blockchain.json with syncModes 2018-06-28 10:16:12 -04:00
Richard Ramos
d20a088138 Merge branch '000-snt-voting-dapp' of https://github.com/status-im/contracts into 000-snt-voting-dapp 2018-06-28 09:30:55 -04:00
Richard Ramos
024f3a19a3 Increasing gasLimit 2018-06-28 09:30:37 -04:00
Barry Gitarts
e33e07cf0f Merge branch '000-snt-voting-dapp' of https://github.com/status-im/contracts into 000-snt-voting-dapp 2018-06-28 09:22:14 -04:00
Barry Gitarts
bf7653499b fixup! Merge branch '000-snt-voting-dapp' of https://github.com/status-im/contracts into 000-snt-voting-dapp 2018-06-28 09:22:05 -04:00
Richard Ramos
d810019375 Disabling voting if no SNT balance 2018-06-28 09:22:05 -04:00
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