Skip to content

feat(ui): yield explainer page and APY links (A23)#184

Open
cybermax4200 wants to merge 1 commit into
Dgetsylver:mainfrom
cybermax4200:feat/a23-yield-explainer
Open

feat(ui): yield explainer page and APY links (A23)#184
cybermax4200 wants to merge 1 commit into
Dgetsylver:mainfrom
cybermax4200:feat/a23-yield-explainer

Conversation

@cybermax4200
Copy link
Copy Markdown
Contributor

Summary

Adds a dedicated explainer page at /yield-explainer.html and links it from every APY figure in the UI.

Acceptance criteria

Breakdown math matches blend.ts::projectRates — the page documents the exact 3-kink IR model, the BLND eps formula, the supply capture calculation, and the APR→APY conversion used in the code.

Linked from every APY figure — ℹ icon added next to:

  • Net supply APY (pool stats)
  • Net borrow cost (pool stats)
  • Est. net APY (leverage preview)
  • Net APY (hero metrics)
  • Net APY (position data)
  • Net APY (vault stats)

Worst-case framing and liquidation mechanics — page covers:

  • Borrow rate spike (util > 95% cliff)
  • BLND price collapse
  • Oracle failure / exploit (references Feb 2026 Etherfuse incident)
  • HF decay formula and days-to-liquidation math
  • Step-by-step liquidation flow
  • Explicit warning: no stop-loss, can lose entire deposit

Files changed

  • frontend/public/yield-explainer.html — new standalone page (self-contained CSS, no build step)
  • frontend/index.html — 6× ℹ link additions
  • frontend/src/style.css.apy-explain-link style

Closes #25

- Add /yield-explainer.html: full breakdown of supply APR, BLND
  emissions, borrow cost, leverage math, net APY formula, worst-case
  scenarios, and liquidation mechanics
- Math matches blend.ts::projectRates exactly (3-kink IR model,
  BLND eps formula, APR->APY conversion)
- Link every APY figure in the UI to the explainer via info icon:
  Net supply APY, Net borrow cost, Est. net APY (preview),
  hero Net APY, position Net APY, vault Net APY
- Add .apy-explain-link CSS

Closes Dgetsylver#25
@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented May 29, 2026

@cybermax4200 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! 🚀

Learn more about application limits

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

A23: "Where does the yield come from?" explainer page

1 participant