1 |
|
2 | import { LoadConfig } from "../types";
|
3 | export declare const findERC20SignaturesInfo: (userLoadConfig: LoadConfig) => Promise<string | null>;
|
4 |
|
5 |
|
6 |
|
7 | export declare const byContractAddressAndChainId: (contract: string, chainId: number, erc20SignaturesBlob?: string | null | undefined) => TokenInfo | null | undefined;
|
8 |
|
9 |
|
10 |
|
11 | export declare const list: (erc20SignaturesBlob?: string | undefined) => TokenInfo[];
|
12 | export declare type TokenInfo = {
|
13 | contractAddress: string;
|
14 | ticker: string;
|
15 | decimals: number;
|
16 | chainId: number;
|
17 | signature: Buffer;
|
18 | data: Buffer;
|
19 | };
|
20 | export declare type API = {
|
21 | byContractAndChainId: (addr: string, id: number) => TokenInfo | null | undefined;
|
22 | list: () => TokenInfo[];
|
23 | };
|
24 |
|
\ | No newline at end of file |