sablier-labs / flow

🍃 Smart contracts of the Sablier Flow protocol.
Other
10 stars 2 forks source link

Return withdrawn amount and protocol fee in withdraw functions #301

Closed smol-ninja closed 1 month ago

smol-ninja commented 1 month ago

As per cantina finding 9, an integrator will most likely need to know the exact amount transferred to the recipient as well as protocol fee charged.

Thus, we should return both amounts in withdraw and withdrawMax.