Open PatrickAlphaC opened 3 years ago
Inspiration from the openzeppelin plugins for truffle and hardhat: https://github.com/OpenZeppelin/openzeppelin-upgrades
Maybe we could even do something where this is a plugin for brownie.
looking forward for this update!!
For now, you can check out the upgrades mix I worked on https://github.com/PatrickAlphaC/upgrades-mix
wow!
Overview
Provide a simple overview of what you wish to see added. Please include:
A built in API to feature Openzeppelin's upgradeable smart contracts. I'm thinking we could start with the transparent proxy. If it makes more sense for this to just be a mix first, I'm working on that too.
This will follow the Openzeppelin Proxy pattern heavily, ERC1967, and use the openzeppelin upgrade contracts.
Specification
Here's what I imagine that API look like:
Where
deployProxy
looks something like:And then we can call the upgrade like:
Or something of the like.
Dependencies
In your
brownie-config.yaml