diff --git a/src/interfaces/IGreeter.sol b/src/interfaces/IGreeter.sol index fb3a81a9..9d75d4be 100644 --- a/src/interfaces/IGreeter.sol +++ b/src/interfaces/IGreeter.sol @@ -58,6 +58,12 @@ interface IGreeter { /*/////////////////////////////////////////////////////////////// LOGIC //////////////////////////////////////////////////////////////*/ + /** + * @notice Sets a new greeting + * @dev Only callable by the owner + * @param _newGreeting The new greeting to be set + */ + function setGreeting(string memory _newGreeting) external; /** * @notice Greets the caller @@ -65,11 +71,4 @@ interface IGreeter { * @return _balance Current token balance of the caller */ function greet() external view returns (string memory _greeting, uint256 _balance); - - /** - * @notice Sets a new greeting - * @dev Only callable by the owner - * @param _newGreeting The new greeting to be set - */ - function setGreeting(string memory _newGreeting) external; }