Skip to content

feat: add distribution shape computation to Lockup indexer #246

@PaulRBerg

Description

@PaulRBerg

Problem

The Lockup indexer lacks information about the distribution shapes of vesting streams. This forces the UI to perform these computations in the client app, meaning:

  1. Computations are re-run constantly in each user's browser
  2. Third-party integrations cannot access shape information
  3. External developers must rewrite the algorithms to infer shapes

Solution

Compute and store distribution shapes in the indexer so the computation runs once and the data is available to everyone via the GraphQL API.

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort: mediumDefault level of effort.priority: 1This is important. It should be dealt with shortly.type: featureNew feature or request.work: complicatedSense-analyze-respond. The relationship between cause and effect requires analysis or expertise.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions