aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts/src/utils/exchange_wrapper.ts
diff options
context:
space:
mode:
authorRemco Bloemen <remco@wicked.ventures>2018-05-22 19:50:07 +0800
committerRemco Bloemen <remco@wicked.ventures>2018-05-22 19:50:07 +0800
commit1dad14f8ea0e463a699d5b2d5f8ccd9532b2ef19 (patch)
treec19a82785016ac882fabdea5bca2cc811300d900 /packages/contracts/src/utils/exchange_wrapper.ts
parent5cc2e8de7b73d9a0196f4593c412c0beb0a0fe56 (diff)
downloaddexon-sol-tools-1dad14f8ea0e463a699d5b2d5f8ccd9532b2ef19.tar.gz
dexon-sol-tools-1dad14f8ea0e463a699d5b2d5f8ccd9532b2ef19.tar.zst
dexon-sol-tools-1dad14f8ea0e463a699d5b2d5f8ccd9532b2ef19.zip
Add missing return types
Diffstat (limited to 'packages/contracts/src/utils/exchange_wrapper.ts')
-rw-r--r--packages/contracts/src/utils/exchange_wrapper.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/contracts/src/utils/exchange_wrapper.ts b/packages/contracts/src/utils/exchange_wrapper.ts
index 46531fa3f..21e569f54 100644
--- a/packages/contracts/src/utils/exchange_wrapper.ts
+++ b/packages/contracts/src/utils/exchange_wrapper.ts
@@ -245,7 +245,7 @@ export class ExchangeWrapper {
const tx = await this._getTxWithDecodedExchangeLogsAsync(txHash);
return tx;
}
- private async _getTxWithDecodedExchangeLogsAsync(txHash: string) {
+ private async _getTxWithDecodedExchangeLogsAsync(txHash: string): Promise<TransactionReceiptWithDecodedLogs> {
const tx = await this._zeroEx.awaitTransactionMinedAsync(txHash);
tx.logs = _.filter(tx.logs, log => log.address === this._exchange.address);
tx.logs = _.map(tx.logs, log => this._logDecoder.decodeLogOrThrow(log));