aboutsummaryrefslogtreecommitdiffstats
path: root/src/schemas
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2017-06-01 21:10:22 +0800
committerFabio Berger <me@fabioberger.com>2017-06-01 21:10:22 +0800
commit88316455b74d2ecde1da55bf2bb36b6c9b46bcb1 (patch)
treebd00e891e96aad825084c0f3ba3b5d31e5a4cfd9 /src/schemas
parent085e4fb8962d2d79d60270967aef0f55acb788bf (diff)
downloaddexon-sol-tools-88316455b74d2ecde1da55bf2bb36b6c9b46bcb1.tar
dexon-sol-tools-88316455b74d2ecde1da55bf2bb36b6c9b46bcb1.tar.gz
dexon-sol-tools-88316455b74d2ecde1da55bf2bb36b6c9b46bcb1.tar.bz2
dexon-sol-tools-88316455b74d2ecde1da55bf2bb36b6c9b46bcb1.tar.lz
dexon-sol-tools-88316455b74d2ecde1da55bf2bb36b6c9b46bcb1.tar.xz
dexon-sol-tools-88316455b74d2ecde1da55bf2bb36b6c9b46bcb1.tar.zst
dexon-sol-tools-88316455b74d2ecde1da55bf2bb36b6c9b46bcb1.zip
Make taker required on Order object and expect NULL_ADDRESS from 0x.js
Diffstat (limited to 'src/schemas')
-rw-r--r--src/schemas/order_schemas.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/schemas/order_schemas.ts b/src/schemas/order_schemas.ts
index dc7e51e40..72012dc26 100644
--- a/src/schemas/order_schemas.ts
+++ b/src/schemas/order_schemas.ts
@@ -30,7 +30,7 @@ export const orderSchema = {
expirationUnixTimestampSec: {$ref: '/numberSchema'},
},
required: [
- 'maker', /*'taker',*/ 'makerFee', 'takerFee', 'makerTokenAmount', 'takerTokenAmount',
+ 'maker', 'taker', 'makerFee', 'takerFee', 'makerTokenAmount', 'takerTokenAmount',
'salt', 'feeRecipient', 'expirationUnixTimestampSec',
],
type: 'object',