feat(APP-517): Add Cryptex reward distribution and consolidate DAO reward architecture#1024
Closed
thekidnamedkd wants to merge 3 commits intomainfrom
Closed
feat(APP-517): Add Cryptex reward distribution and consolidate DAO reward architecture#1024thekidnamedkd wants to merge 3 commits intomainfrom
thekidnamedkd wants to merge 3 commits intomainfrom
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds Cryptex-specific reward JSON generation for capital distributor campaign creation, and refactors the DAO reward
architecture for reuse across orgs.
Feature:
CryptexRewardsMembersFileDownload) registered to the campaign creation form viaCAPITAL_DISTRIBUTOR_MEMBERS_FILE_DOWNLOADslotGET /v2/token/rewards/:pluginAddress/:network?lookbackDate={ISO}&rewardTotalAmount={wei}to computeper-staker rewards based on governance participation
[{address, amount}]JSON for campaign uploadRefactor:
capitalDistributorTest,katanaCDDemo,katanaEmissionsTest) into singlesrc/daos/katana/directorykatana/rewards/(gauge-based) andcryptex/rewards/(token-based)CapitalDistributorDaoSlotIdfromcapitalFlowmodule tocapitalDistributoraction where it belongssrc/daos/strategies/,capitalDistributorTest/,katanaCDDemo/,katanaEmissionsTest/Not yet complete (pending backend / follow-up):
TOKEN_VOTINGplugin type, not yet hardcoded to0x17a1688C56087aDe762721180e1cC1E831C73719— AC4Type of Change
Developer Checklist:
Review Checklist: