Packages

p

com.daml.lf

command

package command

Type Members

  1. sealed abstract class ApiCommand extends Command
  2. sealed abstract class Command extends Product with Serializable
  3. case class Commands(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

  4. final case class CreateAndExerciseCommand(templateId: Identifier, createArgument: Value, choiceId: ChoiceName, choiceArgument: Value) extends ApiCommand with Product with Serializable

    Command for creating a contract and exercising a choice on that existing contract within the same transaction

    Command for creating a contract and exercising a choice on that existing contract within the same transaction

    templateId

    identifier of the original contract

    createArgument

    value passed to the template

    choiceId

    identifier choice

    choiceArgument

    value passed for the choice

  5. final case class CreateByInterfaceCommand(interfaceId: Identifier, templateId: Identifier, argument: Value) extends Command with Product with Serializable

    Create template contract, by interface

  6. final case class CreateCommand(templateId: Identifier, argument: Value) extends ApiCommand with Product with Serializable

    Command for creating a contract

    Command for creating a contract

    templateId

    identifier of the template that the contract is instantiating

    argument

    value passed to the template

  7. final case class ExerciseByInterfaceCommand(interfaceId: Identifier, templateId: Identifier, contractId: ContractId, choiceId: ChoiceName, argument: Value) extends Command with Product with Serializable

    Exercise a template choice, by interface.

  8. final case class ExerciseByKeyCommand(templateId: Identifier, contractKey: Value, choiceId: ChoiceName, argument: Value) extends ApiCommand with Product with Serializable

    Command for exercising a choice on an existing contract specified by its key

    Command for exercising a choice on an existing contract specified by its key

    templateId

    identifier of the original contract

    contractKey

    key of the contract on which the choice is exercised

    choiceId

    identifier choice

    argument

    value passed for the choice

  9. final case class ExerciseCommand(templateId: Identifier, contractId: ContractId, choiceId: ChoiceName, argument: Value) extends ApiCommand with Product with Serializable

    Command for exercising a choice on an existing contract

    Command for exercising a choice on an existing contract

    templateId

    identifier of the original contract

    contractId

    contract on which the choice is exercised

    choiceId

    identifier choice

    argument

    value passed for the choice

  10. final case class ExerciseTemplateCommand(templateId: Identifier, contractId: ContractId, choiceId: ChoiceName, argument: Value) extends Command with Product with Serializable

    Exercise a template choice, not by interface.

  11. final case class FetchByInterfaceCommand(interfaceId: Identifier, templateId: Identifier, coid: ContractId) extends Command with Product with Serializable

    Fetch a template, by interface

  12. final case class FetchByKeyCommand(templateId: Identifier, key: Value) extends Command with Product with Serializable
  13. final case class FetchCommand(templateId: Identifier, coid: ContractId) extends Command with Product with Serializable

    Fetch a template, not by interface

  14. final case class LookupByKeyCommand(templateId: Identifier, contractKey: Value) extends Command with Product with Serializable

Ungrouped