HubRestricted
Author: Lens Protocol
This abstract contract adds a public HUB
immutable field, as well as an onlyHub
modifier,
to inherit from contracts that have functions restricted to be only called by the Lens hub.
State Variables
HUB
address public immutable HUB;
Functions
onlyHub
modifier onlyHub();
constructor
constructor(address hub);