Security analysis for delegatecall usage in smart contracts
Review delegatecall usage in this contract:
```
${{CONTRACT_CODE}}
```
Delegatecall Purpose: ${{PURPOSE}}
Security analysis:
1. Delegatecall necessity evaluation
2. Context preservation risks
3. Storage collision analysis
4. Arbitrary address delegation
5. Library integration security
6. Proxy pattern…Premium Prompt
Unlock this prompt — and all 30,000+ expert-crafted prompts — with Pro.
Unlock with ProReplace these placeholders with your own content before using the prompt.
[{CONTRACT_CODE][{PURPOSE]