abi.d.ts 479 B

12345
  1. import { FunctionFragment, AbiInputsType } from '../types/ABI.js';
  2. export declare function decodeParams(names: string[], types: string[], output: string, ignoreMethodHash?: boolean): any;
  3. export declare function encodeParams(types: string[], values: any[]): string;
  4. export declare function encodeParamsV2ByABI(funABI: FunctionFragment, args: any[]): string;
  5. export declare function decodeParamsV2ByABI(funABI: FunctionFragment | AbiInputsType, data: string | Uint8Array): any[];