VersionFacet.sol
VersionFacet
Inherits: ERC173
Author: @ShaneDuncan602, @oscarsernarosero, @TJ-Everett
This is a facet that should be deployed for any protocol diamond.
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. |