fix contract-wrappers json-schemas
This commit is contained in:
@@ -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',
|
||||
|
@@ -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',
|
||||
|
@@ -1,7 +1,7 @@
|
||||
export const methodOptsSchema = {
|
||||
id: '/MethodOpts',
|
||||
properties: {
|
||||
defaultBlock: { $ref: '/BlockParam' },
|
||||
defaultBlock: { $ref: '/blockParamSchema' },
|
||||
},
|
||||
type: 'object',
|
||||
};
|
||||
|
@@ -1,7 +1,7 @@
|
||||
export const txOptsSchema = {
|
||||
id: '/TxOpts',
|
||||
properties: {
|
||||
gasPrice: { $ref: '/Number' },
|
||||
gasPrice: { $ref: '/numberSchema' },
|
||||
gasLimit: { type: 'number' },
|
||||
},
|
||||
type: 'object',
|
||||
|
Reference in New Issue
Block a user