aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts/globals.d.ts
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2017-12-20 01:02:50 +0800
committerFabio Berger <me@fabioberger.com>2017-12-20 01:02:50 +0800
commit06bd5a9b038c40d102db2cc8095bc08d79a547a8 (patch)
tree52508b9885b13321c80d0b2dd5a6ade9f9a11d63 /packages/contracts/globals.d.ts
parente38c7ff0760c766b92a7d19261a3a6f480adf567 (diff)
parent1316a2dd2a8971771f750d8a7f457212daad520b (diff)
downloaddexon-sol-tools-06bd5a9b038c40d102db2cc8095bc08d79a547a8.tar
dexon-sol-tools-06bd5a9b038c40d102db2cc8095bc08d79a547a8.tar.gz
dexon-sol-tools-06bd5a9b038c40d102db2cc8095bc08d79a547a8.tar.bz2
dexon-sol-tools-06bd5a9b038c40d102db2cc8095bc08d79a547a8.tar.lz
dexon-sol-tools-06bd5a9b038c40d102db2cc8095bc08d79a547a8.tar.xz
dexon-sol-tools-06bd5a9b038c40d102db2cc8095bc08d79a547a8.tar.zst
dexon-sol-tools-06bd5a9b038c40d102db2cc8095bc08d79a547a8.zip
Merge branch 'development' into refactor/website
* development: Introduce an identityCommandBuilder Define types for methodID Define types for ethereumjs-abi Install types for yargs Fix comments Fix linter issues Fix linter error Rename SubscriptionOpts to BlockRange
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;