aboutsummaryrefslogtreecommitdiffstats
path: root/src/contract_wrappers
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-07-08 06:59:34 +0800
committerFabio Berger <me@fabioberger.com>2017-07-11 15:30:14 +0800
commit720b2a25060080e7e6cb55a8488d2d6030c6b3ee (patch)
tree27dfa3756d76bc38b6a5d488960affd4e4ae804e /src/contract_wrappers
parent79762a2e38145d92ca91673ebe51b7631f0caa86 (diff)
downloaddexon-sol-tools-720b2a25060080e7e6cb55a8488d2d6030c6b3ee.tar
dexon-sol-tools-720b2a25060080e7e6cb55a8488d2d6030c6b3ee.tar.gz
dexon-sol-tools-720b2a25060080e7e6cb55a8488d2d6030c6b3ee.tar.bz2
dexon-sol-tools-720b2a25060080e7e6cb55a8488d2d6030c6b3ee.tar.lz
dexon-sol-tools-720b2a25060080e7e6cb55a8488d2d6030c6b3ee.tar.xz
dexon-sol-tools-720b2a25060080e7e6cb55a8488d2d6030c6b3ee.tar.zst
dexon-sol-tools-720b2a25060080e7e6cb55a8488d2d6030c6b3ee.zip
Migrate ZRX_TOKEN_AMOUNT
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 7ec186bf4..5bf4a3bf3 100644
--- a/src/contract_wrappers/exchange_wrapper.ts
+++ b/src/contract_wrappers/exchange_wrapper.ts
@@ -808,7 +808,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;
}
}