Skip to content

. Add token supply tracking by address #251

Description

@DeFiVC

What: Add a function that returns the total tokens minted to a specific address.

Why: Analytics need per-address minting stats. Currently only total supply is tracked.

Scope: Add total_minted_to(address) function. Track minting per address in storage. Return total.

Acceptance criteria:

  • Returns total minted to address
  • Updated on each mint
  • No performance impact
  • Queryable

Technical context: contracts/learn-token/src/lib.rs:343-371 — mint function.


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