Skip to content

[Contract] Storage Efficient Course Enrollment Tracking #133

@ayomideadeniran

Description

@ayomideadeniran

Description

Implement a gas-efficient way to track student enrollments using mapping in instance storage for global counts and persistent storage for individual enrollment status.

Requirements

  • Add EnrollmentState enum (Active, Completed, Dropped).
  • Use persistent() storage for student-course mapping.
  • optimize Instance storage for quick lookups of total enrolled students per course.

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