Skip to content

Protocol Revenue & Token Burn Dashboard #146

@edehvictor

Description

@edehvictor

📝 Description

Transparency is key in DeFi. We need a public dashboard that tracks exactly how much revenue the protocol has generated from fees and how many $YIELD tokens have been burned.

🎯 Acceptance Criteria

  • Build a backend aggregation pipeline that calculates cumulative protocol fees collected across all vaults.
  • Build an indexer query to track tokens sent to the official burn address.
  • Create a frontend dashboard featuring a "Total Revenue" counter, a "Total Burned" counter, and a historical line chart.
  • Add a "Deflationary Ratio" metric showing burn rate vs emission rate.

🛠 Technical Details

  • Stack: React, Node.js, Recharts, PostgreSQL.
  • Location: /frontend/src/pages/transparency/
  • Security: Cache the complex aggregations to prevent slow page loads.

⏱ Complexity & Scope

  • Estimated Time: 2-3 weeks.
  • Drips Complexity: High (200 points) - Full-stack data engineering and visualization.

📋 Guidelines for Submission

  • Minimum 90 percent test coverage required.
  • Clear NatSpec-style documentation must be added to public contract functions.
  • Timeframe for completion: 2 Wave cycles.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Stellar WaveIssues in the Stellar wave program

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions