delegatecall with user-controlled target
SUNSwap (sun.io)'s assessment for RD-F-012 — scored green on the v1.7.0 rubric. The evidence below is the curator's reasoning for this score.
Evidence summary #
Uniswap V2-derived AMM pattern does not use delegatecall to user-controlled targets. V4 hooks call external hook contracts but hook address is fixed at pool initialization (not user-supplied per-tx). No user-controlled delegatecall target found in core contracts.
Sources #
- URLSUNSwap V4 launch — hooks and singleton architectureAiCoin SUNSwap V4 launch article — hooks architecture with pool-init fixed addressesretrieved 2026-05-17
Methodology #
Determine whether any contract uses `delegatecall` where the target address is or can be user-supplied without an on-chain allowlist.
See the full factor methodology and distribution across all protocols →
rubric_version v1.7.0 protocol sunswap factor RD-F-012 score green collected_at 2026-05-17 14:37:31