@arkade-os/sdk Documentation - v0.4.54
    Preparing search index...

    Interface Program

    An Arkade contract program (hand-written or compiler-emitted).

    interface Program {
        functions: Record<string, ArkadeFunction>;
        name?: string;
        params?: readonly InputRef[];
        version: number;
    }
    Index

    Properties

    functions: Record<string, ArkadeFunction>
    name?: string

    Optional program name — metadata only: round-tripped through the artifact JSON, never used in compilation or the taproot tree.

    params?: readonly InputRef[]

    Ordered constructor parameters. Bare name strings are documentation only (the legacy hand-written form); typed descriptors { name, type } make the list authoritative — see validateProgram.

    version: number