feat: add ADRs, DefiLlama adapter, guided tour, and HF header badge#218
Open
techisigu wants to merge 1 commit into
Open
feat: add ADRs, DefiLlama adapter, guided tour, and HF header badge#218techisigu wants to merge 1 commit into
techisigu wants to merge 1 commit into
Conversation
docs/adr/: 5 Architecture Decision Records (Michael Nygard template)
- 0001: DeFindex strategy pattern — adopt pluggable Strategy interface
- 0002: 20-loop cap — hard ceiling on leverage loops (Soroban budget)
- 0003: Single-asset vault — one vault per underlying asset, no swap on deposit
- 0004: No flash loans on Soroban — iterative loops instead
- 0005: Stellar Wallets Kit over Freighter-only — unified multi-wallet modal
- README.md: indexed table + template
integrations/defillama/: TVL adapter for DefiLlama submission
- index.js: stellar chain adapter; fetches collateral/borrowed from Blend
API per strategy contract; exports tvl() and borrowed()
- README.md: submission instructions and pre-deployment notes
frontend/: Shepherd.js-style guided tour + persistent HF header badge
- index.html: tour overlay (6-step modal with dots, prev/next, skip),
HF badge element in nav, 'Replay Tour' item in settings dropdown
- src/main.ts: startTour/endTour/renderTourStep with localStorage
persistence (resume on refresh); MutationObserver auto-starts tour
on first wallet connection; updateHFBadge() called after every
loadAll() — color zones green≥2.0 / yellow 1.5–2.0 / orange 1.2–1.5
/ red<1.2; badge hidden when no open position or on disconnect
- src/style.css: .hf-header-badge color variants, .tour-* layout styles
|
@techisigu Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
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.
closes #4
closes #9
closes #90
closes #83
docs/adr/: 5 Architecture Decision Records (Michael Nygard template)
integrations/defillama/: TVL adapter for DefiLlama submission
frontend/: Shepherd.js-style guided tour + persistent HF header badge
Summary
Related Issue
Closes #
Checks
Notes for Reviewers