Files
core/contracts/core/modules/ModuleBase.sol
2022-11-04 12:49:45 +00:00

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);
}
}