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
- Alphabetic
- By Inheritance
- CreateEvent
- Event
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- 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
- 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
- val agreementText: String
- val argument: Value
- 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()
- val contractId: ContractId
- val contractKey: Option[KeyWithMaintainers]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- 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()
- val observers: Set[Party]
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val signatories: Set[Party]
- 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.
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val templateId: Identifier
- 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])
- val witnesses: Set[Party]
- Definition Classes
- CreateEvent → Event
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated