UNPKG

wowok

Version:

Wowok Blockchain TypeScript API

25 lines (24 loc) 719 B
import type { Transaction, TransactionObjectInput } from "./Transaction.js"; export declare function createObjectMethods<T>(makeObject: (value: TransactionObjectInput) => T): { (value: TransactionObjectInput): T; system(options?: { mutable?: boolean; }): T; clock(): T; random(): T; denyList(options?: { mutable?: boolean; }): T; registrar(options?: { mutable?: boolean; }): T; mutRegistrar(): T; entity(options?: { mutable?: boolean; }): T; mutEntity(): T; option({ type, value, }: { type: string; value: TransactionObjectInput | null; }): (tx: Transaction) => import("./Transaction.js").TransactionResult; };