defirisk.co
rubric v1.7.0

UUPS _authorizeUpgrade correctly permissioned

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

Evidence summary #

V2/V3/V4 core AMM contracts are non-upgradeable (no proxy pattern). Factory/Pair/Pool contracts are immutable deploys. UUPS pattern does not apply to any core contract surface.

Sources #

  • GitHub
    SUNSwap V2 contractssunswap-v2-contracts — constructor-only init, no proxy patternretrieved 2026-05-17
  • GitHub
    SUNSwap V4 coresunswap-v4-core — singleton PoolManager, not a UUPS proxyretrieved 2026-05-17

Methodology #

Determine whether the UUPS implementation defines `_authorizeUpgrade(address)` restricted to owner/admin/timelock (not open to arbitrary callers).

See the full factor methodology and distribution across all protocols →

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