Skip to content

[Certificate] Certificate Expiration & Renewal Logic #144

@ayomideadeniran

Description

@ayomideadeniran

Description

Add an expiration date to certificates (e.g., valid for 1 year) and a mechanism for students to "renew" them upon re-assessment.

Requirements

  • Update Certificate struct with expiry_date: u64.
  • Add is_valid(symbol: Symbol) helper.
  • Implement renew_certificate function with authorization.

Level

  • Intermediate

Rules for Contributors

  • Please add an ETA (no more than 2 days) when expressing interest.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions