defirisk.co
rubric v1.7.0

Constructor calls _disableInitializers()

SUNSwap (sun.io)'s assessment for RD-F-023 — 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 not upgradeable proxied implementations. _disableInitializers() is an OZ pattern for proxy implementation contracts. Factory/Pair/Pool are immutable deploys — factor structurally moot.

Sources #

  • GitHub
    SUNSwap V2 contractssunswap-v2-contracts — no proxy/OZ-upgradeable patternretrieved 2026-05-17
  • GitHub
    SUNSwap V4 foundry configsunswap-v4-core foundry.toml — 0.8.26 direct deploy, no OZ upgradeable pattern in coreretrieved 2026-05-17

Methodology #

Determine whether implementation contract constructors call `_disableInitializers()` to prevent re-initialization of the implementation directly.

See the full factor methodology and distribution across all protocols →

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