Note: The reason for not including sender and recipient parameters in depositAndPause and restartAndDeposit is that only the stream's sender can call these functions. Therefore, it is implicitly protected from reorg attacks. If we add any check, it would only be for the recipient. Let me know if you find that useful.
Depends on https://github.com/sablier-labs/flow/pull/312
Closes https://github.com/sablier-labs/flow/issues/300
Note: The reason for not including
sender
andrecipient
parameters indepositAndPause
andrestartAndDeposit
is that only the stream's sender can call these functions. Therefore, it is implicitly protected from reorg attacks. If we add any check, it would only be for the recipient. Let me know if you find that useful.