-
Notifications
You must be signed in to change notification settings - Fork 53
Open
Labels
ETA - less than 12 hrsStellar WaveIssues in the Stellar wave programIssues in the Stellar wave programenhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is neededsmart-contract
Description
Description:
Implement a configurable resolution delay (dispute window) after event end during which disputes can be raised; payouts occur only after the window closes or dispute is resolved.
Requirements and Context:
- Must be secure, tested, and documented
- Should allow admin to set dispute window duration per event (or global)
- Should allow resolution to be proposed but not final until window ends (or dispute resolved)
- Should allow users/admins to raise disputes during the window
- Should trigger payout only when window closed and no unresolved dispute
- Should emit events for dispute window and finalization
- Must integrate with existing dispute and payout logic
Suggested Execution:
-
Fork the repo and create a branch
git checkout -b feature/resolution-delay-dispute-window
-
Implement changes
- Write contract:
src/lib.rs(dispute window, finalize_after_window) - Update disputes and resolution modules
- Update types, storage, events
- Add documentation and NatSpec-style comments
- Write contract:
-
Test and commit
- Run tests; cover window open/close, dispute during window, payout after
- Include test output and security notes
Example Commit Message:
feat: implement resolution delay and dispute window before final payout
Guidelines:
- Minimum 95 percent test coverage
- Clear documentation
- Timeframe: 96 hours
Metadata
Metadata
Assignees
Labels
ETA - less than 12 hrsStellar WaveIssues in the Stellar wave programIssues in the Stellar wave programenhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is neededsmart-contract