-
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.
Merge pull request #162 from axieinfinity/implement-feature/rework/re…
…store-transparent-proxy-v4_9_5 feat(rework): implement `restore-transparent-proxy-v4_9_5`
- Loading branch information
Showing
5 changed files
with
32 additions
and
5 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
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) { } | ||
} |
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