From 64f4a276ffea9dab491514fdc9ab13f6cefa6d7d Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Fri, 21 Jul 2017 15:42:42 -0700 Subject: Add ethereumjs-utils types --- src/globals.d.ts | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'src/globals.d.ts') diff --git a/src/globals.d.ts b/src/globals.d.ts index 3d19b96cc..f1720e366 100644 --- a/src/globals.d.ts +++ b/src/globals.d.ts @@ -81,17 +81,6 @@ declare module '*.json' { /* tslint:enable */ } -declare module 'ethereumjs-util' { - const toBuffer: (dataHex: string) => Buffer; - const hashPersonalMessage: (msg: Buffer) => Buffer; - const bufferToHex: (buff: Buffer) => string; - const ecrecover: (msgHashBuff: Buffer, v: number, r: Buffer, s: Buffer) => string; - const pubToAddress: (pubKey: string) => Buffer; - const isValidAddress: (address: string) => boolean; - const bufferToInt: (buffer: Buffer) => number; - const fromRpcSig: (signature: string) => {v: number, r: Buffer, s: Buffer}; -} - // truffle-contract declarations declare interface ContractInstance { address: string; -- cgit v1.2.3