8f085566cc
Signed-off-by: T-Hax <>
20 lines
642 B
Solidity
20 lines
642 B
Solidity
// SPDX-License-Identifier: MIT
|
|
pragma solidity ^0.6.0;
|
|
|
|
import "@openzeppelin/contracts/proxy/TransparentUpgradeableProxy.sol";
|
|
|
|
/**
|
|
* @dev TransparentUpgradeableProxy where admin is allowed to call implementation methods.
|
|
*/
|
|
contract AdminUpgradeableProxy is TransparentUpgradeableProxy {
|
|
/**
|
|
* @dev Initializes an upgradeable proxy backed by the implementation at `_logic`.
|
|
*/
|
|
constructor(address _logic, bytes memory _data) public payable TransparentUpgradeableProxy(_logic, msg.sender, _data) {}
|
|
|
|
/**
|
|
* @dev Override to allow admin access the fallback function.
|
|
*/
|
|
function _beforeFallback() internal override {}
|
|
}
|