aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/schemas
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-02-07 21:41:40 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-02-07 21:41:40 +0800
commit9b3680780fab26543331524870eba75eea08a426 (patch)
tree8ed51682e7f1a7b86d1ea84c9f53ef468f7ccaf2 /packages/website/ts/schemas
parent12d62e1157168ec9e8cd23749523b2bcda8eefe5 (diff)
downloaddexon-0x-contracts-9b3680780fab26543331524870eba75eea08a426.tar.gz
dexon-0x-contracts-9b3680780fab26543331524870eba75eea08a426.tar.zst
dexon-0x-contracts-9b3680780fab26543331524870eba75eea08a426.zip
Rename expiration to expirationUnixTimestampSec
Diffstat (limited to 'packages/website/ts/schemas')
-rw-r--r--packages/website/ts/schemas/order_schema.ts13
1 files changed, 11 insertions, 2 deletions
diff --git a/packages/website/ts/schemas/order_schema.ts b/packages/website/ts/schemas/order_schema.ts
index bfbf9eb8b..1d9e96fee 100644
--- a/packages/website/ts/schemas/order_schema.ts
+++ b/packages/website/ts/schemas/order_schema.ts
@@ -5,11 +5,20 @@ export const orderSchema = {
taker: { $ref: '/OrderTaker' },
salt: { type: 'string' },
signature: { $ref: '/SignatureData' },
- expiration: { type: 'string' },
+ expirationUnixTimestampSec: { type: 'string' },
feeRecipient: { type: 'string' },
exchangeContract: { type: 'string' },
networkId: { type: 'number' },
},
- required: ['maker', 'taker', 'salt', 'signature', 'expiration', 'feeRecipient', 'exchangeContract', 'networkId'],
+ required: [
+ 'maker',
+ 'taker',
+ 'salt',
+ 'signature',
+ 'expirationUnixTimestampSec',
+ 'feeRecipient',
+ 'exchangeContract',
+ 'networkId',
+ ],
type: 'object',
};