From f755dd135babb3eeed0902319ac778fc223c2fec Mon Sep 17 00:00:00 2001 From: Hex <165055168+hexshire@users.noreply.github.com> Date: Thu, 4 Apr 2024 16:41:57 -0300 Subject: [PATCH] style: reorder interface to match coding style --- src/interfaces/IGreeter.sol | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/interfaces/IGreeter.sol b/src/interfaces/IGreeter.sol index d7bb125a..15a9c6fd 100644 --- a/src/interfaces/IGreeter.sol +++ b/src/interfaces/IGreeter.sol @@ -33,16 +33,6 @@ interface IGreeter { */ error Greeter_InvalidGreeting(); - /*/////////////////////////////////////////////////////////////// - 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; - /*/////////////////////////////////////////////////////////////// VARIABLES //////////////////////////////////////////////////////////////*/ @@ -72,4 +62,14 @@ interface IGreeter { * @return _balance Current token balance of the caller */ function greet() external view returns (string memory _greeting, uint256 _balance); + + /*/////////////////////////////////////////////////////////////// + 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; }