Skip to content
This repository was archived by the owner on Apr 20, 2026. It is now read-only.
This repository was archived by the owner on Apr 20, 2026. It is now read-only.

Refactor formatUserSummary #24

@defispartan

Description

@defispartan

1.) Break logic in generate-raw-summary and generate-raw-reserve down further.

  • Separate files for formatting the ReserveData, ComputedUserReserve, and summary fields to reduce complexity and required parameters for each file

2.) Remove any modifications to ReserveData in format-user-reserve, should all be handled in previous steps

3.) Unit test

  • calculate-rewards
  • calculate-supplies
  • generate-raw-user-reserve *once finished
  • generate-raw-user-summary *once finished
  • format-user-reserve *once finished
  • format-user-summary

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