Commit Graph

156 Commits

Author SHA1 Message Date
Ladd Hoffman 50b0c1d82f avoid shadowed declaration
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 32s Details
2024-04-16 19:14:07 -05:00
Ladd Hoffman aedb6d3008 clarify code related to VP author rewards
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 33s Details
2024-04-16 19:13:03 -05:00
Ladd Hoffman 999ce51208 fixup test
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 36s Details
2024-04-16 18:38:26 -05:00
Ladd Hoffman ea389dcfd6 fix off-by-one error on VP rewards
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 32s Details
2024-04-16 18:37:18 -05:00
Ladd Hoffman 4e0f00ff2a sepolia deploy
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 36s Details
2024-04-16 16:50:09 -05:00
Ladd Hoffman 1989b20ed5 Remove console.log
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 28s Details
2024-04-15 15:40:46 -05:00
Ladd Hoffman 7d294529c8 More commentary
Gitea Actions Demo / Explore-Gitea-Actions (push) Has been cancelled Details
2024-04-15 15:40:19 -05:00
Ladd Hoffman c02e893cfc handle the case where an author has insufficient REP to cover a negative citation
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 37s Details
2024-04-15 15:10:58 -05:00
Ladd Hoffman 72968273ca fixup comment
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 33s Details
2024-04-15 13:35:39 -05:00
Ladd Hoffman 758f4fe7bd Move DAO contract to core/
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 36s Details
2024-04-15 13:34:46 -05:00
Ladd Hoffman a54cc86dba fixup power redistribution mechanism
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 41s Details
2024-04-12 18:57:00 -05:00
Ladd Hoffman 4a814e6302 test that totalSupply cecreases when burning REP
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 30s Details
2024-04-12 18:08:27 -05:00
Ladd Hoffman a49b42858a support incineration
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 45s Details
2024-04-12 18:07:38 -05:00
Ladd Hoffman d8d0122e31 enfore reference chain limit
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 30s Details
2024-04-12 17:38:22 -05:00
Ladd Hoffman a7f3e5f2e4 Limit effects of negative citations
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 40s Details
2024-04-12 16:54:48 -05:00
Ladd Hoffman 1a4c5c338d fixup error message
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 39s Details
2024-04-10 22:24:13 -05:00
Ladd Hoffman b12759fac8 keep track of post reputations
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 41s Details
2024-04-10 17:40:17 -05:00
Ladd Hoffman 842c1d2e81 implement negative citations
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 33s Details
2024-04-10 17:31:55 -05:00
Ladd Hoffman 5cffb8f556 enforce constrants on citation weights
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 38s Details
2024-04-10 16:40:12 -05:00
Ladd Hoffman dc18c69b09 propagate reputation to citations
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 37s Details
2024-04-10 16:31:31 -05:00
Ladd Hoffman 5c712f350a add citations to Post 2024-04-10 15:47:25 -05:00
Ladd Hoffman 57b64f7977 Add reputation to post struct
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 36s Details
2024-04-10 15:05:33 -05:00
Ladd Hoffman a40bbc8059 Pass author rewards via forum 2024-04-10 15:04:25 -05:00
Ladd Hoffman edd6d6d4d2 remove outdated comments 2024-04-10 14:57:04 -05:00
Ladd Hoffman 989bc9846e clarify logic in evaluateOutcome 2024-04-10 14:55:02 -05:00
Ladd Hoffman 77cd551602 Hold minted REP until outcome is evaluated 2024-04-10 14:21:42 -05:00
Ladd Hoffman 4d39b55e64 Disable REP transfer and transferFrom
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 47s Details
2024-04-10 13:43:58 -05:00
Ladd Hoffman bb26571779 Use ERC20 allowance to implement staking
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 36s Details
2024-04-09 20:50:04 -05:00
Ladd Hoffman ea6d068555 comments
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 41s Details
2024-04-09 05:50:46 -05:00
Ladd Hoffman 54d4fbc6cc refactor of dao core
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 39s Details
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
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 40s Details
2024-04-05 11:47:41 -05:00
Ladd Hoffman 2b2473fb8d Remove comleted TODO
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 38s Details
2024-04-04 13:46:46 -05:00
Ladd Hoffman 699321979f remove console.log from tests
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 32s Details
2024-04-02 14:19:28 -05:00
Ladd Hoffman 90ac50ec39 remove retcode column
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 37s Details
2024-04-02 14:04:55 -05:00
Ladd Hoffman e3b6026d18 implemented price change proposal workflow
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 26s Details
2024-04-02 13:36:40 -05:00
Ladd Hoffman 04c31e0b90 Implement price change proposal workflow
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 41s Details
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
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 28s Details
2024-03-30 17:21:26 -05:00
Ladd Hoffman 4b2d2b432c clean up some comments
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 43s Details
2024-03-30 15:23:38 -05:00
Ladd Hoffman 34215de7e0 testnet deploy
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 35s Details
2024-03-29 18:23:28 -05:00
Ladd Hoffman 046aba2c48 small fixes
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 32s Details
2024-03-29 18:08:30 -05:00
Ladd Hoffman 51c954a6da add author to view post modal
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 42s Details
2024-03-29 12:19:34 -05:00
Ladd Hoffman df5cbaba87 add tests for proposal referenda
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 30s Details
2024-03-29 10:59:29 -05:00
Ladd Hoffman 13a88767bd Check participation rate on referendum 1%
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 37s Details
2024-03-28 18:04:28 -05:00
Ladd Hoffman e95a8c0cb9 prevent stacking attestation from same sender
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 35s Details
2024-03-28 18:01:55 -05:00
Ladd Hoffman 7ffd532292 Add win ratio VP param
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 32s Details
2024-03-28 15:06:14 -05:00
Ladd Hoffman 41a0025311 Code comments
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 36s Details
2024-03-27 20:05:53 -05:00
Ladd Hoffman fb29abb6b3 Lower minimum quorum
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 42s Details
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
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 34s Details
2024-03-27 14:11:53 -05:00
Ladd Hoffman 34306e78aa Remove extraneous struct member
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 30s Details
2024-03-27 14:08:09 -05:00
Ladd Hoffman a8dcbe7a35 Proposals: complete VP workflow
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 38s Details
2024-03-27 14:03:57 -05:00
Ladd Hoffman 5000ef60fd set up for testing referendum 0
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 32s Details
2024-03-26 21:43:46 -05:00
Ladd Hoffman 1306fe2414 Proposals contract: attestation
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 32s Details
2024-03-26 21:32:41 -05:00
Ladd Hoffman 790ff5db62 VP tests refactor
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 36s Details
2024-03-26 18:58:00 -05:00
Ladd Hoffman d93b0cb9c7 add binding percent and redistribute losing stakes parameters to validation pool
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 34s Details
2024-03-26 18:28:38 -05:00
Ladd Hoffman 5455fb4c15 A bit more logging in automatic staking script
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 35s Details
2024-03-26 15:28:44 -05:00
Ladd Hoffman 7b67526515 Now support quorum parameter
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 34s Details
2024-03-26 15:20:54 -05:00
Ladd Hoffman 69d91a6acc Automatic staking checks work evidence post content
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 38s Details
2024-03-26 12:13:23 -05:00
Ladd Hoffman 3cfde81600 automatic staking retrieves post contents
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 34s Details
2024-03-23 16:30:35 -05:00
Ladd Hoffman 041580f79d Shorten work contract validation pool duration to 60s
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 36s Details
2024-03-23 15:11:56 -05:00
Ladd Hoffman 1f691bf2b4 sepolia deploy
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 31s Details
2024-03-20 20:05:41 -05:00
Ladd Hoffman e6185fb89f client now verifies hash and signature on api read
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 39s Details
2024-03-20 20:00:56 -05:00
Ladd Hoffman 956aa9728e require signatures for posts to API
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 39s Details
2024-03-20 16:30:27 -05:00
Ladd Hoffman afe9da73c9 Add backend API to house forum content
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 38s Details
2024-03-19 22:22:36 -05:00
Ladd Hoffman 8da5772d86 add onboarding contract
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 28s Details
2024-03-18 14:03:53 -05:00
Ladd Hoffman a1e28d254e refactor abstract contract WorkContract
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 37s Details
2024-03-18 10:53:39 -05:00
Ladd Hoffman 591a2c3627 Add onboarding contract
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 37s Details
2024-03-17 21:00:31 -05:00
Ladd Hoffman 4674a184ce Stop sharing code and just make copies of contract addresses json
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 27s Details
2024-03-17 13:36:31 -05:00
Ladd Hoffman 14d80bf1d5 deploy
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 36s Details
2024-03-17 13:24:49 -05:00
Ladd Hoffman 1e67f80808 copy ABIs to contract-config dir on deploy
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 29s Details
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
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 33s Details
2024-03-17 12:06:06 -05:00
Ladd Hoffman 5fd2841e77 move just contract address data to its own file
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 32s Details
2024-03-17 11:48:05 -05:00
Ladd Hoffman c38b4ea2f7 fixup automatic staking
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 39s Details
2024-03-16 14:02:45 -05:00
Ladd Hoffman eaa81c17ec add automatic staking script
Gitea Actions Demo / Explore-Gitea-Actions (push) Has been cancelled Details
2024-03-16 13:53:07 -05:00
Ladd Hoffman 5623d778e7 refinement to availability stakes operations
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 30s Details
2024-03-14 22:05:46 -05:00
Ladd Hoffman 40fbe2e18f Add work request/stake events and deployed to sepolia
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 42s Details
2024-03-14 16:05:02 -05:00
Ladd Hoffman 3da0382247 automatic staking
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 33s Details
2024-03-13 12:02:08 -05:00
Ladd Hoffman 5e981b11aa emit event when post added
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 28s Details
2024-03-12 18:02:07 -05:00
Ladd Hoffman 123138935d UI: list posts and pools
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 38s Details
2024-03-12 17:53:04 -05:00
Ladd Hoffman cb8d430d71 test sender and author of work evidence post
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 38s Details
2024-03-12 14:18:36 -05:00
Ladd Hoffman 83f8474905 add post
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 29s Details
2024-03-12 14:10:06 -05:00
Ladd Hoffman d8e4d4fd6a additional test
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 37s Details
2024-03-11 22:10:21 -05:00
Ladd Hoffman 75a296553c slight test refactor
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 34s Details
2024-03-11 15:42:14 -05:00
Ladd Hoffman bb9355db15 more test coverage
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 28s Details
2024-03-11 15:39:25 -05:00
Ladd Hoffman ff25ff3382 work contract flow 2024-03-11 14:19:39 -05:00
Ladd Hoffman 71a1d3b529 staking
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 37s Details
2024-03-11 13:39:56 -05:00
Ladd Hoffman f59bfc3c9c stake availability
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 34s Details
2024-03-10 22:29:51 -05:00
Ladd Hoffman c4fbce9f76 Deployed to testnet
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 33s Details
2024-03-10 19:39:15 -05:00
Ladd Hoffman b3cdfcef73 switched to ERC20 base
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 43s Details
2024-03-10 12:57:30 -05:00
Ladd Hoffman fa1dbb897a event subscriptions
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 39s Details
2024-03-10 11:55:59 -05:00
Ladd Hoffman 395092b1fd progress with UI contract interaction
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 41s Details
2024-03-07 21:27:37 -06:00
Ladd Hoffman 0367428fa9 remove .only
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 37s Details
2024-03-06 16:57:09 -06:00
Ladd Hoffman 6b1e2984d9 removing sample contract
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 27s Details
2024-03-06 16:53:57 -06:00
Ladd Hoffman 9c969ee56c Basic deploy script
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 30s Details
2024-03-06 16:50:59 -06:00
Ladd Hoffman 20a4aab2a6 Added first tests
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 36s Details
2024-03-05 21:21:27 -06:00
Ladd Hoffman 720acd58a3 transfer token to author at VP end
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 35s Details
2024-03-05 13:38:10 -06:00