Skip to content

Commit 59a1ed5

Browse files
committed
docs: tighten the round-trip shed note to one sentence
1 parent 36c83c3 commit 59a1ed5

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

‎src/libs/manager/LibStorage.sol‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -360,9 +360,7 @@ library LibStorage {
360360
// below zeroes it and the next accrual would read the entire NAV as basis): once the
361361
// gain outgrows half the post-flow NAV, shed it proportionally like a pre-hold exit
362362
// instead. The `min` never scales up, so deposits keep the nominal gain. A deposit and
363-
// exit round trip can still shed a gain in this region by the deposit-inflated ratio;
364-
// accepted: the loss lands on the fee recipient only, and the hold keeps a genuine
365-
// entitlement below one raw share's worth of fees.
363+
// exit round trip can shed a gain in this region; accepted as fee-recipient dust.
366364
if (gain > (newCollat - newDebt) / 2) gain = gain.min(gain.mulDiv(newSupply, prevSupply));
367365
}
368366
// Preserve the per-share carry across the supply change.

0 commit comments

Comments
 (0)