UNPKG

@usherlabs/ccxt

Version:

A JavaScript cryptocurrency trading library with support for 100+ exchanges + optional Verity zkTLS proof of data source.

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; }