Packages

final case class Exercise(targetCoid: ContractId, templateId: TypeConName, interfaceId: Option[TypeConName], choiceId: ChoiceName, consuming: Boolean, actingParties: Set[Party], chosenValue: Value, stakeholders: Set[Party], signatories: Set[Party], choiceObservers: Set[Party], children: ImmArray[NodeId], exerciseResult: Option[Value], key: Option[KeyWithMaintainers], byKey: Boolean, version: TransactionVersion) extends Action with ActionNodeInfo.Exercise with Product with Serializable

Denotes a transaction node for an exercise. We remember the children of this NodeExercises to allow segregating the graph afterwards into party-specific ledgers.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Exercise
  2. Exercise
  3. Action
  4. ActionNodeInfo
  5. Node
  6. CidContainer
  7. Serializable
  8. Product
  9. Equals
  10. AnyRef
  11. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Exercise(targetCoid: ContractId, templateId: TypeConName, interfaceId: Option[TypeConName], choiceId: ChoiceName, consuming: Boolean, actingParties: Set[Party], chosenValue: Value, stakeholders: Set[Party], signatories: Set[Party], choiceObservers: Set[Party], children: ImmArray[NodeId], exerciseResult: Option[Value], key: Option[KeyWithMaintainers], byKey: Boolean, version: TransactionVersion)

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 actingParties: Set[Party]
    Definition Classes
    ExerciseExercise
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. val byKey: Boolean
    Definition Classes
    ExerciseAction
  7. val children: ImmArray[NodeId]
  8. val choiceId: ChoiceName
  9. val choiceObservers: Set[Party]
    Definition Classes
    ExerciseExercise
  10. val chosenValue: Value
  11. def cids: Set[ContractId]
    Definition Classes
    CidContainer
  12. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  13. def collectCids(acc: Set[ContractId]): Set[ContractId]
    Definition Classes
    CidContainer
  14. val consuming: Boolean
    Definition Classes
    ExerciseExercise
  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. val exerciseResult: Option[Value]
  17. def foreachCid(f: (ContractId) => Unit): Unit
    Definition Classes
    CidContainer
  18. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  19. final def informeesOfNode: Set[Party]

    Compute the informees of a node based on the ledger model definition.

    Compute the informees of a node based on the ledger model definition.

    Refer to https://docs.daml.com/concepts/ledger-model/ledger-privacy.html#projections

    Definition Classes
    ExerciseActionNodeInfo
  20. val interfaceId: Option[TypeConName]
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. val key: Option[KeyWithMaintainers]
  23. def mapCid(f: (ContractId) => ContractId): Exercise
    Definition Classes
    ExerciseCidContainer
  24. def mapNodeId(f: (NodeId) => NodeId): Exercise
    Definition Classes
    ExerciseNode
  25. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  26. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  27. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  28. def optVersion: Option[TransactionVersion]
    Definition Classes
    Node
  29. def productElementNames: Iterator[String]
    Definition Classes
    Product
  30. final def requiredAuthorizers: Set[Party]

    Required authorizers (see ledger model); UNSAFE TO USE on fetch nodes of transaction with versions < 5

    Required authorizers (see ledger model); UNSAFE TO USE on fetch nodes of transaction with versions < 5

    The ledger model defines the fetch node actingParties as the nodes' required authorizers. However, the our transaction data structure did not include the actingParties in versions < 5. The usage of this method must thus be restricted to: 1. settings where no fetch nodes appear (for example, the validate method of DAMLe, which uses it on root nodes, which are guaranteed never to contain a fetch node) 2. Daml ledger implementations that do not store or process any transactions with version < 5

    Definition Classes
    ExerciseActionNodeInfo
  31. final def self: Exercise.this.type
    Attributes
    protected
    Definition Classes
    ActionCidContainer
  32. val signatories: Set[Party]
    Definition Classes
    ExerciseExercise
  33. val stakeholders: Set[Party]
    Definition Classes
    ExerciseExercise
  34. final def suffixCid(f: (Hash) => Bytes): Either[String, Action]
    Definition Classes
    CidContainer
  35. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  36. val targetCoid: ContractId
  37. val templateId: TypeConName
    Definition Classes
    ExerciseAction
  38. def traverseCid[L](f: (ContractId) => Either[L, ContractId]): Either[L, Action]
    Definition Classes
    CidContainer
  39. val version: TransactionVersion
    Definition Classes
    ExerciseAction
  40. def versioned[X](x: X): Versioned[X]
    Attributes
    protected
    Definition Classes
    Action
  41. def versionedChosenValue: VersionedValue
  42. def versionedExerciseResult: Option[VersionedValue]
  43. def versionedKey: Option[VersionedKeyWithMaintainers]
  44. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  45. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  46. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. final def assertNoCid(message: (ContractId) => String): Action
    Definition Classes
    CidContainer
    Annotations
    @deprecated
    Deprecated

    (Since version 1.18.0) use foreachCid or cids method instead

  2. final def ensureNoCid: Either[ContractId, Action]
    Definition Classes
    CidContainer
    Annotations
    @deprecated
    Deprecated

    (Since version 1.18.0) use cids method instead

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

Inherited from Action

Inherited from ActionNodeInfo

Inherited from Node

Inherited from CidContainer[Action]

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped