From b046f780fd4e7fa88ea46e0afc0ca300ded4b119 Mon Sep 17 00:00:00 2001 From: cyl19970726 <15258378443@163.com> Date: Fri, 20 Jan 2023 13:46:33 +0800 Subject: [PATCH] add contract --- contracts/UpgradeProxy.sol | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 contracts/UpgradeProxy.sol diff --git a/contracts/UpgradeProxy.sol b/contracts/UpgradeProxy.sol new file mode 100644 index 0000000..393772d --- /dev/null +++ b/contracts/UpgradeProxy.sol @@ -0,0 +1,12 @@ +// SPDX-License-Identifier: MIT +pragma solidity ^0.8.0; + +import "@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol"; + +contract UpgradeableProxy is TransparentUpgradeableProxy { + constructor( + address logic, + address admin, + bytes memory data + ) public TransparentUpgradeableProxy(logic, admin, data) {} +}