1 |
|
2 | import { BigNumber } from "bignumber.js";
|
3 | import { ERC20_CLEAR_SIGNED_SELECTORS, ERC721_CLEAR_SIGNED_SELECTORS, ERC1155_CLEAR_SIGNED_SELECTORS } from "@ledgerhq/evm-tools/selectors/index";
|
4 | import { LedgerEthTransactionResolution } from "./services/types";
|
5 | export { ERC20_CLEAR_SIGNED_SELECTORS, ERC721_CLEAR_SIGNED_SELECTORS, ERC1155_CLEAR_SIGNED_SELECTORS, };
|
6 | export declare const padHexString: (str: string) => string;
|
7 | export declare function splitPath(path: string): number[];
|
8 | export declare function hexBuffer(str: string): Buffer;
|
9 | export declare function maybeHexBuffer(str: string | null | undefined): Buffer | null | undefined;
|
10 | export declare const decodeTxInfo: (rawTx: Buffer) => {
|
11 | decodedTx: any;
|
12 | txType: number | null;
|
13 | chainId: BigNumber;
|
14 | chainIdTruncated: number;
|
15 | vrsOffset: number;
|
16 | };
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 |
|
24 |
|
25 |
|
26 |
|
27 | export declare const intAsHexBytes: (int: number, bytes: number) => string;
|
28 | export declare const tokenSelectors: ERC20_CLEAR_SIGNED_SELECTORS[];
|
29 | export declare const nftSelectors: (ERC721_CLEAR_SIGNED_SELECTORS | ERC1155_CLEAR_SIGNED_SELECTORS)[];
|
30 | export declare const mergeResolutions: (resolutionsArray: Partial<LedgerEthTransactionResolution>[]) => LedgerEthTransactionResolution;
|
31 |
|
\ | No newline at end of file |