aboutsummaryrefslogtreecommitdiffstats
path: root/src/schemas
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-07-05 02:59:08 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-07-05 02:59:08 +0800
commite570ad28dd905b8f36524a3fa69ebbe3d4ed6b6b (patch)
treec9065e3ba7763c5bdc50c432039772f593cd30d7 /src/schemas
parenta45f6ff4af2f79911af6c64dff8b684651c05c72 (diff)
downloaddexon-sol-tools-e570ad28dd905b8f36524a3fa69ebbe3d4ed6b6b.tar
dexon-sol-tools-e570ad28dd905b8f36524a3fa69ebbe3d4ed6b6b.tar.gz
dexon-sol-tools-e570ad28dd905b8f36524a3fa69ebbe3d4ed6b6b.tar.bz2
dexon-sol-tools-e570ad28dd905b8f36524a3fa69ebbe3d4ed6b6b.tar.lz
dexon-sol-tools-e570ad28dd905b8f36524a3fa69ebbe3d4ed6b6b.tar.xz
dexon-sol-tools-e570ad28dd905b8f36524a3fa69ebbe3d4ed6b6b.tar.zst
dexon-sol-tools-e570ad28dd905b8f36524a3fa69ebbe3d4ed6b6b.zip
Fix order schema (add exchangeContractAddress)
Diffstat (limited to 'src/schemas')
-rw-r--r--src/schemas/order_schemas.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/schemas/order_schemas.ts b/src/schemas/order_schemas.ts
index fa9866abe..b5e4a72bb 100644
--- a/src/schemas/order_schemas.ts
+++ b/src/schemas/order_schemas.ts
@@ -16,10 +16,11 @@ export const orderSchema = {
salt: {$ref: '/numberSchema'},
feeRecipient: {$ref: '/addressSchema'},
expirationUnixTimestampSec: {$ref: '/numberSchema'},
+ exchangeContractAddress: {$ref: '/addressSchema'},
},
required: [
'maker', 'taker', 'makerFee', 'takerFee', 'makerTokenAmount', 'takerTokenAmount',
- 'salt', 'feeRecipient', 'expirationUnixTimestampSec',
+ 'salt', 'feeRecipient', 'expirationUnixTimestampSec', 'exchangeContractAddress',
],
type: 'object',
};