diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-07-04 13:31:59 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-07-04 13:31:59 +0800 |
commit | 551b6db35e07907ad4dec767c8e76953fe98bb72 (patch) | |
tree | 66b630dae47f8838b5b759e6e60c283336f99601 /src/schemas | |
parent | 64cf47f297827a869120b85e734406db87b87db8 (diff) | |
download | dexon-sol-tools-551b6db35e07907ad4dec767c8e76953fe98bb72.tar dexon-sol-tools-551b6db35e07907ad4dec767c8e76953fe98bb72.tar.gz dexon-sol-tools-551b6db35e07907ad4dec767c8e76953fe98bb72.tar.bz2 dexon-sol-tools-551b6db35e07907ad4dec767c8e76953fe98bb72.tar.lz dexon-sol-tools-551b6db35e07907ad4dec767c8e76953fe98bb72.tar.xz dexon-sol-tools-551b6db35e07907ad4dec767c8e76953fe98bb72.tar.zst dexon-sol-tools-551b6db35e07907ad4dec767c8e76953fe98bb72.zip |
Add orderHashSchema
Diffstat (limited to 'src/schemas')
-rw-r--r-- | src/schemas/order_schemas.ts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/schemas/order_schemas.ts b/src/schemas/order_schemas.ts index 133736b3d..fa9866abe 100644 --- a/src/schemas/order_schemas.ts +++ b/src/schemas/order_schemas.ts @@ -24,6 +24,12 @@ export const orderSchema = { type: 'object', }; +export const orderHashSchema = { + id: '/orderHashSchema', + type: 'string', + pattern: '^0x[0-9a-fA-F]{64}$', +}; + export const signedOrderSchema = { id: '/signedOrderSchema', allOf: [ |