mirror of
https://github.com/lens-protocol/core.git
synced 2026-01-10 22:58:08 -05:00
22 lines
598 B
Solidity
22 lines
598 B
Solidity
// SPDX-License-Identifier: MIT
|
|
pragma solidity ^0.8.18;
|
|
|
|
import {Ownable} from '@openzeppelin/contracts/access/Ownable.sol';
|
|
import {LensModule} from 'contracts/modules/LensModule.sol';
|
|
|
|
contract LensModuleMetadata is LensModule, Ownable {
|
|
string public metadataURI;
|
|
|
|
constructor(address owner_) Ownable() {
|
|
_transferOwnership(owner_);
|
|
}
|
|
|
|
function setModuleMetadataURI(string memory _metadataURI) external onlyOwner {
|
|
metadataURI = _metadataURI;
|
|
}
|
|
|
|
function getModuleMetadataURI() external view returns (string memory) {
|
|
return metadataURI;
|
|
}
|
|
}
|