aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-08-22 00:57:06 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-01-10 18:24:35 +0800
commita9afc0f3f0ecb888dbfb16d7c78616e6140139fa (patch)
tree2428285c0b75342cbe629acad2474127df3679c2 /packages
parent3bbeaabe263e762cb2010d61e1b8519efeacce79 (diff)
downloaddexon-sol-tools-a9afc0f3f0ecb888dbfb16d7c78616e6140139fa.tar
dexon-sol-tools-a9afc0f3f0ecb888dbfb16d7c78616e6140139fa.tar.gz
dexon-sol-tools-a9afc0f3f0ecb888dbfb16d7c78616e6140139fa.tar.bz2
dexon-sol-tools-a9afc0f3f0ecb888dbfb16d7c78616e6140139fa.tar.lz
dexon-sol-tools-a9afc0f3f0ecb888dbfb16d7c78616e6140139fa.tar.xz
dexon-sol-tools-a9afc0f3f0ecb888dbfb16d7c78616e6140139fa.tar.zst
dexon-sol-tools-a9afc0f3f0ecb888dbfb16d7c78616e6140139fa.zip
Add Web3.isChecksumAddress
Diffstat (limited to 'packages')
-rw-r--r--packages/web3-typescript-typings/index.d.ts1
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;
}