aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-06-30 02:19:51 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-06-30 02:19:51 +0800
commitd0830d55ad843ad452e95638134349f1dcd4b5da (patch)
tree0c05786aff3ac89b184fee39ca84d439fd446f72 /src
parent9395b53af424be536dc7a558de80f54db7815a8c (diff)
downloaddexon-sol-tools-d0830d55ad843ad452e95638134349f1dcd4b5da.tar
dexon-sol-tools-d0830d55ad843ad452e95638134349f1dcd4b5da.tar.gz
dexon-sol-tools-d0830d55ad843ad452e95638134349f1dcd4b5da.tar.bz2
dexon-sol-tools-d0830d55ad843ad452e95638134349f1dcd4b5da.tar.lz
dexon-sol-tools-d0830d55ad843ad452e95638134349f1dcd4b5da.tar.xz
dexon-sol-tools-d0830d55ad843ad452e95638134349f1dcd4b5da.tar.zst
dexon-sol-tools-d0830d55ad843ad452e95638134349f1dcd4b5da.zip
Factor out ZRXtokenAddress variable
Diffstat (limited to 'src')
-rw-r--r--src/contract_wrappers/exchange_wrapper.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/contract_wrappers/exchange_wrapper.ts b/src/contract_wrappers/exchange_wrapper.ts
index 4d1e84a17..2cc38dbaf 100644
--- a/src/contract_wrappers/exchange_wrapper.ts
+++ b/src/contract_wrappers/exchange_wrapper.ts
@@ -821,6 +821,7 @@ export class ExchangeWrapper extends ContractWrapper {
}
private async _getZRXTokenAddressAsync(exchangeContractAddress: string): Promise<string> {
const exchangeInstance = await this._getExchangeContractAsync(exchangeContractAddress);
- return exchangeInstance.ZRX.call();
+ const ZRXtokenAddress = exchangeInstance.ZRX.call();
+ return ZRXtokenAddress;
}
}