diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-07-05 02:59:08 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-07-05 02:59:08 +0800 |
commit | e570ad28dd905b8f36524a3fa69ebbe3d4ed6b6b (patch) | |
tree | c9065e3ba7763c5bdc50c432039772f593cd30d7 /src | |
parent | a45f6ff4af2f79911af6c64dff8b684651c05c72 (diff) | |
download | dexon-sol-tools-e570ad28dd905b8f36524a3fa69ebbe3d4ed6b6b.tar.gz dexon-sol-tools-e570ad28dd905b8f36524a3fa69ebbe3d4ed6b6b.tar.zst dexon-sol-tools-e570ad28dd905b8f36524a3fa69ebbe3d4ed6b6b.zip |
Fix order schema (add exchangeContractAddress)
Diffstat (limited to 'src')
-rw-r--r-- | src/schemas/order_schemas.ts | 3 |
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', }; |