Skip to content

Staking Reward Pool implementation #1566

Closed
@shannonwells

Description

@shannonwells

Story

In order to pay out Staking Rewards, there needs to be a Reward Pool calculated per Staking Era to pay rewards from.

Acceptance Criteria

  • RewardPoolInfo is in Capacity's pallet storage
  • Reward Pool size is obtained from the StakingRewardProvider that is configured by Capacity pallet runtime/mocks
  • Every Era, a new RewardPoolInfo entry is appended to storage with the total reward pool amount and zero for unclaimed_balance.

Blocked by

Not included

  • Rewards payouts
  • Rewards history rollover i.e. garbage collection
  • Updating StakingRewardInfo whenever someone stakes or unstakes

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions