aboutsummaryrefslogtreecommitdiffstats
path: root/packages/subproviders/src/globals.d.ts
diff options
context:
space:
mode:
authorAmir Bandeali <abandeali1@gmail.com>2018-06-30 08:49:15 +0800
committerGitHub <noreply@github.com>2018-06-30 08:49:15 +0800
commit762c0143eb10306ca70b0f206e80eb9aed925f99 (patch)
tree7d94c049696572254cb4207d4312c607936772be /packages/subproviders/src/globals.d.ts
parent42b7b0dab907f1ce2caf6a2ea415a247ba31245f (diff)
parent6c6f34ee72da94b40aac64a3ded73bbf7824c3f0 (diff)
downloaddexon-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/globals.d.ts')
-rw-r--r--packages/subproviders/src/globals.d.ts48
1 files changed, 0 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 */