Skip to content

feat(contracts): add dispute resolution mechanism#40

Merged
Xuccessor merged 3 commits into
BountyOnChain:mainfrom
YaronZaki:fix/issue-4-dispute-resolution
May 19, 2026
Merged

feat(contracts): add dispute resolution mechanism#40
Xuccessor merged 3 commits into
BountyOnChain:mainfrom
YaronZaki:fix/issue-4-dispute-resolution

Conversation

@YaronZaki
Copy link
Copy Markdown
Contributor

Closes #4

YaronZaki added 3 commits May 19, 2026 13:27
- Add arbitrator address set at initialization
- Add dispute() callable by owner or contributor when UnderReview
- Add resolve(winner) callable only by arbitrator
- resolve pays out to winner and transitions to Completed
- Events emitted for dispute and resolve via env.events().publish
- Unit tests cover full dispute → resolve path

Closes BountyOnChain#4
Copy link
Copy Markdown
Contributor

@Xuccessor Xuccessor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Xuccessor Xuccessor merged commit 6169143 into BountyOnChain:main May 19, 2026
3 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.

feat(contracts): add dispute resolution mechanism

2 participants