diff options
author | Fabio Berger <me@fabioberger.com> | 2017-05-29 22:32:32 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-29 22:32:32 +0800 |
commit | 041394e652db09b6f90e1057beb657b159dc0e56 (patch) | |
tree | c3547c43f02c119798af6f15485d73be570392e7 /src/globals.d.ts | |
parent | abd0228ba8b71b35ff089fc647674caa08d7a24e (diff) | |
parent | 19581429366909038a7a3fa21eef09d466c150e0 (diff) | |
download | dexon-sol-tools-041394e652db09b6f90e1057beb657b159dc0e56.tar dexon-sol-tools-041394e652db09b6f90e1057beb657b159dc0e56.tar.gz dexon-sol-tools-041394e652db09b6f90e1057beb657b159dc0e56.tar.bz2 dexon-sol-tools-041394e652db09b6f90e1057beb657b159dc0e56.tar.lz dexon-sol-tools-041394e652db09b6f90e1057beb657b159dc0e56.tar.xz dexon-sol-tools-041394e652db09b6f90e1057beb657b159dc0e56.tar.zst dexon-sol-tools-041394e652db09b6f90e1057beb657b159dc0e56.zip |
Merge pull request #17 from 0xProject/addSignOrderHashAndTests
Add signOrderHashAsync and tests
Diffstat (limited to 'src/globals.d.ts')
-rw-r--r-- | src/globals.d.ts | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/globals.d.ts b/src/globals.d.ts index 0062a05cb..0f2fe0f2f 100644 --- a/src/globals.d.ts +++ b/src/globals.d.ts @@ -36,6 +36,7 @@ declare module 'ethereumjs-util' { 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 @@ -53,6 +54,18 @@ declare module 'truffle-contract' { export = contract; } +// find-version declarations +declare function findVersions(version: string): string[]; +declare module 'find-versions' { + export = findVersions; +} + +// compare-version declarations +declare function compareVersions(firstVersion: string, secondVersion: string): number; +declare module 'compare-versions' { + export = compareVersions; +} + // es6-promisify declarations declare function promisify(original: any, settings?: any): ((...arg: any[]) => Promise<any>); declare module 'es6-promisify' { |