Skip to content

IProtocolVersion โ€‹

Interface ยท src/common/utils/versioning/IProtocolVersion.sol

Explained in: Protocol version

Author: Aragon X - 2022-2023

An interface defining the semantic Aragon OSx protocol version number.

security-contact: sirt@aragon.org

Functions โ€‹

protocolVersion โ€‹

solidity
function protocolVersion() external view returns (uint8[3] _version)

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 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.

ReturnsTypeDescription
_versionuint8[3]Returns the semantic Aragon OSx protocol version number.