From 65e287c42ed2b640695220a3111bb240bd5d0b3f Mon Sep 17 00:00:00 2001 From: Albert Date: Tue, 28 May 2024 18:56:50 +0800 Subject: [PATCH] feat: add getFeedOwner --- src/interfaces/IEntryPoint.sol | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/interfaces/IEntryPoint.sol b/src/interfaces/IEntryPoint.sol index 989a6eb..9b335e0 100644 --- a/src/interfaces/IEntryPoint.sol +++ b/src/interfaces/IEntryPoint.sol @@ -23,6 +23,13 @@ interface IEntryPoint { */ function createFeed(bytes32 feedId, address account) external; + /** + * @notice Returns the feed owner. + * @param feedId The feed id. + * @return The feed owner. + */ + function getFeedOwner(bytes32 feedId) external view returns (address); + /** * @notice Tips the recipient feed. * @param from The address who sends the tip.