UNPKG

navskit

Version:

Deploy TypeScript logic on Ethereum. Includes core library, CLI tools, and utilities.

22 lines (21 loc) 710 B
/** * Utilities for type handling and conversion */ import { TypeMapping } from '../types'; /** * Helper function to extract a descriptive type name */ export declare function getTypeName(type: any): string; /** * Helper function to extract parameter types from a function string * Fallback when reflection metadata is not available */ export declare function extractParamTypesFromString(fn: Function): string[]; /** * Helper function to extract parameter names from a function string */ export declare function extractParamNamesFromString(fn: Function): string[]; /** * Maps a NAVS type to its ABI type and conversion functions */ export declare function getTypeMapping(type: string): TypeMapping;