BodyRoot

org.sigilaris.node.jvm.runtime.block.Model$package.BodyRoot
object BodyRoot

Companion for BodyRoot.

Attributes

Source
Model.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
BodyRoot.type

Members list

Value members

Concrete methods

def apply(value: UInt256): BodyRoot

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
def fromHex(value: String): Either[String, BodyRoot]

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, or Left(error) on parse failure

Source
Model.scala

Givens

Givens

Attributes

Source
Model.scala

Extensions

Extensions

extension (bodyRoot: BodyRoot)
def toHexLower: String

Renders the body root as a lowercase hex string.

Renders the body root as a lowercase hex string.

Attributes

Source
Model.scala

Unwraps the underlying UInt256.

Unwraps the underlying UInt256.

Attributes

Source
Model.scala