Move type decl. to typescript-typings

This commit is contained in:
Fabio Berger
2018-07-17 16:01:01 +02:00
parent 1de70e4474
commit 83f3ba21b8
2 changed files with 8 additions and 8 deletions

View File

@@ -0,0 +1,7 @@
declare module 'ethereumjs-util' {
export function soliditySHA3(argTypes: string[], args: any[]): Buffer;
export function soliditySHA256(argTypes: string[], args: any[]): Buffer;
export function methodID(name: string, types: string[]): Buffer;
export function simpleEncode(signature: string, ...args: any[]): Buffer;
export function rawDecode(signature: string[], data: Buffer): any[];
}