aboutsummaryrefslogtreecommitdiffstats
path: root/src/schemas
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-09-19 20:13:06 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-09-19 20:13:06 +0800
commit903e2f4f8a1de54bae3863ecbfab1855a2edc55f (patch)
tree3035f198852bc2b1ba6c42f02058241b71ddab8d /src/schemas
parent4aeb6226d557ef924eb2182b383f5e77d7fc8199 (diff)
downloaddexon-sol-tools-903e2f4f8a1de54bae3863ecbfab1855a2edc55f.tar
dexon-sol-tools-903e2f4f8a1de54bae3863ecbfab1855a2edc55f.tar.gz
dexon-sol-tools-903e2f4f8a1de54bae3863ecbfab1855a2edc55f.tar.bz2
dexon-sol-tools-903e2f4f8a1de54bae3863ecbfab1855a2edc55f.tar.lz
dexon-sol-tools-903e2f4f8a1de54bae3863ecbfab1855a2edc55f.tar.xz
dexon-sol-tools-903e2f4f8a1de54bae3863ecbfab1855a2edc55f.tar.zst
dexon-sol-tools-903e2f4f8a1de54bae3863ecbfab1855a2edc55f.zip
Verify ZeroExConfig
Diffstat (limited to 'src/schemas')
-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',
+};