Packages

p

com.daml.lf

command

package command

Type Members

  1. sealed trait Command extends Product with Serializable
  2. case class Commands(submitter: Party, commands: ImmArray[Command], ledgerEffectiveTime: Timestamp, commandsReference: String) extends Product with Serializable

    Commands input adapted from ledger-api

    Commands input adapted from ledger-api

    submitter

    the party that authorizes all commands

    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 CreateAndExerciseCommand(templateId: Identifier, createArgument: Value[ContractId], choiceId: ChoiceName, choiceArgument: Value[ContractId]) extends Command 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

  4. final case class CreateCommand(templateId: Identifier, argument: Value[ContractId]) extends Command 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

  5. final case class ExerciseByKeyCommand(templateId: Identifier, contractKey: Value[ContractId], choiceId: ChoiceName, argument: Value[ContractId]) extends Command 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

  6. final case class ExerciseCommand(templateId: Identifier, contractId: ContractId, choiceId: ChoiceName, argument: Value[ContractId]) extends Command 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

Ungrouped