aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2017-05-26 23:12:22 +0800
committerFabio Berger <me@fabioberger.com>2017-05-26 23:12:22 +0800
commit555bac19cb90a83d5a0025e53341f76ff39c4373 (patch)
tree45db0a8151ef22ad69d9d42b8fc10807d1b613ac /src
parentf4bf9fc423c4bb7f2027cdd5700de56f8f4bff96 (diff)
downloaddexon-sol-tools-555bac19cb90a83d5a0025e53341f76ff39c4373.tar
dexon-sol-tools-555bac19cb90a83d5a0025e53341f76ff39c4373.tar.gz
dexon-sol-tools-555bac19cb90a83d5a0025e53341f76ff39c4373.tar.bz2
dexon-sol-tools-555bac19cb90a83d5a0025e53341f76ff39c4373.tar.lz
dexon-sol-tools-555bac19cb90a83d5a0025e53341f76ff39c4373.tar.xz
dexon-sol-tools-555bac19cb90a83d5a0025e53341f76ff39c4373.tar.zst
dexon-sol-tools-555bac19cb90a83d5a0025e53341f76ff39c4373.zip
Setup blockchain snapshotting before/after every test, implemented unit tests for exchangeWrapper.isValidSignature
Diffstat (limited to 'src')
-rw-r--r--src/ts/globals.d.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ts/globals.d.ts b/src/ts/globals.d.ts
index 30225d0d8..dee957f2f 100644
--- a/src/ts/globals.d.ts
+++ b/src/ts/globals.d.ts
@@ -1,5 +1,8 @@
declare module 'chai-bignumber';
declare module 'bn.js';
+declare module 'request-promise-native';
+declare module 'web3-provider-engine';
+declare module 'web3-provider-engine/subproviders/rpc';
declare interface Schema {
id: string;
@@ -12,6 +15,7 @@ declare interface Schema {
declare namespace Chai {
interface Assertion {
bignumber: Assertion;
+ eventually: Assertion;
}
}
/* tslint:enable */
@@ -30,6 +34,7 @@ declare module 'ethereumjs-util' {
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;
}
// truffle-contract declarations