LP token balanceOf used for pricing
Fluid's assessment for RD-F-061 — scored green on the v1.7.0 rubric. The evidence below is the curator's reasoning for this score.
Evidence summary #
Fluid does not use LP token balanceOf for pricing. The DEX oracle variants (dexSmartColCLOracle, dexSmartDebtCLOracle) use Chainlink feeds for the conversion price component, and internal Fluid DEX reserve calculations for the LP token component. The reserve-based calculation reads from the DEX contract's internal state (not externally manipulable via transfer), making donation-based manipulation not applicable in the same way as a naive balanceOf approach. Core vaults (T1/T2/T3/T4) use pure Chainlink feeds, with no balanceOf dependency for pricing.
Sources #
- GitHubDEX Smart Collateral Oracle — reserve-based, not balanceOfInstadapp/fluid-contracts-public/contracts/oracle/oracles/dex/dexSmartColCLOracle.sol — uses DexReservesFromPEX + ChainlinkOracleImplretrieved 2026-04-29
Methodology #
Determine whether protocol pricing is derived from the `balanceOf` of LP tokens in a contract (manipulable by direct token transfer / donation).
See the full factor methodology and distribution across all protocols →