diff options
author | Sergey Ukustov <sergey@ukstv.me> | 2017-07-17 04:52:12 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-01-10 18:24:34 +0800 |
commit | 217f84204e30e1d2bc33ee31047a1f612d8ce2d4 (patch) | |
tree | 9de2efd38f0f3d772924fb4b9ad8c564357404b3 /packages | |
parent | fbbe0ec3db7d5216dbdb26efd7184229cf70b056 (diff) | |
download | dexon-0x-contracts-217f84204e30e1d2bc33ee31047a1f612d8ce2d4.tar.gz dexon-0x-contracts-217f84204e30e1d2bc33ee31047a1f612d8ce2d4.tar.zst dexon-0x-contracts-217f84204e30e1d2bc33ee31047a1f612d8ce2d4.zip |
Add web3.sha3 method declaration
Diffstat (limited to 'packages')
-rw-r--r-- | packages/web3-typescript-typings/index.d.ts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/web3-typescript-typings/index.d.ts b/packages/web3-typescript-typings/index.d.ts index 7089556f4..01ee172b5 100644 --- a/packages/web3-typescript-typings/index.d.ts +++ b/packages/web3-typescript-typings/index.d.ts @@ -35,6 +35,7 @@ declare module 'web3' { public fromWei(amount: number|BigNumber.BigNumber, unit: string): BigNumber.BigNumber; public toWei(amount: number|BigNumber.BigNumber, unit: string): BigNumber.BigNumber; public isAddress(address: string): boolean; + public sha3(value: string, options?: Web3.Sha3Options): string; } namespace providers { @@ -99,6 +100,10 @@ declare module 'web3' { } interface Provider {} + + interface Sha3Options { + encoding: string + } } /* tslint:disable */ export = Web3; |