UNPKG

@harmoniclabs/plu-ts-onchain

Version:

An embedded DSL for Cardano smart contracts creation coupled with a library for Cardano transactions, all in Typescript

10 lines (9 loc) 298 B
import { IRTerm } from "../../IRTerm.js"; import { UPLCTerm } from "@harmoniclabs/uplc"; export type RawSrcMap = { [node_index: number]: string; }; export declare function _irToUplc(ir: IRTerm, srcmap?: RawSrcMap | undefined, node_index?: number): { term: UPLCTerm; max_idx: number; };