Revert "Rename ZRX to ZRX_TOKEN_CONTRACT"
This reverts commit 6f0b8a185b6fcf58b7427fb907599dbc82c10eaf.
This commit is contained in:
committed by
Fabio Berger
parent
dce13796ac
commit
15f68f9b54
@@ -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": [
|
||||||
|
@@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -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: {
|
||||||
|
Reference in New Issue
Block a user