aboutsummaryrefslogtreecommitdiffstats
path: root/src/schemas/zero_ex_config_schema.ts
blob: 5be651a9aae6d657d57f254787b571bb08d07483 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
export const zeroExConfigSchema = {
    id: '/ZeroExConfig',
    properties: {
        gasPrice: {$ref: '/Number'},
        exchangeContractAddress: {$ref: '/Address'},
        tokenRegistryContractAddress: {$ref: '/Address'},
        etherTokenContractAddress: {$ref: '/Address'},
        mempoolPollingIntervalMs: {
            type: 'number',
            min: 0,
        },
    },
    type: 'object',
};