UNPKG

abi-util-lite

Version:

A light impletation to parse abi string array to abi json

18 lines 656 B
import { ParamType } from "../ParamType"; export declare const regexParen: RegExp; export interface _Fragment { readonly type: string; readonly name: string; readonly inputs: ReadonlyArray<ParamType>; } export declare abstract class Fragment { readonly type?: string; readonly name?: string; readonly inputs?: Array<ParamType>; readonly _isFragment?: boolean; constructor(constructorGuard: any, params: any); abstract format(format?: string): string; static isFragment(value: any): value is Fragment; } export declare function parseModifiers(value: string, params: any): void; //# sourceMappingURL=Fragments.d.ts.map