aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-10-05 20:26:38 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-10-05 20:35:38 +0800
commit553cbb25f4d8b8ae43156eb21d3358d5b1350c68 (patch)
treeab071d2c97a29fce23cfdd81eeb3f8090b1b39fa /src
parent118381c1d10315c82a526d94c86e60b569ad3b45 (diff)
downloaddexon-sol-tools-553cbb25f4d8b8ae43156eb21d3358d5b1350c68.tar
dexon-sol-tools-553cbb25f4d8b8ae43156eb21d3358d5b1350c68.tar.gz
dexon-sol-tools-553cbb25f4d8b8ae43156eb21d3358d5b1350c68.tar.bz2
dexon-sol-tools-553cbb25f4d8b8ae43156eb21d3358d5b1350c68.tar.lz
dexon-sol-tools-553cbb25f4d8b8ae43156eb21d3358d5b1350c68.tar.xz
dexon-sol-tools-553cbb25f4d8b8ae43156eb21d3358d5b1350c68.tar.zst
dexon-sol-tools-553cbb25f4d8b8ae43156eb21d3358d5b1350c68.zip
Fix comments
Diffstat (limited to 'src')
-rw-r--r--src/contract_wrappers/exchange_wrapper.ts2
-rw-r--r--src/contract_wrappers/token_wrapper.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/contract_wrappers/exchange_wrapper.ts b/src/contract_wrappers/exchange_wrapper.ts
index ab5bc15ee..0eb600ff6 100644
--- a/src/contract_wrappers/exchange_wrapper.ts
+++ b/src/contract_wrappers/exchange_wrapper.ts
@@ -624,7 +624,7 @@ export class ExchangeWrapper extends ContractWrapper {
* @param indexFilterValues An object where the keys are indexed args returned by the event and
* the value is the value you are interested in. E.g `{maker: aUserAddressHex}`
* @param callback Callback that gets called when a log is added/removed
- * @return ContractEventEmitter object
+ * @return Subscription token used later to unsubscribe
*/
public async subscribeAsync(eventName: ExchangeEvents, indexFilterValues: IndexedFilterValues,
callback: EventCallback): Promise<string> {
diff --git a/src/contract_wrappers/token_wrapper.ts b/src/contract_wrappers/token_wrapper.ts
index d2b1ccf96..05852742a 100644
--- a/src/contract_wrappers/token_wrapper.ts
+++ b/src/contract_wrappers/token_wrapper.ts
@@ -251,7 +251,7 @@ export class TokenWrapper extends ContractWrapper {
* @param indexFilterValues An object where the keys are indexed args returned by the event and
* the value is the value you are interested in. E.g `{maker: aUserAddressHex}`
* @param callback Callback that gets called when a log is added/removed
- * @return ContractEventEmitter object
+ * @return Subscription token used later to unsubscribe
*/
public subscribe(tokenAddress: string, eventName: TokenEvents, indexFilterValues: IndexedFilterValues,
callback: EventCallback): string {