Evolution SDK

PlutusV2.ts

PlutusV2 overview


Table of contents


arbitrary

arbitrary

FastCheck arbitrary for PlutusV2.

Signature

export declare const arbitrary: FastCheck.Arbitrary<PlutusV2>

Added in v2.0.0

model

PlutusV2 (class)

Plutus V2 script wrapper (raw bytes).

Signature

export declare class PlutusV2

Added in v2.0.0

toJSON (method)

Convert to JSON representation.

Signature

toJSON()

Added in v2.0.0

toString (method)

Convert to string representation.

Signature

toString(): string

Added in v2.0.0

[Inspectable.NodeInspectSymbol] (method)

Custom inspect for Node.js REPL.

Signature

[Inspectable.NodeInspectSymbol](): unknown

Added in v2.0.0

[Equal.symbol] (method)

Structural equality check.

Signature

[Equal.symbol](that: unknown): boolean

Added in v2.0.0

[Hash.symbol] (method)

Hash code generation.

Signature

[Hash.symbol](): number

Added in v2.0.0

schemas

CDDLSchema

CDDL schema for PlutusV2 scripts as raw bytes.

Signature

export declare const CDDLSchema: typeof Schema.Uint8ArrayFromSelf

Added in v2.0.0

FromCDDL

CDDL transformation schema for PlutusV2.

Signature

export declare const FromCDDL: Schema.transform<
  typeof Schema.Uint8ArrayFromSelf,
  Schema.SchemaClass<PlutusV2, PlutusV2, never>
>

Added in v2.0.0