mirror of
https://github.com/lens-protocol/core.git
synced 2026-01-11 07:08:09 -05:00
16 lines
475 B
Solidity
16 lines
475 B
Solidity
// SPDX-License-Identifier: MIT
|
|
pragma solidity ^0.8.18;
|
|
|
|
import {LensModuleMetadata} from 'contracts/modules/LensModuleMetadata.sol';
|
|
|
|
contract LensModuleMetadataInitializable is LensModuleMetadata {
|
|
constructor(address owner_) LensModuleMetadata(owner_) {}
|
|
|
|
function initialize(address moduleOwner) external virtual {
|
|
if (owner() != address(0) || moduleOwner == address(0)) {
|
|
revert();
|
|
}
|
|
_transferOwnership(moduleOwner);
|
|
}
|
|
}
|