Git Source Inherits: IHandlerDiamondEvents, AppAdministratorOrOwnerOnlyDiamondVersion Author: @ShaneDuncan602, @oscarsernarosero, @TJ-Everett, @VoR0220, @GordonPalmer This is a facet that should be deployed for any handler diamond to track versions. setter and getter functions for Version of a diamond.

Functions

updateVersion

Function to update the version of the Rule Processor Diamond
function updateVersion(string memory newVersion)
    external
    appAdministratorOrOwnerOnly(lib.handlerBaseStorage().appManager);
Parameters
NameTypeDescription
newVersionstringstring of the representation of the version in semantic versioning format: —> “MAJOR.MINOR.PATCH”.

version

returns the version of the Rule Processor Diamond.
function version() external view returns (string memory);
Returns
NameTypeDescription
<none>stringstring version.