protocol/packages/contract-wrappers/src/contract_wrappers_config_schema.ts
Xianny d73982819b
Deprecate abi-gen-wrappers (#2370)
* generate wrappers in @0x/contract-wrappers and delete abi-gen-wrappers

* trim exports from contract-wrappers

* separate contract-wrappers tests to get rid of dependency cycle

* remove dummy token contracts

* temporarily skip coordinator test until we can upgrade coordinator server
2019-11-27 17:50:24 -08:00

26 lines
866 B
TypeScript

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' },
staking: { $ref: '/addressSchema' },
},
},
blockPollingIntervalMs: { type: 'number' },
},
type: 'object',
required: ['chainId'],
};