Git Source

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

function updateVersion(string memory newVersion) external onlyOwner;

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.