Revert "Rename ZRX to ZRX_TOKEN_CONTRACT"

This reverts commit 6f0b8a185b6fcf58b7427fb907599dbc82c10eaf.
This commit is contained in:
Leonid Logvinov
2017-07-07 15:05:04 -07:00
committed by Fabio Berger
parent dce13796ac
commit 15f68f9b54
3 changed files with 2 additions and 28 deletions

View File

@@ -115,32 +115,6 @@
"payable": false, "payable": false,
"type": "function" "type": "function"
}, },
{
"constant": true,
"inputs": [],
"name": "ZRX_TOKEN_CONTRACT",
"outputs": [
{
"name": "",
"type": "address"
}
],
"payable": false,
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "PROXY_CONTRACT",
"outputs": [
{
"name": "",
"type": "address"
}
],
"payable": false,
"type": "function"
},
{ {
"constant": false, "constant": false,
"inputs": [ "inputs": [

View File

@@ -800,7 +800,7 @@ export class ExchangeWrapper extends ContractWrapper {
} }
private async _getZRXTokenAddressAsync(exchangeContractAddress: string): Promise<string> { private async _getZRXTokenAddressAsync(exchangeContractAddress: string): Promise<string> {
const exchangeInstance = await this._getExchangeContractAsync(exchangeContractAddress); const exchangeInstance = await this._getExchangeContractAsync(exchangeContractAddress);
const ZRXtokenAddress = await exchangeInstance.ZRX_TOKEN_CONTRACT.call(); const ZRXtokenAddress = await exchangeInstance.ZRX.call();
return ZRXtokenAddress; return ZRXtokenAddress;
} }
} }

View File

@@ -61,7 +61,7 @@ export interface ExchangeContract extends ContractInstance {
LogFill: CreateContractEvent; LogFill: CreateContractEvent;
LogCancel: CreateContractEvent; LogCancel: CreateContractEvent;
LogError: CreateContractEvent; LogError: CreateContractEvent;
ZRX_TOKEN_CONTRACT: { ZRX: {
call: () => Promise<string>; call: () => Promise<string>;
}; };
getUnavailableValueT: { getUnavailableValueT: {