Transparent Proxy

In-depth guide of the Transparent Proxy smart contract structure flows

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?

Report Issue

On this page