Hash

scalus.cardano.ledger.DatumOption.Hash
See theHash companion object
final case class Hash(hash: DataHash) extends DatumOption

Reference to a datum by its hash

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait DatumOption
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def contentEquals(other: DatumOption): Boolean

Return true when the semantic content is the same (handles hash vs inline). Two inline datums compare by their Data, not their bytes, spec [SC-13h]. A hash compares with the hash of the original bytes of an inline datum, spec [SC-13l].

Return true when the semantic content is the same (handles hash vs inline). Two inline datums compare by their Data, not their bytes, spec [SC-13h]. A hash compares with the hash of the original bytes of an inline datum, spec [SC-13l].

Attributes

Inherited from:
DatumOption

The datum hash. For an inline datum, the hash of its original bytes, spec [SC-13i].

The datum hash. For an inline datum, the hash of its original bytes, spec [SC-13i].

Attributes

Inherited from:
DatumOption
def dataHashOption: Option[DataHash]

Attributes

Inherited from:
DatumOption
def dataOption: Option[Data]

Attributes

Inherited from:
DatumOption
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product