HandlerVersionFacet.sol
HandlerVersionFacet
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
Parameters
Name | Type | Description |
---|---|---|
newVersion | string | string of the representation of the version in semantic versioning format: —> “MAJOR.MINOR.PATCH”. |
version
returns the version of the Rule Processor Diamond.
Returns
Name | Type | Description |
---|---|---|
<none> | string | string version. |