-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: restore the transparent proxy v4.9.5
- Loading branch information
1 parent
0f3f935
commit 485dcc1
Showing
3 changed files
with
24 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
// SPDX-License-Identifier: MIT | ||
pragma solidity ^0.8.0; | ||
|
||
import { | ||
ITransparentUpgradeableProxy, | ||
TransparentUpgradeableProxy | ||
} from "../dependencies/openzeppelin-v4-4.9.5/contracts/proxy/transparent/TransparentUpgradeableProxy.sol"; | ||
|
||
/** | ||
* @title TransparentProxyOZv4_9_5 | ||
* @dev A contract that acts as a proxy for transparent upgrades. | ||
*/ | ||
contract TransparentProxyOZv4_9_5 is TransparentUpgradeableProxy { | ||
/** | ||
* @dev Initializes the Proxy contract. | ||
* @param logic The address of the logic contract. | ||
* @param admin The address of the admin contract. | ||
* @param data The initialization data. | ||
*/ | ||
constructor(address logic, address admin, bytes memory data) payable TransparentUpgradeableProxy(logic, admin, data) { } | ||
} |