diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-07-31 08:16:14 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-07-31 08:16:14 +0800 |
commit | e671563f1e8b9eb4015bd2b3034bad951ef3eda4 (patch) | |
tree | 3e03d9493ab60228f26767ec643c6cc28bc075b5 /packages/json-schemas/schemas/relayer_api_orberbook_channel_subscribe_schema.ts | |
parent | 43d7045a5badf61efabffc2844cc6e14fe6f424f (diff) | |
download | dexon-sol-tools-e671563f1e8b9eb4015bd2b3034bad951ef3eda4.tar dexon-sol-tools-e671563f1e8b9eb4015bd2b3034bad951ef3eda4.tar.gz dexon-sol-tools-e671563f1e8b9eb4015bd2b3034bad951ef3eda4.tar.bz2 dexon-sol-tools-e671563f1e8b9eb4015bd2b3034bad951ef3eda4.tar.lz dexon-sol-tools-e671563f1e8b9eb4015bd2b3034bad951ef3eda4.tar.xz dexon-sol-tools-e671563f1e8b9eb4015bd2b3034bad951ef3eda4.tar.zst dexon-sol-tools-e671563f1e8b9eb4015bd2b3034bad951ef3eda4.zip |
Update json-schemas for SRA v1
Diffstat (limited to 'packages/json-schemas/schemas/relayer_api_orberbook_channel_subscribe_schema.ts')
-rw-r--r-- | packages/json-schemas/schemas/relayer_api_orberbook_channel_subscribe_schema.ts | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/packages/json-schemas/schemas/relayer_api_orberbook_channel_subscribe_schema.ts b/packages/json-schemas/schemas/relayer_api_orberbook_channel_subscribe_schema.ts deleted file mode 100644 index d93fa73d6..000000000 --- a/packages/json-schemas/schemas/relayer_api_orberbook_channel_subscribe_schema.ts +++ /dev/null @@ -1,23 +0,0 @@ -export const relayerApiOrderbookChannelSubscribeSchema = { - id: '/RelayerApiOrderbookChannelSubscribe', - type: 'object', - properties: { - type: { enum: ['subscribe'] }, - channel: { enum: ['orderbook'] }, - requestId: { type: 'number' }, - payload: { $ref: '/RelayerApiOrderbookChannelSubscribePayload' }, - }, - required: ['type', 'channel', 'requestId', 'payload'], -}; - -export const relayerApiOrderbookChannelSubscribePayload = { - id: '/RelayerApiOrderbookChannelSubscribePayload', - type: 'object', - properties: { - baseTokenAddress: { $ref: '/Address' }, - quoteTokenAddress: { $ref: '/Address' }, - snapshot: { type: 'boolean' }, - limit: { type: 'number' }, - }, - required: ['baseTokenAddress', 'quoteTokenAddress'], -}; |