Skip to content

fix(asset-classes): Add carbon credit retirement tracking with immutable retirement records #175

Description

@Kevin737866

Description

Immutable retirement records preventing double-counting.

Acceptance Criteria

  • retire_credits(owner, amount) permanently removes from circulation
  • RetirementRecord: owner, amount, timestamp, purpose
  • Retired excluded from total_supply; cannot unretire
  • get_retirement_certificate(owner) returns all retirements
  • Tests: retirement, history, retired credit transfer prevention

Files to Modify

  • src/carbon_credit.rs
  • src/rwa_token.rs

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

    Stellar WaveIssues in the Stellar wave program

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions