abi.d.ts 500 B

12345
  1. import { FunctionFragment, GetOutputsType } 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<T extends FunctionFragment>(funABI: T, data: string | Uint8Array): GetOutputsType<T["outputs"]>;