defirisk.co
rubric v1.7.0

LP token balanceOf used for pricing

SUNSwap (sun.io)'s assessment for RD-F-061 — scored not_applicable on the v1.7.0 rubric. The evidence below is the curator's reasoning for this score.

Evidence summary #

SUNSwap does not derive pricing from LP token balanceOf. V2/V3 pricing is reserve-based (stored reserve state variables updated via _update() on each interaction, not live balanceOf() — donation manipulation via direct transfer does not affect reserve accounting in the same tx). V4 uses VaultToken accounting. The donation-manipulation vector is therefore not applicable as an oracle pricing path.

Sources #

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 →

rubric_version v1.7.0 protocol sunswap factor RD-F-061 score not_applicable collected_at 2026-05-17 14:37:31