ProxyAdmin

Git Source

Inherits: ControllableByContract

State Variables

LENS_HUB_PROXY

TransparentUpgradeableProxy public immutable LENS_HUB_PROXY;

previousImplementation

address public previousImplementation;

Functions

constructor

constructor(address lensHubAddress_, address previousImplementation_, address proxyAdminOwner_)
    ControllableByContract(proxyAdminOwner_);

currentImplementation

function currentImplementation() external returns (address);

rollbackLastUpgrade

ONLY PROXY ADMIN OWNER ///

function rollbackLastUpgrade() external onlyOwner;

proxy_changeAdmin

function proxy_changeAdmin(address newAdmin) external onlyOwner;

proxy_upgrade

ONLY PROXY ADMIN OWNER OR CONTROLLER CONTRACT ///

function proxy_upgrade(address newImplementation) external onlyOwnerOrControllerContract;

proxy_upgradeAndCall

function proxy_upgradeAndCall(address newImplementation, bytes calldata data) external onlyOwnerOrControllerContract;