feat: update how total APYs are displayed#5609
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
🦋 Changeset detectedLatest commit: fd6d7cc The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Greptile SummaryThis PR updates the APY breakdown display in the Market operation form. The total borrow APY is now shown as a negative value (reflecting the actual cost to the user) instead of the previous misleading positive figure, and the generic "Total APY" label is replaced with context-sensitive "Total supply APY" / "Total borrow APY" labels. All 7 locale files are updated consistently.
Confidence Score: 4/5The change is safe to merge. The borrow APY sign flip is correct given the pre-existing convention in The core arithmetic change is correct and well-tested. The only minor concern is that the label defaults silently to "Total borrow APY" when no mutations are present, relying on the ternary's else-arm catching No files require special attention; the translation key removal is verified to have no other consumers in the codebase. Important Files Changed
Reviews (1): Last reviewed commit: "feat: update how total APYs are displaye..." | Re-trigger Greptile |
7679269 to
fd6d7cc
Compare
Coverage Report for ./apps/evm
File Coverage
|
||||||||||||||||||||||||||||||||||||||||||||
Jira ticket(s)
VPD-1321
Changes