UNPKG

ccxt

Version:

A JavaScript / TypeScript / Python / C# / PHP cryptocurrency trading library with support for 100+ exchanges

21 lines (20 loc) 560 B
import { Abi, FunctionAbi } from '../../../types/index.js'; export declare abstract class AbiParserInterface { /** * Helper to calculate inputs length from abi * @param abiMethod FunctionAbi * @return number */ abstract methodInputsLength(abiMethod: FunctionAbi): number; /** * * @param name string * @return FunctionAbi | undefined */ abstract getMethod(name: string): FunctionAbi | undefined; /** * Return Abi in legacy format * @return Abi */ abstract getLegacyFormat(): Abi; }