aboutsummaryrefslogtreecommitdiffstats
path: root/src/contract_wrappers
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-07-08 05:33:13 +0800
committerFabio Berger <me@fabioberger.com>2017-07-11 15:30:14 +0800
commitc21c3220560a88584fa67befadcb17f42517deb1 (patch)
tree01fa1caf5819bf046af3064288a8382beb66c087 /src/contract_wrappers
parent15fe8afd1ec7f9ecc6fecd28a2caf752e4bc6ccb (diff)
downloaddexon-sol-tools-c21c3220560a88584fa67befadcb17f42517deb1.tar
dexon-sol-tools-c21c3220560a88584fa67befadcb17f42517deb1.tar.gz
dexon-sol-tools-c21c3220560a88584fa67befadcb17f42517deb1.tar.bz2
dexon-sol-tools-c21c3220560a88584fa67befadcb17f42517deb1.tar.lz
dexon-sol-tools-c21c3220560a88584fa67befadcb17f42517deb1.tar.xz
dexon-sol-tools-c21c3220560a88584fa67befadcb17f42517deb1.tar.zst
dexon-sol-tools-c21c3220560a88584fa67befadcb17f42517deb1.zip
Rename ZRX to ZRX_TOKEN_CONTRACT
Diffstat (limited to 'src/contract_wrappers')
-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 fa4b5904b..a06471bba 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.call();
+ const ZRXtokenAddress = await exchangeInstance.ZRX_TOKEN_CONTRACT.call();
return ZRXtokenAddress;
}
}