-
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 #127 from axieinfinity/feature/misc
feat: add minor utility functions and rename variables
- Loading branch information
Showing
3 changed files
with
50 additions
and
9 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.19; | ||
|
||
import { | ||
ITransparentUpgradeableProxy, | ||
TransparentUpgradeableProxy | ||
} from "../lib/openzeppelin-contracts/contracts/proxy/transparent/TransparentUpgradeableProxy.sol"; | ||
|
||
/** | ||
* @title Proxy | ||
* @dev A contract that acts as a proxy for transparent upgrades. | ||
*/ | ||
contract Proxy 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) TransparentUpgradeableProxy(_logic, _admin, _data) { } | ||
} |