pause()
functionality to temporarily pause the stream
#46
Replies: 4 comments 14 replies
-
Thanks for opening this Shub. It was part of the initial The current OE design allows only If the gas cost and the complexity (introducing a new attack vector) aren't problematic, I am in favor of adding a |
Beta Was this translation helpful? Give feedback.
-
@smol-ninja feel free to tag @sablier-labs/solidity (or the other teams) so that we all get email notifications when you open discussions or issues like this. |
Beta Was this translation helpful? Give feedback.
-
After thinking more about this, I came to the conclusion that we can remove the To achieve the same flow as the current In the UI we can still call it "cancel", but underneath it would call wdyt? @sablier-labs/solidity @razgraf |
Beta Was this translation helpful? Give feedback.
-
Assuming that the "love" reaction of the message above is an agreement by @razgraf I created this issue and I will close this discussion |
Beta Was this translation helpful? Give feedback.
-
How about we add a
pause()
function? It is technically similar tocancel
except that there is no refund. This function can be used as a solution to Discussion: Scheduled paused periods to enable unpaid time off.Why?
By calling
pause()
, the sender intends to temporarily pause the stream to continue in the future. A similar behaviour can be achieved by callingcancel()
followed byrestartStreamAndDeposit()
but the psychological barrier to distinguish between cancelling and pausing is too high. Thus I propose to implement apause
function in Open-ended.Unpausing
To unpause, sender can call
restartStream()
.Beta Was this translation helpful? Give feedback.
All reactions