-
Notifications
You must be signed in to change notification settings - Fork 44
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
460b31e
commit 760174e
Showing
3 changed files
with
6 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,10 +4,11 @@ pragma solidity ^0.8.8; | |
|
||
/// @title IProtocolVersion | ||
/// @author Aragon Association - 2022-2023 | ||
/// @notice An interface defining the semantic OSx protocol version. | ||
/// @notice An interface defining the semantic Aragon OSx protocol version number. | ||
/// @custom:security-contact [email protected] | ||
interface IProtocolVersion { | ||
/// @notice Returns the protocol version at which the current contract was built. Use it to check for future upgrades that might be applicable. | ||
/// @return _version Returns the semantic OSx protocol version. | ||
/// @notice Returns the semantic Aragon OSx protocol version number that the implementing contract is associated with. | ||
/// @return _version Returns the semantic Aragon OSx protocol version number. | ||
/// @dev This version number is not to be confused with the `release` and `build` numbers found in the `Version.Tag` struct inside the `PluginRepo` contract being used to version plugin setup and associated plugin implementation contracts. | ||
function protocolVersion() external view returns (uint8[3] memory _version); | ||
} |
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 |
---|---|---|
|
@@ -6,7 +6,7 @@ import {IProtocolVersion} from "./IProtocolVersion.sol"; | |
|
||
/// @title ProtocolVersion | ||
/// @author Aragon Association - 2023 | ||
/// @notice An abstract, stateless, non-upgradeable contract serves as a base for other contracts requiring awareness of the OSx protocol version. | ||
/// @notice An abstract, stateless, non-upgradeable contract serving as a base for other contracts requiring awareness of the OSx protocol version. | ||
/// @dev Do not add any new variables to this contract that would shift down storage in the inheritance chain. | ||
/// @custom:security-contact [email protected] | ||
abstract contract ProtocolVersion is IProtocolVersion { | ||
|