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 whlie leaving all internal checks within the transaction to the engine.

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

    A create failed because there was already an active contract with the same key.

  5. final case class InconsistentKeys(key: GlobalKey) extends KeyInputError with Product with Serializable

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

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

    Key must be mapped to this active contract.

  7. sealed trait KeyInactive extends KeyInput

    No active contract with the given key.

  8. sealed trait KeyInput extends Product with Serializable

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

  9. sealed abstract class KeyInputError extends AnyRef

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

  10. final case class Metadata(submissionSeed: Option[Hash], submissionTime: Timestamp, usedPackages: Set[PackageId], dependsOnTime: Boolean, nodeSeeds: ImmArray[(NodeId, Hash)]) 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.

  11. 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. def duplicatedContractKeys(tx: VersionedTransaction): Set[GlobalKey]
    Annotations
    @throws(scala.this.throws.<init>$default$1[IllegalArgumentException])
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  17. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  18. def toString(): String
    Definition Classes
    AnyRef → Any
  19. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  20. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  21. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  22. object ChildrenRecursion
  23. case object KeyCreate extends KeyInactive with Product with Serializable

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

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