diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-06-30 02:19:51 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-06-30 02:19:51 +0800 |
commit | d0830d55ad843ad452e95638134349f1dcd4b5da (patch) | |
tree | 0c05786aff3ac89b184fee39ca84d439fd446f72 /src | |
parent | 9395b53af424be536dc7a558de80f54db7815a8c (diff) | |
download | dexon-0x-contracts-d0830d55ad843ad452e95638134349f1dcd4b5da.tar dexon-0x-contracts-d0830d55ad843ad452e95638134349f1dcd4b5da.tar.gz dexon-0x-contracts-d0830d55ad843ad452e95638134349f1dcd4b5da.tar.bz2 dexon-0x-contracts-d0830d55ad843ad452e95638134349f1dcd4b5da.tar.lz dexon-0x-contracts-d0830d55ad843ad452e95638134349f1dcd4b5da.tar.xz dexon-0x-contracts-d0830d55ad843ad452e95638134349f1dcd4b5da.tar.zst dexon-0x-contracts-d0830d55ad843ad452e95638134349f1dcd4b5da.zip |
Factor out ZRXtokenAddress variable
Diffstat (limited to 'src')
-rw-r--r-- | src/contract_wrappers/exchange_wrapper.ts | 3 |
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; } } |