sablier-labs / flow

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

Store snapshot debt as a 18 decimal value #302

Closed smol-ninja closed 1 month ago

smol-ninja commented 1 month ago

As per cantina finding 11, storing snapshot debt as a 18 decimal value can increase precision.

Note: use uint256 for snapshotDebt as per https://github.com/sablier-labs/flow/discussions/297#discussioncomment-10935202.