fix contract-wrappers json-schemas
This commit is contained in:
@@ -5,11 +5,11 @@ export const contractWrappersPrivateNetworkConfigSchema = {
|
|||||||
type: 'number',
|
type: 'number',
|
||||||
minimum: 1,
|
minimum: 1,
|
||||||
},
|
},
|
||||||
gasPrice: { $ref: '/Number' },
|
gasPrice: { $ref: '/numberSchema' },
|
||||||
zrxContractAddress: { $ref: '/Address' },
|
zrxContractAddress: { $ref: '/addressSchema' },
|
||||||
exchangeContractAddress: { $ref: '/Address' },
|
exchangeContractAddress: { $ref: '/addressSchema' },
|
||||||
erc20ProxyContractAddress: { $ref: '/Address' },
|
erc20ProxyContractAddress: { $ref: '/addressSchema' },
|
||||||
erc721ProxyContractAddress: { $ref: '/Address' },
|
erc721ProxyContractAddress: { $ref: '/addressSchema' },
|
||||||
blockPollingIntervalMs: { type: 'number' },
|
blockPollingIntervalMs: { type: 'number' },
|
||||||
orderWatcherConfig: {
|
orderWatcherConfig: {
|
||||||
type: 'object',
|
type: 'object',
|
||||||
|
@@ -19,11 +19,11 @@ export const contractWrappersPublicNetworkConfigSchema = {
|
|||||||
networkNameToId.ganache,
|
networkNameToId.ganache,
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
gasPrice: { $ref: '/Number' },
|
gasPrice: { $ref: '/numberSchema' },
|
||||||
zrxContractAddress: { $ref: '/Address' },
|
zrxContractAddress: { $ref: '/addressSchema' },
|
||||||
exchangeContractAddress: { $ref: '/Address' },
|
exchangeContractAddress: { $ref: '/addressSchema' },
|
||||||
erc20ProxyContractAddress: { $ref: '/Address' },
|
erc20ProxyContractAddress: { $ref: '/addressSchema' },
|
||||||
erc721ProxyContractAddress: { $ref: '/Address' },
|
erc721ProxyContractAddress: { $ref: '/addressSchema' },
|
||||||
blockPollingIntervalMs: { type: 'number' },
|
blockPollingIntervalMs: { type: 'number' },
|
||||||
orderWatcherConfig: {
|
orderWatcherConfig: {
|
||||||
type: 'object',
|
type: 'object',
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
export const methodOptsSchema = {
|
export const methodOptsSchema = {
|
||||||
id: '/MethodOpts',
|
id: '/MethodOpts',
|
||||||
properties: {
|
properties: {
|
||||||
defaultBlock: { $ref: '/BlockParam' },
|
defaultBlock: { $ref: '/blockParamSchema' },
|
||||||
},
|
},
|
||||||
type: 'object',
|
type: 'object',
|
||||||
};
|
};
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
export const txOptsSchema = {
|
export const txOptsSchema = {
|
||||||
id: '/TxOpts',
|
id: '/TxOpts',
|
||||||
properties: {
|
properties: {
|
||||||
gasPrice: { $ref: '/Number' },
|
gasPrice: { $ref: '/numberSchema' },
|
||||||
gasLimit: { type: 'number' },
|
gasLimit: { type: 'number' },
|
||||||
},
|
},
|
||||||
type: 'object',
|
type: 'object',
|
||||||
|
@@ -44468,5 +44468,11 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"networks": {}
|
"networks": {
|
||||||
|
"50": {
|
||||||
|
"address": "0x34d402f14d58e001d8efbe6585051bf9706aa064",
|
||||||
|
"links": {},
|
||||||
|
"constructorArgs": "[[\"0x5409ed021d9299bf6814279a6a1411a7e866a631\",\"0x6ecbe1db9ef729cbe972c83fb886247691fb6beb\"],[\"0x1dc4c1cefef38a777b15aa20260a54e584b16c48\",\"0x1d7022f5b17d2f8b695918fb48fa1089c9f85401\"],\"2\",\"0\"]"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
@@ -252,5 +252,11 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"networks": {}
|
"networks": {
|
||||||
|
"50": {
|
||||||
|
"address": "0x1dc4c1cefef38a777b15aa20260a54e584b16c48",
|
||||||
|
"links": {},
|
||||||
|
"constructorArgs": "[]"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
@@ -252,5 +252,11 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"networks": {}
|
"networks": {
|
||||||
|
"50": {
|
||||||
|
"address": "0x1d7022f5b17d2f8b695918fb48fa1089c9f85401",
|
||||||
|
"links": {},
|
||||||
|
"constructorArgs": "[]"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
125
packages/migrations/artifacts/2.0.0/Exchange.json
vendored
125
packages/migrations/artifacts/2.0.0/Exchange.json
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
127
packages/migrations/artifacts/2.0.0/TestLibs.json
vendored
127
packages/migrations/artifacts/2.0.0/TestLibs.json
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -326,5 +326,11 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"networks": {}
|
"networks": {
|
||||||
|
"50": {
|
||||||
|
"address": "0x0b1ba0af832d7c05fd64161e0db78e85978e8082",
|
||||||
|
"links": {},
|
||||||
|
"constructorArgs": "[]"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
Reference in New Issue
Block a user