TransparentUpgradeableProxy, a Openzeppelin v5 contract, with the following modifications:
- Admin is a parameter in the constructor instead of being deployed.
- Let the admin get access to the proxy.
- Replace
_msgSender()withmsg.sender
Functions
constructor
Initializes an upgradeable proxy managed by an instance of a ProxyAdmin with an initialOwner backed by the implementation at _logic, and optionally initialized with _data as explained in ERC1967Proxy-constructor.