Skip to content

Commit

Permalink
style: add greet function to logic segment
Browse files Browse the repository at this point in the history
  • Loading branch information
hexshire authored Apr 4, 2024
1 parent f755dd1 commit 5f31f12
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/interfaces/IGreeter.sol
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ interface IGreeter {
*/
function token() external view returns (IERC20 _token);

/*///////////////////////////////////////////////////////////////
LOGIC
//////////////////////////////////////////////////////////////*/

/**
* @notice Greets the caller
*
Expand All @@ -63,9 +67,6 @@ interface IGreeter {
*/
function greet() external view returns (string memory _greeting, uint256 _balance);

/*///////////////////////////////////////////////////////////////
LOGIC
//////////////////////////////////////////////////////////////*/
/**
* @notice Sets a new greeting
* @dev Only callable by the owner
Expand Down

0 comments on commit 5f31f12

Please sign in to comment.