Skip to content

Add a graduated curve price milestone chart on the creator dashboard showing price at each supply tier #882

Description

@Chucks1093

Summary

Creators who configure a graduated bonding curve have no visual overview of how prices will step up at each supply milestone. A milestone chart on the creator dashboard showing simulated prices at each configured supply threshold would help creators verify their curve design.

Scope

  • Fetch graduated curve milestones from GET /keys/:keyId/curve-config on dashboard load
  • Render a step chart with the supply threshold on the x-axis and the simulated price on the y-axis
  • Mark each milestone threshold with a vertical dashed line and a label showing the exponent change
  • Show the current supply position as a vertical marker on the chart
  • Show 'No graduated curve configured — using default exponent' when no milestones exist

Acceptance Criteria

  • Step chart renders with correct price values at each milestone
  • Current supply marker positioned correctly
  • Milestone threshold lines and labels shown at correct supply values
  • Empty state shown when no curve is configured
  • Loading skeleton shown while fetching

ETA: 12 hours


Coordinate on Telegram

Activity

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

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