Skip to content

feat: is_course_finished eligibility check (#9) - #21

Merged
Kaylahray merged 3 commits into
learnault:mainfrom
phertyameen:feat/check-completion
Mar 7, 2026
Merged

feat: is_course_finished eligibility check (#9)#21
Kaylahray merged 3 commits into
learnault:mainfrom
phertyameen:feat/check-completion

Conversation

@phertyameen

@phertyameen phertyameen commented Mar 6, 2026

Copy link
Copy Markdown
Contributor

Closes #9

Adds a helper view function that the RewardPool and other contracts can call to verify whether a learner has completed all modules in a course.

Returns false for unenrolled or partial learners, true only when progress >= total_modules.

@Kaylahray
Kaylahray merged commit 687a30d into learnault:main Mar 7, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Registry] Implement check course completion Logic

2 participants