Skip to content

Implement Escrow-Based Reward Distribution #130

Description

@Abd-Standard

Description

Currently, rewards are transferred directly after task completion. Introduce an escrow mechanism where rewards are locked when a bounty is created and can only be released after successful task verification.

Requirements
Lock reward funds during bounty creation.
Release rewards only after approval.
Allow refunds if a bounty expires or is cancelled.
Emit events for deposits, releases, and refunds.
Handle failed transactions safely.

Acceptance Criteria
Funds remain locked until approval.
Approved contributors receive rewards automatically.
Refunds work correctly.
Unit tests cover all scenarios.

Metadata

Metadata

Assignees

Labels

GrantFox OSSIssue tracked in GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardOfficial Campaign | FWC26Campaign: Official Campaign | FWC26bugSomething isn't workingenhancementNew feature or requestgood first issueGood for newcomers

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions