com.digitalasset.canton.protocol
SerializableRawContractInstance
Companion object SerializableRawContractInstance
final case class SerializableRawContractInstance extends MemoizedEvidenceWithFailure[EncodeError] with Product with Serializable
Represents a serializable contract instance and memoizes the serialization.
- Alphabetic
- By Inheritance
- SerializableRawContractInstance
- Serializable
- Product
- Equals
- MemoizedEvidenceWithFailure
- NoCopy
- HasCryptographicEvidence
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- lazy val contractHash: LfHash
- val contractInstance: LfContractInst
- def copy(nothing: Nothing): Nothing
- Attributes
- protected
- Definition Classes
- NoCopy
- val deserializedFrom: Option[ByteString]
Returns the com.google.protobuf.ByteString from which this object has been deserialized, if any.
Returns the com.google.protobuf.ByteString from which this object has been deserialized, if any. If defined, getCryptographicEvidence will use this as the serialization.
- Definition Classes
- SerializableRawContractInstance → MemoizedEvidenceWithFailure
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- final val getCryptographicEvidence: ByteString
Returns the serialization of the object into a com.google.protobuf.ByteString.
Returns the serialization of the object into a com.google.protobuf.ByteString. In particular, every instance
i
of this trait must equalfromByteString(i.toByteString)
.This method must yield the same result if it is invoked several times.
- Definition Classes
- MemoizedEvidenceWithFailure → HasCryptographicEvidence
- Annotations
- @throws(scala.this.throws.<init>$default$1[com.digitalasset.canton.serialization.SerializationCheckFailed[SerializationError]])
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toByteStringChecked: Either[EncodeError, ByteString]
- Attributes
- protected[this]
- Definition Classes
- SerializableRawContractInstance → MemoizedEvidenceWithFailure
- Annotations
- @throws(scala.this.throws.<init>$default$1[com.digitalasset.canton.serialization.SerializationCheckFailed[com.daml.lf.value.ValueCoder.EncodeError]])
- Exceptions thrown
com.digitalasset.canton.serialization.SerializationCheckFailed
If the serialization of the contract instance failed
- val unvalidatedAgreementText: AgreementText
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])