Skip to content

ManuWeb3/HH-Upgradable-SmartContract

Repository files navigation

  1. Upgrade Box -> BoxV2
  2. Initially, Proxy -> Box
  3. Later, Proxy -> BoxV2

2 options to create Proxy contract:

  1. Manually: SmallProxy - sublesson
  2. Hardhat's deploy() in-built proxies:
    • without any modification of the contract itself,
    • but ensuring that all the constructor args have been passed in proxy init/update f(),
    • setting {proxy: true} in the same deploy f()
  3. Openzeppelin: Upgrade plugins (scripts)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published