UNPKG

@helios-lang/compiler

Version:

Helios is a Domain Specific Language that compiles to Plutus-Core (i.e. Cardano on-chain validator scripts). Helios is a non-Haskell alternative to Plutus. With this library you can compile Helios scripts and build Cardano transactions, all you need to bu

63 lines 1.67 kB
/** * @typedef {import("./common.js").DataType} DataType * @typedef {import("./common.js").Type} Type * @typedef {import("./common.js").InstanceMembers} InstanceMembers * @typedef {import("./common.js").TypeMembers} TypeMembers */ /** * @param {Type} type * @returns {InstanceMembers} */ export function genCommonInstanceMembers(type: Type): InstanceMembers; /** * @param {Type} type * @returns {TypeMembers} */ export function genCommonTypeMembers(type: Type): TypeMembers; /** * @internal * @param {Type} type * @param {Type} parentType * @returns {TypeMembers} */ export function genCommonEnumTypeMembers(type: Type, parentType: Type): TypeMembers; /** * Builtin bool type * @type {DataType} */ export const BoolType: DataType; /** * Builtin bytearray type * @type {DataType} */ export const ByteArrayType: DataType; /** * @type {DataType} */ export const IntType: DataType; /** * Type of external data that must be cast/type-checked before using * Not named 'Data' in Js because that would be too generic * @type {DataType} */ export const RawDataType: DataType; /** * Builtin top/bottom Ratio */ export const RatioType: GenericType; /** * Builtin Real fixed point number type * @type {DataType} */ export const RealType: DataType; /** * Builtin string type * @type {DataType} */ export const StringType: DataType; export type DataType = import("./common.js").DataType; export type Type = import("./common.js").Type; export type InstanceMembers = import("./common.js").InstanceMembers; export type TypeMembers = import("./common.js").TypeMembers; import { GenericType } from "./common.js"; //# sourceMappingURL=primitives.d.ts.map