diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-08-29 06:25:08 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-08-29 06:25:08 +0800 |
commit | 86284f1c7ece5477a8f102f50319dd6fe552aa9e (patch) | |
tree | a5802cfd28edec22d7cf05aaa64a8207b9441865 /packages/contract-wrappers/src/contract_wrappers.ts | |
parent | 61a4ae7fc408cb2ee22aaf30ec5eb420ff9f2b03 (diff) | |
parent | f44644ad9029148c43f69d666356ed9fb18de4e2 (diff) | |
download | dexon-sol-tools-86284f1c7ece5477a8f102f50319dd6fe552aa9e.tar dexon-sol-tools-86284f1c7ece5477a8f102f50319dd6fe552aa9e.tar.gz dexon-sol-tools-86284f1c7ece5477a8f102f50319dd6fe552aa9e.tar.bz2 dexon-sol-tools-86284f1c7ece5477a8f102f50319dd6fe552aa9e.tar.lz dexon-sol-tools-86284f1c7ece5477a8f102f50319dd6fe552aa9e.tar.xz dexon-sol-tools-86284f1c7ece5477a8f102f50319dd6fe552aa9e.tar.zst dexon-sol-tools-86284f1c7ece5477a8f102f50319dd6fe552aa9e.zip |
Merge branch 'development' of https://github.com/0xProject/0x-monorepo into website/feature/react-16
Diffstat (limited to 'packages/contract-wrappers/src/contract_wrappers.ts')
-rw-r--r-- | packages/contract-wrappers/src/contract_wrappers.ts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/packages/contract-wrappers/src/contract_wrappers.ts b/packages/contract-wrappers/src/contract_wrappers.ts index 4277a0746..8ca0fc93c 100644 --- a/packages/contract-wrappers/src/contract_wrappers.ts +++ b/packages/contract-wrappers/src/contract_wrappers.ts @@ -12,6 +12,7 @@ import { ERC721TokenWrapper } from './contract_wrappers/erc721_token_wrapper'; import { EtherTokenWrapper } from './contract_wrappers/ether_token_wrapper'; import { ExchangeWrapper } from './contract_wrappers/exchange_wrapper'; import { ForwarderWrapper } from './contract_wrappers/forwarder_wrapper'; +import { OrderValidatorWrapper } from './contract_wrappers/order_validator_wrapper'; import { ContractWrappersConfigSchema } from './schemas/contract_wrappers_config_schema'; import { contractWrappersPrivateNetworkConfigSchema } from './schemas/contract_wrappers_private_network_config_schema'; import { contractWrappersPublicNetworkConfigSchema } from './schemas/contract_wrappers_public_network_config_schema'; @@ -52,6 +53,10 @@ export class ContractWrappers { * An instance of the ForwarderWrapper class containing methods for interacting with any Forwarder smart contract. */ public forwarder: ForwarderWrapper; + /** + * An instance of the OrderValidatorWrapper class containing methods for interacting with any OrderValidator smart contract. + */ + public orderValidator: OrderValidatorWrapper; private _web3Wrapper: Web3Wrapper; /** @@ -116,6 +121,7 @@ export class ContractWrappers { config.forwarderContractAddress, config.zrxContractAddress, ); + this.orderValidator = new OrderValidatorWrapper(this._web3Wrapper, config.networkId); } /** * Sets a new web3 provider for 0x.js. Updating the provider will stop all |