class ExtendedContractLookup extends ContractAndKeyLookup
A contract lookup that adds some convenience methods
- Exceptions thrown
java.lang.IllegalArgumentException
ifcontracts
stores a contract under a wrong id
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ExtendedContractLookup
- ContractAndKeyLookup
- ContractLookup
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new ExtendedContractLookup(contracts: Map[LfContractId, GenContractInstance], keys: Map[LfGlobalKey, Option[LfContractId]])(implicit ec: ExecutionContext)
- contracts
Contracts in this map take precedence over contracts in
backingContractLookup
- Exceptions thrown
java.lang.IllegalArgumentException
ifcontracts
stores a contract under a wrong id
Type Members
- type ContractsCreatedAtTime = CreationTime
- Definition Classes
- ExtendedContractLookup → ContractLookup
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- implicit val ec: ExecutionContext
- Attributes
- protected
- Definition Classes
- ExtendedContractLookup → ContractLookup
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def lookup(id: LfContractId)(implicit traceContext: TraceContext): OptionT[FutureUnlessShutdown, GenContractInstance { type InstCreatedAtTime <: com.digitalasset.daml.lf.transaction.CreationTime }]
- Definition Classes
- ExtendedContractLookup → ContractLookup
- def lookupE(id: LfContractId)(implicit traceContext: TraceContext): EitherT[FutureUnlessShutdown, UnknownContract, GenContractInstance { type InstCreatedAtTime <: ExtendedContractLookup.this.ContractsCreatedAtTime }]
- Definition Classes
- ContractLookup
- def lookupFatContract(id: LfContractId)(implicit traceContext: TraceContext): OptionT[FutureUnlessShutdown, FatContractInstance { type CreatedAtTime <: ExtendedContractLookup.this.ContractsCreatedAtTime }]
- Definition Classes
- ContractLookup
- def lookupKey(key: LfGlobalKey)(implicit traceContext: TraceContext): OptionT[FutureUnlessShutdown, Option[LfContractId]]
Find a contract with the given key.
Find a contract with the given key. Typically used for Daml interpretation in Phase 3, where the key resolution is provided by the submitter. Returns scala.None$ if the key is not supposed to be resolved, e.g., during reinterpretation by Daml Engine. Returns scala.Some$
(
scala.None$)
if no contract with the given key can be found.- Definition Classes
- ExtendedContractLookup → ContractAndKeyLookup
- def lookupManyExistingUncached(ids: Seq[LfContractId])(implicit traceContext: TraceContext): EitherT[FutureUnlessShutdown, LfContractId, List[GenContractInstance { type InstCreatedAtTime <: ExtendedContractLookup.this.ContractsCreatedAtTime }]]
- Definition Classes
- ContractLookup
- def lookupManyUncached(ids: Seq[LfContractId])(implicit traceContext: TraceContext): FutureUnlessShutdown[List[Option[GenContractInstance { type InstCreatedAtTime <: ExtendedContractLookup.this.ContractsCreatedAtTime }]]]
- Definition Classes
- ContractLookup
- def lookupSignatories(ids: Set[LfContractId])(implicit traceContext: TraceContext): EitherT[FutureUnlessShutdown, UnknownContracts, Map[LfContractId, Set[LfPartyId]]]
- Definition Classes
- ExtendedContractLookup → ContractLookup
- def lookupStakeholders(ids: Set[LfContractId])(implicit traceContext: TraceContext): EitherT[FutureUnlessShutdown, UnknownContracts, Map[LfContractId, Set[LfPartyId]]]
- Definition Classes
- ExtendedContractLookup → ContractLookup
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])