[go: up one dir, main page]

Skip to content

MikeSpa/TransparentProxyTest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Transparent Proxy

Test the Transparent Proxy pattern for upgrading smart contracts.

  1. Deploy a Box implementation contract
  2. Deploy a ProxyAdmin contract to be the admin of the proxy
  3. Deploy a TransparentUpgradeableProxy to be the proxy for the implementations

Then, the upgrade script will:

  1. Deploy a new Box implementation BoxV2
  2. Upgrade the proxy to point to the new implementation contract, essentially upgrading your infrastructure.
  3. Then it will call a function only BoxV2 can call

Releases

No releases published

Packages

No packages published