Governance

Git Source

Inherits: ControllableByContract

State Variables

LENS_HUB

ILensHub public immutable LENS_HUB;

Functions

constructor

constructor(address lensHubAddress_, address governanceOwner_) ControllableByContract(governanceOwner_);

lensHub_setGovernance

ONLY GOVERNANCE OWNER ///

function lensHub_setGovernance(address newGovernance) external onlyOwner;

lensHub_setEmergencyAdmin

function lensHub_setEmergencyAdmin(address newEmergencyAdmin) external onlyOwner;

lensHub_whitelistProfileCreator

ONLY GOVERNANCE OWNER OR CONTROLLER CONTRACT ///

function lensHub_whitelistProfileCreator(address profileCreator, bool whitelist)
    external
    onlyOwnerOrControllerContract;

executeAsGovernance

function executeAsGovernance(address target, bytes calldata data)
    external
    payable
    onlyOwnerOrControllerContract
    returns (bytes memory);