mirror of
https://github.com/lens-protocol/core.git
synced 2026-01-15 00:48:12 -05:00
21 lines
592 B
Solidity
21 lines
592 B
Solidity
// SPDX-License-Identifier: MIT
|
|
|
|
pragma solidity 0.8.15;
|
|
|
|
import {Errors} from '../../libraries/Errors.sol';
|
|
import {Events} from '../../libraries/Events.sol';
|
|
import {HubRestricted} from '../base/HubRestricted.sol';
|
|
|
|
/**
|
|
* @title ModuleBase
|
|
* @author Lens Protocol
|
|
*
|
|
* @notice This contract fires an event at construction, to be inherited by other modules, in addition to the
|
|
* HubRestricted contract features.
|
|
*/
|
|
abstract contract ModuleBase is HubRestricted {
|
|
constructor(address hub) HubRestricted(hub) {
|
|
emit Events.ModuleBaseConstructed(hub, block.timestamp);
|
|
}
|
|
}
|