Transparent Proxy
In-depth guide of the Transparent Proxy smart contract structure flows
Before we get into understanding the genesis.json we have deployed, it is important we fully understand this proxy pattern, as it plays an important role in updating and using the Validator Manager contract.
Key Components
- TransparentUpgradeableProxy: Main proxy with immutable admin address for gas efficiency
- ProxyAdmin: Administrative contract managing upgrades through ownership transfer capability
- Implementation: Contains actual business logic, upgradeable via ProxyAdmin
Admin Flow
Admins can only call upgrade functions. All other calls are blocked to prevent selector clashes.
User Flow
Regular users can call any function except upgrade functions, which are delegated to the implementation contract.
Is this guide helpful?