aboutsummaryrefslogtreecommitdiffstats
path: root/src/contract_wrappers/exchange_wrapper.ts
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-07-08 06:05:04 +0800
committerFabio Berger <me@fabioberger.com>2017-07-11 15:30:14 +0800
commit15f68f9b5476993e7bbcdc09f325e4c3834e4b02 (patch)
treeaefdb8b45c556102a9c15efeb701493ea2a6bcae /src/contract_wrappers/exchange_wrapper.ts
parentdce13796acad479d2e5f1002c7d56f02d766c5ef (diff)
downloaddexon-sol-tools-15f68f9b5476993e7bbcdc09f325e4c3834e4b02.tar
dexon-sol-tools-15f68f9b5476993e7bbcdc09f325e4c3834e4b02.tar.gz
dexon-sol-tools-15f68f9b5476993e7bbcdc09f325e4c3834e4b02.tar.bz2
dexon-sol-tools-15f68f9b5476993e7bbcdc09f325e4c3834e4b02.tar.lz
dexon-sol-tools-15f68f9b5476993e7bbcdc09f325e4c3834e4b02.tar.xz
dexon-sol-tools-15f68f9b5476993e7bbcdc09f325e4c3834e4b02.tar.zst
dexon-sol-tools-15f68f9b5476993e7bbcdc09f325e4c3834e4b02.zip
Revert "Rename ZRX to ZRX_TOKEN_CONTRACT"
This reverts commit 6f0b8a185b6fcf58b7427fb907599dbc82c10eaf.
Diffstat (limited to 'src/contract_wrappers/exchange_wrapper.ts')
-rw-r--r--src/contract_wrappers/exchange_wrapper.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/contract_wrappers/exchange_wrapper.ts b/src/contract_wrappers/exchange_wrapper.ts
index 9bedb1b3c..f66e91534 100644
--- a/src/contract_wrappers/exchange_wrapper.ts
+++ b/src/contract_wrappers/exchange_wrapper.ts
@@ -800,7 +800,7 @@ export class ExchangeWrapper extends ContractWrapper {
}
private async _getZRXTokenAddressAsync(exchangeContractAddress: string): Promise<string> {
const exchangeInstance = await this._getExchangeContractAsync(exchangeContractAddress);
- const ZRXtokenAddress = await exchangeInstance.ZRX_TOKEN_CONTRACT.call();
+ const ZRXtokenAddress = await exchangeInstance.ZRX.call();
return ZRXtokenAddress;
}
}