aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-07-05 08:49:25 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-07-05 08:49:25 +0800
commitd6595f171a6457f2387411765c0f730e9f248553 (patch)
treece6a794c517e1e5cbe92eb1dfcc4debbb3a0b45f /src
parent61a6040e7486f77f27abc388e5e58a7774363b41 (diff)
downloaddexon-sol-tools-d6595f171a6457f2387411765c0f730e9f248553.tar.gz
dexon-sol-tools-d6595f171a6457f2387411765c0f730e9f248553.tar.zst
dexon-sol-tools-d6595f171a6457f2387411765c0f730e9f248553.zip
Add order hash schema
Diffstat (limited to 'src')
-rw-r--r--src/schemas/order_hash_schema.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/schemas/order_hash_schema.ts b/src/schemas/order_hash_schema.ts
new file mode 100644
index 000000000..9773a88f9
--- /dev/null
+++ b/src/schemas/order_hash_schema.ts
@@ -0,0 +1,5 @@
+export const orderHashSchema = {
+ id: '/orderHashSchema',
+ type: 'string',
+ pattern: '^0x[0-9a-fA-F]{64}$',
+};