DeFiFoundrySolidity
16,653 OP
View results
Submission Details
Severity: medium
Invalid

Double Counting Risk

Summary

If underlying tokens or unexchnage balances are already included in the asset.balanceOf(address(this)), they might be double-counted.

Impact

The totalAssets calculation might be inflated, leading to incorrect profit/loss reporting.

Tools Used

Manual review

Recommendations

Verify that each compund of the total calculation (unexchnaged, asset.balanceOf, underlyingBalance) is distinct and not overlapping.

Updates

Appeal created

inallhonesty Lead Judge 7 months ago
Submission Judgement Published
Invalidated
Reason: Lack of quality
inallhonesty Lead Judge 7 months ago
Submission Judgement Published
Invalidated
Reason: Lack of quality

Support

FAQs

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