Packages

c

com.daml.ledger.client.binding.Interface

interface ContractId syntax

implicit final class interface ContractId syntax[I] extends AnyVal

Linear Supertypes
AnyVal, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. interface ContractId syntax
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new interface ContractId syntax(self: ContractId[I])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##: Int
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  6. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  7. def toString(): String
    Definition Classes
    Any
  8. def unsafeToTemplate[T](implicit ev: Implements[T, I]): ContractId[T]

    Convert an interface contract ID to a template contract ID.

    Convert an interface contract ID to a template contract ID. Sometimes this is needed if you got an interface contract ID from a choice, but you need to assert that the contract ID is of a particular template so that you can exercise contracts on it.

    This checks at compile-time that T is in fact a template that implements interface I, but it does not check that the specific contract ID is actually associated with T on the ledger, hence the unsafe in the name.

    Annotations
    @nowarn()

Inherited from AnyVal

Inherited from Any

Ungrouped