Provides expert guidance and implementation patterns for building upgradeable Ethereum smart contracts using UUPS, Transparent, and Beacon proxies.
소개
The Proxy Patterns skill serves as a comprehensive reference for developers implementing or auditing upgradeable smart contracts in Solidity. It guides users through selecting the optimal proxy architecture—ranging from gas-efficient UUPS to robust Transparent and Beacon patterns—while enforcing critical storage layout rules to prevent data corruption. This skill is essential for ensuring long-term maintainability and security in blockchain applications where contract immutability needs to be balanced with the ability to fix bugs and add features.
주요 기능
Reference patterns for EIP-2535 Diamond Pattern for large-scale contracts
0 GitHub stars
Storage layout safety checks and validation rules to prevent state corruption
Implementation guidance for UUPS, Transparent, and Beacon proxy patterns
Standardized boilerplate for upgradeable contract initialization and authorization
Comparative analysis of proxy patterns based on gas efficiency and complexity
사용 사례
Optimizing gas costs for multi-instance contract deployments using Beacons
Conducting security reviews of smart contract upgradeability and storage logic
Designing upgradeable DeFi protocols or NFT collections with long-term support