aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contract-wrappers/src/schemas
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-07-03 20:54:24 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-07-05 21:05:57 +0800
commit03dbad6813fe0186e90ed1a45696c7c710096ac8 (patch)
tree00ec069b8e60465652ee67d077449a7e4b6e60ac /packages/contract-wrappers/src/schemas
parentc65b2573c46c118fad1fcada22e5b4033de115fb (diff)
downloaddexon-sol-tools-03dbad6813fe0186e90ed1a45696c7c710096ac8.tar
dexon-sol-tools-03dbad6813fe0186e90ed1a45696c7c710096ac8.tar.gz
dexon-sol-tools-03dbad6813fe0186e90ed1a45696c7c710096ac8.tar.bz2
dexon-sol-tools-03dbad6813fe0186e90ed1a45696c7c710096ac8.tar.lz
dexon-sol-tools-03dbad6813fe0186e90ed1a45696c7c710096ac8.tar.xz
dexon-sol-tools-03dbad6813fe0186e90ed1a45696c7c710096ac8.tar.zst
dexon-sol-tools-03dbad6813fe0186e90ed1a45696c7c710096ac8.zip
Add OrderTxOptsSchema
Diffstat (limited to 'packages/contract-wrappers/src/schemas')
-rw-r--r--packages/contract-wrappers/src/schemas/order_tx_opts_schema.ts8
1 files changed, 8 insertions, 0 deletions
diff --git a/packages/contract-wrappers/src/schemas/order_tx_opts_schema.ts b/packages/contract-wrappers/src/schemas/order_tx_opts_schema.ts
new file mode 100644
index 000000000..31ad759d5
--- /dev/null
+++ b/packages/contract-wrappers/src/schemas/order_tx_opts_schema.ts
@@ -0,0 +1,8 @@
+export const orderTxOptsSchema = {
+ id: '/OrderTxOpts',
+ allOf: [{ $ref: '/TxOpts' }],
+ properties: {
+ shouldValidate: { type: 'boolean' },
+ },
+ type: 'object',
+};