Skip to content

Track reward state #8

@sandtreader

Description

@sandtreader

Create a new RewardState module which tracks the status of reward accounts. To do this, it needs to:

  • Track delegation of stake to SPOs
  • Track block production by SPOs
  • Calculate total fees for each block
  • Calculate reward split based on those fees and SPO data
  • Take account of deposits for staking and governance

It should output a list of reward deltas for each block. We might consider making this the same format as address deltas, and reuse the AddressState module to integrate it.

Sub-issues

Metadata

Metadata

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions