diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-08-28 22:47:49 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-08-28 22:49:57 +0800 |
commit | 96da2c26dceca03340a213baae5a490df2f7183c (patch) | |
tree | 6c984b77c1cd5ca312310d7f72ad4b512ecb9df5 /src/schemas/subscription_opts_schema.ts | |
parent | 0afc95982b195378653e15697f65d4ad3bf48e66 (diff) | |
download | dexon-sol-tools-96da2c26dceca03340a213baae5a490df2f7183c.tar dexon-sol-tools-96da2c26dceca03340a213baae5a490df2f7183c.tar.gz dexon-sol-tools-96da2c26dceca03340a213baae5a490df2f7183c.tar.bz2 dexon-sol-tools-96da2c26dceca03340a213baae5a490df2f7183c.tar.lz dexon-sol-tools-96da2c26dceca03340a213baae5a490df2f7183c.tar.xz dexon-sol-tools-96da2c26dceca03340a213baae5a490df2f7183c.tar.zst dexon-sol-tools-96da2c26dceca03340a213baae5a490df2f7183c.zip |
Use 0x-json-schemas
Diffstat (limited to 'src/schemas/subscription_opts_schema.ts')
-rw-r--r-- | src/schemas/subscription_opts_schema.ts | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/schemas/subscription_opts_schema.ts b/src/schemas/subscription_opts_schema.ts deleted file mode 100644 index 0bb44fecf..000000000 --- a/src/schemas/subscription_opts_schema.ts +++ /dev/null @@ -1,20 +0,0 @@ -export const blockParamSchema = { - id: '/blockParam', - oneOf: [ - { - type: 'number', - }, - { - enum: ['latest', 'earliest', 'pending'], - }, - ], -}; - -export const subscriptionOptsSchema = { - id: '/subscriptionOpts', - properties: { - fromBlock: {$ref: '/blockParam'}, - toBlock: {$ref: '/blockParam'}, - }, - type: 'object', -}; |