object Transaction extends Serializable

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

Type Members

  1. final case class AuthFailureDuringExecution(nid: NodeId, fa: FailedAuthorization) extends TransactionError with Product with Serializable
  2. sealed abstract class ChildrenRecursion extends AnyRef
  3. final case class DuplicateContractKey(key: GlobalKey) extends TransactionError with Product with Serializable

    Signals that within the transaction we got to a point where two contracts with the same key were active.

    Signals that within the transaction we got to a point where two contracts with the same key were active.

    Note that speedy only detects duplicate key collisions if both contracts are used in the transaction in by-key operations meaning lookup, fetch or exercise-by-key or local creates.

    Two notable cases that will never produce duplicate key errors is a standalone create or a create and a fetch (but not fetch-by-key) with the same key.

    For ledger implementors this means that (for contract key uniqueness) it is sufficient to only look at the inputs and the outputs of the transaction while leaving all internal checks within the transaction to the engine.

  4. final case class InconsistentContractKey(key: GlobalKey) extends Product with Serializable

    An exercise, fetch or lookupByKey failed because the mapping of key -> contract id was inconsistent with earlier nodes (in execution order).

  5. final case class KeyActive(cid: ContractId) extends KeyInput with Product with Serializable

    Key must be mapped to this active contract.

  6. sealed trait KeyInactive extends KeyInput

    No active contract with the given key.

  7. sealed trait KeyInput extends Product with Serializable

    The state of a key at the beginning of the transaction.

  8. type KeyInputError = Either[InconsistentContractKey, DuplicateContractKey]

    contractKeyInputs failed to produce an input due to an error for the given key.

  9. final case class Metadata(submissionSeed: Option[Hash], submissionTime: Timestamp, usedPackages: Set[PackageId], dependsOnTime: Boolean, nodeSeeds: ImmArray[(NodeId, Hash)], globalKeyMapping: Map[GlobalKey, Option[ContractId]], disclosures: ImmArray[Versioned[DisclosedContract]]) extends Product with Serializable

    Transaction meta data

    Transaction meta data

    submissionSeed

    : the submission seed used to derive the contract IDs. If undefined no seed has been used (the legacy contract ID scheme have been used) or it is unknown (output of partial reinterpretation).

    submissionTime

    : the submission time

    usedPackages

    The set of packages used during command processing. This is a hint for what packages are required to validate the transaction using the current interpreter. If set to empty the package dependency have not be computed.

    dependsOnTime

    : indicate the transaction computation depends on ledger time.

    nodeSeeds

    : An association list that maps to each ID of create and exercise nodes its seeds.

    globalKeyMapping

    : input key mapping inferred by interpretation

  10. sealed abstract class TransactionError extends Product with Serializable

    Errors that can happen during building transactions.

Deprecated Type Members

  1. type ActionNode = Action
    Annotations
    @deprecated
    Deprecated

    (Since version 1.18.0) use com.daml.transaction.Node.Action directly

  2. type ContractInstance = Versioned[value.Value.ContractInstance]
    Annotations
    @deprecated
    Deprecated

    (Since version 1.18.0) use com.daml.value.Value.VersionedContractInstance

  3. type LeafNode = LeafOnlyAction
    Annotations
    @deprecated
    Deprecated

    (Since version 1.18.0) use com.daml.transaction.Node.LeafOnlyAction directly

  4. type WithTxValue = Transaction
    Annotations
    @deprecated
    Deprecated

    (Since version 1.18.0) use com.daml.transaction.GenTransaction directly

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  6. def commitTransaction(submittedTransaction: SubmittedTransaction, f: (Hash) => Bytes): Either[String, CommittedTransaction]
  7. def commitTransaction(submittedTransaction: SubmittedTransaction): CommittedTransaction
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  16. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  17. def toString(): String
    Definition Classes
    AnyRef → Any
  18. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  19. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  20. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  21. object ChildrenRecursion
  22. case object KeyCreate extends KeyInactive with Product with Serializable

    A contract with the key will be created so the key must be inactive.

  23. case object NegativeKeyLookup extends KeyInactive with Product with Serializable

    Negative key lookup so the key mus tbe inactive.

Deprecated Value Members

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

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped