Skip to content

Commit

Permalink
Merge pull request #259 from euler-xyz/fix-interface
Browse files Browse the repository at this point in the history
Make `isHookTarget` a `view` function
  • Loading branch information
dglowinski authored Jul 1, 2024
2 parents bd17d7b + 1c1a630 commit f301947
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/interfaces/IHookTarget.sol
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ interface IHookTarget {
/// @notice If given contract is a hook target, it is expected to return the bytes4 magic value that is the selector
/// of this function
/// @return The bytes4 magic value (0x87439e04) that is the selector of this function
function isHookTarget() external returns (bytes4);
function isHookTarget() external view returns (bytes4);
}

0 comments on commit f301947

Please sign in to comment.