aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contract-wrappers
diff options
context:
space:
mode:
Diffstat (limited to 'packages/contract-wrappers')
-rw-r--r--packages/contract-wrappers/src/schemas/contract_wrappers_private_network_config_schema.ts10
-rw-r--r--packages/contract-wrappers/src/schemas/contract_wrappers_public_network_config_schema.ts10
-rw-r--r--packages/contract-wrappers/src/schemas/method_opts_schema.ts2
-rw-r--r--packages/contract-wrappers/src/schemas/tx_opts_schema.ts2
4 files changed, 12 insertions, 12 deletions
diff --git a/packages/contract-wrappers/src/schemas/contract_wrappers_private_network_config_schema.ts b/packages/contract-wrappers/src/schemas/contract_wrappers_private_network_config_schema.ts
index 7e2eca61c..904690ae7 100644
--- a/packages/contract-wrappers/src/schemas/contract_wrappers_private_network_config_schema.ts
+++ b/packages/contract-wrappers/src/schemas/contract_wrappers_private_network_config_schema.ts
@@ -5,11 +5,11 @@ export const contractWrappersPrivateNetworkConfigSchema = {
type: 'number',
minimum: 1,
},
- gasPrice: { $ref: '/Number' },
- zrxContractAddress: { $ref: '/Address' },
- exchangeContractAddress: { $ref: '/Address' },
- erc20ProxyContractAddress: { $ref: '/Address' },
- erc721ProxyContractAddress: { $ref: '/Address' },
+ gasPrice: { $ref: '/numberSchema' },
+ zrxContractAddress: { $ref: '/addressSchema' },
+ exchangeContractAddress: { $ref: '/addressSchema' },
+ erc20ProxyContractAddress: { $ref: '/addressSchema' },
+ erc721ProxyContractAddress: { $ref: '/addressSchema' },
blockPollingIntervalMs: { type: 'number' },
orderWatcherConfig: {
type: 'object',
diff --git a/packages/contract-wrappers/src/schemas/contract_wrappers_public_network_config_schema.ts b/packages/contract-wrappers/src/schemas/contract_wrappers_public_network_config_schema.ts
index b80e04310..5cd008ae0 100644
--- a/packages/contract-wrappers/src/schemas/contract_wrappers_public_network_config_schema.ts
+++ b/packages/contract-wrappers/src/schemas/contract_wrappers_public_network_config_schema.ts
@@ -19,11 +19,11 @@ export const contractWrappersPublicNetworkConfigSchema = {
networkNameToId.ganache,
],
},
- gasPrice: { $ref: '/Number' },
- zrxContractAddress: { $ref: '/Address' },
- exchangeContractAddress: { $ref: '/Address' },
- erc20ProxyContractAddress: { $ref: '/Address' },
- erc721ProxyContractAddress: { $ref: '/Address' },
+ gasPrice: { $ref: '/numberSchema' },
+ zrxContractAddress: { $ref: '/addressSchema' },
+ exchangeContractAddress: { $ref: '/addressSchema' },
+ erc20ProxyContractAddress: { $ref: '/addressSchema' },
+ erc721ProxyContractAddress: { $ref: '/addressSchema' },
blockPollingIntervalMs: { type: 'number' },
orderWatcherConfig: {
type: 'object',
diff --git a/packages/contract-wrappers/src/schemas/method_opts_schema.ts b/packages/contract-wrappers/src/schemas/method_opts_schema.ts
index ef434070a..83003f818 100644
--- a/packages/contract-wrappers/src/schemas/method_opts_schema.ts
+++ b/packages/contract-wrappers/src/schemas/method_opts_schema.ts
@@ -1,7 +1,7 @@
export const methodOptsSchema = {
id: '/MethodOpts',
properties: {
- defaultBlock: { $ref: '/BlockParam' },
+ defaultBlock: { $ref: '/blockParamSchema' },
},
type: 'object',
};
diff --git a/packages/contract-wrappers/src/schemas/tx_opts_schema.ts b/packages/contract-wrappers/src/schemas/tx_opts_schema.ts
index bddc33b6c..83c819be2 100644
--- a/packages/contract-wrappers/src/schemas/tx_opts_schema.ts
+++ b/packages/contract-wrappers/src/schemas/tx_opts_schema.ts
@@ -1,7 +1,7 @@
export const txOptsSchema = {
id: '/TxOpts',
properties: {
- gasPrice: { $ref: '/Number' },
+ gasPrice: { $ref: '/numberSchema' },
gasLimit: { type: 'number' },
},
type: 'object',