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 keyOpt: Option[KeyWithMaintainers]
    Definition Classes
    ExerciseAction
  24. def keyValue: Option[Value]
  25. def mapCid(f: (ContractId) => ContractId): Exercise
    Definition Classes
    ExerciseCidContainer
  26. def mapNodeId(f: (NodeId) => NodeId): Exercise
    Definition Classes
    ExerciseNode
  27. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  28. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  29. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  30. def optVersion: Option[TransactionVersion]
    Definition Classes
    Node
  31. def packageIds: Iterable[PackageId]

    The package ids used by this action node.

    The package ids used by this action node.

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

Deprecated Value Members

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