Skip to content

feat(contract): add dispute resolution mechanism#214

Merged
RUKAYAT-CODER merged 2 commits intoEarnQuestOne:mainfrom
yusuftomilola:feat/dispute-resolution-203
Mar 29, 2026
Merged

feat(contract): add dispute resolution mechanism#214
RUKAYAT-CODER merged 2 commits intoEarnQuestOne:mainfrom
yusuftomilola:feat/dispute-resolution-203

Conversation

@yusuftomilola
Copy link
Copy Markdown
Contributor

Summary

  • Add DisputeStatus enum (Pending, UnderReview, Resolved, Withdrawn)
  • Add Dispute struct linking quest, initiator, and arbitrator with a filed timestamp
  • Expose open_dispute (requires initiator auth) and resolve_dispute (requires arbitrator auth) helpers

closes #203

Introduce DisputeStatus enum and Dispute struct to track contested
submission disputes. Add open_dispute and resolve_dispute helpers
with auth enforcement for initiator and arbitrator roles.
@drips-wave
Copy link
Copy Markdown

drips-wave bot commented Mar 29, 2026

@yusuftomilola Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@RUKAYAT-CODER
Copy link
Copy Markdown
Contributor

Please resolve conflict

@RUKAYAT-CODER RUKAYAT-CODER merged commit 701fed1 into EarnQuestOne:main Mar 29, 2026
0 of 2 checks 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.

Add Dispute Resolution Mechanism

2 participants