Skip to content

feat: add TimedAward module with auto-unpause for paused streams#98

Merged
JerryIdoko merged 1 commit intoGrant-Stream:mainfrom
lishmanTech:timedAward
Feb 26, 2026
Merged

feat: add TimedAward module with auto-unpause for paused streams#98
JerryIdoko merged 1 commit intoGrant-Stream:mainfrom
lishmanTech:timedAward

Conversation

@lishmanTech
Copy link
Contributor

  • Introduced TimedAwardContract to manage awards with streaming payouts
  • Supports immediate initial payout and remainder streaming over a duration
  • Added pause_award() to allow DAO to pause a stream
  • Automatic unpause after 14 days if DAO does not act, preventing grantees from being stuck
  • withdraw() calculates accrued funds based on pause state and automatically resumes streams when pause expires
  • Fully modular implementation in new file timed_awards.rs

closes #84

@JerryIdoko JerryIdoko merged commit ea7af99 into Grant-Stream:main Feb 26, 2026
1 check failed
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.

#51 Issue 51: [Governance] "Cooling Off" Auto-Resume for Paused Grants

2 participants