fix(treasury): sponsorship card counts Morpheus stakes in Staked - #290
Merged
Conversation
The per-rider TVL column read vaultTvl (Morpho only), so a rider backed purely through Morpheus showed a dash here while the /stake orbit lit him up with $31 — the same two-answers bug 861b390 fixed for the headline, one table lower. The column now prints the athlete's `total` (vault + Morpheus, the orbit node's own figure) under a header renamed to "Staked", and the total row is the graph's headline `total` — never a second sum. Yield stays vault-fee-only: it is the only per-rider-attributable earning; the MOR half lives in the headline. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
@sktbrd is attempting to deploy a commit to the r4to's projects Team on Vercel. A member of the Team first needs to authorize it. |
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.
Summary
total(vault + Morpheus) — the same figure the orbit node prints — under a header renamed "Staked" (EN) / "Em stake" (PT), and the total row is the graph's own headlinetotal, so the two pages cannot disagree.Changes
src/components/treasury/SponsorshipYield.tsx—tvl: a.total, total row =graph.total, comments rewrittenmessages/{en,pt-br}/treasury.json— colTvl/totalTvl relabeled both localesTest plan
Generated with Claude Code