UNPKG

@harmoniclabs/plu-ts-onchain

Version:

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

8 lines (7 loc) 460 B
import { Term } from "../../../Term/index.js"; import { PAsData, PByteString, PData, PInt } from "../../../PTypes/index.js"; import { Data } from "@harmoniclabs/plutus-data"; import { ByteString } from "@harmoniclabs/bytestring"; export declare function pData(dataElem: Data): Term<PData>; export declare function pDataI(n: number | bigint): Term<PAsData<PInt>>; export declare function pDataB(b: string | ByteString | Uint8Array): Term<PAsData<PByteString>>;