aboutsummaryrefslogtreecommitdiffstats
path: root/src/schemas/zero_ex_config_schema.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/schemas/zero_ex_config_schema.ts')
-rw-r--r--src/schemas/zero_ex_config_schema.ts10
1 files changed, 10 insertions, 0 deletions
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',
+};