Refactor/3.0/coordinator client (#2348)

* deduplicate migrateOnceAsync() test helper

* move and rename coordinator client to @0x/contracts-coordinator
This commit is contained in:
Xianny
2019-11-22 12:19:00 -08:00
committed by GitHub
parent f6d26392fb
commit 50d5b4fa37
30 changed files with 1604 additions and 1625 deletions

View File

@@ -0,0 +1,25 @@
export const ContractWrappersConfigSchema = {
id: '/ContractWrappersConfig',
properties: {
chainId: {
type: 'number',
},
gasPrice: { $ref: '/numberSchema' },
contractAddresses: {
type: 'object',
properties: {
erc20Proxy: { $ref: '/addressSchema' },
erc721Proxy: { $ref: '/addressSchema' },
zrxToken: { $ref: '/addressSchema' },
etherToken: { $ref: '/addressSchema' },
exchange: { $ref: '/addressSchema' },
assetProxyOwner: { $ref: '/addressSchema' },
forwarder: { $ref: '/addressSchema' },
orderValidator: { $ref: '/addressSchema' },
},
},
blockPollingIntervalMs: { type: 'number' },
},
type: 'object',
required: ['chainId'],
};