From 903e2f4f8a1de54bae3863ecbfab1855a2edc55f Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Tue, 19 Sep 2017 14:13:06 +0200 Subject: Verify ZeroExConfig --- src/schemas/zero_ex_config_schema.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 src/schemas/zero_ex_config_schema.ts (limited to 'src/schemas') diff --git a/src/schemas/zero_ex_config_schema.ts b/src/schemas/zero_ex_config_schema.ts new file mode 100644 index 000000000..179e29c31 --- /dev/null +++ b/src/schemas/zero_ex_config_schema.ts @@ -0,0 +1,10 @@ +export const zeroExConfigSchema = { + id: '/ZeroExConfig', + properties: { + gasPrice: {$ref: '/Number'}, + exchangeContractAddress: {$ref: '/Address'}, + tokenRegistryContractAddress: {$ref: '/Address'}, + etherTokenContractAddress: {$ref: '/Address'}, + }, + type: 'object', +}; -- cgit