-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
204ad2b
commit 1982945
Showing
6 changed files
with
23 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
// SPDX-License-Identifier: MIT | ||
pragma solidity 0.8.21; | ||
pragma solidity 0.8.22; | ||
|
||
import {IVersioned} from "./IVersioned.sol"; | ||
|
||
interface ICounter is IVersioned { | ||
/// @return the current number | ||
/// @return The current number. | ||
function number() external view returns (uint256); | ||
|
||
/// @notice set the number | ||
/// @param newNumber the new number | ||
/// @notice Sets the number. | ||
/// @param newNumber The new number. | ||
function setNumber(uint256 newNumber) external; | ||
|
||
/// @notice increment the number by 1 | ||
/// @notice Increments the number by 1. | ||
function increment() external; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
// SPDX-License-Identifier: MIT | ||
pragma solidity 0.8.21; | ||
pragma solidity 0.8.22; | ||
|
||
interface IVersioned { | ||
/// @return the version of the contract | ||
/// @return The version of the contract. | ||
function version() external pure returns (string memory); | ||
} |