diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-10-04 00:05:44 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-10-04 16:14:20 +0800 |
commit | 451ded4963aaaa40ff4d00bcb0d589b06b45ce24 (patch) | |
tree | d7c0a8aee987531fddf45f78c0309559acc73a33 /src/contract_wrappers/token_wrapper.ts | |
parent | 837618c7a016b9b66d70f3c0e9682c97a9d4cf8a (diff) | |
download | dexon-sol-tools-451ded4963aaaa40ff4d00bcb0d589b06b45ce24.tar dexon-sol-tools-451ded4963aaaa40ff4d00bcb0d589b06b45ce24.tar.gz dexon-sol-tools-451ded4963aaaa40ff4d00bcb0d589b06b45ce24.tar.bz2 dexon-sol-tools-451ded4963aaaa40ff4d00bcb0d589b06b45ce24.tar.lz dexon-sol-tools-451ded4963aaaa40ff4d00bcb0d589b06b45ce24.tar.xz dexon-sol-tools-451ded4963aaaa40ff4d00bcb0d589b06b45ce24.tar.zst dexon-sol-tools-451ded4963aaaa40ff4d00bcb0d589b06b45ce24.zip |
Add tests for zeroEx.exchange.getLogsAsync
Diffstat (limited to 'src/contract_wrappers/token_wrapper.ts')
-rw-r--r-- | src/contract_wrappers/token_wrapper.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/contract_wrappers/token_wrapper.ts b/src/contract_wrappers/token_wrapper.ts index 175671f74..95f5491c9 100644 --- a/src/contract_wrappers/token_wrapper.ts +++ b/src/contract_wrappers/token_wrapper.ts @@ -290,7 +290,7 @@ export class TokenWrapper extends ContractWrapper { * @return Array of logs that match the parameters */ public async getLogsAsync(tokenAddress: string, eventName: TokenEvents, subscriptionOpts: SubscriptionOpts, - indexFilterValues: IndexedFilterValues): Promise<Array<LogWithDecodedArgs|RawLog>> { + indexFilterValues: IndexedFilterValues): Promise<LogWithDecodedArgs[]> { const logs = await this._getLogsAsync( tokenAddress, eventName, subscriptionOpts, indexFilterValues, artifacts.TokenArtifact.abi, ); |