Skip to content

Feat/enhance nft attendance 193 - #195

Merged
mubarak23 merged 3 commits into
mubarak23:mainfrom
MarcusDavidG:feat/enhance-nft-attendance-193
Jun 7, 2025
Merged

Feat/enhance nft attendance 193#195
mubarak23 merged 3 commits into
mubarak23:mainfrom
MarcusDavidG:feat/enhance-nft-attendance-193

Conversation

@MarcusDavidG

Copy link
Copy Markdown
Contributor

Enhance NFT Integration and Add Attendance Verification

This pull request addresses issue #193 by enhancing the NFT integration and adding attendance verification functionality to the event management contract.

Key changes include

  • Corrected the NFT contract address handling in event registration to properly reflect the deployed NFT contract.
  • Implemented automatic NFT minting upon successful attendance marking.
  • Added an attendance verification system with event emission for attendance marking.
  • Updated the EventRegistration struct and related functions to properly track NFT details.
  • Added functions to query NFT-related data and attendance status.
  • Fixed previous issues where deploy_event_nft() was defined but not called, and EventAttendanceMark event was defined but never emitted.

These enhancements provide a complete NFT integration with attendance tracking and verification, enabling attendance-based NFT rewards and improved event management.

All related tests have been updated and pass successfully.

This PR closes issue #193.

- Add attendance tracking with timestamps
- Deploy NFT contract during event creation
- Implement mark_attendance function
- Fix NFT contract address storage
- Add attendance verification checks
- Add NFT minting upon attendance verification
@mubarak23
mubarak23 merged commit 40ea45c into mubarak23:main Jun 7, 2025
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.

2 participants