1 | import { ContractAbi, DataItem, MethodAbi } from 'ethereum-types';
|
2 | declare type ParamName = null | string | NestedParamName;
|
3 | interface NestedParamName {
|
4 | name: string | null;
|
5 | names: ParamName[];
|
6 | }
|
7 | declare function parseEthersParams(params: DataItem[]): {
|
8 | names: ParamName[];
|
9 | types: string[];
|
10 | };
|
11 | declare function isAbiDataEqual(name: ParamName, type: string, x: any, y: any): boolean;
|
12 | declare function splitTupleTypes(type: string): string[];
|
13 | export declare const abiUtils: {
|
14 | parseEthersParams: typeof parseEthersParams;
|
15 | isAbiDataEqual: typeof isAbiDataEqual;
|
16 | splitTupleTypes: typeof splitTupleTypes;
|
17 | parseFunctionParam(param: DataItem): string;
|
18 | getFunctionSignature(methodAbi: MethodAbi): string;
|
19 | |
20 |
|
21 |
|
22 |
|
23 |
|
24 |
|
25 |
|
26 |
|
27 |
|
28 |
|
29 |
|
30 |
|
31 |
|
32 | renameOverloadedMethods(inputContractAbi: ContractAbi): ContractAbi;
|
33 | };
|
34 | export {};
|
35 |
|
\ | No newline at end of file |