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 | |
parent | a5d2cbfd6f9d7e86807bf2c4fb3a045722153e58 (diff) | |
download | dexon-sol-tools-ed6756898f02f192081fa4c89b5bb2cb1ae3c637.tar.gz dexon-sol-tools-ed6756898f02f192081fa4c89b5bb2cb1ae3c637.tar.zst dexon-sol-tools-ed6756898f02f192081fa4c89b5bb2cb1ae3c637.zip |
Define types for ethereumjs-abi
Diffstat (limited to 'packages/contracts')
-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; |