Skip to content

[Feat] - Shares Update post OperatorSet/Slashing introduction #358

@surbhit14

Description

@surbhit14

For Stakers:
shares will become depositShares and withdrawableShares(active) = (depositShares * depositScalingFactor * maxMagnitude)

For Operators:
shares will be sum(withdrawableShares) of all stakers

Steps to cover in this issue

  • Add seeder for events OperatorSharesSlashed and DepositScalingFactorUpdated
  • Add relevant data tables
  • Modify Staker/Operator Schema
  • Modify the shares response in API for Staker/Operator routes

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions