Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Student registry system #26

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

salimkarbm
Copy link

@salimkarbm salimkarbm commented Aug 9, 2024

Student Registry System Contract

Description

This PR introduces new features to the Student Registry system The following implementations are included:

  • StudentStruct.sol: Defines the Student structure.
  • Ownable.sol: Provides ownership management functionality.
  • StudentRegistry.sol: contains functionalities for paying fees, admin withdrawal, and managing students.
  • student.sol: this contract is an abstraction for interacting with the StudentRegistry contract.
  • IStudentRegistry.sol: Interface for the StudentRegistry contract.

New Changes:

  • Implemented student payment.
  • Ensures the student payment is made before adding to the registry.
  • Get a single student.
  • Add a student to the student Registry.
  • Delete a student from the student Registry.
  • Update a student record in the student Registry.

Tests

  • Manual Testing:
    • Compiled the contract locally and manually tested the functionalities.
    • Deployed the contract locally and tested the functions.

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.

1 participant