delegatecall with user-controlled target
Orca's assessment for RD-F-012 — scored not_applicable on the v1.7.0 rubric. The evidence below is the curator's reasoning for this score.
Evidence summary #
delegatecall is an EVM Solidity primitive. Solana uses CPI (cross-program invocation) which is architecturally distinct — CPI targets are constrained by typed Anchor account constraints, not arbitrary user-supplied addresses. No user-controlled CPI target surface analogous to EVM delegatecall exists in the Whirlpools program.
Sources #
- GitHubWhirlpool program lib.rs (Anchor/Rust — confirms non-EVM substrate)https://github.com/orca-so/whirlpools/blob/main/programs/whirlpool/src/lib.rsretrieved 2026-05-16
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 orca factor RD-F-012 score not_applicable collected_at 2026-05-16 02:39:16