sablier-labs / v1-protocol

Core smart contracts of the Sablier V1 protocol
https://sablier.finance
GNU General Public License v3.0
263 stars 79 forks source link

Fix interest allocation #11

Closed PaulRBerg closed 4 years ago

PaulRBerg commented 4 years ago

Nuke these functions from orbit:

And update cancelCompoundingStreamInternal so that it calculates the amount of money that has not been streamed and returns it to the sender in full. The chargeable interest is calculated only on the amount of money that has been streamed.