Skip to content

Add a protocol revenue distribution history page for stakers showing past distributions and their share #884

Description

@Chucks1093

Summary

Stakers who received protocol revenue distributions have no record of what they earned. A distribution history page on the portfolio staking tab should list all past protocol revenue distributions with the amount received per event.

Scope

  • Add a Protocol Revenue tab within the Staking section on the portfolio page
  • Fetch distribution records from GET /staker/:wallet/protocol-revenue with cursor pagination
  • Display distributionDate, totalDistributed, stakerCount, and amountReceived per row
  • Sort by distributionDate descending
  • Show 'No protocol revenue distributions yet' empty state when the list is empty

Acceptance Criteria

  • All required columns displayed correctly
  • Rows sorted by distributionDate descending
  • Cursor pagination loads next page correctly
  • amountReceived shows the correct per-staker amount
  • Empty state shown when no distributions exist

ETA: 12 hours


Coordinate on Telegram

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions