LP token balanceOf used for pricing
Beefy Finance'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 #
BeefyVaultV7 uses balance() = strategy.balanceOf() + token.balanceOf(strategy) for share pricing. This is the actual underlying asset balance (LP tokens/want tokens held by strategy), not a derived price from balanceOf of an LP token for price manipulation. The share price reflects real holdings, not a manipulable market price derived from token balances. Not the donation-manipulation pattern.
Sources #
- GitHubBeefyVaultV7.sol — balance() vs balanceOf() price pathBeefyVaultV7.sol — getPricePerFullShare = balance() * 1e18 / totalSupply(); balance() = strategy balance + vault balance in want tokenretrieved 2026-05-16
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 →