First-depositor / share-inflation guard
Fluid's assessment for RD-F-075 — scored yellow on the v1.7.0 rubric. The evidence below is the curator's reasoning for this score.
Evidence summary #
fToken implements minDeposit() with a floor equal to BigMath rounding + previewMint(1) rounded up. This reverts small deposits (fToken__DepositInsignificant error) and provides practical but incomplete protection against first-depositor share inflation. The guard is NOT equivalent to dead-shares or OZ 4.9 virtual offset. In markets with very low but nonzero TVL, a manipulator could donate assets to inflate tokenExchangePrice before the minDeposit floor would protect the next depositor. Yellow: partial guard exists but does not meet OZ 4.9 standard.
Sources #
- GitHubFluid fToken main.sol — minDeposit implementationfluid-contracts-public/contracts/protocols/lending/fToken/main.sol — minDeposit() function; reverts fToken__DepositInsignificantretrieved 2026-04-29
Methodology #
Determine whether the vault has a first-depositor guard (seed deposit on deploy, virtual-share offset, or floor-check).
See the full factor methodology and distribution across all protocols →