feat: implement grantee rage quit mechanism for #39#82
Open
edehvictor wants to merge 2 commits intoGrant-Stream:mainfrom
Open
feat: implement grantee rage quit mechanism for #39#82edehvictor wants to merge 2 commits intoGrant-Stream:mainfrom
edehvictor wants to merge 2 commits intoGrant-Stream:mainfrom
Conversation
Author
|
@JerryIdoko, please kindly review |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull Request: feat: implement "Rage Quit" for Grantees - Issue #39
Overview
This PR implements the "Rage Quit" security mechanism in the
GrantContract. This feature empowers grantees to exit a paused stream permanently if they feel the pause is unfair. It guarantees the immediate payout of accrued funds and transitions the grant to a terminal state.Changes
GrantStatus::RageQuittedto ensure that once a grantee exits, the stream cannot be resumed by the DAO admin.resume_streamandwithdrawfunctions to explicitly block operations on grants with aRageQuittedstatus.token::Clienttransfer method upon execution of the quit.Pausedstate.Acceptance Criteria Verification
Related Issues
Closes #39