object ValueRemapper
Utilities for modifying ledger api values, e.g. to make them suitable for importing into canton:
Contract ids: Importing a set of contracts often requires awareness of contract dependencies and references to ensure that when contract ids are modified that references are updates to reflect such modifications.
Party ids: Contracts from non-canton daml ledgers are incompatible with canton party ids that contain additional information (fingerprint suffix). Remapping party ids enables updating embedded party id types to conform to the canton party id format.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ValueRemapper
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
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]) @native() @IntrinsicCandidate()
- def convertEvent(remapContractId: (String) => String, mapPartyId: (String) => String)(createdEvent: CreatedEvent): CreatedEvent
Helper for CreatedEvents.
- 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
- @native() @IntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def remapRecord(remapContractId: (String) => String, remapParty: (String) => String, record: Record): Record
Helper specifically useful for CreatedEvents that contain arguments as a record.
- def remapValue(remapContractId: (String) => String, remapParty: (String) => String)(v: Value): Value
Helper for arbitrary ledger api values.
- 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]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])