sphinx-labs/sphinx

Create ProxyAdmin contract

Closed this issue · 0 comments

The ProxyAdmin is a contract associated with each ChugSplashManager that owns the various proxies for a given project. The ProxyAdmin delegatecalls into various ProxyAdapter contracts that correspond to different proxy types. Using this pattern, the ProxyAdmin can universally handle all different proxy types as long as the ProxyAdmin is considered the owning address.

We separate out the ProxyAdmin from the ChugSplashManager to simplify the codebase and reduce the mental overhead of understanding the risks associated with ProxyAdapter contracts.