Commit Graph

110 Commits

Author SHA1 Message Date
Ladd Hoffman 4b2d2b432c clean up some comments 2024-03-30 15:23:38 -05:00
Ladd Hoffman 24cb9fda03 Add feature to view proposal content 2024-03-29 19:15:23 -05:00
Ladd Hoffman 1ad9ceaa85 Add duration options for new proposals 2024-03-29 18:50:35 -05:00
Ladd Hoffman 34215de7e0 testnet deploy 2024-03-29 18:23:28 -05:00
Ladd Hoffman 9bac90ba55 remove extraneous logging 2024-03-29 18:14:25 -05:00
Ladd Hoffman 046aba2c48 small fixes 2024-03-29 18:08:30 -05:00
Ladd Hoffman 3c839a8546 remove unneeded useMemo 2024-03-29 12:21:10 -05:00
Ladd Hoffman 51c954a6da add author to view post modal 2024-03-29 12:19:34 -05:00
Ladd Hoffman df5cbaba87 add tests for proposal referenda 2024-03-29 10:59:29 -05:00
Ladd Hoffman 13a88767bd Check participation rate on referendum 1% 2024-03-28 18:04:28 -05:00
Ladd Hoffman e95a8c0cb9 prevent stacking attestation from same sender 2024-03-28 18:01:55 -05:00
Ladd Hoffman 7ffd532292 Add win ratio VP param 2024-03-28 15:06:14 -05:00
Ladd Hoffman 41a0025311 Code comments 2024-03-27 20:05:53 -05:00
Ladd Hoffman fb29abb6b3 Lower minimum quorum 2024-03-27 20:01:25 -05:00
Ladd Hoffman 078df362ec Parameterize quorum 2024-03-27 20:00:46 -05:00
Ladd Hoffman 1ae1a336f5 Add comments 2024-03-27 14:11:53 -05:00
Ladd Hoffman 34306e78aa Remove extraneous struct member 2024-03-27 14:08:09 -05:00
Ladd Hoffman a8dcbe7a35 Proposals: complete VP workflow 2024-03-27 14:03:57 -05:00
Ladd Hoffman 5000ef60fd set up for testing referendum 0 2024-03-26 21:43:46 -05:00
Ladd Hoffman 1306fe2414 Proposals contract: attestation 2024-03-26 21:32:41 -05:00
Ladd Hoffman 790ff5db62 VP tests refactor 2024-03-26 18:58:00 -05:00
Ladd Hoffman d93b0cb9c7 add binding percent and redistribute losing stakes parameters to validation pool 2024-03-26 18:28:38 -05:00
Ladd Hoffman 5455fb4c15 A bit more logging in automatic staking script 2024-03-26 15:28:44 -05:00
Ladd Hoffman 7b67526515 Now support quorum parameter 2024-03-26 15:20:54 -05:00
Ladd Hoffman 69d91a6acc Automatic staking checks work evidence post content 2024-03-26 12:13:23 -05:00
Ladd Hoffman 3cfde81600 automatic staking retrieves post contents 2024-03-23 16:30:35 -05:00
Ladd Hoffman 900b5aa4e5 Add hash and signature verification on API read from leveldb 2024-03-23 15:26:27 -05:00
Ladd Hoffman f0180a5c1f use verb in post modal titles 2024-03-23 15:13:58 -05:00
Ladd Hoffman 041580f79d Shorten work contract validation pool duration to 60s 2024-03-23 15:11:56 -05:00
Ladd Hoffman 53e0745532 Fully re-enable client-side signature verification 2024-03-23 14:30:05 -05:00
Ladd Hoffman 25e515e0bb re-enable signature checking 2024-03-23 14:16:43 -05:00
Ladd Hoffman 2f9e31852d import objectHash from dist 2024-03-20 20:13:46 -05:00
Ladd Hoffman b229e2e6af Disable signature verification on API read 2024-03-20 20:10:43 -05:00
Ladd Hoffman 1f691bf2b4 sepolia deploy 2024-03-20 20:05:41 -05:00
Ladd Hoffman e6185fb89f client now verifies hash and signature on api read 2024-03-20 20:00:56 -05:00
Ladd Hoffman 956aa9728e require signatures for posts to API 2024-03-20 16:30:27 -05:00
Ladd Hoffman e5d502beab Add option to view work request 2024-03-20 14:53:34 -05:00
Ladd Hoffman 4fbd8259f1 Accept content for work request and work evidence 2024-03-20 14:26:56 -05:00
Ladd Hoffman c207fca58e backend error message logging 2024-03-20 09:41:06 -05:00
Ladd Hoffman d7df133991 Render line breaks in post content 2024-03-20 09:32:50 -05:00
Ladd Hoffman afe9da73c9 Add backend API to house forum content 2024-03-19 22:22:36 -05:00
Ladd Hoffman 8da5772d86 add onboarding contract 2024-03-18 14:03:53 -05:00
Ladd Hoffman a1e28d254e refactor abstract contract WorkContract 2024-03-18 10:53:39 -05:00
Ladd Hoffman 591a2c3627 Add onboarding contract 2024-03-17 21:00:31 -05:00
Ladd Hoffman 4674a184ce Stop sharing code and just make copies of contract addresses json 2024-03-17 13:36:31 -05:00
Ladd Hoffman 14d80bf1d5 deploy 2024-03-17 13:24:49 -05:00
Ladd Hoffman 1e67f80808 copy ABIs to contract-config dir on deploy 2024-03-17 12:30:12 -05:00
Ladd Hoffman 3846ec5d08 only automatically stake for pools initated by Work1 2024-03-17 12:29:17 -05:00
Ladd Hoffman 7e13449514 Update contract addresses file on deploy 2024-03-17 12:06:06 -05:00
Ladd Hoffman 5fd2841e77 move just contract address data to its own file 2024-03-17 11:48:05 -05:00