Update docs
This commit is contained in:
@ -60,11 +60,7 @@ contract TransparentUpgradeableProxy is ERC1967Proxy {
|
||||
* @dev Initializes an upgradeable proxy managed by `_admin`, backed by the implementation at `_logic`, and
|
||||
* optionally initialized with `_data` as explained in {ERC1967Proxy-constructor}.
|
||||
*/
|
||||
constructor(
|
||||
address _logic,
|
||||
address admin_,
|
||||
bytes memory _data
|
||||
) payable ERC1967Proxy(_logic, _data) {
|
||||
constructor(address _logic, address admin_, bytes memory _data) payable ERC1967Proxy(_logic, _data) {
|
||||
_changeAdmin(admin_);
|
||||
}
|
||||
|
||||
@ -178,6 +174,8 @@ contract TransparentUpgradeableProxy is ERC1967Proxy {
|
||||
|
||||
/**
|
||||
* @dev Returns the current admin.
|
||||
*
|
||||
* CAUTION: This function is deprecated. Use {ERC1967Upgrade-_getAdmin} instead.
|
||||
*/
|
||||
function _admin() internal view virtual returns (address) {
|
||||
return _getAdmin();
|
||||
|
||||
Reference in New Issue
Block a user