export interface ABIFunc { outputType: K; encodeInput(x: T): string; decodeOutput(argStr: string): K; } export interface ABIFuncParamless { outputType: T; encodeInput(): string; decodeOutput(argStr: string): T; }