Migrate ZRX_TOKEN_AMOUNT
This commit is contained in:
committed by
Fabio Berger
parent
79762a2e38
commit
720b2a2506
@@ -395,7 +395,7 @@
|
||||
{
|
||||
"constant": true,
|
||||
"inputs": [],
|
||||
"name": "ZRX",
|
||||
"name": "ZRX_TOKEN_CONTRACT",
|
||||
"outputs": [
|
||||
{
|
||||
"name": "",
|
||||
|
@@ -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;
|
||||
}
|
||||
}
|
||||
|
@@ -61,7 +61,7 @@ export interface ExchangeContract extends ContractInstance {
|
||||
LogFill: CreateContractEvent;
|
||||
LogCancel: CreateContractEvent;
|
||||
LogError: CreateContractEvent;
|
||||
ZRX: {
|
||||
ZRX_TOKEN_CONTRACT: {
|
||||
call: () => Promise<string>;
|
||||
};
|
||||
getUnavailableTakerTokenAmount: {
|
||||
|
Reference in New Issue
Block a user