ProtocolVersion โ
Abstract contract ยท src/common/utils/versioning/ProtocolVersion.sol
Explained in: Protocol version
Author: Aragon X - 2023
Inherits: IProtocolVersion
An abstract, stateless, non-upgradeable contract providing the current Aragon OSx protocol version number.
Dev: Do not add any new variables to this contract that would shift down storage in the inheritance chain.
security-contact: sirt@aragon.org
Functions โ
protocolVersion โ
solidity
function protocolVersion() external pure returns (uint8[3])Selector: 0x2ae9c600
Returns the semantic Aragon OSx protocol version number that the implementing contract is associated with.
Dev: This version number is not to be confused with the
releaseandbuildnumbers found in theVersion.Tagstruct inside thePluginRepocontract being used to version plugin setup and associated plugin implementation contracts.
| Returns | Type | Description |
|---|---|---|
[0] | uint8[3] | Returns the semantic Aragon OSx protocol version number. |