diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-02-08 03:26:13 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-02-08 03:26:13 +0800 |
commit | 69f5f5e94627458f4eb41f4150cfa3d140658d09 (patch) | |
tree | 233be0fd8343ebd92143103f1ae421ad1aae70f2 /packages/website/ts/schemas/metadata_schema.ts | |
parent | ae14b0a71d70f057efb9cbd4d180aca76a3ad5d1 (diff) | |
download | dexon-0x-contracts-69f5f5e94627458f4eb41f4150cfa3d140658d09.tar.gz dexon-0x-contracts-69f5f5e94627458f4eb41f4150cfa3d140658d09.tar.zst dexon-0x-contracts-69f5f5e94627458f4eb41f4150cfa3d140658d09.zip |
Split Order into signedOrder and metadata
Diffstat (limited to 'packages/website/ts/schemas/metadata_schema.ts')
-rw-r--r-- | packages/website/ts/schemas/metadata_schema.ts | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/packages/website/ts/schemas/metadata_schema.ts b/packages/website/ts/schemas/metadata_schema.ts new file mode 100644 index 000000000..272b23fbd --- /dev/null +++ b/packages/website/ts/schemas/metadata_schema.ts @@ -0,0 +1,10 @@ +export const orderMetadataSchema = { + id: '/OrderMetadata', + properties: { + makerToken: { $ref: '/Token' }, + takerToken: { $ref: '/Token' }, + networkId: { type: 'number' }, + }, + required: ['makerToken', 'takerToken', 'networkId'], + type: 'object', +}; |