https://github.com/clemsos/sol-upgrade-pattern
https://github.com/clemsos/sol-upgrade-pattern
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/clemsos/sol-upgrade-pattern
- Owner: clemsos
- Created: 2021-11-09T09:32:31.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-09-01T08:51:46.000Z (almost 4 years ago)
- Last Synced: 2025-03-16T00:26:35.056Z (over 1 year ago)
- Language: JavaScript
- Size: 167 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Solidity Upgrade patterns
A simple repo to demonstrate varioous patterns to deploy contracts from a contract in Solidity.
Two main deployer contracts are available:
- `DummyDeployer` : deploy 3rd part contracts from a `Deployer` contract
- `ProxyDeployer` : deploy a contract through openzeppelin's [`TransparentUpgradeableProxy`](https://docs.openzeppelin.com/contracts/4.x/api/proxy#TransparentUpgradeableProxy) from a `Deployer` contract
### Run the tests
```shell
yarn hardhat test
```
### TODO:
- deploy transparent proxies and proxy admins using clone2