package binding
- Alphabetic
- By Inheritance
- binding
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- final case class Contract[+T](contractId: ContractId[T], value: T with Template[T], agreementText: Option[String], signatories: Seq[String], observers: Seq[String], key: Option[api.v1.value.Value]) extends Product with Serializable
A class representing a Daml contract of specific type (Daml template) with assigned contract ID and agreement text.
A class representing a Daml contract of specific type (Daml template) with assigned contract ID and agreement text.
- T
Contract template type parameter.
- contractId
Contract ID.
- value
Contract instance as defined in Daml template (without
contractId
andagreementText
).- agreementText
Agreement text.
None
means that we did not receive theagreementText
from the server.Some("")
is a valid case, this means that the contract hasagreementText
set to an empty string or agreement was not defined in Daml, which defaults to an empty string.- signatories
Signatories of the contract as defined in the Daml template
- observers
Observers of the contract, both explicitly as defined in the Daml template and implicitly as choice controllers.
- key
The value of the key of this contract, if defined by the template.
- sealed trait DamlCodecs extends AnyRef
- case class DomainCommand(command: Command, template: TemplateCompanion[_]) extends Product with Serializable
- abstract class EnumCompanion[T] extends ValueRefCompanion
- abstract class EnumRef extends ValueRef
- abstract class EventDecoderApi extends AnyRef
- sealed trait EventDecoderError extends Product with Serializable
- sealed abstract class Primitive extends PrimitiveInstances
- sealed abstract class PrimitiveInstances extends AnyRef
- abstract class Template[+T] extends ValueRef
- abstract class TemplateCompanion[T] extends ValueRefCompanion with ViaFields[T]
Common superclass of template classes' companions.
Common superclass of template classes' companions.
- T
The companion class's type. We can get away with this here, but not for ValueRefCompanion, because templates' associated types are guaranteed to have zero tparams.
- sealed trait Value[A] extends ValueDecoder[A] with ValueEncoder[A]
Typeclass of "serializable" types as defined by the LF specification.
Typeclass of "serializable" types as defined by the LF specification.
- A
Scala representation for some Daml serializable type. Specialized to match Primitive.
- sealed trait ValueDecoder[A] extends DamlCodecs
- sealed trait ValueEncoder[-A] extends DamlCodecs
- abstract class ValueRef extends Product with Serializable
- abstract class ValueRefCompanion extends AnyRef
Common superclass of record and variant classes' companions.
- abstract class VoidValueRef extends ValueRef
Value Members
- val Primitive: Primitive
- object Compat
- object Contract extends Serializable
- case object CreateEventToContractMappingError extends EventDecoderError with Product with Serializable
- object DamlCodecs extends ValuePrimitiveEncoding[Value]
- case object DecoderTableLookupFailure extends EventDecoderError with Product with Serializable
- object PrimitiveInstances
- object Template extends Serializable
- object TemplateCompanion
- object Value
- object VoidValueRef extends Serializable