package binding

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. binding
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Package Members

  1. package encoding

Type Members

  1. 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 and agreementText).

    agreementText

    Agreement text. None means that we did not receive the agreementText from the server. Some("") is a valid case, this means that the contract has agreementText 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.

  2. abstract class ContractTypeCompanion[T] extends ValueRefCompanion

    Common superclass of template and interface companions objects.

  3. sealed trait DamlCodecs extends AnyRef
  4. case class DomainCommand(command: Command, template: ContractTypeCompanion[_]) extends Product with Serializable
  5. abstract class EnumCompanion[T] extends ValueRefCompanion
  6. abstract class EnumRef extends ValueRef
  7. abstract class EventDecoderApi extends AnyRef
  8. sealed trait EventDecoderError extends Product with Serializable
  9. abstract class Interface extends VoidValueRef

    Common superclass of interface marker types.

    Common superclass of interface marker types. There are no instances of subclasses of this class; it is strictly a marker type to aid in implicit resolution, and only occurs within contract IDs.

  10. abstract class InterfaceCompanion[T] extends ContractTypeCompanion[T]

    Common superclass of interface companion objects.

  11. sealed abstract class Primitive extends PrimitiveInstances
  12. sealed abstract class PrimitiveInstances extends AnyRef
  13. abstract class Template[+T] extends ValueRef
  14. abstract class TemplateCompanion[T] extends ContractTypeCompanion[T] 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.

  15. 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.

  16. sealed trait ValueDecoder[A] extends DamlCodecs
  17. sealed trait ValueEncoder[-A] extends DamlCodecs
  18. abstract class ValueRef extends Product with Serializable
  19. abstract class ValueRefCompanion extends AnyRef

    Common superclass of record and variant classes' companions.

  20. abstract class VoidValueRef extends ValueRef

Value Members

  1. val Primitive: Primitive
  2. object Compat
  3. object Contract extends Serializable
  4. case object CreateEventToContractMappingError extends EventDecoderError with Product with Serializable
  5. object DamlCodecs extends ValuePrimitiveEncoding[Value]
  6. case object DecoderTableLookupFailure extends EventDecoderError with Product with Serializable
  7. object Interface extends Serializable
  8. object PrimitiveInstances
  9. object Template extends Serializable
  10. object TemplateCompanion
  11. object Value
  12. object VoidValueRef extends Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped