diff options
Diffstat (limited to 'src/schemas/order_schemas.ts')
-rw-r--r-- | src/schemas/order_schemas.ts | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/src/schemas/order_schemas.ts b/src/schemas/order_schemas.ts deleted file mode 100644 index c346687b5..000000000 --- a/src/schemas/order_schemas.ts +++ /dev/null @@ -1,39 +0,0 @@ -export const orderSchema = { - id: '/orderSchema', - properties: { - maker: {$ref: '/addressSchema'}, - taker: {$ref: '/addressSchema'}, - - makerFee: {$ref: '/numberSchema'}, - takerFee: {$ref: '/numberSchema'}, - - makerTokenAmount: {$ref: '/numberSchema'}, - takerTokenAmount: {$ref: '/numberSchema'}, - - makerTokenAddress: {$ref: '/addressSchema'}, - takerTokenAddress: {$ref: '/addressSchema'}, - - salt: {$ref: '/numberSchema'}, - feeRecipient: {$ref: '/addressSchema'}, - expirationUnixTimestampSec: {$ref: '/numberSchema'}, - exchangeContractAddress: {$ref: '/addressSchema'}, - }, - required: [ - 'maker', 'taker', 'makerFee', 'takerFee', 'makerTokenAmount', 'takerTokenAmount', - 'salt', 'feeRecipient', 'expirationUnixTimestampSec', 'exchangeContractAddress', - ], - type: 'object', -}; - -export const signedOrderSchema = { - id: '/signedOrderSchema', - allOf: [ - { $ref: '/orderSchema' }, - { - properties: { - ecSignature: {$ref: '/ECSignature'}, - }, - required: ['ecSignature'], - }, - ], -}; |