Gauge Contracts
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!
- [ ] More tests (consider refactoring with cw-orch)
- [ ] Make improvements to
GaugeAdapterAPI - [ ] Improve
GaugeAdapterexample (needs significant work, we may want more than one example) - [ ] Currently oes not handle small voting power numbers elegantly (a problem with NFT DAOs, where people might stake 1 NFT)
- [ ] Better READMEs and documentation
Bonus:
- [ ] Implement decay, so that people eventually have to re-express their preferences on the gauge
- [ ] Think about how to hook in incentives from the
dao-rewards-distributorcontract so that DAOs can optional incentivize people to participate in gauges
If you are looking to contribute to this and want to understand how they work, the gauge-orchestrator README is a good place to start.
Gauges in actual decentralize applications:
Use cases:
- Budget Allocation
- Setting parameters
- Incentives Allocation
- Managing liquid staking protocols (choosing which validators to to delegate to)
- etc.
- [ ] More tests (consider refactoring with cw-orch)
- [ ] Make improvements to
GaugeAdapterAPI- [ ] Improve
GaugeAdapterexample (needs significant work, we may want more than one example)
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.
- [ ] More tests (consider refactoring with cw-orch)
- [ ] Make improvements to
GaugeAdapterAPI- [ ] Improve
GaugeAdapterexample (needs significant work, we may want more than one example)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.
AMAZING :heart:
Codecov Report
Attention: Patch coverage is 98.34811% with 95 lines in your changes missing coverage. Please review.
Project coverage is 96.78%. Comparing base (
a417f9d) to head (f56a129).
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
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.