Draft
Conversation
Set version v1.6.0
Set version: 1.7.0
Contributor
spearheading these three points this week! an additional gauge adapter template can be one that turns itself off after a specific # of times the gauges epoch occurs. |
Member
Author
AMAZING ❤️ |
* Use cw-denom and payment utils in gauge adapter TODO: 2 tests are failing, because the cw20 cannot be validated with cw-denom. This should be fixed with a cw-orch refactor. * gauge adapter cw-orch tests * include suite changes * cleanup adapter test * A couple tweaks to gauge adapter tests * cleanup tests a bit * cargo lock * bump prost, lint * lint --------- Co-authored-by: hard-nett <[email protected]> Co-authored-by: Hard-Nett <[email protected]>
JakeHartnell
commented
Aug 14, 2024
| pub struct InstantiateMsg { | ||
| /// Address of contract to that contains all voting powers (where we query) | ||
| pub voting_powers: String, | ||
| /// Addres that will call voting power change hooks (often same as voting power contract) |
Member
Author
There was a problem hiding this comment.
Suggested change
| /// Addres that will call voting power change hooks (often same as voting power contract) | |
| /// Address that will call voting power change hooks (often same as voting power contract) |
added 3 commits
August 14, 2024 17:28
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## development #844 +/- ##
===============================================
+ Coverage 96.64% 96.78% +0.13%
===============================================
Files 241 262 +21
Lines 65544 71295 +5751
===============================================
+ Hits 63347 69003 +5656
- Misses 2197 2292 +95 ☔ View full report in Codecov by Sentry. |
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.
Inspired by the Curve gauge system and forked from the Wynd DAO repo with history and Apache 2.0 license maintained.
These contracts have been modified to be more generic and support any type of DAO.
However, consider this a straw-man implementation. There are many improvements to be made!
GaugeAdapterAPIGaugeAdapterexample (needs significant work, we may want more than one example)Bonus:
dao-rewards-distributorcontract so that DAOs can optional incentivize people to participate in gaugesIf you are looking to contribute to this and want to understand how they work, the
gauge-orchestratorREADME is a good place to start.Twitter post and discussion.
Gauges in actual decentralize applications:
Use cases: