Flow

Sablier
FoundryDeFi
20,000 USDC
View results
Submission Details
Severity: medium
Invalid

Implement a function for coveredDebtOf in SablierFlow.sol

Summary

There is no function for coveredDebtOf which allow users to know part of the total debt that covered by the stream balance.

Vulnerability Details

This coveredDebtOf,calculates and returns the portion of the total debt that is covered by the current stream balance. This value represents the amount that can be immediately withdrawn by the recipient and is an essential metric for understanding the available, secured funds within the stream.

By having it as a function, it provides a complete financial picture of the stream. coveredDebtOf tells you what can be immediately withdrawn, while uncoveredDebtOf indicates outstanding obligations. Without coveredDebtOf as a function a user lacks a clear understanding of how much of the total debt is backed by the current stream balance. This incomplete picture can make it challenging to access the financial health of the stream. Knowing only the uncovered debt does not dive a full perspective on the stream's solvency.

Impact

Lack of clarity on withdrawable funds.

Tools Used

manual

Recommendations

add coveredDebtOf as a function to enhance a clear and complete understanding of the stream's financial state.

Updates

Lead Judging Commences

inallhonesty Lead Judge 9 months ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.