Commit Graph

80 Commits

Author SHA1 Message Date
Ladd Hoffman 4d39b55e64 Disable REP transfer and transferFrom 2024-04-10 13:43:58 -05:00
Ladd Hoffman bb26571779 Use ERC20 allowance to implement staking 2024-04-09 20:50:04 -05:00
Ladd Hoffman ea6d068555 comments 2024-04-09 05:50:46 -05:00
Ladd Hoffman 54d4fbc6cc refactor of dao core 2024-04-09 05:33:04 -05:00
Ladd Hoffman 5cb4cf93d0 fix script automated-staking-sepolia 2024-04-09 05:10:25 -05:00
Ladd Hoffman 7b720c7325 WIP auto staking legislative process 2024-04-09 05:09:27 -05:00
Ladd Hoffman c6546b56f1 Add comment to Proposals.sol 2024-04-05 11:47:41 -05:00
Ladd Hoffman 2b2473fb8d Remove comleted TODO 2024-04-04 13:46:46 -05:00
Ladd Hoffman 699321979f remove console.log from tests 2024-04-02 14:19:28 -05:00
Ladd Hoffman 90ac50ec39 remove retcode column 2024-04-02 14:04:55 -05:00
Ladd Hoffman e3b6026d18 implemented price change proposal workflow 2024-04-02 13:36:40 -05:00
Ladd Hoffman 04c31e0b90 Implement price change proposal workflow 2024-03-31 12:59:57 -05:00
Ladd Hoffman a3e3ebb71f minor code rearranging 2024-03-30 17:29:43 -05:00
Ladd Hoffman 18693ac474 Add callback for proposals 2024-03-30 17:21:26 -05:00
Ladd Hoffman 4b2d2b432c clean up some comments 2024-03-30 15:23:38 -05:00
Ladd Hoffman 34215de7e0 testnet deploy 2024-03-29 18:23:28 -05:00
Ladd Hoffman 046aba2c48 small fixes 2024-03-29 18:08:30 -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 041580f79d Shorten work contract validation pool duration to 60s 2024-03-23 15:11:56 -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 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