LP token balanceOf used for pricing
Stargate Finance's assessment for RD-F-061 — scored gray on the v1.7.0 rubric. The evidence below is the curator's reasoning for this score.
Evidence summary #
LP token balanceOf pricing (donation-manipulable) | Not applicable. Stargate pools use pool balance ratios for internal equilibrium fee calculations (tvlSD / poolBalanceSD), not external `balanceOf` for pricing. No donation attack vector on fee calculation. FeeLibraryV07 separately uses Chainlink for depeg detection. | StargatePool.sol: `_buildFeeParams()` uses internal state variables tvlSD and poolBalanceSD, not external balanceOf calls. | GREEN
Sources #
- Curator noteExtracted from 03-oracle-deps.md — RD-F-061; no URL citedretrieved 2026-04-28
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 →