Value
Attributes
- Source
- Hash.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Value.type
Members list
Value members
Concrete methods
Constructs a hash value from a org.sigilaris.core.datatype.UInt256.
Constructs a hash value from a org.sigilaris.core.datatype.UInt256.
Value parameters
- uint256
-
32-byte hash value
Attributes
- Returns
-
tagged hash value
- Source
- Hash.scala
Givens
Givens
Binary decoder for hash values, reading 32 bytes as datatype.UInt256.
Binary encoder for hash values, writing 32 bytes from datatype.UInt256.
Binary encoder for hash values, writing 32 bytes from datatype.UInt256.
Attributes
- Source
- Hash.scala
Circe key encoder for hash values, encoding as hex strings.
cats.Eq instance for hash values, comparing by underlying datatype.UInt256.
cats.Eq instance for hash values, comparing by underlying datatype.UInt256.
Attributes
- Source
- Hash.scala
JSON key codec for hash values, enabling use as JSON object keys.
JSON decoder for hash values, delegating to datatype.UInt256 decoding.
JSON encoder for hash values, delegating to datatype.UInt256 encoding.
Extensions
Extensions
Returns the hash value as a lowercase hexadecimal string.
Returns the hash value as a lowercase hexadecimal string.
Attributes
- Returns
-
64-character hex string representation of the hash
- Source
- Hash.scala
Unwraps the hash value to its underlying datatype.UInt256.
Unwraps the hash value to its underlying datatype.UInt256.
Attributes
- Returns
-
the raw 32-byte hash as datatype.UInt256
- Source
- Hash.scala