aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts/globals.d.ts
diff options
context:
space:
mode:
authorLeonid <logvinov.leon@gmail.com>2017-12-19 19:20:28 +0800
committerGitHub <noreply@github.com>2017-12-19 19:20:28 +0800
commit1316a2dd2a8971771f750d8a7f457212daad520b (patch)
tree585b8628938af4634c10dbb4dd1f884910adbf99 /packages/contracts/globals.d.ts
parent04268d7f4b4a8a3496518a450bfcf01bb056a57e (diff)
parente5b5fc400a4bb18b21ceb5bc6dcd648e3c2a5416 (diff)
downloaddexon-sol-tools-1316a2dd2a8971771f750d8a7f457212daad520b.tar
dexon-sol-tools-1316a2dd2a8971771f750d8a7f457212daad520b.tar.gz
dexon-sol-tools-1316a2dd2a8971771f750d8a7f457212daad520b.tar.bz2
dexon-sol-tools-1316a2dd2a8971771f750d8a7f457212daad520b.tar.lz
dexon-sol-tools-1316a2dd2a8971771f750d8a7f457212daad520b.tar.xz
dexon-sol-tools-1316a2dd2a8971771f750d8a7f457212daad520b.tar.zst
dexon-sol-tools-1316a2dd2a8971771f750d8a7f457212daad520b.zip
Merge pull request #273 from 0xProject/fix/contract-fixes
Add proper types for yargs and ethereumjs-abi
Diffstat (limited to 'packages/contracts/globals.d.ts')
-rw-r--r--packages/contracts/globals.d.ts8
1 files changed, 5 insertions, 3 deletions
diff --git a/packages/contracts/globals.d.ts b/packages/contracts/globals.d.ts
index df53e9372..2e5827324 100644
--- a/packages/contracts/globals.d.ts
+++ b/packages/contracts/globals.d.ts
@@ -1,8 +1,5 @@
-declare module 'bn.js';
-declare module 'ethereumjs-abi';
declare module 'chai-bignumber';
declare module 'dirty-chai';
-declare module 'yargs';
// HACK: In order to merge the bignumber declaration added by chai-bignumber to the chai Assertion
// interface we must use `namespace` as the Chai definitelyTyped definition does. Since we otherwise
@@ -31,6 +28,11 @@ declare module 'web3-eth-abi' {
export function encodeParameters(typesArray: string[], parameters: any[]): string;
}
+declare module 'ethereumjs-abi' {
+ const soliditySHA3: (argTypes: string[], args: any[]) => Buffer;
+ const methodID: (name: string, types: string[]) => Buffer;
+}
+
// Truffle injects the following into the global scope
declare var artifacts: any;
declare var contract: any;