aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contract-wrappers/src/contract_wrappers.ts
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-05-10 22:51:45 +0800
committerFabio Berger <me@fabioberger.com>2018-05-10 22:51:45 +0800
commitc6882d0bd8615209dfc2e486bcfa5b64fcb50242 (patch)
treeac731f93f6691d4424264a3aaecbe0982aada49b /packages/contract-wrappers/src/contract_wrappers.ts
parentce47e8393937f5e29da969a8c9ace2c924a66d81 (diff)
downloaddexon-0x-contracts-c6882d0bd8615209dfc2e486bcfa5b64fcb50242.tar.gz
dexon-0x-contracts-c6882d0bd8615209dfc2e486bcfa5b64fcb50242.tar.zst
dexon-0x-contracts-c6882d0bd8615209dfc2e486bcfa5b64fcb50242.zip
Rename zeroExContract... to contractWrappers...
Diffstat (limited to 'packages/contract-wrappers/src/contract_wrappers.ts')
-rw-r--r--packages/contract-wrappers/src/contract_wrappers.ts16
1 files changed, 8 insertions, 8 deletions
diff --git a/packages/contract-wrappers/src/contract_wrappers.ts b/packages/contract-wrappers/src/contract_wrappers.ts
index 1934ea2d0..381c4a63f 100644
--- a/packages/contract-wrappers/src/contract_wrappers.ts
+++ b/packages/contract-wrappers/src/contract_wrappers.ts
@@ -18,10 +18,10 @@ import { ExchangeWrapper } from './contract_wrappers/exchange_wrapper';
import { TokenRegistryWrapper } from './contract_wrappers/token_registry_wrapper';
import { TokenTransferProxyWrapper } from './contract_wrappers/token_transfer_proxy_wrapper';
import { TokenWrapper } from './contract_wrappers/token_wrapper';
-import { zeroExContractConfigSchema } from './schemas/zero_ex_contract_config_schema';
-import { zeroExContractPrivateNetworkConfigSchema } from './schemas/zero_ex_contract_private_network_config_schema';
-import { zeroExContractPublicNetworkConfigSchema } from './schemas/zero_ex_contract_public_network_config_schema';
-import { ZeroExContractConfig } from './types';
+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';
+import { ContractWrappersConfig } from './types';
import { assert } from './utils/assert';
import { constants } from './utils/constants';
import { decorators } from './utils/decorators';
@@ -62,11 +62,11 @@ export class ContractWrappers {
* @param config The configuration object. Look up the type for the description.
* @return An instance of the ContractWrappers class.
*/
- constructor(provider: Provider, config: ZeroExContractConfig) {
+ constructor(provider: Provider, config: ContractWrappersConfig) {
assert.isWeb3Provider('provider', provider);
- assert.doesConformToSchema('config', config, zeroExContractConfigSchema, [
- zeroExContractPrivateNetworkConfigSchema,
- zeroExContractPublicNetworkConfigSchema,
+ assert.doesConformToSchema('config', config, ContractWrappersConfigSchema, [
+ contractWrappersPrivateNetworkConfigSchema,
+ contractWrappersPublicNetworkConfigSchema,
]);
const artifactJSONs = _.values(artifacts);
const abiArrays = _.map(artifactJSONs, artifact => artifact.abi);