diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-11-12 20:44:24 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-11-12 20:44:24 +0800 |
commit | 33dbdb0184a08a1a1748c234669b5b7758ad308b (patch) | |
tree | c0c37dcd7bdc591b80678a86f335123f302c79d0 /packages/connect/src/schemas/order_config_request_schema.ts | |
parent | 66261102de57e3bc86714577c021aa5c7e17c150 (diff) | |
download | dexon-0x-contracts-33dbdb0184a08a1a1748c234669b5b7758ad308b.tar dexon-0x-contracts-33dbdb0184a08a1a1748c234669b5b7758ad308b.tar.gz dexon-0x-contracts-33dbdb0184a08a1a1748c234669b5b7758ad308b.tar.bz2 dexon-0x-contracts-33dbdb0184a08a1a1748c234669b5b7758ad308b.tar.lz dexon-0x-contracts-33dbdb0184a08a1a1748c234669b5b7758ad308b.tar.xz dexon-0x-contracts-33dbdb0184a08a1a1748c234669b5b7758ad308b.tar.zst dexon-0x-contracts-33dbdb0184a08a1a1748c234669b5b7758ad308b.zip |
Move connect schemas to JSON Schemas
Diffstat (limited to 'packages/connect/src/schemas/order_config_request_schema.ts')
-rw-r--r-- | packages/connect/src/schemas/order_config_request_schema.ts | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/packages/connect/src/schemas/order_config_request_schema.ts b/packages/connect/src/schemas/order_config_request_schema.ts deleted file mode 100644 index 0eda430e8..000000000 --- a/packages/connect/src/schemas/order_config_request_schema.ts +++ /dev/null @@ -1,24 +0,0 @@ -export const orderConfigRequestSchema = { - id: '/OrderConfigRequest', - type: 'object', - properties: { - makerAddress: { $ref: '/addressSchema' }, - takerAddress: { $ref: '/addressSchema' }, - makerAssetAmount: { $ref: '/numberSchema' }, - takerAssetAmount: { $ref: '/numberSchema' }, - makerAssetData: { $ref: '/hexSchema' }, - takerAssetData: { $ref: '/hexSchema' }, - exchangeAddress: { $ref: '/addressSchema' }, - expirationTimeSeconds: { $ref: '/numberSchema' }, - }, - required: [ - 'makerAddress', - 'takerAddress', - 'makerAssetAmount', - 'takerAssetAmount', - 'makerAssetData', - 'takerAssetData', - 'exchangeAddress', - 'expirationTimeSeconds', - ], -}; |