Commit Graph

76 Commits

Author SHA1 Message Date
Richard Ramos 4a985e76c1 Merge branch '000-snt-voting-dapp' of https://github.com/status-im/contracts into 000-snt-voting-dapp 2018-06-28 16:26:30 -04:00
Richard Ramos ca940c3dd1 merge 2018-06-28 16:25:59 -04:00
Barry Gitarts 25229dbd27 disable add proposal when no SNT 2018-06-28 16:24:28 -04:00
Richard Ramos 5907339d4d Formatting results 2018-06-28 16:22:11 -04:00
Barry Gitarts 57ef231576 Update votes on update
use global context for updating polls
2018-06-28 15:05:53 -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
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 edce31e574 Increasing gasLimit 2018-06-28 10:56:44 -04:00
Barry Gitarts 394f7916d4 add error handling to add poll 2018-06-28 10:53:33 -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
Barry Gitarts 227c01e853 add bypass getPolls when no polls 2018-06-28 09:03:58 -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 2cc4478553 add get voting option
store proposals in indexed order
2018-06-27 13:54:36 -04:00
Barry Gitarts 56297fb988 add pollsList 2018-06-27 13:23:14 -04:00
Barry Gitarts 840295bb27 add rawPolls to top level state 2018-06-27 10:27:16 -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
Barry Gitarts a3807a8478 add addPoll method to handlesubmit 2018-06-26 17:05:58 -04:00
Barry Gitarts 1bf51552d7 add AddPoll component 2018-06-26 16:34:52 -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 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
Richard Ramos e160a028cf Voting form did not display during pagination 2018-06-25 10:19:10 -04:00
Richard Ramos 723b5a2cac Set dapp back to working state 2018-06-25 09:43:08 -04:00
Richard Ramos 01afa35a39 Displaying buttons depending on proposal state 2018-06-03 12:08:53 -04:00
Richard Ramos c6f7e54cac SNT minting 2018-06-01 15:17:32 -04:00
Barry Gitarts 7a394c396e add token permissions to proposal manager 2018-05-31 16:50:05 -04:00