aboutsummaryrefslogtreecommitdiffstats
path: root/packages/0x.js/src/contract_wrappers/exchange_wrapper.ts
diff options
context:
space:
mode:
authorBrandon Millman <brandon.millman@gmail.com>2018-01-25 09:13:16 +0800
committerBrandon Millman <brandon.millman@gmail.com>2018-01-25 09:13:16 +0800
commit3f0ec89f11fe405711c6b7509d6043339b8b4258 (patch)
treea6b5dea7d16d7ad2a02e2d0015c96c9e07ca2d84 /packages/0x.js/src/contract_wrappers/exchange_wrapper.ts
parentd3aa4f2bc7f2341a98c4aa6018c0d2ede221a3ed (diff)
parentf58f0ddb67555c3f0c7252ea3e003824984c48ad (diff)
downloaddexon-sol-tools-3f0ec89f11fe405711c6b7509d6043339b8b4258.tar
dexon-sol-tools-3f0ec89f11fe405711c6b7509d6043339b8b4258.tar.gz
dexon-sol-tools-3f0ec89f11fe405711c6b7509d6043339b8b4258.tar.bz2
dexon-sol-tools-3f0ec89f11fe405711c6b7509d6043339b8b4258.tar.lz
dexon-sol-tools-3f0ec89f11fe405711c6b7509d6043339b8b4258.tar.xz
dexon-sol-tools-3f0ec89f11fe405711c6b7509d6043339b8b4258.tar.zst
dexon-sol-tools-3f0ec89f11fe405711c6b7509d6043339b8b4258.zip
Merge branch 'development' into feature/kovan-faucets/all-testnet-support
* development: Publish Update yarn.lock Update the CHANGELOG Fix the bug making it impossible to specify the custom ZRX address
Diffstat (limited to 'packages/0x.js/src/contract_wrappers/exchange_wrapper.ts')
-rw-r--r--packages/0x.js/src/contract_wrappers/exchange_wrapper.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/0x.js/src/contract_wrappers/exchange_wrapper.ts b/packages/0x.js/src/contract_wrappers/exchange_wrapper.ts
index be88cdb20..2b6117729 100644
--- a/packages/0x.js/src/contract_wrappers/exchange_wrapper.ts
+++ b/packages/0x.js/src/contract_wrappers/exchange_wrapper.ts
@@ -87,11 +87,13 @@ export class ExchangeWrapper extends ContractWrapper {
abiDecoder: AbiDecoder,
tokenWrapper: TokenWrapper,
contractAddressIfExists?: string,
+ zrxContractAddressIfExists?: string,
) {
super(web3Wrapper, networkId, abiDecoder);
this._tokenWrapper = tokenWrapper;
this._orderValidationUtils = new OrderValidationUtils(this);
this._contractAddressIfExists = contractAddressIfExists;
+ this._zrxContractAddressIfExists = zrxContractAddressIfExists;
}
/**
* Returns the unavailable takerAmount of an order. Unavailable amount is defined as the total