aboutsummaryrefslogtreecommitdiffstats
path: root/src/schemas/order_cancel_schema.ts
diff options
context:
space:
mode:
authorLeonid <logvinov.leon@gmail.com>2017-06-09 23:06:40 +0800
committerGitHub <noreply@github.com>2017-06-09 23:06:40 +0800
commit48a2ce35fe77b4d1e9c9610a4f4bf2f5c9829ef1 (patch)
tree8c516c1d33d77af980fd931739a0870b05ae262c /src/schemas/order_cancel_schema.ts
parent9ffd36d57f2926629f8ca7e48ede87b2a6929ff9 (diff)
parent3a9d07c40ce2e26203962487036132d6357ec530 (diff)
downloaddexon-sol-tools-48a2ce35fe77b4d1e9c9610a4f4bf2f5c9829ef1.tar.gz
dexon-sol-tools-48a2ce35fe77b4d1e9c9610a4f4bf2f5c9829ef1.tar.zst
dexon-sol-tools-48a2ce35fe77b4d1e9c9610a4f4bf2f5c9829ef1.zip
Merge branch 'master' into async-bug
Diffstat (limited to 'src/schemas/order_cancel_schema.ts')
-rw-r--r--src/schemas/order_cancel_schema.ts12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/schemas/order_cancel_schema.ts b/src/schemas/order_cancel_schema.ts
new file mode 100644
index 000000000..5cc8f745c
--- /dev/null
+++ b/src/schemas/order_cancel_schema.ts
@@ -0,0 +1,12 @@
+export const orderCancellationRequestsSchema = {
+ id: '/OrderCancellationRequests',
+ type: 'array',
+ items: {
+ properties: {
+ order: {$ref: '/orderSchema'},
+ takerTokenCancelAmount: {type: '/numberSchema'},
+ },
+ required: ['order', 'takerTokenCancelAmount'],
+ type: 'object',
+ },
+};