Description
The contract README notes advanced participant verification as a future enhancement, but giveaway entry currently only checks auth, timing, and duplicate participation.
User Story
As a giveaway creator,
I want to restrict participants by extra conditions,
so that I can run allowlisted or reputation-gated campaigns.
Requirements and Context
- Files:
contracts/geev-core/src/giveaway.rs, contracts/geev-core/src/types.rs, contracts/geev-core/src/test.rs
- Add support for entry allowlists or minimum reputation requirements
- Enforce the verification rule before a participant is accepted
- Keep the normal entry path unchanged when no extra checks are configured
Suggested Implementation
// PARTICIPANT VERIFICATION
// 1. Add optional verification rules to giveaway state.
// 2. Check allowlist or reputation before accepting an entry.
// 3. Reject unauthorized entries with a clear error.
// 4. Preserve existing duplicate-entry protections.
Acceptance Criteria
Submission Guidelines
- Branch:
feat/participant-verification
- Depends on: giveaway entry flow
- PR:
feat(contracts): add participant verification rules
Description
The contract README notes advanced participant verification as a future enhancement, but giveaway entry currently only checks auth, timing, and duplicate participation.
User Story
As a giveaway creator,
I want to restrict participants by extra conditions,
so that I can run allowlisted or reputation-gated campaigns.
Requirements and Context
contracts/geev-core/src/giveaway.rs,contracts/geev-core/src/types.rs,contracts/geev-core/src/test.rsSuggested Implementation
Acceptance Criteria
Submission Guidelines
feat/participant-verificationfeat(contracts): add participant verification rules