Skip to content

Implement bonding curve milestone data API for graduation progress #970

Description

@Chucks1093

Summary

Expose an endpoint returning the full milestone configuration and current progress for a key's graduated bonding curve so the client can render the progress tracker.

Scope

  • GET /keys/:keyId/curve/milestones — all milestones with supply thresholds and price breakpoints
  • Current supply and price included in response
  • Next milestone computed server-side
  • Graduation event flag when final milestone reached
  • Data refreshed every 30 seconds via polling cache

Acceptance Criteria

  • Milestones returned with correct supply and price values
  • Current position reflects live on-chain supply
  • Next milestone correctly identified from current position
  • Graduation flag set when supply meets final milestone
  • Cache updated every 30 seconds

ETA

12 hours

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions