aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contract-wrappers/src/contract_wrappers.ts
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-09-04 23:27:16 +0800
committerFabio Berger <me@fabioberger.com>2018-09-04 23:27:16 +0800
commitd496a7585c06ff48770841e12f7be5a9707f6d5a (patch)
tree5bfaeb8a2362da684ba527b1e440b7eff82f14ad /packages/contract-wrappers/src/contract_wrappers.ts
parent8d7f2a993a9ecb9f805135b56aee05f8e656e0a8 (diff)
downloaddexon-sol-tools-d496a7585c06ff48770841e12f7be5a9707f6d5a.tar
dexon-sol-tools-d496a7585c06ff48770841e12f7be5a9707f6d5a.tar.gz
dexon-sol-tools-d496a7585c06ff48770841e12f7be5a9707f6d5a.tar.bz2
dexon-sol-tools-d496a7585c06ff48770841e12f7be5a9707f6d5a.tar.lz
dexon-sol-tools-d496a7585c06ff48770841e12f7be5a9707f6d5a.tar.xz
dexon-sol-tools-d496a7585c06ff48770841e12f7be5a9707f6d5a.tar.zst
dexon-sol-tools-d496a7585c06ff48770841e12f7be5a9707f6d5a.zip
Add `validateFillOrderThrowIfInvalidAsync` and `validateOrderFillableOrThrowAsync` to ExchangeWrapper
Diffstat (limited to 'packages/contract-wrappers/src/contract_wrappers.ts')
-rw-r--r--packages/contract-wrappers/src/contract_wrappers.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/contract-wrappers/src/contract_wrappers.ts b/packages/contract-wrappers/src/contract_wrappers.ts
index 8ca0fc93c..4272cc943 100644
--- a/packages/contract-wrappers/src/contract_wrappers.ts
+++ b/packages/contract-wrappers/src/contract_wrappers.ts
@@ -111,6 +111,8 @@ export class ContractWrappers {
this.exchange = new ExchangeWrapper(
this._web3Wrapper,
config.networkId,
+ this.erc20Token,
+ this.erc721Token,
config.exchangeContractAddress,
config.zrxContractAddress,
blockPollingIntervalMs,