implicit final class LfContractIdSyntax extends AnyVal
- Alphabetic
- By Inheritance
- LfContractIdSyntax
- AnyVal
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new LfContractIdSyntax(contractId: LfContractId)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##: Int
- Definition Classes
- Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def encodeDeterministically: ByteString
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def toLengthLimitedString: String255
An LfContractId consists of - a version (1 byte) - a discriminator (32 bytes) - a suffix (at most 94 bytes) Thoses 1 + 32 + 94 = 127 bytes are base-16 encoded, so this makes 254 chars at most.
An LfContractId consists of - a version (1 byte) - a discriminator (32 bytes) - a suffix (at most 94 bytes) Thoses 1 + 32 + 94 = 127 bytes are base-16 encoded, so this makes 254 chars at most. See https://github.com/digital-asset/daml/blob/main/daml-lf/spec/contract-id.rst
- def toPrimUnchecked[Tpl]: ContractId[Tpl]
Converts an LfContractId into a contract ID bound to a template usable with the Scala codegen API.
Converts an LfContractId into a contract ID bound to a template usable with the Scala codegen API.
Unchecked
means that we do not check that the contract ID actually refers to a contract of the templateTpl
. - def toProtoPrimitive: String
- def toString(): String
- Definition Classes
- Any