mirror of
https://github.com/lens-protocol/core.git
synced 2026-04-22 03:02:03 -04:00
25 lines
641 B
Solidity
25 lines
641 B
Solidity
// SPDX-License-Identifier: MIT
|
|
|
|
pragma solidity ^0.8.15;
|
|
|
|
import {Types} from 'contracts/libraries/constants/Types.sol';
|
|
|
|
/**
|
|
* @title IPublicationAction
|
|
* @author Lens Protocol
|
|
*
|
|
* @notice This is the standard interface for all Lens-compatible Publication Actions.
|
|
*/
|
|
interface IPublicationActionModule {
|
|
function initializePublicationAction(
|
|
uint256 profileId,
|
|
uint256 pubId,
|
|
address executor,
|
|
bytes calldata data
|
|
) external returns (bytes memory);
|
|
|
|
function processPublicationAction(
|
|
Types.ProcessActionParams calldata processActionParams
|
|
) external returns (bytes memory);
|
|
}
|