UNPKG

abi-util-lite

Version:

A light impletation to parse abi string array to abi json

18 lines 783 B
import { JsonFragmentType } from "./SharedInterface"; export declare function parseParams(value: string, allowIndex: boolean): Array<ParamType>; export declare class ParamType { readonly name?: string; readonly type?: string; readonly baseType?: string; readonly indexed: boolean; readonly components?: Array<ParamType>; readonly arrayLength?: number; readonly arrayChildren?: ParamType; readonly _isParamType: boolean; constructor(constructorGuard: any, params: any); format(format?: string): string; static fromObject(value: JsonFragmentType | ParamType): ParamType; static fromString(value: string, allowIndexed?: boolean): ParamType; static isParamType(value: any): value is ParamType; } //# sourceMappingURL=ParamType.d.ts.map