diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-12-18 23:28:28 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-12-19 19:19:48 +0800 |
commit | ed6756898f02f192081fa4c89b5bb2cb1ae3c637 (patch) | |
tree | 9014aca0e74328eb9a07928d9cf082f108b4fe70 /packages/contracts/globals.d.ts | |
parent | a5d2cbfd6f9d7e86807bf2c4fb3a045722153e58 (diff) | |
download | dexon-0x-contracts-ed6756898f02f192081fa4c89b5bb2cb1ae3c637.tar.gz dexon-0x-contracts-ed6756898f02f192081fa4c89b5bb2cb1ae3c637.tar.zst dexon-0x-contracts-ed6756898f02f192081fa4c89b5bb2cb1ae3c637.zip |
Define types for ethereumjs-abi
Diffstat (limited to 'packages/contracts/globals.d.ts')
-rw-r--r-- | packages/contracts/globals.d.ts | 5 |
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; |