diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-05-25 19:00:56 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-05-25 19:02:15 +0800 |
commit | 74a80c28d348da6e4050e43e713113c4c0df87df (patch) | |
tree | 5f5dca5a19e09ead63e9ab6c3f931a000d2bab11 /src/ts/globals.d.ts | |
parent | dc1ca23e3006dc614e512353aa2ae354e584f1cf (diff) | |
download | dexon-sol-tools-74a80c28d348da6e4050e43e713113c4c0df87df.tar dexon-sol-tools-74a80c28d348da6e4050e43e713113c4c0df87df.tar.gz dexon-sol-tools-74a80c28d348da6e4050e43e713113c4c0df87df.tar.bz2 dexon-sol-tools-74a80c28d348da6e4050e43e713113c4c0df87df.tar.lz dexon-sol-tools-74a80c28d348da6e4050e43e713113c4c0df87df.tar.xz dexon-sol-tools-74a80c28d348da6e4050e43e713113c4c0df87df.tar.zst dexon-sol-tools-74a80c28d348da6e4050e43e713113c4c0df87df.zip |
Remove type aliases
Diffstat (limited to 'src/ts/globals.d.ts')
-rw-r--r-- | src/ts/globals.d.ts | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/ts/globals.d.ts b/src/ts/globals.d.ts index 58efe136a..1e502b061 100644 --- a/src/ts/globals.d.ts +++ b/src/ts/globals.d.ts @@ -1,5 +1,3 @@ -declare type ETHPublicKey = string; -declare type ETHAddressHex = string; declare type ETHAddressBuff = Buffer; declare interface Schema { @@ -10,6 +8,7 @@ declare module 'ethereumjs-util' { const toBuffer: (dataHex: string) => Buffer; const hashPersonalMessage: (msg: Buffer) => Buffer; const bufferToHex: (buff: Buffer) => string; - const ecrecover: (msgHashBuff: Buffer, v: number, r: Buffer, s: Buffer) => ETHPublicKey; - const pubToAddress: (pubKey: ETHPublicKey) => ETHAddressBuff; + const ecrecover: (msgHashBuff: Buffer, v: number, r: Buffer, s: Buffer) => string; + const pubToAddress: (pubKey: string) => ETHAddressBuff; + const isValidAddress: (address: string) => boolean; } |