commit 17be2b639077f1d19a38c9805d77f9c5335dfba6
parent d5ae24541336ae1df5b2cafae582654a936d090f
Author: lash <dev@holbrook.no>
Date: Sun, 26 Mar 2023 11:54:18 +0100
Update comments
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/solidity/Msg.sol b/solidity/Msg.sol
@@ -30,6 +30,7 @@ contract EventMsg {
uint256 public sealState;
uint8 constant CODECLIST_STATE = 1;
uint8 constant CODEC_STATE = 2;
+ // Implements Seal
uint256 constant public maxSealState = 3;
// Implements Seal
event SealStateChange(bool indexed _final, uint256 _sealState);
@@ -151,6 +152,7 @@ contract EventMsg {
}
// Generate a URI representing the digest and the string prefix representation // of the currently selected multicodec
+ // Implements Locator
function toURI(bytes memory _digest) public view returns(string memory) {
MultiHash storage m;
@@ -195,6 +197,7 @@ contract EventMsg {
}
}
+ // Implements Locator
function toURL(bytes memory _digest) public view returns(string memory) {
bytes memory out;
bytes memory _hexDigest;