sablier-labs / flow

🍃 Smart contracts of the Sablier Flow protocol.
Other
8 stars 0 forks source link

refactor: deposit input parameters #313

Closed andreivladbrg closed 2 days ago

andreivladbrg commented 4 days ago

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 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.

andreivladbrg commented 3 days ago

@smol-ninja updated the branch with sd to 18 change