mirror of
https://github.com/Instadapp/dsa-polygon-migration.git
synced 2024-07-29 22:27:58 +00:00
Added proxyAdmin Contract
This commit is contained in:
parent
3c8fecd1fd
commit
b6617dd447
15
contracts/proxy/proxyMasterSigAdmin.sol
Normal file
15
contracts/proxy/proxyMasterSigAdmin.sol
Normal file
|
@ -0,0 +1,15 @@
|
|||
// SPDX-License-Identifier: MIT
|
||||
pragma solidity ^0.7.0;
|
||||
|
||||
import "@openzeppelin/contracts/proxy/ProxyAdmin.sol";
|
||||
|
||||
/**
|
||||
* @dev This is an auxiliary contract meant to be assigned as the admin of a {TransparentUpgradeableProxy}. For an
|
||||
* explanation of why you would want to use this see the documentation for {TransparentUpgradeableProxy}.
|
||||
*/
|
||||
contract InstaMasterProxy is ProxyAdmin {
|
||||
constructor(address masterAddress) {
|
||||
require(masterAddress != address(0), "not-vaild-address");
|
||||
transferOwnership(masterAddress);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user