diff options
author | Amir Bandeali <abandeali1@gmail.com> | 2018-06-30 08:49:15 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-30 08:49:15 +0800 |
commit | 762c0143eb10306ca70b0f206e80eb9aed925f99 (patch) | |
tree | 7d94c049696572254cb4207d4312c607936772be /packages/subproviders/src | |
parent | 42b7b0dab907f1ce2caf6a2ea415a247ba31245f (diff) | |
parent | 6c6f34ee72da94b40aac64a3ded73bbf7824c3f0 (diff) | |
download | dexon-sol-tools-762c0143eb10306ca70b0f206e80eb9aed925f99.tar dexon-sol-tools-762c0143eb10306ca70b0f206e80eb9aed925f99.tar.gz dexon-sol-tools-762c0143eb10306ca70b0f206e80eb9aed925f99.tar.bz2 dexon-sol-tools-762c0143eb10306ca70b0f206e80eb9aed925f99.tar.lz dexon-sol-tools-762c0143eb10306ca70b0f206e80eb9aed925f99.tar.xz dexon-sol-tools-762c0143eb10306ca70b0f206e80eb9aed925f99.tar.zst dexon-sol-tools-762c0143eb10306ca70b0f206e80eb9aed925f99.zip |
Merge pull request #770 from 0xProject/feature/migrations/kovan-deploy
Add Kovan migrations
Diffstat (limited to 'packages/subproviders/src')
-rw-r--r-- | packages/subproviders/src/globals.d.ts | 48 | ||||
-rw-r--r-- | packages/subproviders/src/index.ts | 1 |
2 files changed, 1 insertions, 48 deletions
diff --git a/packages/subproviders/src/globals.d.ts b/packages/subproviders/src/globals.d.ts index 4b3ecdf3c..c00dc4099 100644 --- a/packages/subproviders/src/globals.d.ts +++ b/packages/subproviders/src/globals.d.ts @@ -3,54 +3,6 @@ // tslint:disable:async-suffix // tslint:disable:completed-docs -// Ethereumjs-tx declarations - -// Ledgerco declarations -interface ECSignatureString { - v: string; - r: string; - s: string; -} -interface ECSignature { - v: number; - r: string; - s: string; -} - -interface LedgerTransport { - close(): Promise<void>; -} - -declare module '@ledgerhq/hw-app-eth' { - class Eth { - public transport: LedgerTransport; - constructor(transport: LedgerTransport); - public getAddress( - path: string, - boolDisplay?: boolean, - boolChaincode?: boolean, - ): Promise<{ publicKey: string; address: string; chainCode: string }>; - public signTransaction(path: string, rawTxHex: string): Promise<ECSignatureString>; - public getAppConfiguration(): Promise<{ arbitraryDataEnabled: number; version: string }>; - public signPersonalMessage(path: string, messageHex: string): Promise<ECSignature>; - } - export default Eth; -} - -declare module '@ledgerhq/hw-transport-u2f' { - export default class TransportU2F implements LedgerTransport { - public static create(): Promise<LedgerTransport>; - public close(): Promise<void>; - } -} - -declare module '@ledgerhq/hw-transport-node-hid' { - export default class TransportNodeHid implements LedgerTransport { - public static create(): Promise<LedgerTransport>; - public close(): Promise<void>; - } -} - declare module '*.json' { const json: any; /* tslint:disable */ diff --git a/packages/subproviders/src/index.ts b/packages/subproviders/src/index.ts index 6cc650a4d..9194c1341 100644 --- a/packages/subproviders/src/index.ts +++ b/packages/subproviders/src/index.ts @@ -20,6 +20,7 @@ export { ErrorCallback, NextCallback, LedgerCommunicationClient, + LedgerEthereumClient, NonceSubproviderErrors, LedgerSubproviderConfigs, } from './types'; |