1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
export const ContractWrappersConfigSchema = {
id: '/ContractWrappersConfig',
properties: {
networkId: {
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: ['networkId'],
};
|