Packages

p

com.daml.lf

command

package command

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

Type Members

  1. sealed abstract class ApiCommand extends Product with Serializable

    Accepted commands coming from API

  2. case class ApiCommands(commands: ImmArray[ApiCommand], ledgerEffectiveTime: Timestamp, commandsReference: String) extends Product with Serializable

    Commands input adapted from ledger-api

    Commands input adapted from ledger-api

    commands

    a batch of commands to be interpreted/executed

    ledgerEffectiveTime

    approximate time the commands to be effective, interpretation will take this instant

    commandsReference

    id passed only for error reporting

  3. final case class ContractMetadata(createdAt: Timestamp, keyHash: Option[Hash], driverMetadata: ImmArray[Byte]) extends Product with Serializable

    Contract metadata attached to disclosed contracts.

    Contract metadata attached to disclosed contracts.

    createdAt

    ledger effective time of the transaction that created the contract

    keyHash

    hash of the contract key, if present

  4. final case class DisclosedContract(templateId: Identifier, contractId: ContractId, argument: Value, metadata: ContractMetadata) extends Product with Serializable

    An additional contract that is used to resolve contract id and contract key lookups during interpretation.

    An additional contract that is used to resolve contract id and contract key lookups during interpretation.

    templateId

    identifier of the template of disclosed contract

    contractId

    the contract id of the disclosed contract

    argument

    the payload of the disclosed contract

    metadata

    metatdata attached to this disclosure. See [ContractMetadata].

  5. sealed abstract class ReplayCommand extends Product with Serializable

    Accepted commands for replay

Deprecated Type Members

  1. type Commands = ApiCommands
    Annotations
    @deprecated
    Deprecated

    (Since version 2.1.0) use ApiCommands

  2. type CreateAndExerciseCommand = CreateAndExercise
    Annotations
    @deprecated
    Deprecated

    (Since version 2.1.0) use ApiCommand.CreateAndExercise

  3. type CreateCommand = Create
    Annotations
    @deprecated
    Deprecated

    (Since version 2.1.0) use ApiCommand.Create

  4. type ExerciseByKeyCommand = ExerciseByKey
    Annotations
    @deprecated
    Deprecated

    (Since version 2.1.0) use ApiCommand.ExerciseByKey

  5. type ExerciseCommand = Exercise
    Annotations
    @deprecated
    Deprecated

    (Since version 2.1.0) use ApiCommand.Exercise

Value Members

  1. object ApiCommand extends Serializable
  2. object ReplayCommand extends Serializable

Deprecated Value Members

  1. val Commands: ApiCommands.type
    Annotations
    @deprecated
    Deprecated

    (Since version 2.1.0) use ApiCommands

  2. val CreateAndExerciseCommand: CreateAndExercise.type
    Annotations
    @deprecated
    Deprecated

    (Since version 2.1.0) use ApiCommand.ExerciseKey

  3. val CreateCommand: Create.type
    Annotations
    @deprecated
    Deprecated

    (Since version 2.1.0) use ApiCommand.Create

  4. val ExerciseByKeyCommand: ExerciseByKey.type
    Annotations
    @deprecated
    Deprecated

    (Since version 2.1.0) use ApiCommand.ExerciseKey

  5. val ExerciseCommand: Exercise.type
    Annotations
    @deprecated
    Deprecated

    (Since version 2.1.0) use ApiCommand.Exercise

Inherited from AnyRef

Inherited from Any

Ungrouped