object ViewParticipantData extends HasMemoizedVersionedMessageWithContextCompanion[MerkleTree[ViewParticipantData], HashOps] with Serializable
- Alphabetic
- By Inheritance
- ViewParticipantData
- Serializable
- HasMemoizedVersionedMessageWithContextCompanion
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- type DataByteString = ByteString
- Definition Classes
- HasMemoizedVersionedMessageWithContextCompanion
- case class InvalidViewParticipantData(message: String) extends RuntimeException with Product with Serializable
Indicates an attempt to create an invalid ViewParticipantData.
- type OriginalByteString = ByteString
- Definition Classes
- HasMemoizedVersionedMessageWithContextCompanion
- type Parser = (HashOps, OriginalByteString, DataByteString) => ParsingResult[MerkleTree[ViewParticipantData]]
- Definition Classes
- HasMemoizedVersionedMessageWithContextCompanion
- case class RootAction(command: LfCommand, authorizers: Set[LfPartyId], failed: Boolean) extends Product with Serializable
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
- def apply(hashOps: HashOps)(coreInputs: Map[LfContractId, InputContract], createdCore: Seq[CreatedContract], archivedFromSubveiws: Set[LfContractId], resolvedKeys: Map[LfGlobalKey, KeyResolution], actionDescription: ActionDescription, rollbackContext: RollbackContext, salt: Salt): ViewParticipantData
Creates a view participant data.
Creates a view participant data.
- Annotations
- @throws(scala.this.throws.<init>$default$1[com.digitalasset.canton.serialization.SerializationCheckFailed[com.daml.lf.value.ValueCoder.EncodeError]])
- Exceptions thrown
InvalidViewParticipantData
if ViewParticipantData.createdCore contains two elements with the same contract id, if ViewParticipantData.coreInputs(id).contractId != id
if ViewParticipantData.archivedFromSubviews overlaps with ViewParticipantData.createdCore's ids or ViewParticipantData.coreInputs if ViewParticipantData.coreInputs does not contain the resolved contract ids in ViewParticipantData.resolvedKeys if ViewParticipantData.createdCore creates a contract with a key that is not in ViewParticipantData.resolvedKeys if the ViewParticipantData.actionDescription is a com.digitalasset.canton.data.ActionDescription.CreateActionDescription and the created id is not the first contract ID in ViewParticipantData.createdCore if the ViewParticipantData.actionDescription is a com.digitalasset.canton.data.ActionDescription.ExerciseActionDescription or com.digitalasset.canton.data.ActionDescription.FetchActionDescription and the input contract is not in ViewParticipantData.coreInputs if the ViewParticipantData.actionDescription is a com.digitalasset.canton.data.ActionDescription.LookupByKeyActionDescription and the key is not in ViewParticipantData.resolvedKeys.com.digitalasset.canton.serialization.SerializationCheckFailed
if this instance cannot be serialized
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def create(hashOps: HashOps)(coreInputs: Map[LfContractId, InputContract], createdCore: Seq[CreatedContract], archivedFromSubviews: Set[LfContractId], resolvedKeys: Map[LfGlobalKey, KeyResolution], actionDescription: ActionDescription, rollbackContext: RollbackContext, salt: Salt): Either[String, ViewParticipantData]
Creates a view participant data.
Creates a view participant data.
Yields
Left(...)
if ViewParticipantData.createdCore contains two elements with the same contract id, if ViewParticipantData.coreInputs(id).contractId != id
if ViewParticipantData.archivedFromSubviews overlaps with ViewParticipantData.createdCore's ids or ViewParticipantData.coreInputs if ViewParticipantData.coreInputs does not contain the resolved contract ids in ViewParticipantData.resolvedKeys if ViewParticipantData.createdCore creates a contract with a key that is not in ViewParticipantData.resolvedKeys if the ViewParticipantData.actionDescription is a com.digitalasset.canton.data.ActionDescription.CreateActionDescription and the created id is not the first contract ID in ViewParticipantData.createdCore if the ViewParticipantData.actionDescription is a com.digitalasset.canton.data.ActionDescription.ExerciseActionDescription or com.digitalasset.canton.data.ActionDescription.FetchActionDescription and the input contract is not in ViewParticipantData.coreInputs if the ViewParticipantData.actionDescription is a com.digitalasset.canton.data.ActionDescription.LookupByKeyActionDescription and the key is not in ViewParticipantData.resolvedKeys. if this instance cannot be serialized. - final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def fromByteString(ctx: HashOps)(bytes: OriginalByteString): ParsingResult[MerkleTree[ViewParticipantData]]
- Definition Classes
- HasMemoizedVersionedMessageWithContextCompanion
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val name: String
The name of the class as used for pretty-printing and error reporting
The name of the class as used for pretty-printing and error reporting
- Definition Classes
- ViewParticipantData → HasMemoizedVersionedMessageWithContextCompanion
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def supportedProtoVersionMemoized[Proto <: GeneratedMessage](p: GeneratedMessageCompanion[Proto])(fromProto: (HashOps, Proto) => (OriginalByteString) => ParsingResult[MerkleTree[ViewParticipantData]]): (HashOps, OriginalByteString, DataByteString) => ParsingResult[MerkleTree[ViewParticipantData]]
- Attributes
- protected
- Definition Classes
- HasMemoizedVersionedMessageWithContextCompanion
- val supportedProtoVersions: Map[Int, Parser]
- Definition Classes
- ViewParticipantData → HasMemoizedVersionedMessageWithContextCompanion
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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])