aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-12-18 23:28:28 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-12-19 19:19:48 +0800
commited6756898f02f192081fa4c89b5bb2cb1ae3c637 (patch)
tree9014aca0e74328eb9a07928d9cf082f108b4fe70
parenta5d2cbfd6f9d7e86807bf2c4fb3a045722153e58 (diff)
downloaddexon-sol-tools-ed6756898f02f192081fa4c89b5bb2cb1ae3c637.tar
dexon-sol-tools-ed6756898f02f192081fa4c89b5bb2cb1ae3c637.tar.gz
dexon-sol-tools-ed6756898f02f192081fa4c89b5bb2cb1ae3c637.tar.bz2
dexon-sol-tools-ed6756898f02f192081fa4c89b5bb2cb1ae3c637.tar.lz
dexon-sol-tools-ed6756898f02f192081fa4c89b5bb2cb1ae3c637.tar.xz
dexon-sol-tools-ed6756898f02f192081fa4c89b5bb2cb1ae3c637.tar.zst
dexon-sol-tools-ed6756898f02f192081fa4c89b5bb2cb1ae3c637.zip
Define types for ethereumjs-abi
-rw-r--r--packages/contracts/globals.d.ts5
1 files changed, 4 insertions, 1 deletions
diff --git a/packages/contracts/globals.d.ts b/packages/contracts/globals.d.ts
index a2d5176f8..05c08bd98 100644
--- a/packages/contracts/globals.d.ts
+++ b/packages/contracts/globals.d.ts
@@ -1,5 +1,4 @@
declare module 'bn.js';
-declare module 'ethereumjs-abi';
declare module 'chai-bignumber';
declare module 'dirty-chai';
@@ -30,6 +29,10 @@ declare module 'web3-eth-abi' {
export function encodeParameters(typesArray: string[], parameters: any[]): string;
}
+declare module 'ethereumjs-abi' {
+ const soliditySHA3: (argTypes: string[], args: any[]) => Buffer;
+}
+
// Truffle injects the following into the global scope
declare var artifacts: any;
declare var contract: any;