c

com.daml.lf.engine

CreateEvent

final case class CreateEvent(contractId: ContractId, templateId: Identifier, contractKey: Option[KeyWithMaintainers], argument: Value, agreementText: String, signatories: Set[Party], observers: Set[Party], witnesses: Set[Party]) extends Event with Product with Serializable

Event for created contracts, follows ledger api event protocol

contractId

id for the contract this event notifies

templateId

identifier of the creating template

contractKey

key for the contract this event notifies

argument

argument of the contract creation

signatories

as defined by the template

observers

as defined by the template or implicitly as choice controllers

witnesses

additional witnesses induced by parent exercises

Linear Supertypes
Event, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CreateEvent
  2. Event
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new CreateEvent(contractId: ContractId, templateId: Identifier, contractKey: Option[KeyWithMaintainers], argument: Value, agreementText: String, signatories: Set[Party], observers: Set[Party], witnesses: Set[Party])

    contractId

    id for the contract this event notifies

    templateId

    identifier of the creating template

    contractKey

    key for the contract this event notifies

    argument

    argument of the contract creation

    signatories

    as defined by the template

    observers

    as defined by the template or implicitly as choice controllers

    witnesses

    additional witnesses induced by parent exercises

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val agreementText: String
  5. val argument: Value
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  8. val contractId: ContractId
  9. val contractKey: Option[KeyWithMaintainers]
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  16. val observers: Set[Party]
  17. def productElementNames: Iterator[String]
    Definition Classes
    Product
  18. val signatories: Set[Party]
  19. val stakeholders: Set[Party]

    Note that the stakeholders of each event node will always be a subset of the event witnesses.

    Note that the stakeholders of each event node will always be a subset of the event witnesses. We perform this narrowing since usually when consuming these events we only care about the parties that were included in the disclosure information. Consumers should be aware that the stakeholders stored are _not_ all the stakeholders of the contract, but just the stakeholders "up to witnesses".

    For broader and more detailed information, the consumer can use signatories and/or observers.

  20. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  21. val templateId: Identifier
  22. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  23. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. val witnesses: Set[Party]
    Definition Classes
    CreateEventEvent

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from Event

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped