diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-08-22 00:57:06 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-01-10 18:24:35 +0800 |
commit | a9afc0f3f0ecb888dbfb16d7c78616e6140139fa (patch) | |
tree | 2428285c0b75342cbe629acad2474127df3679c2 | |
parent | 3bbeaabe263e762cb2010d61e1b8519efeacce79 (diff) | |
download | dexon-sol-tools-a9afc0f3f0ecb888dbfb16d7c78616e6140139fa.tar.gz dexon-sol-tools-a9afc0f3f0ecb888dbfb16d7c78616e6140139fa.tar.zst dexon-sol-tools-a9afc0f3f0ecb888dbfb16d7c78616e6140139fa.zip |
Add Web3.isChecksumAddress
-rw-r--r-- | packages/web3-typescript-typings/index.d.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/web3-typescript-typings/index.d.ts b/packages/web3-typescript-typings/index.d.ts index f188d6014..2f2cfa4b6 100644 --- a/packages/web3-typescript-typings/index.d.ts +++ b/packages/web3-typescript-typings/index.d.ts @@ -29,6 +29,7 @@ declare module 'web3' { public toWei(amount: BigNumber.BigNumber, unit: Web3.Unit): BigNumber.BigNumber; public toBigNumber(value: number|string): BigNumber.BigNumber; public isAddress(address: string): boolean; + public isChecksumAddress(address: string): boolean; public sha3(value: string, options?: Web3.Sha3Options): string; } |