BodyRoot
org.sigilaris.node.jvm.runtime.block.Model$package.BodyRoot
object BodyRoot
Companion for BodyRoot.
Attributes
- Source
- Model.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
BodyRoot.type
Members list
Value members
Concrete methods
Wraps a UInt256 as a BodyRoot.
Wraps a UInt256 as a BodyRoot.
Value parameters
- value
-
the raw 256-bit hash value
Attributes
- Returns
-
the corresponding body root
- Source
- Model.scala
Parses a hex string into a BodyRoot.
Parses a hex string into a BodyRoot.
Value parameters
- value
-
hex-encoded 256-bit value
Attributes
- Returns
-
Right(bodyRoot)on success, orLeft(error)on parse failure - Source
- Model.scala
Givens
Extensions
Extensions
extension (bodyRoot: BodyRoot)
Renders the body root as a lowercase hex string.
Unwraps the underlying UInt256.
In this article