package lf
- Alphabetic
- Public
- Protected
Type Members
- case class DefTemplateWithRecord[+Type](type: Record[Type], template: DefTemplate[Type]) extends Product with Serializable
- final case class LFUtil(packageName: String, iface: EnvironmentInterface, outputDir: File) extends Util with Product with Serializable
In order to avoid endlessly passing around "packageName" and "iface" to utility functions we initialise a class with these values and allow all the methods to have access to them.
- final case class ScopedDataType[+DT](name: Name, typeVars: ImmArraySeq[Name], dataType: DT) extends Product with Serializable
Value Members
- object DamlContractTemplateGen
This object is used for generating code that corresponds to a DAML contract template.
This object is used for generating code that corresponds to a DAML contract template. An app user that uses these generated classes is guaranteed to have the same level of type safety that DAML provides.
See the comments below for more details on what classes/methods/types are generated.
- object DamlDataTypeGen
This object is used for generating code that corresponds to a DAMLrecord or variant type
This object is used for generating code that corresponds to a DAMLrecord or variant type
An app user that uses these generated classes is guaranteed to have the same level of type safety that DAML provides.
See the comments below for more details on what classes/methods/types are generated.
- object DefTemplateWithRecord extends Serializable
- object EventDecoderGen
This object is used for generating code that decodes incoming CreatedEvent
s from the Ledger Client API.
This object is used for generating code that decodes incoming CreatedEvent
s from the Ledger Client API.
The decoder will take a CreatedEvent and return a value of type of one of the Ref inner classes in the generated contract template cases. An in
A decoder for ArchivedEvent
s is not require since these don't contain any information besides the contract ID of the archived contract.
- object LFUtil extends Serializable
- object PackageIDsGen
Record and variant source files all refer to this file so that package ID changes during development don't force recompilation of all those files.
- object ScopedDataType extends Serializable
- object UsedTypeParams